dodil/erp-brick-hr
src/brick_hr/app.py
"""The deployable app: the API, the agent door at /mcp, and the sign-in metadata for agents."""
from brick_hr.application.use_cases import HR
from brick_hr.infrastructure.xml_door import BpmnAsXml
app = HR.app()
app.add_middleware(BpmnAsXml) # GET /playbooks/{id}/bpmn answers the XML itself (show_playbook_bpmn)