{
  "compatibility": {
    "diagnostics": "Diagnostic codes are stable within a minor line unless explicitly deprecated.",
    "ir": "Canonical IR now includes improvement-governance and Authority IR declarations; semantic hash changes require a compatibility note and conformance fixture update.",
    "semantics": "Breaking semantic changes require a new standard version.",
    "syntax": "New syntax must be feature-gated or additive within a minor line."
  },
  "conformance_levels": [
    {
      "id": "CPS-0",
      "name": "Parsed",
      "requirement": "Source parses into AST",
      "scope": "parser"
    },
    {
      "id": "CPS-1",
      "name": "Checked",
      "requirement": "Types and effects validate",
      "scope": "checker"
    },
    {
      "id": "CPS-2",
      "name": "Interpretable",
      "requirement": "Pure functions and examples execute",
      "scope": "interpreter"
    },
    {
      "id": "CPS-3",
      "name": "Runtime-Capable",
      "requirement": "Machines step and run in dry-run / mock / live modes with deterministic timeout, retry, failure, and cancellation semantics",
      "scope": "runtime"
    },
    {
      "id": "CPS-4",
      "name": "Ledgered",
      "requirement": "Execution is persisted and replay-verifiable",
      "scope": "ledger"
    },
    {
      "id": "CPS-5",
      "name": "Traceable",
      "requirement": "Semantic trace events include trace/span ids, event kind, component, operation, diagnostics, and bounded breadcrumbs",
      "scope": "trace"
    },
    {
      "id": "CPS-6",
      "name": "Agent-Operable",
      "requirement": "Manifest, schemas, examples, and CI evidence exist",
      "scope": "agent"
    },
    {
      "id": "CPS-7",
      "name": "Verified",
      "requirement": "Configured proof obligations are accepted by a trusted verifier with no open proof markers",
      "scope": "verification"
    },
    {
      "id": "CPS-8",
      "name": "Improvement-Governed",
      "requirement": "Improvement lineage, objectives, eval suites, successor contracts, budgets, gates, deployment policies, and improvement records are parsed, checked, canonicalized, and ledger-ready",
      "scope": "improvement"
    },
    {
      "id": "CPS-9",
      "name": "Authority-Governed",
      "requirement": "Authority IR principals, mandates, delegations, capabilities, policies, trust boundaries, telemetry obligations, and memory policies are parsed, checked, canonicalized, and exportable as a host-policy artifact",
      "scope": "authority"
    },
    {
      "id": "CPS-10",
      "name": "Protocol-Native",
      "requirement": "MCP tools/resources/prompts, A2A discovery/auth/skills, A2UI surfaces/state/actions, protocol effect targets, protocol-plan export, and A2UI manifest/envelope export are parsed, checked, canonicalized, and runtime-adapter ready",
      "scope": "protocols"
    }
  ],
  "last_revised": "2026-06-12",
  "normative_artifacts": [
    {
      "description": "Normative language and implementation standard for Capsulang v0.7.",
      "id": "standard",
      "media_type": "text/markdown",
      "path": "specs/standard/capsulang-v0.7-standard.md"
    },
    {
      "description": "Construct implementation status by authoring, parser, checker, interpreter, runtime, and codegen support.",
      "id": "constructs",
      "media_type": "application/json",
      "path": "specs/standard/constructs.json"
    },
    {
      "description": "Known effect domains and determinism classifications.",
      "id": "effects",
      "media_type": "application/json",
      "path": "specs/standard/effects.json"
    },
    {
      "description": "Cumulative Capsulang conformance levels.",
      "id": "conformance",
      "media_type": "application/json",
      "path": "specs/standard/conformance.json"
    },
    {
      "description": "Backend code generation coverage, ABI notes, memory conventions, validation hooks, and unsupported feature matrix.",
      "id": "backend-capabilities",
      "media_type": "application/json",
      "path": "specs/standard/backend_capabilities.json"
    }
  ],
  "reference_mirrors": [
    {
      "base_path": "web/public/spec",
      "description": "Static artifacts published by the reference web site.",
      "id": "web-public"
    },
    {
      "base_path": "web/src/spec",
      "description": "Reference web source data imported by the UI.",
      "id": "web-src"
    }
  ],
  "standard": "Capsulang",
  "status": "Editor's Draft",
  "version": "0.7"
}
