This document is the long-lived architecture reference for the blueprint itself.
- Keep blueprint evolution deterministic, contract-driven, and maintainable.
- Provide one shared architecture baseline for business stakeholders, maintainers, and operators.
- Business: predictable delivery with clear contract and upgrade behavior.
- Maintainers: strict ownership boundaries, drift checks, and template synchronization.
- Operators: deterministic runbooks, diagnostics artifacts, and rollback-aware workflows.
blueprint/contract.yamlis the executable source of truth for behavior contracts.- Dependency direction MUST follow Clean Architecture boundaries.
- DDD bounded contexts and ownership boundaries MUST remain explicit.
- Changes outside the active contract surface require a recorded decision.
- Capture architecture options and decisions in ADRs under
docs/blueprint/architecture/decisions/. - Work-item specs under
specs/MUST link to approved ADRs before implementation. - Guardrail controls MUST be tracked through
.spec-kit/control-catalog.mdand work-item control IDs.
- Documentation updates are a mandatory lifecycle phase:
Document. - When behavior/contracts change, update both blueprint docs and consumer-facing docs.
- Required verification commands:
make docs-buildmake docs-smoke