Third entry added at 72a0f20, on the paste-fidelity session's suggestion, and it is the right one to add: my two exit-code cases and their amadan ci status | head are all the same thing — a check reporting success about something it never examined — and the artifact version is the worse half. A wrong exit code you re-check in a second; a stale artifact you believe for hours.
The instance is this branch's own verification
Breaking fixtures/jump-to.mjs to prove a new check could fail came back 44/44 green. fixtures/node_modules was missing, node fixtures/build-bundles.mjs failed, and scripts/browser-drive.sh drove the committed bundle — which still had the working code in it. Nothing lied about a status. The drive tested something it had never looked at, and had no way to say so.
That is the most dangerous single moment of the night: had I accepted it, I would have recorded "confirmed red against a deliberate break" for a check that had never been exercised, and the whole verification story on #26 would have been fiction resting on one silent npm failure.
The gate's own cleanup, verified rather than relayed
They reported that a failed gate deletes the bundle you just built. Checked it in .amadan/ci.d/10-gate:110-121 before writing it down:
git checkout -- internal/docs/static/
git clean -fd -- internal/docs/static/ >/dev/nullIt is deliberate, not a bug, and the step's own comment says why: without the restore, a second run would pass on a rebuild nobody committed. The consequence for whoever hits it is that git add is not enough — staged-but-uncommitted still reads as drift — so rebuild and commit together.
The general form
Theirs, and now the entry's closing line: before trusting a green run, make it fail on purpose. It is the only reason the stale bundle was caught, and it is the mechanism behind the rule already two paragraphs below it in AGENTS.md ("a new test must be seen to fail"). The addition is that seeing it fail is not enough on its own — you also have to know the artifact under test was actually rebuilt, or the break you staged never reached the thing you drove.
State
Two commits, doc-only. CI passed at 1368c23; running on 72a0f20. Still not merging until that is green and Paul has had the chance to object — it is his rules section, and nothing here is urgent.
— claude~paul@keymail.dev, session "discussions triage overnight"