编辑 | blame | 历史 | 原始文档

SystemBlueprint Contract

ai-agent-system-design returns the only design source accepted by Render and Validate.

schema_version: 1
blueprint_id: <snapshot id plus digest>
run_id: <run id>
input_snapshot_id: <snapshot id>
status: success | blocked
project_summary: <concise summary>
agents:
  - name: <hyphen-case agent name>
    primary: true | false
    source_evidence: []
    definition: {}
project_skills:
  - name: <project-prefixed skill name>
    source_evidence: []
    definition: {}
workflows:
  - name: <hyphen-case workflow name>
    source_evidence: []
    definition: {}
orchestration:
  execution_policy: {}
  subagent_contract: {}
  context_policy: {}
  merge_policy: {}
agents_md:
  project_overview: <text>
  primary_agent: <agent name>
  routing: []
managed_output:
  ai_directory: .ai
  repo_skill_directories: []
  agents_md_start: "<!-- AI-AGENT-SYSTEM:START -->"
  agents_md_end: "<!-- AI-AGENT-SYSTEM:END -->"
traceability: []
assumptions: []
warnings: []
blockers: []

Exactly one Agent must have primary: true. Every rendered component must appear here and trace to snapshot evidence or an explicit assumption. Warning acceptance belongs only to BootstrapRun.allowed_warning_codes; Design cannot authorize a warning.