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

ProjectSnapshot Contract

ai-agent-system-inspect returns this read-only evidence package.

schema_version: 1
snapshot_id: <run-id plus digest>
run_id: <run id>
status: success | blocked
request:
  user_request: <verbatim scoped request>
  explicit_constraints: []
  explicit_exclusions: []
repository:
  root: <absolute path>
  purpose: <evidence-based summary>
  evidence_files: []
project:
  users: []
  goals: []
  technologies: []
  runtimes: []
  modules:
    - name: <module>
      paths: []
      responsibilities: []
      evidence: []
  ownership_boundaries: []
  recurring_work: []
data:
  stores: []
  migrations: []
integrations: []
quality:
  tests: []
  compatibility: []
  release: []
security:
  authentication: []
  authorization: []
  secrets: []
  privacy_or_compliance: []
delivery:
  build: []
  deployment: []
  documentation: []
agent_runtime:
  subagents: supported | unsupported | unknown
  shared_workspace: supported | unsupported | unknown
  worktrees: supported | unsupported | unknown
ownership:
  agents_md_marker: current | legacy | absent | conflict
  agents_md_human_content: present | absent
  ai_directory: absent | managed | legacy-agent-team | unrelated | mixed
  existing_managed_paths: []
  existing_generated_repo_skills: []
evidence: []
evidence_index:
  - path: <repository-relative path>
    supports: []
domain_assessment:
  - domain: product | architecture | frontend | backend | data | security | qa | devops | documentation | review | project-specific
    present: true | false | unknown
    independent_judgment: <evidence-based explanation>
    risks: []
    verification_methods: []
    module_ownership: []
    evidence: []
assumptions: []
unknowns: []
blockers: []

Each non-empty conclusion must cite an evidence path or appear under assumptions. Preserve raw evidence paths, module boundaries, project characteristics, and inference grounds; the snapshot is an evidence package, not a lossy summary. Preserve the BootstrapRun request and constraints verbatim in request. Old generated Agent roles, Skills, and workflows are ownership evidence only; they are not design inputs.