Multi-Agent Workflow
Authored — not generated.
The platform's day-to-day work happens through a multi-agent pipeline (Claude / Cursor / Copilot) anchored on the playbooks under commands/. The current workflow (v3) is:
- Branch — every feature starts on a fresh branch.
- Spec review — the agent reads the relevant spec docs in the documentation repo. If anything is missing or contradictory, it emits
clarifications-needed.mdand does not proceed. - Clarification Agent — answers questions; output
clarifications-resolved.md. Workflow resumes from spec-review with the new answers in scope. - Implementation — clean architecture, layer boundaries enforced by ESLint, every aggregate has a
TenantIdVO. - Tests — Vitest + Testcontainers + Pact + Playwright. Bug fixes ship with regression tests.
- Sync —
/sync-api-surfaceto refresh OpenAPI + Postman,/sync-docs-portalto refresh this portal. - PR — Definition of Done from
docs/standards/DEFINITION_OF_DONE.mdis the merge gate. - Implementation status — At end of the chain (PR Agent in Cursor workflow v3.1, or equivalent handoff in Claude / GitHub Copilot), the run MUST produce
implementation-status.mdundermulti-agent-<slug>-output/: a short table mapping each acceptance criterion / planned deliverable to done, partial (with brief details), not-started, or n/a, plus an Overall roll-up and a one-line summary;workflow-state.mdis updated with the same summary. This keeps code and spec alignment visible without re-reading chat logs.
Spec wins on disagreement. When both spec and code are silent, ask before inventing.