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

BootstrapRun Contract

BootstrapRun is the orchestrator-owned state for one initialization or rebuild. Keep it immutable except for phase status, returned artifact identifiers, and the one-time pending mode resolution after Inspect.

schema_version: 1
run_id: <lowercase identifier>
suite_version: 3
repository_root: <absolute path>
mode: pending | initialize | rebuild
user_request: <verbatim scoped request>
explicit_constraints: []
explicit_exclusions: []
allowed_warning_codes: []
current_phase: inspect | design | render | validate | replace | complete
status: active | blocked | failed | complete
artifacts:
  project_snapshot_id: null
  system_blueprint_id: null
  render_result_id: null
  validation_report_id: null

Rules:

  • Bind one run to one canonical repository root.
  • Preserve the user request and explicit constraints unchanged across phases.
  • Open with mode: pending; after an accepted ProjectSnapshot, resolve it exactly once to initialize or rebuild from the snapshot ownership classification.
  • Treat an unknown warning code as blocking replacement.
  • Record phase outputs by identifier; do not let a later phase silently replace an earlier artifact.