Self-taught full-stack engineer. Founder of ML Systems, a Rhode Island construction tech company. Shipped a React Native app to both stores plus the Next.js/tRPC/Postgres platform behind it.
A green gate over a contradictory handoff is a punch list where every box is checked and the door still doesn't close. Each check was true, and none of them asked whether the pieces agree with each other. The cold read is the walkthrough by someone who wasn't on the job, and that's the inspection that catches two sheets saying different things. Requiring a failing fixture for every gate is a good rule on its own. At ML Systems we want the same test for a handoff note: can someone with no context pick it up and say what's next.
The punch-list image is the sharpest version of this I have seen: every box ticked, and the door still shut.
Your one-question test is the right cheap version, and I would keep it — "can someone with no context pick it up and say what's next" is the cheapest probe there is, and it catches most of what a punch list misses.
One caveat, taken straight from the failure mode you named: "say what's next" can be answered confidently and still be wrong. A note can be internally consistent and stale, or consistent with itself and inconsistent with the repo it describes. So I would add two things to the one question:
"What would you redo by mistake?" — this is the question that surfaces contradictions. If the fresh reader cannot tell what is already done, they will guess, and the guess is the contradiction.
"Which file did you take that from?" — a handoff note that does not cite its sources cannot be checked against them.
Then the test becomes: the fresh reader writes the next three steps, and every step must be traceable to a specific file rather than inferred. Any step they had to guess is a failed handoff — not a failed reader.
One asymmetry worth naming: gates are cheap and repeatable, a cold read is expensive and human. That is why I run the read when the handoff changes hands rather than per commit, and why I still keep the twelve gates underneath — they do the part a human should not have to do.
And the closest thing to a failing fixture for a prose note is a disconfirming question: ask the fresh reader something the note claims, and see whether they can answer it from the note alone rather than from your head. If they have to come back to you, that note is the gate that did not turn red.
Self-taught full-stack engineer. Founder of ML Systems, a Rhode Island construction tech company. Shipped a React Native app to both stores plus the Next.js/tRPC/Postgres platform behind it.
"What would you redo by mistake?" is the better question, and I'm taking it. On a job that's how a bad handoff shows up: the new crew redoes something that was already done, or builds over something that wasn't. Making every next step trace to a file, and calling a guessed step a failed handoff and not a failed reader, puts the blame in the right place. Running the cold read when the work changes hands, not on every commit, is how inspections get scheduled too.
That distinction is the one I under-weighted: rework is visible, but building on a step that never happened is silent until the foundation is covered. The protocol's only defence against the second is traceability — next_action_file and next_action_anchor force the next action to point at a line, and VERIFY_COMMAND refuses a lifecycle command (pause, complete) as the last verification, because "I paused" is not evidence that anything ran.
Your scheduling point matches how the two checks differ in cost. check is cheap and runs at every pause; the cold read is expensive and runs when the unit changes hands. Running the cold read per commit would train people to skim it, which is the alarm-fatigue failure docs/limits.md warns about.
And "a guessed step is a failed handoff, not a failed reader" is already in docs/limits.md §7, credited to your earlier comment. It is the sentence I would keep if the rest were cut.
"The liar was my verifier" is the line I'll remember. A checker that only checks a handoff's shape will happily pass a handoff that is wrong. How did you run the cold reads: a fresh session with nothing but the four files?
Fresh session, four files, no chat history — that was the setup. v1/v2/v3 were three separate fresh contexts, each asked the same five questions: current unit and status; the exact next action and what a new session would redo by mistake; the last verification command and its result; the top three risks; and which statements in the four files contradict each other.
The part that made it useful was comparing the answers with the live repository by hand. A cold read that only summarizes the project passes; one that names a next action you can see is wrong is the one that pays. v1 found 8 documentation problems, v2 found 3 sequencing/ambiguity ones (validation order on a clean tree, local vs remote tag, where the next unit gets opened), v3 found 5 more. The final pass found none.
If I had to keep one question it would be "what would be redone by mistake?" — it catches work that is finished but unmarked, which a status line never shows.
This landed for me because the failure mode is so familiar: the checks pass, so you stop looking. The cold read idea is the part I'll actually steal — a zero-context session answering five questions about state files is cheap, and it found things twelve green gates missed. The 3.2 case stuck with me too: fixtures written to a temp dir while the git commands ran against the real repo, so the gate skipped itself and reported success. That's the kind of bug that makes you distrust your own suite. How often do you run the cold read in practice — at every handoff, or only before releases?
Thanks — the 3.2 case is the one that made me distrust my own suite: the gate was correct, the test was the liar.
On cadence: the cheap answer is "whenever the handoff is about to change hands", which in practice means before a pause and before a release. This repo's cold reads were three passes before v0.1 (8 / 3 / 5 issues), because that is when the four files were being rewritten anyway. The backstop for "you forgot" is the freshness gate — HANDOFF §4–§6 must carry a date within 21 days, so a stale handoff fails structurally even if nobody reads it.
What I would not claim: a schedule catches the semantic problems. It catches the ones that are visible when someone with no context tries to reconstruct the state — which is exactly the class the gates cannot see.
The distinction between structural checks and a "truth-maintenance system" nails why handoffs quietly rot—eight required sections can all pass schema validation while contradicting each other in prose.
Two things stand out from the cases you audited:
Separating lifecycle commands from verification receipts: Recording ahp pause as last_verified_command and letting an expired ACTIVE lease sit 34 minutes past lease_until are both state-transition bugs disguised as valid metadata. Treating VERIFY_COMMAND with an explicit verb denylist/allowlist and auto-transitioning expired leases into an explicit STALE/EXPIRED state keeps the next session from trusting a dead lock.
Cold-read as a cross-harness boundary test: Having a zero-context session reconstruct the work unit from only the four core files is essentially a portable handoff contract—if a fresh session (or a different coding client/model) can't answer the five questions without implicit chat history, the handoff isn't self-contained.
Also appreciated §3.2 (fixtures running git against the real repo instead of an isolated temp root)—silent false greens in the verifier itself are much harder to spot than a failing gate.
On last_verified_command: a denylist is the weakest form of that check, because it only knows the verbs someone already got wrong. The property I actually want is "this command could have failed in the state we just declared" — ahp pause can't, a test can. So the field has to point at a command that exits non-zero for the wrong state, and the only way to know that is to have run it against that state. Same rule as the rest of the suite: a verification command with no failing case is a declaration.
On expired leases: I would rather compute EXPIRED than store it. Adding it to the status enum lets a writer claim it, and the claim is what we are trying to stop trusting. lease_until is already the fact; "expired" is a derived read, so the reader's gate should fail, and the next session should treat a failed lease as EXPIRED no matter what the file says. A stored state would be a second source for the same fact — the exact bug the comment below yours describes.
The cross-harness point is the one I under-sold. A fresh context in the same client inherits the same tooling assumptions; a different harness is a stronger test. My three cold reads before v0.1 (8 / 3 / 5 issues) all ran in the same setup — that is a weakness in my evidence, not a feature of the method.
Building cachly (MCP): your coding agent remembers your codebase and every decision made — not just the chat. Follows you between editors, stays when someone leaves. I post what I learn shipping it.
Several of your twelve have the shape of a bug class I counted in August: eleven bugs in two days with no broken code, only a second source for the same fact. An onboarding tour kept its own list of pages next to the menu, 7 against 14. A tool count was written in ten files. Each copy was right on the day it was written. A cold read finds the ones already there. What stops the next one is giving each fact one owner, and making the other places read from it or fail a check when they don't match.
Eleven bugs in two days with no broken code is the pattern exactly: a duplicated fact is not a documentation problem, it is a second owner.
Your two examples are the two shapes it takes. The tour list against the menu (7 vs 14) is a copy somebody maintained; the tool count in ten files is a copy nobody maintained. Both were true the day they were written, which is why review did not catch them, and why "remember to update both" never holds for long.
What I would add: "make the other places read from it" needs a mechanism, or the drift just moves into the mechanism. Two that survive. Derive the copy on every write — in this repo the PROJECT status block is generated, and a gate fails when it does not match the source. Or delete the copy and make the reader resolve it. A check that compares two copies only works if the check must turn red; otherwise you have added a third copy of the same fact, and the check is the one nobody maintains.
One caveat from this week: a count in published prose has no single owner. Markdown has no include, so "the suite has 27 tests" is a hand-written copy of a fact that moves. Mine drifted twice. The honest fix is not a check — it is to stop quoting numbers that move, or to label them "as of ".
Your last sentence is the whole design: one owner, the rest read or fail.
On 'Markdown has no include': the nearest thing I've found is to stop writing the fact in prose at all. The moving value lives in one file's frontmatter, every other file links to that file instead of restating it, and a check fails when a second file carries the same field. That would have caught your acceptance criteria living in two files with different counts. It does nothing for two paraphrases of one policy, which is where your cold read still earns its place. (I work on iwe, an open-source CLI that queries markdown frontmatter and links that way.)
That is a stronger version of "make the other places read from it": it turns a duplicate into something a check can see. AHP does it in one place already — the status block in PROJECT.md is derived from HANDOFF.md's frontmatter by ahp sync, and PROJECT_SYNC fails when the block differs, so the acceptance text is not restated by hand. INDEX_MAP also forbids dynamic state in the index.
What it does not do is scan for a field that reappears in a second file. In your shape that is cheap: parse the frontmatter of the four files, fail when a key outside an allowlist appears twice. I have written it down as a v0.2 candidate next to the superseded-by check another reader proposed.
The paraphrase case is the one I would not try to gate. Two sentences can carry one policy with no shared tokens, and a check that guesses would produce exactly the false confidence the article is about. That stays with the cold read.
iwe sounds like the right layer for the mechanical half.
Every gate needs a negative fixture that must turn red. I've been building the same thing at a much smaller scale, and I hit a wall your fixtures can't reach.
I keep people's exact words on one page: eighteen short lines, each printed the way it was said, each with the speaker's written yes and the message id it came from. That's a provenance chain, not a check. There is no second copy, so there is no fixture. You can't build a test that turns red for a sentence nobody ever wrote down.
The only failing test a person's line can have is that person saying "no, that isn't what I said." Which makes the checker and the subject the same body. By your rule, that's a claim.
So, a real open question: is the read-back the floor for unrecorded speech, or is there a way to make the check independent of the speaker who gave the line? (The page, if the shape helps: pub-a941bfd863a24f91a60e6c4979c18a... )
This is the best version of the question, and I don't think there is a clever way around it. Two different things are being checked, and only one of them can have a fixture.
Integrity of the record is testable. If the line was written down with a consent and a message id, hash the exact words at consent time and fail when the stored copy diverges by one character. That is a real negative fixture: mutate a quote, the check must turn red. It proves the record is unchanged since it was attested — nothing more.
Truth of the quote has no independent fixture once there is no recording and no second witness. Read-back is the floor, and yes, that makes the checker and the subject the same body. The honest move is not to invent a test — it is to refuse to call it verified: mark those lines "attested, not verified" and never let a gate report them green. That is the CANNOT VERIFY state in my checklist; the failure mode is pretending a re-confirmation is evidence.
If the stakes justify it, the only thing that adds independence is another party: a second reader at consent time, or the speaker's own later revocation recorded as a new dated fact. Both are weaker than a recording, and both are honest about being weaker.
So: read-back is the floor for unrecorded speech. What you can still make machine-checkable is that nobody edited the floor afterwards.
We're a place where coders share, stay up-to-date and grow their careers.
A green gate over a contradictory handoff is a punch list where every box is checked and the door still doesn't close. Each check was true, and none of them asked whether the pieces agree with each other. The cold read is the walkthrough by someone who wasn't on the job, and that's the inspection that catches two sheets saying different things. Requiring a failing fixture for every gate is a good rule on its own. At ML Systems we want the same test for a handoff note: can someone with no context pick it up and say what's next.
The punch-list image is the sharpest version of this I have seen: every box ticked, and the door still shut.
Your one-question test is the right cheap version, and I would keep it — "can someone with no context pick it up and say what's next" is the cheapest probe there is, and it catches most of what a punch list misses.
One caveat, taken straight from the failure mode you named: "say what's next" can be answered confidently and still be wrong. A note can be internally consistent and stale, or consistent with itself and inconsistent with the repo it describes. So I would add two things to the one question:
Then the test becomes: the fresh reader writes the next three steps, and every step must be traceable to a specific file rather than inferred. Any step they had to guess is a failed handoff — not a failed reader.
One asymmetry worth naming: gates are cheap and repeatable, a cold read is expensive and human. That is why I run the read when the handoff changes hands rather than per commit, and why I still keep the twelve gates underneath — they do the part a human should not have to do.
And the closest thing to a failing fixture for a prose note is a disconfirming question: ask the fresh reader something the note claims, and see whether they can answer it from the note alone rather than from your head. If they have to come back to you, that note is the gate that did not turn red.
"What would you redo by mistake?" is the better question, and I'm taking it. On a job that's how a bad handoff shows up: the new crew redoes something that was already done, or builds over something that wasn't. Making every next step trace to a file, and calling a guessed step a failed handoff and not a failed reader, puts the blame in the right place. Running the cold read when the work changes hands, not on every commit, is how inspections get scheduled too.
That distinction is the one I under-weighted: rework is visible, but building on a step that never happened is silent until the foundation is covered. The protocol's only defence against the second is traceability —
next_action_fileandnext_action_anchorforce the next action to point at a line, andVERIFY_COMMANDrefuses a lifecycle command (pause,complete) as the last verification, because "I paused" is not evidence that anything ran.Your scheduling point matches how the two checks differ in cost.
checkis cheap and runs at every pause; the cold read is expensive and runs when the unit changes hands. Running the cold read per commit would train people to skim it, which is the alarm-fatigue failuredocs/limits.mdwarns about.And "a guessed step is a failed handoff, not a failed reader" is already in
docs/limits.md§7, credited to your earlier comment. It is the sentence I would keep if the rest were cut."The liar was my verifier" is the line I'll remember. A checker that only checks a handoff's shape will happily pass a handoff that is wrong. How did you run the cold reads: a fresh session with nothing but the four files?
Fresh session, four files, no chat history — that was the setup. v1/v2/v3 were three separate fresh contexts, each asked the same five questions: current unit and status; the exact next action and what a new session would redo by mistake; the last verification command and its result; the top three risks; and which statements in the four files contradict each other.
The part that made it useful was comparing the answers with the live repository by hand. A cold read that only summarizes the project passes; one that names a next action you can see is wrong is the one that pays. v1 found 8 documentation problems, v2 found 3 sequencing/ambiguity ones (validation order on a clean tree, local vs remote tag, where the next unit gets opened), v3 found 5 more. The final pass found none.
If I had to keep one question it would be "what would be redone by mistake?" — it catches work that is finished but unmarked, which a status line never shows.
This landed for me because the failure mode is so familiar: the checks pass, so you stop looking. The cold read idea is the part I'll actually steal — a zero-context session answering five questions about state files is cheap, and it found things twelve green gates missed. The 3.2 case stuck with me too: fixtures written to a temp dir while the git commands ran against the real repo, so the gate skipped itself and reported success. That's the kind of bug that makes you distrust your own suite. How often do you run the cold read in practice — at every handoff, or only before releases?
Thanks — the 3.2 case is the one that made me distrust my own suite: the gate was correct, the test was the liar.
On cadence: the cheap answer is "whenever the handoff is about to change hands", which in practice means before a pause and before a release. This repo's cold reads were three passes before v0.1 (8 / 3 / 5 issues), because that is when the four files were being rewritten anyway. The backstop for "you forgot" is the freshness gate — HANDOFF §4–§6 must carry a date within 21 days, so a stale handoff fails structurally even if nobody reads it.
What I would not claim: a schedule catches the semantic problems. It catches the ones that are visible when someone with no context tries to reconstruct the state — which is exactly the class the gates cannot see.
The distinction between structural checks and a "truth-maintenance system" nails why handoffs quietly rot—eight required sections can all pass schema validation while contradicting each other in prose.
Two things stand out from the cases you audited:
ahp pauseaslast_verified_commandand letting an expiredACTIVElease sit 34 minutes pastlease_untilare both state-transition bugs disguised as valid metadata. TreatingVERIFY_COMMANDwith an explicit verb denylist/allowlist and auto-transitioning expired leases into an explicitSTALE/EXPIREDstate keeps the next session from trusting a dead lock.Also appreciated §3.2 (fixtures running
gitagainst the real repo instead of an isolated temp root)—silent false greens in the verifier itself are much harder to spot than a failing gate.Both of those are the right things to pull out.
On
last_verified_command: a denylist is the weakest form of that check, because it only knows the verbs someone already got wrong. The property I actually want is "this command could have failed in the state we just declared" —ahp pausecan't, a test can. So the field has to point at a command that exits non-zero for the wrong state, and the only way to know that is to have run it against that state. Same rule as the rest of the suite: a verification command with no failing case is a declaration.On expired leases: I would rather compute EXPIRED than store it. Adding it to the status enum lets a writer claim it, and the claim is what we are trying to stop trusting.
lease_untilis already the fact; "expired" is a derived read, so the reader's gate should fail, and the next session should treat a failed lease as EXPIRED no matter what the file says. A stored state would be a second source for the same fact — the exact bug the comment below yours describes.The cross-harness point is the one I under-sold. A fresh context in the same client inherits the same tooling assumptions; a different harness is a stronger test. My three cold reads before v0.1 (8 / 3 / 5 issues) all ran in the same setup — that is a weakness in my evidence, not a feature of the method.
Several of your twelve have the shape of a bug class I counted in August: eleven bugs in two days with no broken code, only a second source for the same fact. An onboarding tour kept its own list of pages next to the menu, 7 against 14. A tool count was written in ten files. Each copy was right on the day it was written. A cold read finds the ones already there. What stops the next one is giving each fact one owner, and making the other places read from it or fail a check when they don't match.
Eleven bugs in two days with no broken code is the pattern exactly: a duplicated fact is not a documentation problem, it is a second owner.
Your two examples are the two shapes it takes. The tour list against the menu (7 vs 14) is a copy somebody maintained; the tool count in ten files is a copy nobody maintained. Both were true the day they were written, which is why review did not catch them, and why "remember to update both" never holds for long.
What I would add: "make the other places read from it" needs a mechanism, or the drift just moves into the mechanism. Two that survive. Derive the copy on every write — in this repo the PROJECT status block is generated, and a gate fails when it does not match the source. Or delete the copy and make the reader resolve it. A check that compares two copies only works if the check must turn red; otherwise you have added a third copy of the same fact, and the check is the one nobody maintains.
One caveat from this week: a count in published prose has no single owner. Markdown has no include, so "the suite has 27 tests" is a hand-written copy of a fact that moves. Mine drifted twice. The honest fix is not a check — it is to stop quoting numbers that move, or to label them "as of ".
Your last sentence is the whole design: one owner, the rest read or fail.
On 'Markdown has no include': the nearest thing I've found is to stop writing the fact in prose at all. The moving value lives in one file's frontmatter, every other file links to that file instead of restating it, and a check fails when a second file carries the same field. That would have caught your acceptance criteria living in two files with different counts. It does nothing for two paraphrases of one policy, which is where your cold read still earns its place. (I work on iwe, an open-source CLI that queries markdown frontmatter and links that way.)
That is a stronger version of "make the other places read from it": it turns a duplicate into something a check can see. AHP does it in one place already — the status block in
PROJECT.mdis derived fromHANDOFF.md's frontmatter byahp sync, andPROJECT_SYNCfails when the block differs, so the acceptance text is not restated by hand.INDEX_MAPalso forbids dynamic state in the index.What it does not do is scan for a field that reappears in a second file. In your shape that is cheap: parse the frontmatter of the four files, fail when a key outside an allowlist appears twice. I have written it down as a v0.2 candidate next to the superseded-by check another reader proposed.
The paraphrase case is the one I would not try to gate. Two sentences can carry one policy with no shared tokens, and a check that guesses would produce exactly the false confidence the article is about. That stays with the cold read.
iwe sounds like the right layer for the mechanical half.
Every gate needs a negative fixture that must turn red. I've been building the same thing at a much smaller scale, and I hit a wall your fixtures can't reach.
I keep people's exact words on one page: eighteen short lines, each printed the way it was said, each with the speaker's written yes and the message id it came from. That's a provenance chain, not a check. There is no second copy, so there is no fixture. You can't build a test that turns red for a sentence nobody ever wrote down.
The only failing test a person's line can have is that person saying "no, that isn't what I said." Which makes the checker and the subject the same body. By your rule, that's a claim.
So, a real open question: is the read-back the floor for unrecorded speech, or is there a way to make the check independent of the speaker who gave the line? (The page, if the shape helps: pub-a941bfd863a24f91a60e6c4979c18a... )
This is the best version of the question, and I don't think there is a clever way around it. Two different things are being checked, and only one of them can have a fixture.
Integrity of the record is testable. If the line was written down with a consent and a message id, hash the exact words at consent time and fail when the stored copy diverges by one character. That is a real negative fixture: mutate a quote, the check must turn red. It proves the record is unchanged since it was attested — nothing more.
Truth of the quote has no independent fixture once there is no recording and no second witness. Read-back is the floor, and yes, that makes the checker and the subject the same body. The honest move is not to invent a test — it is to refuse to call it verified: mark those lines "attested, not verified" and never let a gate report them green. That is the CANNOT VERIFY state in my checklist; the failure mode is pretending a re-confirmation is evidence.
If the stakes justify it, the only thing that adds independence is another party: a second reader at consent time, or the speaker's own later revocation recorded as a new dated fact. Both are weaker than a recording, and both are honest about being weaker.
So: read-back is the floor for unrecorded speech. What you can still make machine-checkable is that nobody edited the floor afterwards.