Artifact contract
The only output of this team is the tree under docs/architecture/ in the
customer's repository.
Required files (complete run)
SYSTEM.mdWORKFLOW.mdSOP.md00-frame.md01-discovery.md02-user-flows.md03-experience-blueprint.md04-roi.md05-trust-boundary.md07-runbook.md06-evals/rubric.md06-evals/cases.jsonlprices.jsonarchitecture.json- at least one
adr/ADR-####-<slug>.md - at least one
receipts/<YYYY-MM-DD>-verify.md review.md
Stamp
Every generated markdown file must contain this exact line:
Generated by AI Architect · https://www.frankx.ai/ai-architect
Evidence pointers
An evidence pointer is one of:
path/to/file.ts:L42- a fenced command followed by
→and the observed output
A pointer to a conversation, a person, or another generated document is not
evidence. Checkers in scripts/check-artifacts.mjs and scripts/check-roi.mjs
enforce the mechanical parts of this contract.
architecture.json
Schema id: ai-architect.architecture.v1
decisions.{model,loop,trust,run}each haveverdict(MADE|OPEN) andevidence- every
OPENdecision hasdeferral_cost planes.{experience,observability,evaluation,orchestration,tools,context,model}each haveownergates["gate.*"]havestatus(PASS|FAIL|SKIPPED) andevidencearray
prices.json
Schema id: ai-architect.prices.v1. Every row has source_url and retrieved_at
within 90 days. No invented percentages. The literal string IRR is forbidden.
Overwrite rule
Never overwrite an existing artifact. Write <name>.proposed.md beside it.
The only in-place updates are architecture.json (router + principal-architect)
and review.md (verifier).