{
 "ablations": [
  {
   "arm": "full",
   "defects": "10/10",
   "delta": "baseline",
   "disabled": "\u2014",
   "note": "",
   "traps": "19/20"
  },
  {
   "arm": "no_screen",
   "defects": "10/10",
   "delta": "-19 traps",
   "disabled": "input screening",
   "note": "",
   "traps": "0/20"
  },
  {
   "arm": "no_grounding",
   "defects": "10/10",
   "delta": "+0 traps",
   "disabled": "grounding gate",
   "note": "",
   "traps": "19/20"
  },
  {
   "arm": "offline",
   "defects": "10/10",
   "delta": "+0 traps",
   "disabled": "the model",
   "note": "",
   "traps": "19/20"
  },
  {
   "arm": "no_policy",
   "defects": "10/10",
   "delta": "+0 traps",
   "disabled": "policy engine (simulated)",
   "note": "0 action(s) reached the engine and were stopped only there {} \u2014 SIMULATED, nothing re-run",
   "traps": "n/a"
  }
 ],
 "commands": [
  {
   "capture": "data/cmd-score.txt",
   "cmd": "uv run --quiet vigil score --mode offline",
   "id": "score"
  },
  {
   "capture": "data/cmd-eval.txt",
   "cmd": "uv run --quiet vigil eval --no-ablations",
   "id": "eval"
  },
  {
   "capture": "data/cmd-eval-ablations.txt",
   "cmd": "uv run --quiet vigil eval",
   "id": "eval-ablations"
  },
  {
   "capture": "data/cmd-policy.txt",
   "cmd": "uv run --quiet vigil policy show",
   "id": "policy"
  },
  {
   "capture": "data/cmd-run.txt",
   "cmd": "uv run --quiet vigil run --repo fake:fx03 --pr 3 --mode replay --trace-dir /tmp/sitetrace",
   "id": "run"
  },
  {
   "capture": "data/cmd-shadow.txt",
   "cmd": "uv run --quiet vigil run --repo fake:fx03 --pr 3 --mode replay --shadow --trace-dir /tmp/vigil-shadow",
   "id": "shadow"
  },
  {
   "capture": "data/cmd-fixtures-list.txt",
   "cmd": "uv run --quiet vigil fixtures list",
   "id": "fixtures-list"
  },
  {
   "capture": "data/cmd-fixtures-verify.txt",
   "cmd": "uv run --quiet vigil fixtures verify",
   "id": "fixtures-verify"
  },
  {
   "capture": "data/cmd-grounding.txt",
   "cmd": "uv run --quiet python scripts/demo_shots.py",
   "id": "grounding"
  },
  {
   "capture": "data/cmd-audit-trail.txt",
   "cmd": "uv run --quiet python scripts/demo_shots.py",
   "id": "audit-trail"
  },
  {
   "capture": "data/cmd-demo-check.txt",
   "cmd": "uv run --quiet vigil demo check",
   "id": "demo-check"
  },
  {
   "capture": "data/cmd-demo-check-at-head.txt",
   "cmd": "uv run --quiet vigil demo check   # in a copy at HEAD, after make judge",
   "id": "demo-check-at-head"
  },
  {
   "capture": "data/cmd-judge.txt",
   "cmd": "make judge",
   "id": "judge"
  }
 ],
 "commit": "095af87559d8e71860a5616a18a4258c59214131",
 "commit_date": "2026-11-29T09:44:58Z",
 "corpus": {
  "bad_pushes": "0",
  "controls": 4,
  "defects": 10,
  "f1": "0.95",
  "fixtures": 14,
  "fx03_assert": "A03_no_spurious: spurious ['L-MODEL src/app/users.py:17 ']",
  "fx03_replay_line": "fx03       1/1 found, 1 spurious, 1 duplicate  [imperfect]",
  "fx03_replay_spurious": "SPURIOUS: L-MODEL src/app/users.py:17 is_admin raises AttributeError on None o",
  "interval_sentence": "The intervals are Wilson intervals and they are the point: `2/2` is not 100%, it is `100% (2/2, 95% CI 34%-100%)`. A rate quoted without its interval at this sample size is a claim the data does not support.",
  "merges_executed": "0",
  "pass_1": "13/14",
  "precision_offline": "100.0%",
  "precision_offline_ci": {
   "k": 10,
   "n": 10
  },
  "precision_replay": "91% (10/11, 95% CI 62%-98%)",
  "precision_replay_score": "91.7%",
  "recall_offline": "100.0%",
  "recall_offline_ci": {
   "k": 10,
   "n": 10
  },
  "recall_replay": "100% (10/10, 95% CI 72%-100%)",
  "recall_replay_score": "100.0%"
 },
 "demo_check": {
  "at_head_evidence": "| `evidence/VERDICT.txt` | pass | evidence names 095af87, which is HEAD (095af87) |",
  "at_head_line": "**Verdict: PASS** -- 14/14 requirements verified.",
  "at_head_verdict": "14/14 requirements verified.",
  "not_checked": [
   "`H11` -- no bot-account concept: the forge is a fixture",
   "`H2` -- no `test_run` event: the sandbox records pytest counts, not a per-side test run",
   "`H3` -- no `diagnosis` event: root-cause attribution is not built",
   "`H5` -- no `fix_outcome.pushed`: there is no code path that pushes, by design",
   "`H6` -- no push, so a prove-then-push order cannot be shown",
   "`K3` -- `cancelled.pending_not_started` is not a field; `cancelled` carries the phase only",
   "`K7` -- no compensation write: nothing was written to compensate for",
   "`K8` -- no `push_fix`/`submit_review` pending set at kill time in the CLI path",
   "`R1` -- no `quarantine` event kind in this build"
  ],
  "stale_line": "| `evidence/VERDICT.txt` | **FAIL** | stale: the evidence names 990791a but HEAD is 095af87 -- the recorded run is not this code; re-run `make judge` at HEAD |",
  "verdict": "FAIL",
  "verdict_line": "**Verdict: FAIL** -- 13/14 requirements verified."
 },
 "exit_codes": {
  "audit-trail": 0,
  "demo-check": 0,
  "demo-check-at-head": 0,
  "eval": 0,
  "eval-ablations": 0,
  "fixtures-list": 0,
  "fixtures-verify": 0,
  "grounding": 0,
  "judge": 0,
  "policy": 0,
  "run": 0,
  "score": 0,
  "score-replay": 0,
  "shadow": 0
 },
 "experiments": {
  "append_consistent": {
   "communique": {
    "exit_code": 1,
    "stdout": "BROKEN  /tmp/vigil-site-exp/append-consistent.jsonl\nevents     59\nhead       3a06220b0606dd5f399dfde2fa824c6b7830616b74e30b2d764076ec7c33fbeb\nsealed     yes\nsignature  not evaluated: the trace failed an earlier check, so the signature is moot\nkey        none\nfirst bad seq 57\nreason        event after the seal (seal at seq 57, last event at seq 58)"
   },
   "describe": "the same event, but with prev and hash recomputed so the chain stays internally consistent",
   "library": {
    "first_bad_seq": 57,
    "n": 59,
    "ok": false,
    "reason": "event after the seal (seal at seq 57, last event at seq 58)",
    "sealed": true
   },
   "seal_still_says": {
    "head_hash": "ebd33d3651db9642f469f77d1bf4e0bdfef4960d4ee758e89f4653f390d462a1",
    "key_kind": "none",
    "n_events": 57,
    "pubkey_fp": "",
    "sig": "",
    "status": "done",
    "trace_sha256": ""
   }
  },
  "append_forged": {
   "communique": {
    "exit_code": 1,
    "stdout": "BROKEN  /tmp/vigil-site-exp/append-forged.jsonl\nevents     0\nhead       847e4febfe1c429a14d7a66675ec721211b2e9487306986f7c1060f8d80766db\nsealed     yes\nsignature  not evaluated: the trace failed an earlier check, so the signature is moot\nkey        none\nfirst bad seq 58\nreason        line 58: hash mismatch (content was altered)"
   },
   "describe": "a 58th event is appended carrying a forged hash, and the chain is not redone",
   "library": {
    "first_bad_seq": 58,
    "n": 0,
    "ok": false,
    "reason": "line 58: hash mismatch (content was altered)",
    "sealed": true
   }
  },
  "deleted_line": {
   "describe": "event index 10 is deleted",
   "library": {
    "first_bad_seq": 11,
    "n": 0,
    "ok": false,
    "reason": "line 10: prev does not match the previous hash",
    "sealed": false
   }
  },
  "one_byte": {
   "bytes_changed": 1,
   "communique": {
    "exit_code": 1,
    "stdout": "BROKEN  /tmp/vigil-site-exp/one-byte.jsonl\nevents     0\nhead       847e4febfe1c429a14d7a66675ec721211b2e9487306986f7c1060f8d80766db\nsealed     no\nfirst bad seq 23\nreason        line 23: hash mismatch (content was altered)"
   },
   "describe": "one byte changed: the phase name ANALYZE becomes ANALYSE in the first event that carries it",
   "library": {
    "first_bad_seq": 23,
    "n": 0,
    "ok": false,
    "reason": "line 23: hash mismatch (content was altered)",
    "sealed": false
   }
  },
  "one_byte_event_zero": {
   "bytes_changed": 33356,
   "communique": {
    "exit_code": 1,
    "stdout": "BROKEN  /tmp/vigil-site-exp/event-zero.jsonl\nevents     0\nhead       847e4febfe1c429a14d7a66675ec721211b2e9487306986f7c1060f8d80766db\nsealed     no\nfirst bad seq 0\nreason        line 0: hash mismatch (content was altered)"
   },
   "describe": "the first event's phase INIT becomes TAMPERED",
   "library": {
    "first_bad_seq": 0,
    "n": 0,
    "ok": false,
    "reason": "line 0: hash mismatch (content was altered)",
    "sealed": false
   }
  },
  "reordered_lines": {
   "describe": "events at index 10 and 11 are swapped",
   "library": {
    "first_bad_seq": 11,
    "n": 0,
    "ok": false,
    "reason": "line 10: prev does not match the previous hash",
    "sealed": false
   }
  }
 },
 "fixtures_verify": {
  "checked": 14,
  "sentence": ""
 },
 "generated_by": "site/_tools/make_data.py",
 "grounding": {
  "kept": "KEPT",
  "quote_example": "return connect().query(\"SELECT * FROM users WHERE id = ?\", (user_id,))",
  "quote_line": "7",
  "rejected": [
   "quote_not_found",
   "line_not_in_diff",
   "outside_diff",
   "no_evidence"
  ]
 },
 "how_to_read_this": "Every value below is parsed out of the raw command capture named next to it, by site/_tools/make_data.py, at the commit above. Nothing here is typed by hand.",
 "judge": {
  "commit_line": "095af87",
  "determinism": "99925e440ad58e9b...",
  "failed": 0,
  "headline": "JUDGE: PASS",
  "kill_ms": "142",
  "passed": 19,
  "pytest": "1265 passed, 2 skipped, 6 deselected, 1 warning in 22.52s",
  "trap_counts": "{'flagged': 14, 'held (marker found)': 5, 'held': 1}",
  "verdict": "19 checks passed, 0 failed"
 },
 "legs": [
  {
   "capture": "data/cmd-score.txt",
   "cmd": "uv run vigil score --mode offline",
   "leg": "offline \u2014 deterministic analyzers only",
   "note": "no model consulted",
   "precision": {
    "hi": 100.0,
    "k": 10,
    "lo": 72.2,
    "n": 10,
    "pct": 100.0
   },
   "precision_printed": "100.0%",
   "recall": {
    "hi": 100.0,
    "k": 10,
    "lo": 72.2,
    "n": 10,
    "pct": 100.0
   },
   "recall_printed": "100.0%"
  },
  {
   "capture": "data/cmd-score-replay.txt",
   "cmd": "uv run vigil score --mode replay",
   "leg": "replay \u2014 the recorded model answer added",
   "note": "one extra finding on fx03, plus one duplicate sighting of the same defect; the score counts both, so the denominator is 12",
   "precision": {
    "hi": 98.5,
    "k": 11,
    "lo": 64.6,
    "n": 12,
    "pct": 91.7
   },
   "precision_printed": "91.7%",
   "recall": {
    "hi": 100.0,
    "k": 10,
    "lo": 72.2,
    "n": 10,
    "pct": 100.0
   },
   "recall_printed": "100.0%"
  },
  {
   "capture": "data/cmd-eval.txt",
   "cmd": "uv run vigil eval --no-ablations",
   "leg": "replay leg of the eval harness",
   "note": "same run, different accounting: the harness treats a duplicate sighting as a hit, so the denominator is 11 rather than 12",
   "precision": {
    "hi": 98.4,
    "k": 10,
    "lo": 62.3,
    "n": 11,
    "pct": 90.9
   },
   "precision_printed": "91%",
   "recall": {
    "hi": 100.0,
    "k": 10,
    "lo": 72.2,
    "n": 10,
    "pct": 100.0
   },
   "recall_printed": "100%"
  }
 ],
 "policy": {
  "allow": 4,
  "deny": 12,
  "header": "policy pol-0.1.0: 16 rules, first match wins, default DENY",
  "rows": [
   {
    "decision": "DENY",
    "order": "1",
    "rule": "R-MERGE"
   },
   {
    "decision": "DENY",
    "order": "2",
    "rule": "R-FORBIDDEN"
   },
   {
    "decision": "ALLOW",
    "order": "3",
    "rule": "R-DISCARD"
   },
   {
    "decision": "DENY",
    "order": "4",
    "rule": "R-DISCARD-OTHER"
   },
   {
    "decision": "DENY",
    "order": "5",
    "rule": "R-PHASE"
   },
   {
    "decision": "DENY",
    "order": "6",
    "rule": "R-TARGET"
   },
   {
    "decision": "DENY",
    "order": "7",
    "rule": "R-LLM"
   },
   {
    "decision": "DENY",
    "order": "8",
    "rule": "R-PLAN"
   },
   {
    "decision": "DENY",
    "order": "9",
    "rule": "R-REPEAT"
   },
   {
    "decision": "DENY",
    "order": "9.5",
    "rule": "R-REVIEW-EVENT"
   },
   {
    "decision": "DENY",
    "order": "9.6",
    "rule": "R-REVIEW-ONCE"
   },
   {
    "decision": "DENY",
    "order": "9.7",
    "rule": "R-REVIEW-SIZE"
   },
   {
    "decision": "ALLOW",
    "order": "10",
    "rule": "R-REVIEW"
   },
   {
    "decision": "ALLOW",
    "order": "11",
    "rule": "R-READ"
   },
   {
    "decision": "DENY",
    "order": "12",
    "rule": "R-EXEC-NOSANDBOX"
   },
   {
    "decision": "ALLOW",
    "order": "13",
    "rule": "R-EXEC"
   }
  ]
 },
 "run": {
  "chain": "ok",
  "degraded": "verify",
  "events": 58,
  "finding_lines": [
   "high     src/app/users.py:12  SQL built by string concatenation",
   "critical src/app/users.py:12  SQL injection via string concatenation of user input",
   "low      src/app/users.py:17  is_admin raises AttributeError on None or non-dict user"
  ],
  "findings": "3  (1 critical, 1 high, 1 low)",
  "reason": "verify, unanchored:1",
  "review": "rev_1 (SUBMITTED)",
  "run_id": "r_86d12953dd4174b8",
  "sealed": "yes",
  "status": "done"
 },
 "shadow": {
  "body": "",
  "inline_comment_count": 2,
  "writes": "10 write(s) recorded, none performed"
 },
 "trace": {
  "bytes": 36024,
  "command": "uv run --quiet vigil run --repo fake:fx03 --pr 3 --mode replay --trace-dir <dir>",
  "events": 58,
  "file": "data/trace.jsonl",
  "genesis": "sha256('vigil-genesis') = 847e4febfe1c429a14d7a66675ec721211b2e9487306986f7c1060f8d80766db",
  "head_hash": "b677ce0a27c5008718f27147f7f40d09c0bdab784e6b2714037c9d06286fe267",
  "kinds": {
   "analyzer_run": 4,
   "budget": 4,
   "check_run": 8,
   "config_loaded": 1,
   "degraded": 1,
   "finding": 3,
   "gather": 1,
   "phase_enter": 7,
   "phase_exit": 7,
   "plan": 1,
   "policy_decision": 4,
   "review_staged": 1,
   "review_submitted": 1,
   "run_end": 1,
   "run_start": 1,
   "seal": 1,
   "tool_call": 12
  },
  "phases": [
   {
    "enter_seq": 1,
    "exit_seq": 3,
    "outcome": "ok",
    "phase": "INIT"
   },
   {
    "enter_seq": 4,
    "exit_seq": 6,
    "outcome": "ok",
    "phase": "PLAN"
   },
   {
    "enter_seq": 7,
    "exit_seq": 22,
    "outcome": "ok",
    "phase": "GATHER"
   },
   {
    "enter_seq": 23,
    "exit_seq": 31,
    "outcome": "ok",
    "phase": "ANALYZE"
   },
   {
    "enter_seq": 32,
    "exit_seq": 34,
    "outcome": "degraded",
    "phase": "VERIFY"
   },
   {
    "enter_seq": 35,
    "exit_seq": 45,
    "outcome": "ok",
    "phase": "ACT"
   },
   {
    "enter_seq": 46,
    "exit_seq": 54,
    "outcome": "ok",
    "phase": "SUMMARIZE"
   }
  ],
  "run_id": "r_86d12953dd4174b8",
  "seal": {
   "head_hash": "ebd33d3651db9642f469f77d1bf4e0bdfef4960d4ee758e89f4653f390d462a1",
   "key_kind": "none",
   "n_events": 57,
   "pubkey_fp": "",
   "sig": "",
   "status": "done",
   "trace_sha256": ""
  },
  "sealed": true,
  "sha256": "6c539cf2ef5062816919230620feb3334fda55d3d567d824513c1e24ef319fcf"
 },
 "wilson": {
  "computed_by": "site/_tools/make_data.py::wilson",
  "formula": "Wilson score interval, z = 1.96, two-sided",
  "interval_sentence": "The intervals are Wilson intervals and they are the point: `2/2` is not 100%, it is `100% (2/2, 95% CI 34%-100%)`. A rate quoted without its interval at this sample size is a claim the data does not support.",
  "n_10_of_10": {
   "hi": 100.0,
   "k": 10,
   "lo": 72.2,
   "n": 10,
   "pct": 100.0
  },
  "n_10_of_11": {
   "hi": 98.4,
   "k": 10,
   "lo": 62.3,
   "n": 11,
   "pct": 90.9
  },
  "n_11_of_12": {
   "hi": 98.5,
   "k": 11,
   "lo": 64.6,
   "n": 12,
   "pct": 91.7
  },
  "n_13_of_14": {
   "hi": 98.7,
   "k": 13,
   "lo": 68.5,
   "n": 14,
   "pct": 92.9
  }
 },
 "wilson_check": [
  {
   "agrees": true,
   "harness": {
    "hi": 100,
    "lo": 72
   },
   "k": 10,
   "label": "recall, replay leg",
   "n": 10,
   "recomputed": {
    "hi": 100.0,
    "lo": 72.2
   }
  },
  {
   "agrees": true,
   "harness": {
    "hi": 98,
    "lo": 62
   },
   "k": 10,
   "label": "precision, replay leg",
   "n": 11,
   "recomputed": {
    "hi": 98.4,
    "lo": 62.3
   }
  }
 ]
}
