{
  "schema": "cain42.sovereign.evo01.repository_inventory.v1",
  "generated": "2026-10-12",
  "revision_start": "6cfa3b9e465a35b846311e53503aae509fd457d7",
  "branch": "ironclad-prompt8-qualification",
  "git_remote": null,
  "counts": {
    "python_files_cain": 1300,
    "python_files_platform_gateway": 775,
    "test_files_tests_dir": 670
  },
  "ci": {
    "file": ".github/workflows/ci.yml",
    "runs": [
      "tests/clawx_foundation/",
      "<service>/tests/",
      "ruff/mypy",
      "contradicted-phrases check"
    ],
    "authorization_suites_in_ci": false
  },
  "execution_paths": [
    {
      "path": "MCPGate proxy (customer-run)",
      "code": "cain/mcp_proxy.py",
      "entry": "POST /mcp|/jsonrpc (create_mcp_proxy_app) or stdio (StdioMCPProxy.run)",
      "chain": [
        "process_incoming_request (method gate: only handshake/list/notifications ungoverned)",
        "guard_stack.precheck (opt-in)",
        "evaluate_tool_call: subject_authenticator (opt-in) -> _evaluate_tool_call_legacy [tool_guard, identity binding (opt-in), self-authoring deny, trajectory gate, capability-token branch, fast-path cache (+quarantine), deterministic baseline (allowlist, quarantine, risk floor)] -> fabric_gate/l5/assurance/sovereign gates (opt-in, restriction-only)",
        "frontier gate (restriction-only)",
        "trifecta guard / guard stack admit (opt-in)",
        "consume_jit_capability (single-use JIT token)",
        "downstream_message (envelope stripped) -> forward",
        "mid-flight + pre-release containment re-check (HTTP only)",
        "process_downstream_response (postcondition UNVERIFIED unless a checker is registered)"
      ],
      "solver_on_path": false,
      "evidence": "MCPToolCallEvaluation + optional fabric gate record; no durable per-request ledger (T-S17-06)"
    },
    {
      "path": "Hosted /mcp on the gateway",
      "code": "cain/continuum/hosted_pipeline.py (HostedPipelineMiddleware) installed by platform-gateway/main.py",
      "chain": [
        "carve-out guard stack middleware",
        "CONTINUUM pipeline v27 (live default): restriction-only stages, first DENY wins",
        "strict mode (off in production)",
        "tool body"
      ],
      "solver_on_path": false,
      "evidence": "/root/.cain/hosted_continuum_decisions.jsonl hash chain (verify_chain True, 1163 rows)"
    }
  ],
  "modules_not_on_any_production_path": [
    {
      "file": "platform-gateway/cain_proof_carrying_action.py",
      "callers": "tests + cain_adversarial_simulator_v2.py only"
    },
    {
      "file": "cain/formal/z3_solver_gate.py (PolicyIRSMTVerifier)",
      "callers": "tests, benchmarks, evidence-bundle scripts"
    },
    {
      "file": "cain/continuum/hosted_pipeline.py SovereignProofActionStage",
      "callers": "pipeline v28/v29 only; live runs v27"
    }
  ],
  "z3": {
    "version": "5.1.0",
    "production_routes": "/verifygate/* (platform-gateway/routers/subdomains.py) \u2014 evidence/proof API, no authorization consumer (s17)",
    "semantics_check": "z3_solver_gate: PROVED only on UNSAT of the negated safety predicate; UNKNOWN->TIMEOUT/UNKNOWN; all variables are grounded constants, so it evaluates one concrete action, not an input space"
  },
  "top100_registry": {
    "file": "CAIN42_TOP100_PRODUCTION_READINESS_GRADES.json",
    "entries": 100,
    "duplicate_names": [
      "/fabric/contracts/* -- tenant-scoped api for the governance contract fabric (ip evolution",
      "24 phases 14-17: signed state roots, an edge verifier with explicit modes, and revocation",
      "agent identity interop \u2014 spiffe-style workload identity, oauth token exchange, delegation",
      "agi control experiment -- the cain control boundary",
      "compound adversarial simulator 2.0 (trust kernel 3.0)",
      "epoch 14: autonomous trust fabric os kernel substrate",
      "evolution 12 formal trust invariants t1..t15, executable",
      "evolution 12 machine-checkable formal trust invariants (t1 - t15)",
      "evolution 24: governed agentic internet fabric",
      "evolution 25: universal machine agency fabric",
      "evolution 29: governed agentic internet transaction fabric",
      "evolution 36: the machine agency exchange fabric",
      "evolution 7: predictive consequence governance (restriction-only)",
      "formal safety invariants checker"
    ],
    "families": {
      "Guard": 1,
      "Verify": 0,
      "Comply": 0,
      "Passport": 1,
      "Kernel": 12,
      "Quorum": 4,
      "Sentinel": 0,
      "Frontier": 1
    },
    "gap": "no entry for the live enforcement boundary (cain/mcp_proxy.py, cain/continuum/hosted_pipeline.py); registry not modified (no duplicates added, no status changed)"
  },
  "auditor_kit": {
    "dir": "auditor-kit",
    "publisher": "session -82",
    "slot": "KIT_SLOT.json in this folder"
  },
  "ihvrk": {
    "dir": "ihvrk/",
    "owner": "session -98",
    "state": "untracked, in progress at time of writing"
  }
}