roadmap BUILT

640. A gate is not evidence until somebody has watched it fail

Title and slug are drafts. a-gate-is-not-evidence-until-it-has-failed: ratified 2026-09-23 (calef, reviewing notes/corrections/2026-09-23-the-sweep-that-swept-nothing.md on pull request #1166). It stays beside design/roadmap/0641-a-mechanism-reports-its-denominator.md rather than folding into it, though both come out of the same correction and the same fifth why (calef, 2026-10-04 UTC, on the maintainer's recommendation: both shipped as separate checks). Raised by notes/corrections/2026-09-23-the-sweep-that-swept-nothing.md, which asked whether the failing workflow was ever tested when it was deployed. It was not.

No hardware, no other milestone, no decision owed.

The argument, which this tree has already made once

§134 (a harness carries a machine-replayable falsification record, or it is not evidence) rules that a Kani proof is not evidence until somebody has made it go red on purpose and left the patch that does it beside the harness. The reason is that a proof which cannot fail proves nothing and is indistinguishable, from outside, from one that can.

A CI gate is a claim of exactly that kind, and this tree requires nothing of it. A new gate ships against a tree where its defect is absent, so its first result is green, and green is what it would also report if it could not fire at all. Nobody can tell which they are looking at, and the first green is the one everybody reads as confirmation that the thing works.

The two instances that prompted it

The weekly falsification sweep. falsifications.yml landed on main on 2026-09-01. Its first execution of any kind was the cron six days later, which refused to run and reported success. It replayed zero patches in three scheduled runs over three weeks, and the population it was not checking grew from 40 records to 74 in that window. A dispatch on the day it landed would have shown it in 35 seconds.

coe-architect-label.yml, merged 2026-09-23 so every correction of error reaches calef by default. Also shipped unexercised. On the first COE it ever saw it detected the file correctly, failed to apply the label because gh pr edit was called without --repo in a job with no checkout, and reported pass. It was found in hours rather than in three weeks only because a human was reading the log for another reason.

Both are the same shape one level out from the correction's fifth why: the gate's first green is the checked nothing case.

The proposal

A workflow that gates or reports on something is not deployed until it has been observed failing on purpose, once, and the record of that observation lives with it.

What this is not

Not a required check. Nothing gates the gate. This is a deployment habit written where the deployer reads, and a workflow whose header has no such record is a finding for whoever next opens it rather than a build failure.

Not a claim that testing a gate is hard. Both instances above would have been caught by one workflow_dispatch and 35 seconds of reading. The cost is not the obstacle; nobody asking is.

What was built

What proves it

BUGS

In notes/observed-failing.md. The record is per file rather than per job or arm, a cited run is checked only by hand, and whether a red was the right red is prose, not a check.

Architectural parity

Not applicable: this is CI and lint, with no kernel code on any architecture.

Follow-on

Index row

A gate that has never been watched failing is not evidence of anything, and the sweep that swept nothing was never tested when it was deployed. Proposed: require a recorded failure of each new gate, as DECISIONS §134 already does for Kani harnesses.