{
 "generated_utc": "2026-10-12T03:35:59Z",
 "hardening_found_in_this_evolution": {
  "F14-01": "checkpoint store and witness accepted unverified growth unless the caller opted in (require_consistency=False default). Default changed to True; 221 E8-E13 tests still pass.",
  "F14-02": "services spawned one 8 MiB-stack thread per request; under 768 MB RLIMIT_AS a 60-request burst left 53 requests unanswered. Bounded worker pool + 512 KiB stacks: 60/60 executed.",
  "F14-03": "a state store that refused to serve (hash chain broken) was reported by the coordinator as an ambiguous duplicate; now an explicit NO_EFFECT with reason STATE_NOT_READY.",
  "F14-04": "witness round asked frozen witnesses one after another (2 s each), so the auditor export timed out; witnesses are now asked in parallel.",
  "F14-05": "the gate ledger was returned in one response; it is now signed pages that the verifier joins with no gap, and audits can run in windows.",
  "F14-06": "earlier session's supply_chain.ArtifactSigner trusts the public key embedded in the record it verifies (self-anchored) and its own test fails; superseded, not used."
 },
 "regression_tests_catch_reintroduced_defects": {
  "all_caught": true,
  "method": "For every Evolution 13 fix this script re-introduces the original defect in a COPY of the code that lives only in\nmemory (package modules) or in a temp directory (stand-alone verifiers), runs the regression tests that claim to guard\nit, and requires them to FAIL. The files in the repository are never modified.",
  "repository_files_modified": false,
  "results": [
   {
    "defect_reintroduced_in": "cain.sovereign_witness.evidence_bundle",
    "finding": "F13-01",
    "guarding_tests": [
     "tests/test_evolution13_adversary.py::test_f13_01_mixed_view_bundle_not_verified"
    ],
    "kind": "module",
    "real_code": {
     "exit": 0,
     "summary": "============================== 1 passed in 1.06s ==============================="
    },
    "regression_test_catches_the_defect": true,
    "with_defect": {
     "exit": 1,
     "summary": "============================== 1 failed in 0.26s ==============================="
    }
   },
   {
    "defect_reintroduced_in": "cain.sovereign_witness.checkpoint",
    "finding": "F13-02",
    "guarding_tests": [
     "tests/test_evolution13_adversary.py::test_f13_02_forked_growth_rejected"
    ],
    "kind": "module",
    "real_code": {
     "exit": 0,
     "summary": "============================== 1 passed in 1.04s ==============================="
    },
    "regression_test_catches_the_defect": true,
    "with_defect": {
     "exit": 1,
     "summary": "============================== 1 failed in 0.26s ==============================="
    }
   },
   {
    "defect_reintroduced_in": "cain.execution_chain.coordinator",
    "finding": "F13-03",
    "guarding_tests": [
     "tests/test_evolution13_adversary.py::test_f13_03_failed_send_retried_then_deduped"
    ],
    "kind": "module",
    "real_code": {
     "exit": 0,
     "summary": "============================== 1 passed in 1.15s ==============================="
    },
    "regression_test_catches_the_defect": true,
    "with_defect": {
     "exit": 1,
     "summary": "============================== 1 failed in 0.20s ==============================="
    }
   },
   {
    "defect_reintroduced_in": "cain-federation-verify/verify.py",
    "finding": "F13-04",
    "guarding_tests": [
     "tests/test_evolution13_adversary.py::test_f13_04_asserted_quorum_not_accepted"
    ],
    "kind": "script",
    "real_code": {
     "exit": 0,
     "summary": "============================== 1 passed in 1.28s ==============================="
    },
    "regression_test_catches_the_defect": true,
    "with_defect": {
     "exit": 1,
     "summary": "============================== 1 failed in 1.21s ==============================="
    }
   },
   {
    "defect_reintroduced_in": "tests/test_evolution4_breaker.py",
    "finding": "F13-06",
    "guarding_tests": [
     "test_vector_03_appraisal_signature_corruption"
    ],
    "kind": "test",
    "real_code": {
     "exit": 0,
     "summary": "============================== 1 passed in 0.98s ==============================="
    },
    "regression_test_catches_the_defect": true,
    "with_defect": {
     "exit": 1,
     "summary": "============================== 1 failed in 1.15s ==============================="
    }
   }
  ],
  "schema": "CAIN42/EVOLUTION14/E13-FIX-MUTATION-CHECK/v1"
 },
 "schema": "CAIN42/EVOLUTION14/E13-REGRESSION/v1",
 "under_the_deployment": {
  "F13-01": {
   "evidence": {
    "exit_code": 1,
    "findings": [
     "producer_summary_matches_evidence=INCONSISTENT",
     "step=INSUFFICIENT_EVIDENCE"
    ],
    "overall": "INCONSISTENT"
   },
   "held": true,
   "scenario": "e02_f13_01_and_f13_04_clean_room_verifier_rejects_forged_evidence"
  },
  "F13-02": {
   "held": true,
   "scenario": "e01_f13_02_forked_log_growth_rejected_by_live_witnesses"
  },
  "F13-03": {
   "held": true,
   "scenario": "c07_evidence_log_down_then_back_delivers_exactly_once"
  },
  "F13-04": {
   "evidence": [
    {
     "exit_code": 1,
     "findings": [
      "producer_quorum_claim_matches_evidence=INCONSISTENT",
      "witness_quorum=INSUFFICIENT_EVIDENCE"
     ],
     "overall": "INCONSISTENT"
    },
    {
     "exit_code": 1,
     "findings": [
      "producer_quorum_claim_matches_evidence=INCONSISTENT",
      "witness_quorum=INSUFFICIENT_EVIDENCE"
     ],
     "overall": "INCONSISTENT"
    }
   ],
   "held": true,
   "scenario": "e02_f13_01_and_f13_04_clean_room_verifier_rejects_forged_evidence"
  },
  "F13-05": {
   "residual": "organizational independence must be established outside the protocol",
   "status": "NOT_FIXED_BY_PROTOCOL",
   "what_exists": "threshold signatures and per-member verification (F13-04), operator handbook with out-of-band enrollment (operator_readiness.json)",
   "why": "members who are in fact one party can approve anything a threshold of them signs; software cannot tell colluding keys from independent ones"
  },
  "F13-06": {
   "caught": true,
   "note": "deterministic bit flip in both the E13 unit test and every signature-corruption case here (an assert proves the bytes changed); the mutation check re-creates the old no-op corruption and the test fails"
  }
 },
 "unit_regressions": {
  "command": "python3 -m pytest -q tests/test_evolution13_adversary.py tests/test_evolution12_ ...",
  "passed": 454,
  "tests": 454
 }
}
