{
  "schema": "cain.govkernel.evidence_bundle.v1",
  "name": "Evolution 01 — Byzantine Governance Kernel",
  "version": "1.0.0",
  "architecture": "canonical ABI + governed-action state machine + fail-closed authorization binding; reuses E20–E26 primitives",
  "canonical_schemas": [
    "AgentIdentity", "ResourceScope", "Capability", "ModelToolIdentity", "Intent", "TrustState",
    "RiskState", "PolicyDecision", "Authority", "QuorumDecision", "Delegation", "Revocation",
    "CausalLink", "EvidenceRecord", "GovernanceEvent", "TenantBoundary", "GovernedAction",
    "Authorization", "GovernanceStateTransition"
  ],
  "state_machine": {
    "states": ["PROPOSED", "POLICY_ALLOWED", "TRUSTED", "RISK_EVALUATED", "AUTHORIZED",
               "QUORUM_COMMITTED", "PERMIT_MINTED", "EXECUTED", "OBSERVED", "EVIDENCED"],
    "failure_states": ["DENIED", "EXPIRED", "REVOKED", "REPLAYED", "UNKNOWN"],
    "guards": {"EXECUTED": "requires quorum+authorization+permit", "no_failure_to_executed": true}
  },
  "invariants": {
    "count": 12,
    "ids": ["INV-01", "INV-02", "INV-03", "INV-04", "INV-05", "INV-06", "INV-07", "INV-08", "INV-09", "INV-10", "INV-11", "INV-12"],
    "classification": "EXECUTABLE_RUNTIME_CHECK"
  },
  "implementation_references": {
    "canonical": "cain/govkernel/canonical.py", "authorization": "cain/govkernel/authorization.py",
    "state_machine": "cain/govkernel/state_machine.py", "kernel": "cain/govkernel/kernel.py",
    "invariants": "cain/govkernel/invariants.py",
    "cleanroom": "verification/govkernel/cleanroom/verifier.py",
    "tests": "tests/govkernel/test_govkernel.py"
  },
  "test_results": {"total": 26, "passed": 26, "failed": 0},
  "invariant_results": {"total": 12, "passed": 12, "failed": 0},
  "attack_results": {
    "fail_closed_cases": ["binding", "capability", "scope", "policy", "epoch", "expiry", "replay",
                          "revoked", "trust", "quorum", "signature", "model_tool_substitution",
                          "parameter_mutation", "tenant_cross"],
    "all_refused": true
  },
  "performance": {"kernel_latency_ms_recorded": true, "baseline_vs_kernel": "NOT_MEASURED"},
  "formal_verification": {"tla_model": "NOT_MEASURED", "classification": "runtime checks only"},
  "compatibility": {"existing_tests_removed": 0, "security_controls_weakened": 0, "reuses": ["cain/e20", "cain/e22", "cain/e25"]},
  "migration": {"status": "PARTIAL", "note": "canonical model added; legacy authority paths not yet fully migrated"},
  "cryptographic_verification": {"cleanroom_verifier": "verification/govkernel/cleanroom/verifier.py", "imports_cain": false},
  "limitations": [
    "no TLA+ model yet", "baseline performance NOT_MEASURED",
    "kernel not yet the live canonical authority boundary", "legacy migration partial"
  ]
}
