{
"name": "review-ledger",
"title": "Reading reviewer reports into the review ledger",
"section": "Records",
"order": 60,
"date": "2026-12-03",
"good_until": "2027-03-03",
"commit": "9d47b52d3b1e",
"command": "make ctx && sqlite3 ~/.ctx/ctx.sqlite \".backup COPY\" && CTX_DB=COPY ./ctx scan && CTX_DB=COPY ./ctx review; the hand check reads each sampled report's final message from its transcript",
"conditions": {
"build": "ctx at check-in 9d47b52d3b1e on the review-ledger branch, run against copies of the live archive made with sqlite3 .backup; the live archive was never opened by it",
"archive": "the scan read every Claude Code subagent transcript on the machine, scratch folders under /private/tmp left out: 1,782 reports from 29 projects, 11 June to 3 December 2026",
"verdicts": "50 reports drawn at random (seed 20261204) from the 1,527 whose reviewers were in neither earlier sample nor among the 50 reports whose first and last verdict words differ, which the rule was tuned on. The implementer, not the person, read each report's whole final message and judged its verdict; the parsed verdict was printed after the message, so the check was not blind. A report giving several verdicts for several changes was judged by the gravest. Separately, 25 rounds drawn at random (seed 20261205) from the 195 whose final message mentions approve or request changes but that the parser did not read as reports were read whole, to find reports it missed",
"blocking counts": "20 real reports from that sample, 14 asking for changes and 6 approving with nits, rewritten by adding a review line and one finding line per finding the reviewer raised, labelled as the reviewer labelled it. The lines are written six ways: plain, in a code fence, as bullets, numbered, in backticks, and with bold labels; 12 of the 104 paths carry a line range and 2 none. The fixtures and the parser have the same author; the parser learned numbered lists and bold labels while the fixtures were being written, before this run. Rerun on 9d47b52d3b1e: the first build of this round read the fenced lines as code and lost 4 of the 20, which the fix and a test now cover",
"scan time": "a build of 9d47b52d3b1e that times the ledger's part of ctx scan, run 5 times on fresh copies of an archive whose archive and ledger were last scanned about 35 minutes earlier; the share is the ledger's time over the rest of the scan",
"bars": "taken from the approved proposal and the brief before any run; this file was written after the verdict check and before the other runs",
"labels": "a separate pass labelled 100 findings drawn from the proposal's 762 by hand, with category, the cheapest check that could catch it, and whether it is real",
"fixtures": "29 single-round reports in test/run.sh, written for this round and not taken from the reviewer's 18: negation, a quoted rubric, code spans and blocks, several verdicts, lower and title case, hyphens, Verdict lines, conditions, lists of choices, non-reports; 7 of them reworded from real reports whose first and last verdict words differ",
"earlier verdict check": "the first round found 49 of 50 with a rule that took the first verdict word. That overstated it: the 50 were drawn only from what the parser had read as reports, so a report it missed or a non-report it counted could not show up as a miss; the check read each report's opening and its lines naming a verdict, not the whole message; and the reports the rule gets wrong are about 3% of the archive (50 of 1,798 have differing first and last verdict words), so 50 draws expect one or two. The reviewer's 18 hand-written reports, aimed at those cases, found 7 read right"
},
"summary": "Whether the hourly scan reads what reviewers returned correctly enough to count first-review yield and rounds per change, and what it costs the scan.",
"metrics": [
{
"label": "Verdicts matching a hand check, fresh reports",
"value": "50 of 50 (95% Wilson lower bound 93%)",
"note": "29 ask for changes, 11 approve with nits, 10 approve; the earlier check's 49 of 50 is kept under conditions, with why it overstated"
},
{
"label": "Reports missed among rounds that mention a verdict word",
"value": "0 of 25",
"note": "2 of the 25 are reviews that give their verdict in other words (\"sound with changes\", \"no confirmed blockers\"); the rest are not reviews"
},
{
"label": "Hand-written verdict cases",
"value": "29 of 29",
"note": "7 non-reports read as none; 22 reports read right, 7 of them reworded from real reports whose first and last verdict words differ"
},
{
"label": "Blocking counts exact on reports in the line format",
"value": "20 of 20",
"note": "31 blocking and 73 nit lines; verdict, round and nit count also exact on all 20"
},
{
"label": "Hourly scan time, the ledger's share",
"value": "1.0% to 1.3%",
"note": "0.10 to 0.14 s of 8.0 to 10.6 s scans; the first read of the whole history took 27.0 s, once, inside one scan's 60 s allowance"
},
{
"label": "Reports read in full on the archive",
"value": "0 of 1,782",
"note": "no reviewer writes the review line yet; every report counts by its verdict"
},
{
"label": "First reviews on the archive",
"value": "964: 6.1% approve, 28.9% with nits, 64.9% ask for changes",
"note": "the first round's rule found 1,006: 7.5%, 29.6% and 62.9%; the proposal's parse found 6.5%, 30% and 64% of 906"
},
{
"label": "The proposal's three headline shares against a hand-labelled set",
"value": "behaviour or security 66% (95% Wilson 56 to 75) against 68%; style 2% (0.6 to 7) against 2.6%; lint-catchable 3% (1 to 8.5) against 3.3%",
"note": "100 findings of the proposal's 762, hand-labelled, seed 20261203, stratified by project. The labeller had seen the model labels of one batch before sampling, so those labels are not fully blind. Whether a finding is real: real 34%, likely 52%, speculative 14%"
}
],
"bar": "verdicts match on at least 48 of 50 real reports not used to write the rule; blocking counts exact on at least 19 of 20 reports in the line format; the hourly scan grows by no more than 5%; the three headline shares each within 10 points of the hand-labelled set",
"verdict": "pass",
"baseline": "the hand check, and the counts written into the rewritten reports",
"meaning": "All four bars pass. Verdicts are now read from where a report gives them rather than from its first verdict word, and held up on 50 fresh reports and on the cases that broke the first rule. None of the reports on record has the review line, so the streak and rounds per change rest on verdict words until reviewers write it."
}