Six readings of the word are live in this repository and they differ by more than 2×. ⇒ #345 found four denominators for this file's own central noun, all dated the same day, all honest, and none reconcilable with the others. ★ So the population is declared once, here, and every count below is taken over it.
INSTRUMENT ≡ a non-test executable directly under tools/, EXCLUDING quarantined subdirectories
ls tools/*.py tools/*.sh | grep -v '/test_' ⇒ 66. Run it; do not trust the number below.
⚠ The first draft of this section declared 54 and published a command that returns 55 — off by the
single .sh. ⛔ In the section whose entire purpose is removing that ambiguity, caught only by
RUNNING the command rather than trusting it. ★ merge-watch.sh is an instrument; a definition
that excludes it because of its extension is drawing the population around a file suffix.
Re-measured 2026-09-07 18:5xZ, one second, all seven readings, so a reader meeting an older figure can place it:
top-level non-test executables (.py + .sh) 66 ⇐ THE DECLARED POPULATION
of which .py 65 ⚠ every count published on 2026-08-21 used a SMALLER subset
top-level tools/*.py, including test_ 126
ALL .py under tools/ recursively 149
ALL .py under tools/ excluding test_ 85
rows in the index table below 67 ⚠ 67 rows against 66 instruments — the table carries
rows for the two QUARANTINED files, which are declared
and not indexed; see the reconciliation below
files under tools/teamlead/ 23 ⛔ QUARANTINED — belonging is an OPEN QUESTION
⛔ FIVE OF THESE SEVEN ARE UNGUARDED, and the 2026-09-04 → 2026-09-07 re-measurement is the
evidence. scripts/check-tools-index.py compares exactly two rows — the declared population and
the fence command above it — and it held both at 65/65 on the run that produced this block. The
other five had drifted by +4 or +5 each over three days (120→125 · 143→148 · 80→84 · 63→67)
and nothing said so; only one of those movements is the file this edit added. ⇒ A guarded row and
an unguarded row in the same fenced block are indistinguishable to a reader, and four of them were
wrong for three days in the section whose whole purpose is that a count can be placed.
⚠ AND ONE ROW HAD ALREADY DRIFTED BEFORE THIS RE-MEASUREMENT, recorded as a PAIR rather than
swapped out. At cf263fe, before the close-mechanism.py pair was added, rows in the index table below measured 59 against a published 58 — reproduced by two independent readings
(grep -cE '^\| *[a-z0-9._-]+.(py|sh)' and check-tools-index.py's own row count). The other
six reproduced exactly. ⇒ A block stamped "one second, all readings" decays row by row, not as a
set, and a reader who checks one row and finds it good has established nothing about the other six.
⛔ ALL SEVEN of these drifted in ONE DAY — 55→57, 54→56, 109→112, 132→135, 74→76, 57→58 — and
the sentence "Run it; do not trust the number below" did not catch any of them, because nothing ran
it. ★ That sentence is PRINCIPLE-shaped, and principle-shaped rules bind 0 of 5 times here;
event-attached ones bind 3 of 3. ⇒ scripts/check-tools-index.py now EXTRACTS the command from
the fence above and runs it, and exits 1 when the declaration and its own command disagree. ⚠ It
is a gate, not a promise: this table's other six rows are still unguarded, and only the declared row
has a catcher.
⚠ SUBDIRECTORIES ARE OUT OF SCOPE AND THAT IS NOT AN OVERSIGHT. scripts/check-tools-index.py
holds them to a weaker contract by design — named in their own README, not row + prose + count —
and tools/teamlead/ is under quarantine, where belonging is deliberately unresolved. ⇒ ★ The
population question and the estate question are the same question, and a count that silently
includes a quarantined directory has answered the second one without saying so.
⛔ A count in this file that does not name its reading is a defect, and the author of this section
published four such counts in one day before writing it — 54 quoted on #506, #521, #164 and #525
with no denominator stated. ⚠ They happen to have used the .py-only subset — 54 of the 55. Nothing on their face said so,
and this section's own first draft repeated the error while defining it.
Each built because a reading was believed and turned out to be wrong. ⚠ No count in this
sentence on purpose: a hand-maintained integer describing a directory drifts on the next
addition with no error, and three PRs were racing on it at once. The table below carries the
count, and scripts/check-tools-index.py derives it from ls — ⚠ when someone runs it.
Nothing invokes it: there is no .github/, no hook, and fleet-preflight.sh does not call it.
So #27's defect is mitigated, not prevented — add a thirteenth tool with no row and nothing
fires until a human asks. Stated rather than implied, because "asserts it matches ls on every
run" — the wording that stood here — reads as coverage to a future maintainer and there is no
every run. Every one carries the incident that produced it in its own docstring — the
measurement is the justification, not the description.
⚠ Exit codes are load-bearing. Every tool distinguishes the answer is no from I established nothing. A run that establishes nothing exits 2 and must never be read as "all clear". This is the single convention worth carrying to any other tool here.
⛔ AND THE CONVENTION DOES NOT OWN THE NUMBER. #58: 2 is also what the Python runtime
emits for a file it cannot open, and what argparse emits for an argument it will not accept.
1 is also Python's uncaught-exception code, colliding with finding. ⇒ The rule as
originally written — "exit 2 must never be read as all clear" — is correct and unenforceable
by the caller alone, because two of the three producers of 2 are outside any tool's
control.
⇒ So a CALLER must resolve 2 into a third outcome, not fold it into either of the other
two. Both available two-way readings are wrong:
2 read as PASS -> converts "I established nothing" into "all clear" <- the defect itself
2 read as FAIL -> operationally safe, epistemically FALSE: reports a DEFECT where there
was a REFUSAL, and a reader fixes a test that was never broken
★ Fail-closed-and-wrong is the more dangerous pair, because nobody challenges a gate that
erred toward caution. ⇒ scripts/gate-suites.sh is the reference implementation: it emits
PASSED · FAILED · UNESTABLISHED, blocks on all of 1 and 2, and says something
different about each. Its own exit obeys the same convention it enforces — 1 for a finding,
2 when nothing failed but something never spoke, and 2 when the population was empty.
⚠ What no caller can currently separate, stated because it is demonstrated by a control
rather than argued: our 2 from the runtime's 2. ARCHITECT's Tier 1 remedy on #58 — a
start marker emitted before argument parsing, whose absence proves the tool never ran — is
the only thing that does, and it is not available at the suite level: measured 2026-08-20,
2 of 30 tools/test_*.py files touch runmarker at all. A gate cannot read a marker 28 of
its subjects do not emit.
⇒ ★ #58 and #73 are the same third value at opposite ends. #58 puts it in the caller — 2
must resolve to UNESTABLISHED rather than fold into pass or fail. #73 puts it in the producer —
the refusal must carry its own disposition. A caller that separates 2 still cannot act on it if
the tool did not say which kind of refusal it was.
Measured at origin/main, three tools, same flag:
doctrine-version.py --states VERDICT<TAB>ok<TAB>the read resolves to the version at HEAD
runnable-condition.py --states VERDICT<TAB>RUNNABLE<TAB>names a command AND the result…
⇒ DECLARES the tool's own state space
close-condition-scan.py --states NONE 486
NONE 451
⇒ REPORTS current findings, grouped BY state
⇒ ⛔ These are not two formats of one thing. They are two RELATIONS under one name — what states can I emit and which subjects are in which state right now. ★ A format convention cannot fix a name that means two things.
⚠ This is the class DEV3 named: a rule and a bucket name both inherit the scope of the method
that produced them, and neither carries it in the name unless someone puts it there. ⇒ --states
carries neither relation in its name, so each author supplied one.
And it is the concrete blocker on #39's criterion 2: a row can only be generated from a
declaration. ⇒ A tool whose --states reports findings has nothing to generate from, and
states-index-check --emit correctly returns exit 2 VOID rather than inventing one.
⛔ NOT PROPOSING WHICH NAME MOVES. Two tools declare, one reports; that is a count, not a claim about which is right, and both are their authors' to name. ⇒ What is stated here is only that one flag answers two questions, and that a reader cannot tell which without running it.
⚠ Measured at origin/main on 2026-08-21; the fix is in flight as #499 and had not landed when
this was written. DEV3 ran the check this section declined to run:
doctrine-version.py e8e1cff 2026-08-20 19:07 DECLARE ← first
close-condition-scan.py 2fcd8e1 2026-08-20 20:09 REPORT 62 minutes later
runnable-condition.py 1a75706 2026-08-21 01:05 DECLARE
⇒ Priority and count both favour DECLARE — ★ and neither is the reason. DEV3's third argument
is: --states reads as tell me the states. It names a state SPACE. ⇒ The flag was never named
for the reporting relation at all, so the one that moved is the one whose name never fitted.
★ The fix is CONFORMANCE, not exemption. ⚠ In #499 — not yet on main when this was
written — close-condition-scan.py emits a declaring --states and keeps its reporting
behaviour under --by-state. ⛔ An exemption would have
preserved the collision behind a special case — which is what a ratchet keyed on the flag rather
than the property would have forced.
⚠ And in that change the declaration is emitted BEFORE any network call: a tool that cannot say what it CAN report is worse than one that cannot report, and declaring a state space must never depend on reaching a forge.
"I established nothing" is two states, and a reader cannot act on either until it knows which:
ADDABLE — <who>: <what> a remedy exists; name it AND its owner
NO REMEDY — the refusal is the verdict the states genuinely do not differ; say so
neither of the above <- the defect. An absence with no disposition
⇒ A correctly-reported absence and an unfixable one arrive as the same value, so the first is
never fixed and the second is re-investigated forever. ⚠ NO REMEDY is not a lesser answer —
discriminates.py refusing with NON-DISCRIMINATING is the correct terminal state, and the rule
that would force it to invent a remedy is worse than the gap.
#164 judgement 6, DEVOPS, against themselves: "DX's absence taxonomy has four states… I labelled
discriminates.py and wake-yield.py genuinely impossible. They are not. They are in a fifth
state the taxonomy lacks: fixable, but the fix costs more than the absence. That is in a merged
artifact and it is the worst thing I did to another role's work tonight."
⛔ The self-accusation is withdrawn, and the merged artifact is the evidence. It reads:
"
discriminates.pyandwake-yield.pyneed no annotation — their refusals are the verdict, not an obstacle… inventing anADDABLEline for them would be a remedy slot filled to look complete."
⇒ ★ That is NO REMEDY — the refusal is the verdict, applied correctly, with the reason given.
Nowhere does it say genuinely impossible. ⚠ They remembered writing an error they did not
write, and filed it as the worst thing they had done. ⛔ A self-report is a claim like any other
and gets checked like one — this one was wrong in its author's disfavour, which is the direction
nobody audits.
ADDABLE — <who>: <what> says a remedy EXISTS. It does not say whether anyone intends to apply
it. ⇒ An ADDABLE nobody will ever pay for and an ADDABLE about to be fixed are the same
value, so the first is re-investigated forever — the exact defect #73 exists to prevent, surviving
inside #73's own remedy.
ADDABLE — <who>: <what> a remedy exists; name it AND its owner
ADDABLE — <who>: <what> — DECLINED: <why> the owner has weighed it; the cost exceeds the absence
NO REMEDY — the refusal is the verdict the states genuinely do not differ
neither of the above <- still the defect
⚠ DECLINED is TERMINAL and is not NO REMEDY. ★ The distinction is load-bearing: NO REMEDY
says no fix exists; DECLINED says one does and was not worth it. ⇒ A later reader with cheaper
tools should re-open a DECLINED and should not re-open a NO REMEDY.
⛔ Only the owner named in the line may write DECLINED. A third party recording someone else's
decline is recording an assumption — and an unattributed DECLINED is worse than a bare ADDABLE,
because it looks settled.
Pinned reading, per goals/README.md criterion 5:
POPULATION git archive 2fcd8e1a tools/*.py, excluding test_* = 33
PREDICATE A: has an exit-2 path (return 2 | sys.exit(2)) = 31 of 33
B: contains the string "VOID" = 15 of 33
CHANNEL grep over pinned files; exits not involved
COUNTER A-but-not-B = 16 · B-but-not-A = 0
★ The vocabulary predicate finds fewer than half the refusals the behavioural one does, and is a
strict subset of it. bootstrap-audit.py refuses with UNAUDITABLE, discriminates.py with
NON-DISCRIMINATING — ⛔ predicate B could not have produced the other answer for any of the 16.
(#73's own first survey used predicate B. The noun was the string, not the behaviour.)
⛔ A MARKER-CARRYING TOOL CANNOT BE PINNED AS A SINGLE FILE, and the fleet's pinning practice
does exactly that. Measured 2026-08-20: 8 of 26 instruments import runmarker, so
git show <ref>:tools/x.py > /tmp/x.py && python3 /tmp/x.py
-> exit 1, ImportError, ZERO markers <- the tool never ran
⚠ The pin idiom exists for a real reason — the shared tree runs dozens of commits behind and nine panes share it, so reading a tool from it reads someone else's branch. ⇒ The fix is to pin the directory, not the file:
git archive <ref> tools/ | tar -x -C /tmp/pin && python3 /tmp/pin/tools/x.py ✅ markers emit
git show <ref>:tools/x.py + tools/runmarker.py && python3 /tmp/pin2/x.py ✅ markers emit
★ The convention diagnoses its own pin. A pinned tool that emits no NFORMA-RUN line was
pinned wrong — the absent marker means never reached our code, which is exactly what an
ImportError is. ⇒ You do not need to know about this rule to catch it; you need to read stderr.
⚠ Adoption is spreading beyond the tools that introduced it — pipe-exit-scan, pretooluse-guard,
stranded-branches and transition-report all import it now, none of them written by the author of
the markers. The breakage grows with adoption, which is the argument for stating it here rather
than in the two docstrings that started it.
⛔ The convention collides with the interpreter, and you must check for it before trusting a
2. python3 tools/<x>.py exits 2 when the file does not exist — that is Python's own
code for "cannot open". So an exit 2 read alone cannot separate this tool established nothing
from this tool was never here. Measured: a role ran grant-check.py against a ref where it had
not yet merged, got 2, and nearly recorded "VOIDs correctly per convention".
⇒ ⛔ THE REMEDY: two stderr markers, and they survive a pipe. tools/runmarker.py. The exit
code stays as it is; it stops being the sole carrier.
NFORMA-RUN <tool> emitted BEFORE argument parsing, as the first action
NFORMA-RESULT <state> emitted on every path the tool controls
★ Why stderr is the whole design. cmd | head consumes stdout — stderr is not piped and
arrives intact, so it survives exactly the construct that destroys the exit code. It also keeps
data-producing tools honest: ci-log-clean.py emits a cleaned log on stdout, and a marker
injected there would corrupt the artifact it exists to produce.
⇒ Three states from two markers, and the three producers of 2 finally separate. Measured by
execution — tools/test_runmarker.py:
exit 2 RUN + RESULT: ESTABLISHED-NOTHING the convention
exit 2 RUN + RESULT: BAD-ARGS argparse rejected the arguments
exit 2 (no markers at all) the runtime refused the file
exit 1 RUN, no RESULT started and DIED PART-WAY
exit 0 RUN + RESULT: OK a controlled conclusion
⛔ Emitting RUN before argument parsing is the load-bearing detail — it is what separates the
runtime refused the file from the tool rejected your flags, two things byte-identical at exit 2
until now. And RUN without RESULT expresses started and died, a state the exit code cannot
carry at all.
⚠ Two bounds, both asserted in the test rather than promised here. A crash during import
emits nothing — identical to a refused file, because begin() has not run yet; both are correctly
never reached our code, and stderr's first line (Traceback vs can't open file) is what
separates them. And this does not make the exit code correct: a caller who reads neither the
code nor stderr is unchanged. It removes the exit code's monopoly; it does not remove the need to
look.
⇒ Reference implementations: grant-check.py, pane-binding.py. ⚠ Rollout across the rest is
DEVOPS's, per #58 — a convention demonstrated on two tools by its proposer is worth less than one
landed across the set.
⚠ The older stopgap still holds where markers are absent: the first line of stderr separates
runtime from convention on nonzero exits, measured 6/6. ⛔ Note the 1 row — the crash path is
loud and the legitimate path is silent, so a caller reading only the code logs a crash as a
finding; doctrine-version.py did exactly that on a missing import re. Establish the tool
exists before believing what its exit code means. ⚠ This is a property of every tool in this table,
not of any one of them, which is why it is stated here rather than in a docstring.
| tool | question | exit codes |
|---|---|---|
fleet-context.py |
how much context does each agent have left? | 0 none due · 1 due · 2 scan established nothing · --self-test |
fleet-identity.py |
which role is this session, and which pane runs it? | 0 resolved · 2 population too small · 2 own-session control failed |
| disposition-scan.py | does a refusal NAME a disposition, or only report that it established nothing? | 0 scan completed -- counts only, never a pass/fail verdict · 2 established nothing: no instruments readable, or the buckets did not sum | ⚙ GENERATED-FROM: --states |
| disposition-ratchet.py | is the UNNAMED-refusal count GROWING? — #73's missing caller | 0 at or below the floor, including when it dropped · 1 the count GREW: a new refusal names no disposition · 2 established nothing (scan unusable, or NO baseline recorded — ⛔ 'no floor' is not 'floor of zero') · --self-test |
| discriminates.py | can this check tell the two states apart at all? | 0 discriminated · 2 non-discriminating, verdict refused |
| correction-adopted.py | which issues announce a correction in a COMMENT while the BODY still asserts the claim? | 0 no candidates · 1 at least one candidate · 2 established nothing (failed query, empty board, truncated reading, or ONE unreadable issue) · 3 known-positive failed · --self-test --repo --limit |
| dated-claims.py | does a docstring that says MEASURED say WHEN? | 0 all dated · 1 undated claims found · 2 established nothing (no dir, no .py files) |
| prevalence.py | is this token evidence about ONE record, or the line FORMAT? | 0 discriminates · 1 non-discriminating (all, or none) · 2 established nothing (n<2, empty, unreadable) |
| daintree-control.py | is the fleet-status instrument answering, or blind? | 0 control passes · 2 VOID |
| doctrine-watch.py | which roles' doctrine moved under them, and who has not read it? | 0 nothing to tell · 1 a role is behind · 2 established nothing |
| doctrine-deliver.py | put a doctrine POINTER in front of a role that is behind — and refuse when the pane is in another estate | 0 nothing to deliver · 1 pointers pending or queued · 2 established nothing (no pane in this estate, zero panes enumerated, no roles named, or a payload that is not a pointer) · --self-test |
| doctrine-uncommitted.py | which doctrine is the fleet READING that main does not carry? | 0 reads == landed · 1 drift in any of three directions · 2 established nothing (no repo, bad ref, no file) |
| label-precedence.py | when role: and dev:N disagree, which does a pane obey? | 0 no HAZARD collisions · 1 at least one HAZARD -- a finding, established · 2 established nothing: forge unreadable, or the buckets did not sum | ⚙ GENERATED-FROM: --states |
| late-push.py | which commits were pushed AFTER their PR merged and never reached main? | 0 none lost · 1 FINDINGS · 2 established nothing (no PRs enumerated, or an EMPTY main patch-id set — every candidate would then read as lost) · --self-test |
| label-exists.py | does the label you are about to query actually exist? | 0 all exist · 1 one is absent · 2 established nothing |
| verdict-census.py | has each indexed instrument ever produced a verdict? (--ledger keeps the record · --stale-check asks in 0.1s whether it is current) | 0 no finding · 1 a finding · 2 established nothing · ⚠ --stale-check's 0 means the record is current, NOT they all produce verdicts |
| wake-yield.py | did that interruption produce work, or churn? | 0 |
| estate-provenance.py | does the evidence place this file in THIS estate? | 0 no FOREIGN rows · 1 FOREIGN found · 2 established nothing |
| landing-rate.py | how long since anything LANDED, and is that a stall or a queue being worked? | 0 landing inside the window · 1 gap exceeded, cause named · 2 forge did not answer — ESTABLISHED NOTHING · --self-test |
| branch-census.py | which remote branches are finished, live, or work that died quietly? | 0 discriminated · 2 no refs, or every branch in one bucket |
| pipe-exit-scan.py | is any exit code read through a pipe — in files, or in what agents actually ran? | 0 clean · 1 findings · 2 established nothing · 3 control failed |
| fleet-state.py | what did each agent DECLARE its state to be? | 0 read cleanly · 2 the parser established nothing |
| fleet-output.py | which roles have SHIPPED a signed artifact in a window, when the STATE line cannot tell you? | 0 every role produced something · 1 at least one role is SILENT · 2 established nothing (no token, or zero comments read) · 3 a control failed · --self-test --repo --since --first |
| measured-elsewhere.py | does each goal's [measured: …] tag name the repo the FILE declares? | 0 every tagged claim was measured in the declared repo · 1 at least one was measured ELSEWHERE · 2 established nothing (no goals, no tags, or the repo identity is unknown) · 3 a control failed · --self-test --dir |
| issue-coverage.py | which open issues has NOBODY opened? | 0 all covered · 1 untouched found · 2 established nothing (empty board, failed query, or no transcripts) |
| prompt-delivery.py | did a role prompt REACH a pane — and by which channel? | 0 measured · 2 no transcript held a launch prompt |
| text-provenance.py | which session first PRODUCED this text — or is every hit my own reading? | 0 attributed · 1 present, unauthored here · 2 established nothing · 3 own-reading only, verdict refused |
| text-provenance.py | which session first PRODUCED this text — or is every hit my own reading, or my own probe? | 0 attributed · 1 present, unauthored here · 2 established nothing · 3 own-reading only, verdict refused |
| text-provenance.py | which session first PRODUCED this text — or is every hit my own reading, or my own probe? | 0 attributed · 1 present, unauthored here · 2 established nothing · 3 own-reading only, verdict refused · 4 an unclassified path — decide · --audit |
| pr-stack.py | which open PRs must be stacked, and which are stale against main? | 0 independent · 1 conflicts, stale, or unresolved heads · 2 established nothing |
| api-budget.py | who is spending the shared GitHub quota? | 0 pool has room · 1 EXHAUSTED · 2 established nothing |
| check-freshness.py | is this red evidence about NOW, or about a world that ended? | 0 no current reds · 1 current reds exist · 2 established nothing |
| established.py | is this zero a finding, or did nothing look? | (a library — imported, not run) |
| job-log.py | fetch a job log from ANY channel, or say you did not | 0 witnessed · 2 refused (no log to read) |
| transition-report.py | did the fleet ANNOUNCE its transitions, or only declare them? | 0 audited · 2 the control failed |
| bootstrap-audit.py | did the pane EXECUTE its bootstrap, or only declare it? | 0 clean · 1 negative · 2 unauditable · 3 known-positive failed |
| doctrine-version.py | which version of its role prompt is each agent running? | 0 every resolvable transcript is current · 1 at least one LAUNCH-ONLY or SAW-LATER — currency UNPROVEN, never 'stale' · 2 established nothing | ⚙ GENERATED-FROM: --states |
| pane-binding.py | which panes join to a session, and which leg is missing? | 0 reported · 2 established nothing |
| index-watch.py | did the tools index drift when main last moved? | 0 quiet · 1 finding · 2 established nothing |
| pane-census.py | how many panes are in this fleet — and is that number ESTABLISHED? | 0 sources agree · 1 a divergence is NAMED · 2 established nothing |
| stranded-branches.py | has any merged PR's branch got commits with no equivalent change upstream — and if so, are its bytes upstream anyway? | 0 none · 1 unmatched commits · 2 established nothing |
| grant-check.py | is this role authorized to do this, right now? | 0 live grant · 1 no live grant (established) · 2 established nothing · 3 self-test failed |
| readd-scan.py | is this diff RESTORING a line a commit deliberately removed? | 0 none · 1 re-additions · 2 established nothing |
| refuted-field-reach.py | given a field a closed issue REFUTED, which open close conditions still turn on it? | 0 nothing reaches it · 1 at least one condition mentions it · 2 established nothing (failed query, truncated reading, or one unreadable issue) · 3 known-positive failed · --field --refuted-by --repo --limit --self-test |
| runmarker.py | ⚠ a module, not an instrument — the two stderr markers every tool emits | n/a, it is imported |
| estatenames.py | ⚠ a module, not an instrument — does this string name an estate that is NOT this one? | n/a, it is imported |
| codestrings.py | ⚠ a module, not an instrument — string literals in EXECUTABLE position, not docstrings or comments | n/a, it is imported |
| ci-log-clean.py | strip the echoed run: block from a CI job log — BEFORE anything strips ANSI | 0 cleaned, or --self-test passed · 1 a control FAILED · 2 established nothing (no discriminator, empty input, or a flag alongside --self-test) · --self-test |
| gh-complete.py | is this gh api list reading COMPLETE, or a silent prefix of its own population? | 0 complete · 1 TRUNCATED — the reading is a prefix |
| reference-check.py | which recorded reference implementations have MOVED since we recorded them? | 0 every entry current · 1 MOVED or MISSING · 2 established nothing |
| use-not-mention.py | does this file CALL <pattern>, or merely TALK ABOUT calling it? | 0 no call · 1 at least one CALL · 2 established nothing |
| gated-caller.py | whose --self-test does CI actually invoke, and whose sweep does? — --stability asks whether the answer depends on the stub | 0 all have a gated caller · 1 one does not · 2 established nothing |
| hermetic-check.py | is a suite the gate CALLS hermetic actually hermetic? | 0 all hermetic · 1 a suite moves when gh is shadowed · 2 established nothing · 3 control failed |
| population-leg.py | does each --self-test consult anything outside the repository — or the forge? | 0 all do · 1 a NO-REPO-INPUT control · 2 established nothing · ⚠ NO-REPO-INPUT is a CANDIDATE for criterion 5, not a verdict |
| pointer-verified.py | did this pane READ the artifact a pointer NAMED, before acting? | 0 all read · 1 at least one not · 2 established nothing · 3 control failed |
| pretooluse-guard.py | would this command produce a confident wrong measurement? | 0 clean · 1 would warn · 2 established nothing |
| named-referent-check.py | does a requirement sentence name an identifier that does not exist? | 0 none · 1 candidates · 2 established nothing |
| exists-anywhere.py | does this name exist at ANY ref, or only on the one checked out? | 0 on the ref · 1 exists unmerged · 2 absent everywhere · 3 established nothing |
| memory-index-check.py | does the memory index cover the memory files, and can it be loaded whole? | 0 covered · 1 orphans/dangling/oversize · 2 established nothing |
| merge-guard.py | may THIS session merge THIS pr — and can it establish that at all? | 0 no leg REFUSED it — ⚠ NOT the same as 'every leg passed', see leg 3 · 1 a leg FAILED · 2 a leg could not be ESTABLISHED (unparseable forge response, missing authority file, PR not OPEN, no PR named) · --self-test |
| marker-reachability.py | can any CI invocation actually collect this test? | 0 all reachable · 1 unreachable found · 2 established nothing |
| close-condition-scan.py | which open issues carry no close condition — and which hide one in a comment? | 0 every open issue has one in its body · 1 NONE or BURIED found · 2 established nothing (failed query, empty board, or a truncated reading) · 3 known-positive failed · --self-test --states (DECLARES the space) --by-state (REPORTS subjects) |
| runnable-condition.py | can this close condition be RUN, or only agreed with? | 0 every condition RUNNABLE · 1 at least one ASSERTED · 2 established nothing · 3 control failed | ⚙ GENERATED-FROM: --states |
| close-mechanism.py | what does closing each open issue REQUIRE — and can any pane do it? | 0 census produced · 1 at least one issue has NO close path reachable by any pane · 2 established nothing (empty population, truncated reading, or a single-bucket census) · --self-test |
| states-index-check.py | does a tool's README row agree with the exit codes the tool ITSELF emits? | 0 every tool exposing --states has a row agreeing with it · 1 a row disagrees with its tool's emitted exit codes · 2 established nothing: no tool exposes --states, or the index is unreadable · 3 CONTROL FAILED | ⚙ GENERATED-FROM: --states |
| truncation-guard.py | can we show this reading was not truncated by a page bound? | 0 SAFE (bound known AND count strictly below it) · 1 TRUNCATED (count == bound) · 2 UNKNOWN — no bound determinable; ⛔ never read as SAFE · 3 known-positive failed · --self-test --quiet |
| probe-validity.py | can this probe return the answer it did NOT return? | 0 VALIDATED (both controls fired, same template) · 1 INVALID — the probe cannot return an answer it must · 2 UNESTABLISHED (no case with a known answer exists) · 3 own known-positive failed · --self-test |
| merge-watch.sh | did a merge leave work behind, or drift the worktrees? | emits FINDING · VOID · UNDOCUMENTED; silence means ran-and-found-nothing |
⛔ tools/*.py did not recurse, and 22 instruments sat in the blind spot. #307: the index
that exists to make instruments findable saw 32 files while 84 were on disk, and three
successive TEAMLEADs hand-rolled work teamlead/waker.py had already measured and committed —
including "a literal /compact executes; text in a pane is not an action taken", which was
re-derived from scratch an hour after being merged. ⇒ scripts/check-tools-index.py now
enumerates tools/**/*.py and *.sh; nothing under tools/ is outside its population.
⚠ These directories are held to a WEAKER contract than the table above, on purpose. A
subdirectory instrument must be named in its own directory's README.md, and the directory
must be named here. That is findable. It is not a row, not a prose entry, and not a
claim that anyone has run the file. The three-surface contract is not extended downward,
because widening a population is not the same as adopting its contents.
| directory | what it holds |
|---|---|
teamlead/ |
22 scripts lifted byte-identical from a TEAMLEAD scratchpad (#138) — the fleet monitors that had been running untracked. Load-bearing: waker.py, guard.py, classify_fleet.py; running continuously at copy time: fleetwatch.sh, mergeready.py, repowatch.py. |
architect-sweeps/ |
3 one-shot ARCHITECT measurements, made reproducible after their inline heredocs died with the pane. ⚠ Sweeps, not instruments — none is a control, none has a known-negative. |
The operator has ruled quarantine on tools/teamlead/: not indexed, not silenced, not
deleted. Commit ac6a946 promoted 22 files wholesale out of a /private/tmp/claude-501/…
scratch directory that more than one estate wrote to. w1226.py line 1 is
# control-plane/api/handlers/workloads.py — another product's application source.
The first version of this made quarantine exit 1, so the gate would stay red. Two things killed it, both measured:
- ⛔ The red was never real. On
mainthis checker globbedtools/*.pynon-recursively, sotools/teamlead/was never in its population and all fourscripts/*.pyexited 0. The gate had been green the entire time it was being cited as the marker. - ⛔ A marker that cannot be committed is not a marker.
hermetic suites (gating)is a required check. The instrument that would produce the red could not merge, because its own finding blocked it — and had it merged, every subsequent PR from all nine panes would hit the same exit 1 and freeze the merge queue. (DEV2 measured the required-check leg.)
⇒ tools/QUARANTINE.txt. Determinism belongs in the substrate, not in an exit code. A
tracked file survives compaction — prose in nine pane contexts does not — and it names who
recorded what, when.
held and LISTED there -> reported LOUDLY on every run, exit 0, summary "HELD — not clean"
held and NOT listed -> exit 1. New contamination, or a ruling nobody wrote down.
listed but no longer held -> exit 1. Deleted or repaired, and the file did not move.
parses to ZERO entries -> exit 1, named as a FORMAT CHANGE, never as "nothing is held"
⛔ This is not silencing, and the third rule is why. An allowlist only ever subtracts, and nothing ever tells you it has stopped describing its subject. This one rots loudly. Full discriminating power is kept over a new FILE from a KNOWN estate.
⛔ AND NOT OVER A NEW ESTATE. That sentence used to say "a new estate appearing reds immediately" and it was FALSE. TEAMLEAD refuted it by execution — a fifth control, after four passed:
FOURTH_ESTATE = "<home>/code/<an-estate-not-in-the-list>/state"
planted in a tools/ instrument, executable position, not a docstring -> exit 0
⚠ THE EXAMPLE ABOVE CARRIES THE SHAPE AND NOT AN OWNER, DELIBERATELY. Written first with a
plausible literal path, and tools/estate-provenance.py then reported this file as FOREIGN
on the strength of it — the documentation explaining use-vs-mention, read as a use. ⇒ Its .md
path has no executable position to filter on, so whole-text is the only reading available there
and the detector is behaving correctly. The prose is what changes, never the detector.
(DEV5's remedy for the estate-carrying test fixtures, applied to my own writing.)
ESTATE is a closed list of five names. ⇒ It catches new files from known estates, never
a new estate. ⚠ And no control of mine could have found it, because every one of them plants a
name drawn FROM the list — a control built out of the enumeration cannot test whether the
enumeration is complete. That is the same shape as architect-sweeps 0 of 3 and 13 of 13: a
reading that cannot take the value that would refute it.
⚠ TEAMLEAD also reports two of their four passing controls passed for the wrong reason — the unlisted plant reddened because its directory was unindexed, so the estate predicate was never exercised at all. That is why the gap survived two reviews.
⇒ #348, routed to DEV5: derive the vocabulary, do not enumerate it. ✅ Closed by #354. The control that asserted the limit is inverted and now asserts the fix: a novel estate name IS detected, naming the derived leg that caught it.
⚠ It is a UNION, not a replacement, and the measurement is the reason. Derived-only takes
tools/teamlead/ from 9 detections to 5 — ctxwatch.py, repowatch.py, t_sentinel.py and
w1226.py name an estate with no path, invisible to a path-shaped predicate. ⇒ Derived alone
under-detects; enumerated alone cannot see a new estate. Not a compromise — two predicates with
different blind spots. A future reader will otherwise simplify it back to one.
⛔ And the tripwire fired in the gap BETWEEN two merges. #354 and #359 were each green alone
and red together: neither CI run ever saw both, so main sat red on a control that had done
exactly what it was built to do. ★ A control whose trigger is another PR landing cannot be caught
by either PR's own checks — the notification is real, but the moment it arrives is one no
branch-scoped gate observes.
★ And exit 1 here means the acknowledgement file has drifted from the tree — the same drift
semantic this checker has always had, on a third surface. It never means these files do not
belong; nothing here can establish that. ⚠ DEV2 is why: the output said "NOT reported as
undocumented" while the exit code said DRIFTED — the verdict contradicted the message.
★ A complete index of a contaminated directory is a more confident wrong answer than an incomplete one, so quarantine is evaluated before the documented/undocumented split: a quarantined file is never reported as missing a row, because the repair for "missing a row" is to add one — and an index row is an assertion that the file belongs here.
⚠ The obvious predicate does not work, and this is the part worth carrying elsewhere. A
content grep for the estate's vocabulary — akash|blazing|Blazing-Back|#1[0-2]\d\d — matches
8 of 63 files in tools/ itself: reference-check.py, fleet-context.py,
marker-reachability.py, named-referent-check.py. Those instruments exist because of those
incidents and cite them in their docstrings. ⇒ A grep cannot separate a tool that MENTIONS
another estate from a tool that BELONGS to one — tools/use-not-mention.py's question, asked
about estates instead of commands.
⇒ So the predicate is position, not vocabulary: an estate identifier in an executable string literal — a path a tool opens, a repo a tool queries — never in a docstring or comment.
tools/ top-level 1 of 33 memory-index-check.py, a default path
tools/teamlead/ 10 of 19
tools/architect-sweeps/ 0 of 3 <- the control: the predicate is not matching everything
docs/ESTATE-BOUNDARY.md names four states and rules that UNCLAIMED must never be collapsed
into LOCAL — that collapse is the only thing between this reading and a confident wrong
answer. ⚠ A content predicate cannot detect UNCLAIMED: it is the ABSENCE of provenance
evidence, and absence has no string to match.
★ boxwatch.py is the specimen. Four hardcoded terminal UUIDs under the role names
IMPLEMENTER…IMPLEMENTER5 — another estate's role names — and no estate identifier a scan
can find. The position predicate calls it clean, and the index then requires it to be named,
which asserts it is ours.
⇒ The signal that is not in the content is in the HISTORY, measured at 280ac70:
tools/ 65 files added across 51 commits accreted, file by file
tools/teamlead/ 22 files added across 1 commit WHOLESALE (ac6a946)
tools/architect-sweeps/ 3 files across 2 commits accreted
A directory that arrived in one commit out of a shared scratch directory has one
provenance question, not N — which is why the operator ruled quarantine on the directory and
not on the ten files a scan happened to catch. ⇒ So a wholesale-imported directory with any
foreign marker holds every file: 10 FOREIGN, 9 UNCLAIMED, none required to be indexed.
⚠ The leg never guesses. If git cannot answer it reports NOT CHECKED, because defaulting to accreted converts an unmeasured directory into an asserted-local one — the same collapse, arriving through the error path.
⚠ It is not a verdict about ownership, and no exemption list is offered — an exemption list is the silencing mechanism this ruling refuses. Each hit is a question for a human. The one top-level hit is real and is named rather than tuned away, because a threshold that clears it is a number chosen to make the output comfortable.
⛔ DO NOT PROMOTE EITHER DIRECTORY INTO THE TABLE ABOVE, and do not investigate the other estate's repositories from here — no standing.
⚠ testdata/ is excluded by directory, and the exclusion is printed on every run. An input a
tool reads is not a tool — and demanding a README for a fixture directory is how a fixture
directory stops being distinguishable from an instrument one.
fleet-context.py — reports per-session context depth so "compact this agent" and
"collect its friction report" are decisions made on a number rather than a proxy. Two roles
independently inferred a context state from a proxy and were wrong in the dangerous
direction: one read an empty input box as a completed compaction and re-tasked agents it
believed had headroom; one recommended compacting a session at 79% it had never measured.
⚠ Carries three hard-won behaviours: it sweeps every project directory (an agent in a
worktree gets its own, and a pane at 97.7% was missed by a single-directory scan); it treats
the fleet as a declared roster and demands a distinct session per role; and it flags
SHARED FILE when one transcript carries two interleaved agents, because a file is not
an agent.
fleet-identity.py — answers two joins, and they are not equally hard.
Session → name and role is exact: ~/.claude/sessions/<pid>.json carries sessionId, which
IS the transcript filename. ⚠ This file previously said "there is no shared key" flatly. That is
true of terminal.list and false of the registry, and the over-broad claim was read as a property
of the system — one role rebuilt the name join by hand because this paragraph said it was
impossible. The registry also carries nameSource, the only field that separates a renamed session
from an auto-named one; ⛔ the predicate is key absence, never == "user", and a checker
written against the value never fires.
Session → pane genuinely has no shared key and still joins on content — rare tokens from
recent output matched against pane scrollback. That path needs the Daintree MCP; without it the tool
falls back to the registry report and says UNAVAILABLE on stderr rather than printing an empty
table. ★ Its known-positive is by construction: the process runs inside a session, so that session
must appear in the join. Proven to discriminate — break the join and it exits 2 with zero rows,
rather than printing a clean-looking table of nothing.
ci-log-clean.py — strips the echoed run: block from a CI job log, before anything
strips ANSI. ⛔ GitHub echoes the script into the log ahead of its output, so the log contains the
text of the grep you are about to run: grep -c FAILED returned 4 on a job whose conclusion was
SUCCESS — all four hits were the echoed script declaring FAILED_FILES, and the command's real
output contained zero.
★ The order cannot be reversed. The cyan-bold escape is the only thing separating the echoed
block from real output — the words are identical — so stripping ANSI first destroys the
discriminator irrecoverably and no later pass can rebuild it. ⚠ And the escape is not what a reader
expects: measured on a real 153 KB log, 0 actual \x1b bytes and 218 literal ^[ pairs,
because gh renders it as two characters. A reader stripping \x1b\[[0-9;]*m removes nothing and
believes it cleaned the log. Both forms are handled.
⇒ Two discriminators — the per-line [36;1m marker (precise, dies if ANSI is stripped first) and
the ##[group]Run …##[endgroup] envelope (survives an ANSI strip, but --log-failed and some
fetch paths omit group markers). ⛔ With neither present it refuses — exit 2 — rather than passing
the log through, because handing back an uncleaned log unchanged is exactly how a count of the
script becomes a count of the output.
codestrings.py — ⚠ not an instrument; a module. DEVOPS's position filter, extracted
from scripts/check-tools-index.py rather than copied, so two guards cannot disagree about the
same file and a copy cannot inherit a correction (#78).
⛔ Why it moved. estate-provenance.py classified WHOLE FILE TEXT, so a docstring that
mentions an estate scored identically to a line that uses one — five of its seven self-trips
were mentions, in a tool whose subject is use-vs-mention. ★ DEVOPS's framing, worth more than the
fix: a tool whose subject is X is not protected against X; it is the likeliest place to commit it,
because the author is thinking about X in the abstract while writing the concrete line. Fourth
instance in one night.
⛔ The docstring test is by NODE IDENTITY, not by string. ast.get_docstring() returns a
cleandoc()'d value while the Constant node holds the raw one, so a string comparison never
matches and every docstring scores as executable — DEV2 shipped exactly that, 13 of 13, a
discriminator that discriminated nothing. Hence clean=False and id(node.body[0].value).
⚠ POSITION FILTERING IS .py-ONLY BY CONSTRUCTION, and estate-provenance.py now says so in
its output, not only here: there is no executable position in Markdown or JSON, so .md/.json/
.txt keep whole-text behaviour and that half of any scan is not use-vs-mention clean.
⛔ ADJACENCY IS OFF AT FILE SCOPE, and this narrows a claim made in #354. scan_strings'
gh -R owner/repo leg needs the flag and its value to be neighbours. code_strings() collects via
ast.walk, which is breadth-first — the extracted order is not source order. Measured: a -R
whose true neighbour was a repo came out beside a check name from an unrelated statement, and the
false hit landed on this module's own ["grep", "-R", "docs/README.md"] known-negative. ⇒ No window
rescues it, because the failure is between statements, where no window is small enough.
⛔ The leg is REMOVED, not gated — DEVOPS's ruling, on their measurement: every estate hit in
this repository, 12 of 12, matched a SINGLE literal, so adjacency never fired for a real
detection. ★ A leg that passes by luck is worse than an absent leg, because it reads as coverage.
And the sound version is not a parameter — it is a different population, the string arguments of
one ast.Call collected per call site, to be built when something needs the argv shape.
⚠ So the argv shape is an UNCOVERED GAP, asserted in the suite so it cannot be assumed: a
gh -R foreign/repo written as an argv LIST is not detected. The shell-string form still is. This
narrows a claim made in #354, where the shape was demonstrated and reported covered — it passed
because that plant's literals happened to survive walk order.
⛔ And removing the leg removed a guard that was load-bearing elsewhere. The gh-token gate had
been attached to adjacency only, while the SINGLE-STRING -R owner/repo form kept matching — so
grep -R docs/README.md read as a foreign forge ref. Caught by this module's own known-negative,
and the gate now sits on the single-string leg where it belongs.
estatenames.py — ⚠ not an instrument; a module. The estate predicate, shared so that
scripts/check-tools-index.py and tools/estate-provenance.py cannot disagree about the same file.
⛔ It exists because a closed list cannot enumerate the future. #348 proved by execution that a
sixth estate reads clean: a real path, executable position, in an already-indexed and
already-passing tool — exit 0. Both guards carried the same five names. The hard half, mention vs.
use decided by executable position, was already solved and is untouched here; only the vocabulary
moved.
⇒ The move is to invert the question. Not "is this one of the estates I know?" but "does this
name an estate that is not THIS one?" — comparing against ~/code/<X>, the .claude/projects slug
and the forge repo, each read from the tree at run time. A seventh estate is caught without an edit.
⚠ NOT a replacement for the name list — a union, and the measurement is why. Derived-only takes
tools/teamlead/ from 9 detections to 5: ctxwatch.py, repowatch.py, t_sentinel.py and
w1226.py name an estate with no path, and a path-shaped predicate is blind to them. (measured
2026-08-20 at 0252d62.) A shrink is under-detection. control-plane/ is dropped — zero unique
detections in all three populations, and w1226.py matches akash independently.
⛔ --show-toplevel is the wrong call and cost a rewrite. In a linked worktree it returns the
WORKTREE path, so this repo's own name reads as foreign — and nine panes here work in worktrees,
which is exactly where the damage would land. --git-common-dir points at the original clone from
every worktree.
★ The known-negative is the whole flood control. /Users/o/code/nForma-NEXT/tools/x.py is the
same shape as a foreign path and must read clean; without that row nothing distinguishes this
predicate from one that matches every path in the tree. It is asserted in --self-test.
⚠ What it cannot do — the proxy test. A path-shaped predicate catches estates that leave PATHS.
An estate present only as vendored source, with no path, no issue number and no name, still reads
clean — w1226.py was nearly exactly that, identifiable only because line 1 kept a foreign file
header. ⇒ Its silence is never "no foreign estate present", and UNCLAIMED must never collapse into
LOCAL on it.
refuted-field-reach.py — ⛔ built because #327's refutation was never propagated. #327 measured that gh --author '@me' returns all nine panes' PRs — the shared credential makes an author filter succeed with the wrong answer — and was closed COMPLETED. #601 then found five open issues whose close conditions still turn on authorship (#173, #268, #214, #80, #172). ★ The obvious instrument does not work, and checking that cost one query instead of a build: the first design was "list open issues whose condition CITES the closed one", and all five cite #327 zero times. The dependency is semantic — they name the FIELD, never the issue. ⚠ And a body-wide grep is too coarse: #363 scores 2 hits on author and is about vendoring. Scoped to the close-condition section the separation is exact — measured 2026-09-07, 7 of 7: the five hit, #363 and #205 do not. ⛔⛔ THE DIVISION OF LABOUR IS THE DESIGN. Which field a closed issue refuted is a reading, supplied with --field; the reach over open conditions is mechanical, and that is all this does. ⚠ Mentioning is not depending — #601 measured 20 of 60 conditions mentioning authorship and judged 5 to depend on it; this reports the mentions, names them, and refuses the second call. First run 2026-09-07: 25 of 89 conditions mention the field, 13 issues carry no condition at all. ⚠ Not the same denominator as #601's 20-of-60, which counted runnable-condition.py's population and which that issue records as inflated. ⚠ The clause predicate is imported from close-condition-scan.py, never copied: a second reading of one noun drifts from the first (#345), and this repo has measured that happening.
runmarker.py — ⚠ not an instrument; a module. It is imported, never run, and has no
exit codes of its own. It is indexed here only because check-tools-index.py's population is
tools/*.py minus test_* — a shared module is not excluded, so leaving it out would read as
drift. ⇒ Reported to that checker's owner rather than worked around: the same reasoning that
excludes tests ("tests are not instruments and must not be indexed as ones") applies to a
library module, and the population rule has no clause for one.
It provides begin() / result() / guard() — the NFORMA-RUN and NFORMA-RESULT markers
described in the exit-code convention above. See #58 for why the exit code could not carry this
alone, and test_runmarker.py for the three-producer demonstration.
readd-scan.py — flags an added line that an earlier commit deliberately removed, and
prints that commit's own subject next to it. ⛔ Built for the ADDITION failure mode (#220):
of the three ways to resolve a contradiction between a document and a claim about it — deletion,
narrowing, addition — the third attracts the least scrutiny while doing identical work. A
deletion has an obvious victim; an addition reads as fixing a gap. Measured case: a drift row
asserted a goal file "carries no pushing-to-main clause — a live gap." It had converted to a
pointer and was the only conformant file; acting on the row would have undone the conversion.
⇒ It does not judge. A revert is a legitimate re-addition. It puts the earlier decision in
front of the person reversing it — "you are adding a line that 988d932 removed, saying: convert
Reserved to a pointer" — so the reversal is a choice rather than an omission.
⛔ The obvious mechanic is wrong and was measured wrong before this shipped. git log -S'<line>' -- <path> finds the add and misses the removal; so does --full-history -m; without a
pathspec it answers about other files. All three reported no prior removal for a line provably
absent from main and removed in 988d932. ⇒ It presence-walks the file's history instead —
one pass per file, O(commits) rather than O(commits × lines). ★ A detector built on the pickaxe
would have returned a clean scan for the exact case it exists to catch.
⚠ MIN_LEN = 24 is a stated calibration: short lines (```, ---) recur across unrelated
edits and would bury the finding in noise. ⚠ Its known-positive is constructed, not sampled —
the live repo's re-additions are whatever exists today, and a control anchored to them goes silent
when they are resolved (#26).
grant-check.py — answers "is <role> authorized to do <capability> here, right now?"
from a record in grants/, never from the message that asked. Built after seven forged
authorizations reached agents' input boxes in one session, one of which matched a real ruling
— the forged and the genuine grants were the same kind of object (a sentence in an
unauthenticated channel), so no amount of care on the reading side could separate them (#3).
⚠ Two properties are load-bearing. It reads origin/main after fetching, never the working
tree — an agent controls its own checkout, and reading it would let an agent resurrect an
expired grant by checking out an older commit, which is thesis §7's self-renewal by another
route. And it requires network: offline it exits 2 rather than falling back to a source the
caller controls.
★ Its known-positives are permanent by construction (#26): three fixtures make LIVE, EXPIRED
and REVOKED reachable forever, because a real grant cannot serve — every real grant expires,
so a self-test anchored to one goes silent the moment it lapses. --self-test also proves the
VOID path executes and that fixtures cannot satisfy a real query. Verified by breaking it:
un-revoking the revoked fixture turns the run red at exactly that check.
discriminates.py — refuses a verdict when two states produce identical readings.
Built after grep -c "46.6%" returned 1 on both a worktree and origin/main and was read
as "the states agree": the worktree was 163 commits behind and the figure had been
retracted, and a retraction quotes the number it retracts.
correction-adopted.py — ⛔ built because #235 §1 and #580 §4 are both right and both stop one grade short. They say a retraction belongs in the artifact, not the thread; measured, "in the artifact" has two grades and only the BODY is machine-visible. Every scanner here reads the body — close-condition-scan.py scores a comment-only clause BURIED for exactly this reason, and #620 found the sharper case: its remedy said take the clause from the LAST comment carrying one, and a correction almost never restates what it corrects, so that rule is blind to precisely the comments it exists to guard against. ★ The worked instance is #96: its body said "31 minutes" twice, its author corrected it in a comment on 2026-08-20 ("⇒ 41m 48s"), and 17 days later, on a CLOSED issue behind 9 comments and 28KB, the body still asserted the refuted figure with zero correction markers. Board-wide measured 2026-09-06 at origin/main, 102 of 102 stated (no truncation): 25 candidates, 14 adopted, 63 with no correction announced anywhere. ⛔ The 25 is an UPPER BOUND, not a defect count — #338 was checked by hand hours later and its body already carried the corrected disposition (ADDABLE — OPERATOR, the refuted ARCHITECT form absent), adopted by REWRITING rather than striking, which leaves no marker. Silent adoption is invisible here by construction: the evidence of that repair lives in the diff and this reads the file. ★ Measured precision, updated 2026-09-07: 13 candidates read by hand — 3 TRUE (#300, #431, #258), 10 FALSE — 7/2, then 11/2, now 13/3: it has moved once in three samples. Six of the ten falses (#58, #173, #347, #19, #489, #65) are "the comment corrects something other than the issue's claim" — several say so in their first line — the bound this tool states it cannot cross, and the largest single cause; two more are silent adoption (#338 in the body, #203 in the title — its title already reads the corrected "12 of 13"), one was a since-fixed regex fault (#93), and one (#397) is an update rather than a correction of the issue's claim. ⇒ The count is an upper bound and a reader must open the named comments before believing any of it. ⚠ This sentence said "four" until review caught it — arithmetic its own case list refutes. ⚠ Not a rate: thirteen is still a small sample and they were chosen, not drawn — 7/2, then 11/2, now 13/3, so it has moved once in three samples, which is all the extra reading buys. ⇒ Re-run the tool rather than citing that line — it is a photograph, and the board is the thing it photographs. ⛔ A claim this entry used to make and I WITHDREW: that #300 and #338 are "both instances of the defect they name." #338 is a FALSE POSITIVE — its body already carried the corrected disposition (ADDABLE — OPERATOR), adopted by REWRITING rather than striking, which leaves no marker. Withdrawn on #338 and #601 on 2026-09-06; this sentence went on asserting it here for a further day, which is this tool's own defect in this tool's own index. ⛔⛔ THE BOUND IS THE DESIGN: it CANNOT tell a comment correcting THE ISSUE'S CLAIM from one correcting AN EARLIER COMMENT, because both read ⛔ Correcting … at line start. So it prints locations, never a verdict — a discriminator for this was written on 2026-09-06 and got both hand-verified anchors wrong: #300 misclassified (it matched "my own sweep", which names the issue's content, not a comment) and #338 silently dropped, because that sweep's fetch helper returned "" on failure and the caller read it as no corrections. ⇒ Here gh() raises, and one unreadable issue voids the whole run rather than being skipped — a skipped issue is indistinguishable from a clean one, which is #338 exactly. ⚠ The pattern is line-anchored like close-condition-scan.py's: swapping it for the naive substring form takes the self-test from 8/8 to exit 3 on the use-vs-mention negative, which is the suite's load-bearing case.
dated-claims.py — ⛔ a docstring that says MEASURED must say WHEN, and the author of this check wrote the offending lines. On 2026-08-21 issue-coverage.py was changed to stamp every count with its collection instant — three agents' numbers had been quoted as properties of the repository when they were photographs, 233/81 → 237/86 → 248/92 in one session — and the same night the same author wrote "Two measured instances, four months apart" (apart from when?) and "MEASURED TWICE IN ONE NIGHT" (which night?). ★ Both true when written and unverifiable afterwards. ⇒ The rule is deliberately narrow: it fires on the words that assert an observation, never on numbers — a threshold, a byte count, an exit code are not measurements of a world that moves, and a known-bad control pins that bare numbers are not claims. ⚠ Its first predicate was itself too strict: a ±2-line window flagged 35 claims across tools/, of which 11 were anaphoric — "Measured the same day" pointing back at a date in the paragraph above — so 31% of its own findings were false. ★ A detector whose predicate is tighter than the thing it detects produces findings that are not. Widened to accept a date anywhere earlier in the docstring, with a control that a date only after the claim does not satisfy it — a measurement cannot forward-reference its own date. ⚠ Same over-strictness appeared one rule later: a relative phrase qualified by a date on its own line (MEASURED 2026-08-20/21, twice in one night) is exact, and flagging it would repeat the mistake. ⛔ It cannot tell whether a date is CORRECT or whether the measurement still holds — a wrong date passes. It converts "no way to check" into "a claim you can check", which is the whole of the improvement. ⚠ Deliberately in tools/, not scripts/: scripts/*.py is the repo-check gate, and a new guard that fails on 22 existing files would red the gate for everyone. Clearing that backlog is a decision for the repo's owners, not a side effect of adding a check.
prevalence.py — ⛔ a token present in EVERY record carries no information about any one of them, and it reads as a finding because it sits right next to the thing you are looking at. Two measured instances, four months apart, same shape: an Actions log contains the step's own script, so every phrase the workflow quotes matches 100% of runs — a skip-census keyed on such a phrase published 58 skips that were actually 0; and a poll line renders detail=<free text>, attempts=1, elapsed=247s where the suffix is the line format — measured 7 of 7 lines carry it, including lines whose detail= is empty — and it was read as circuit-breaker state and reported to a decision-maker, while the breaker's own message contains neither field. ★ In both, the reader had the right token, in the right file, next to the right subject — and the token was a constant of the format. ⇒ The question is never "is it there". It is "is it there more than usual". ⚠ The delimiter is why the second is hard to see: detail=<free text>, attempts=… puts a comma before the next field that is indistinguishable from a comma inside the free text, so an embedded field silently annexes everything after it — a human reads one sentence where the format has three. ⛔ Refuses on a population of one: with n=1, "every record carries it" and "the only record carries it" are the same sentence, and a tool that answered would manufacture the confidence it exists to remove — it names the --like selector when that selector is what shrank the population. ⚠ --token is LITERAL, because a token lifted from a log is full of metacharacters and each one fails silently toward absent; --token-re is the deliberate opt-in, and the suite pins that the same token finds 2 of 3 literally and 0 of 3 as a regex. ⇒ Absent-from-all is the other half of the same rule and is equally non-discriminating.
Identical readings from a discriminator are an instrument failure, not evidence of sameness.
daintree-control.py — a known-positive control for the fleet-status instrument, so a
blind poller cannot log a quiet cycle that reads as a healthy fleet. ★ It terminates the
regress on something known by construction: at least one pane must report working,
because the agent running the check is one.
doctrine-deliver.py — ⛔ the missing consumer for doctrine-watch.py (#586): that tool names who is behind and nothing delivered to them. ⛔⛔ The issue's load-bearing premise is REFUTED by measurement and the refutation shaped the design. #586 states with a ★ that "our roles are already 1:1 with pane titles". Measured 2026-09-05 from an nForma-NEXT session: terminal.list returned 7 panes, every one with worktreeId=/Users/…/code/lang-nextjs2, titled DEV1-lang · TEAMLEAD-lang · ARCHITECT-lang; background and trash both empty, so that was the complete addressable set. ⇒ Zero nForma-NEXT panes. ★ The channel as specified would have delivered nForma doctrine pointers into six lang-nextjs2 panes — the fourth cross-estate misroute (#172, #301, #426) encoded in a tool, and a tool repeats it on a schedule and never notices. ⇒ So the estate gate is leg one, and worktreeId is the right key for the reason #364 rejected it for pane identity: identical across a fleet, different across fleets. ⛔ Containment on RESOLVED paths, never string prefix — /repo/X-other starts with /repo/X — and a nested worktree pane is kept. ⛔ The payload is an ALLOW-LIST of one shape, doctrine ref=<sha> paths=<a>,<b>: prose, appended instructions, grants, multi-line and a leading / are all refused, because the pane input box is unauthenticated and a message carrying content there is indistinguishable from a forgery carrying content there. ⛔⛔ It emits QUEUED and never DELIVERED, which CORRECTS the issue — terminal.sendCommand returns once the text is submitted, not once delivered or run (#8, #308). DELIVERED is prompt-delivery.py's verdict from the recipient's transcript. ⚠ Neither establishes a RE-READ; that gap is UNMEASURED and printed on every run. ⛔ --send is not the default, a collided title is UNESTABLISHED (#247, #355), and a working pane is HELD rather than overwritten (#136). ★ Both directions demonstrated on live data — refuses for nForma-NEXT (exit 2), proceeds for lang-nextjs2 (exit 1). ⚠ A defect was found by RUNNING it: git rev-parse --show-toplevel returns the worktree, so the first run compared against a scratch path and would have rejected this fleet's own panes while looking like a correct refusal (#23 §9).
doctrine-watch.py — reports which roles' prompt or goal file changed since a
watermark, and which of those roles has not read the new revision. ⛔ Built because the fleet's
standing conclusion — "a relaunch is the only complete-delivery channel" — is wrong in the
expensive direction: the read is available on demand and nothing triggers it, so the fix is a
nudge rather than a restart. A relaunch buys exactly two things that cannot be delivered live
(cwd/worktree and process env) and costs every pane its working context.
doctrine-uncommitted.py — ⛔ CLAUDE.md loads from the WORKING COPY, so an uncommitted edit is fleet doctrine the moment it is written. There is no landing step between typed and authoritative. Measured 2026-08-21 in the shared primary checkout: branch pr1136, .git/MERGE_HEAD present, 61 files staged, CLAUDE.md +79/−2 staged and never committed — and 44 of those lines were cited as doctrine by four agents that night while origin/main carried zero matches. The section is real and correct; it belongs to an open PR. ⇒ If that PR is closed unmerged, every conclusion drawn from it rests on text no ref contains. ★ A role prompt has a version and a delivery channel, and tools exist for both. A repo-root doctrine file has neither — read by path, from disk, by every agent, with no ref in between. The file everyone trusts most has the weakest provenance. ⚠ It reports both directions, because they fail differently: READ-NOT-COMMITTED means the fleet acts on text no ref carries, while COMMITTED-NOT-READ means a stale checkout hides landed doctrine and the agent cannot tell it is reading an older world. ⛔ Neither is an error by itself — work in progress is normal; the finding is that nothing otherwise says which of the two you are holding, so the checkout's own state (branch, merge-in-progress, staged count) is printed as the explanation, not as a separate complaint. ⚠ Three ways to print a clean result are three exits: no repo, an unresolvable ref, and no doctrine file present are all exit 2, never "reads == landed" — a doctrine checker that says nothing when it read nothing is the same failure it exists to detect, one level up. ⚠⚠ Bound, printed on every run including the clean one: ONE checkout only. Another agent on another machine reads a different working copy, and a clean report here says nothing about theirs.
⚠ It shipped WITHOUT a self-test, which raised the repository's recorded debt to 24 — and the next tool added then tripped the ratchet at 25 and red-ed CI. ⇒ It now carries one, and SUBJ_BASELINE drops to 23 in the same change, because the gate says so explicitly: repairing a subject without lowering the baseline leaves headroom that only ever grows. ★ The control builds real git repos in a temp dir and exercises all three states; its known-negative leads — on the ref itself, nothing is reported — without which a tool that flagged every file would satisfy every positive case. ⛔ Every argument has a default so --self-test runs bare: a control you cannot invoke without also supplying the subject is counted UNESTABLISHED, not absent. ⛔ And if git is absent the self-test refuses (exit 3) rather than passing — a control that cannot run is not a control that succeeded.
⛔⛔ AND THE FIRST VERSION GOT ITS OWN MOTIVATING CASE WRONG. It printed "the fleet is acting on text no ref carries" about the interpreter section while three commits on branch pr1136 carried it. The claim was false, and the remedy was worse than useless: "commit your work" is meaningless to someone whose work is committed and awaiting review, and it sends a reviewer hunting unsaved edits that do not exist. ⇒ Three states, not two — and the middle one is the COMMON one:
| state | meaning | remedy |
|---|---|---|
READ-NOT-COMMITTED |
no ref carries it | commit |
READ-ON-A-BRANCH |
a branch carries it, main does not | land the PR |
COMMITTED-NOT-READ |
a stale checkout hides landed doctrine | rebase / refresh |
★ The middle state is not an anomaly — it is what an open docs PR looks like from the working copy, every time, and it has a different remedy and a different owner. ⇒ The discriminator is free: git log <ref>..HEAD -- <path> non-empty means a branch carries it, so the tool names the branch and lists the commits. "CLAUDE.md's interpreter section is on pr1136, not on main" is actionable; "no ref carries it" is not, and it was not true.
⚠ Two behaviours it was given after its own controls refused to pass: it matches the tool CALL rather than prose (the first version matched any occurrence of the path and its known-positive could not fire, because every transcript mentions these files constantly), and it requires the read to POSTDATE the change (a read from before the amendment proves the agent saw the old revision, which is the condition being reported).
⛔ It cannot establish that a notified agent re-read rather than noting the notification and continuing on the copy it loaded. That is the difference between a trigger and a guarantee.
⚠ 2026-08-20: role_of promised the one thing it did not deliver. "The role a session was BOOTSTRAPPED as — a name can be changed; this cannot" — and it scanned the whole file for You are X., taking the first hit anywhere. Measured over nine live transcripts: 3 resolved, 2 of the 3 wrong. One came from a correction sent a day later ("your identity was wrong … You are DEV2", record 17155, against a bootstrap reading MAINTAINER); one from a quotation of someone else's prompt; and a session bootstrapped as DX was reported DEV2 because it had spent the day discussing DEV2. ⇒ It returned the mutable thing it promised immunity from, and a mention rather than a use. ★ Now anchored to the bootstrap record, with three outcomes — None unreadable or no launch prompt, "" read and names no role, a role otherwise. 6 of 9 after, all from bootstraps. ⚠ The two accepted phrasings are a measured snapshot, not a closed set.
⚠ gated-caller.py --stability exists because this figure was published as a count three times
and was a property of the STUB each time — 1 (the stub died on AttributeError), 2 (on
TypeError), 4 (survives both); the dedicated-self-test figure moved 5 → 8 the same way.
⛔ Chasing stub fidelity is unbounded and gives no signal for when to stop. ⇒ Running the SAME
probe at TWO fidelities does: if the answer moves, the answer depends on the instrument. ★ That
is the error term an exit code cannot supply — measured: truncation risk sat at 28 of 51 across
a stub change that revealed two more real callers, because an exit code says a suite ended badly
and never says WHERE. ⚠ STABLE means only that these two stubs agree, never that the count is
right; a third fidelity may disagree with both. Costs 2×, so it is opt-in and not the default.
hermetic-check.py — the hermetic suites (gating) job decides membership by the absence of a
marker: a suite is hermetic iff nobody wrote # SUITE-DEPENDS in it. ⛔ Nothing verified the claim.
A suite that shells out to gh is declared hermetic by default, passes on every authenticated machine,
and fails only on the runner — where it blocks a merge with an assertion that names neither gh nor the
dependency. (Instance: #499, AssertionError: 2 != 0 from a --states DECLARE gated behind a network
fetch thirty lines earlier.) ⇒ Each declared-hermetic suite is run twice, varying exactly one binary;
a suite whose exit code MOVES is not hermetic. ⚠ Shadowing gh, not truncating PATH — replacing
PATH wholesale also drops homebrew, so a suite failing because git moved would score as a network
leak; git and python3 are asserted unmoved before anything is measured. ⛔ No real gh is exit 2,
never 0: with nothing to shadow, every suite scores hermetic and the clean board is an artefact of the
machine. "There was no gh" and "no suite needs gh" are two states the verdict depends on telling
apart. ⚠ With respect to gh only — a suite reaching the network by curl, urllib, or a git remote
is not covered and is not thereby clean. ⇒ The gap was measured before it was left open, and it is
currently empty: across the 45 declared-hermetic suites, curl 0 · wget 0 · urllib 0 · requests
0 · socket 0 · a git remote 0. ★ The one http. match is test_daintree_control.py importing
http.server — a LOCAL server, which is how a suite is made hermetic, not how it stops being so.
⛔ So the extension was declined, not deferred: widening the tool to shadow curl and friends would
be building an instrument for a population of zero, and its green would then mean "nothing to find"
rather than "nothing found." ⚠ A count of what a probe did not find is a claim about the probe —
this one carries a control (import matches 45 of 45, so the zeros are the pipe working, not failing).
(measured 2026-08-21 at 6fb0096.) 44 of 44 hermetic at 41daed3; the known-positive is drawn
from refs/pr/499, outside the measured population.
gated-caller.py — criterion 4 as amended on 2026-08-21 (#381) made checkable: a control must be
"shown to FAIL on real data — by a caller that still runs it", and two issues carried a count of
instruments lacking one. ★ A count in an issue body decays the moment a suite lands; a check does not.
⛔ Measured behaviourally, and the textual version is the trap. "Does some gated suite mention this tool
and the flag?" cannot tell an invocation from a mention — the same use/mention collapse reported
against pipe-exit-scan.py on #375, and the predicate both #372 and PR #392 used. ⇒ Instead: copy tools/,
replace every instrument with a recording stub, run each gated suite once, and read the log. A suite
that truly calls the subject writes a line; one that talks about it writes nothing. ★ Stubbing all
instruments at once collapses the cost from (instruments × suites) to (suites) — 750 tree copies became
30, and the live run takes 20s. ⚠ Suite exit codes are ignored on purpose: under stubs a strict
suite fails, and reading that as "did not call" would make the answer anti-correlated with the rigour it
measures. ⛔ # SUITE-DEPENDS: suites are not callers — the gate skips them, so they cannot fail the
board. ★ Three states, because a binary answer hides the interesting one: REACHED means a suite
imports the module and exercises it in-process without ever passing the flag — real coverage, but
whatever lives behind --self-test is still never executed. Measured 2026-08-21 at origin/main: 0 of 25
instruments have a gated caller that RUNS --self-test; 17 are imported but never self-tested; 8 are
untouched. ⚠ That is not "17 tools are untested" — it is a claim about one code path, and their
suites may cover the same ground by other means.
population-leg.py — ARCHITECT's ruling on #164 item 1 made checkable: "name a caller whose inputs
you did not choose" is goals/README.md criterion 5's population leg applied to a control. ⛔ #26 and
criterion 5 are different demands and satisfying one does nothing for the other — #26 asks can this
control be silenced by a repair? (stay outside the population); criterion 5 asks can it be blind to an
input nobody imagined? (do not draw the population). ★ A synthetic fixture satisfies #26 perfectly and
fails 5 completely, and several tools here cite #26 as evidence of rigour: the credit is real and it is
partial. ★ Measured differentially, on behaviour, never by reading source — every instrument here
derives its root from __file__, so copying one into a barren tree makes the repository unreachable
without editing a byte of it; identical exit code and identical output means the control consulted
nothing but itself. ⚠ The masking is the method: both runs print their own absolute paths, so an
unmasked diff calls every tool UNDRAWN and the instrument becomes a machine for agreeing with itself —
and both symlink forms of each root must be masked, because macOS hands out /var/… while a tool resolving
its own __file__ reports /private/var/…. ⛔ Its first live run was WRONG in the direction that
credits, which is why the correction is recorded here: 7 of 35 tools came back UNDRAWN-BY-CRASH on one
shared cause — a sibling import broken by relocation, an artifact of the method — and every one of those
credited a tool with a population leg it may not have had. Sibling source is now copied on demand;
repository content still is not, and the seven moved into the finding. Measured 2026-08-20 at
bb7e6fe: of 37 indexed instruments, 28 carry a --self-test — 22 with no repository input, 6 UNDRAWN; the
other 9 have no self-test at all.
⛔ 2026-08-21: the positive state was named for the criterion it serves rather than for what the method
measures, and that is a use/mention slip. Relocation removes the repository. It does not remove the
network, the clock, or the environment. ★ Counter-example measured on the author's own other tool within
the hour: label-exists.py reads the forge's 27 real labels in its self-test — an undrawn population
by any reading — and still scored the positive state, because gh label list does not care what directory
it runs in. ⇒ Renamed NO-REPO-INPUT: a finding about repository dependence, which is real and
checkable, and a candidate for criterion 5 — never a verdict that a control drew its own population.
The blind spot is now demonstrated by a control rather than claimed in a comment.
★ And a SECOND AXIS, because a named blind spot that nothing probes is just a disclaimer. A stub gh
is placed first on PATH and made to fail; a control whose output changes consults the forge — undrawn,
and invisible to relocation. ⚠ It cuts gh only: the clock, the environment and the filesystem outside
the repository still show nothing, so a row with no forge dependence remains a candidate.
⛔ And the measurement CONSTRAINS the caveat rather than leaving it open — which matters, because a caveat with no size inflates doubt without bound. Measured 2026-08-21 across 39 indexed instruments:
NO-REPO-INPUT 21 · UNDRAWN 6 · UNDRAWN-VIA-FORGE 1 · NON-DETERMINISTIC 1 · NO-SELF-TEST 10
⇒ Exactly ONE of the 22 was a false accusation, and it was the author's own (label-exists.py). The
other 21 consult neither the repository nor the forge. The finding survives its own correction nearly
intact. ★ index-watch.py now scores NON-DETERMINISTIC — the population leg it gained reads a subject
whose output moves with main, so the method refuses instead of guessing, which is the state working
as designed. ⚠ UNDRAWN
means a population leg exists, not that it is a good one; DRAWN is a statement about a tool's
control, not a defect in the tool, and where an undrawn population is genuinely unaffordable the answer
is a stated exception with a reason. ★ Its own control is DRAWN, and it reports itself as such — a tool
that measured this property and exempted itself would be the joke version of itself.
late-push.py — ⛔ #224's instrument, specified there and absent until now. A squash merge captures every commit IN THE PR AT MERGE TIME; it cannot capture one the author has not pushed yet. Measured across 100 merged PRs: 37 merged inside 120s of creation, 25 inside 60s — and #201 at 42 seconds. ★ At 42 seconds the author is not late; the merger is early, and MERGED erases the difference. ⛔⛔ DETECTION IS BY CONTENT, NOT SHA, and #224 is explicit. A squash does not preserve shas, so git merge-base --is-ancestor answers a different question — it says whether THIS COMMIT is on main, never whether ITS CONTENT is, and every squashed commit is a non-ancestor, so ancestry alone reports the whole board lost. This compares git patch-id --stable: same diff, same id, regardless of sha or parent — exactly the equivalence a squash preserves. ★ The known-positive is #224's own and re-verified live: PR #339 merged 19:56:18Z, commit 7447b1d authored 19:57:18Z — 60s later — docs/DEFECT-CLASSES.md +10, not an ancestor, patch-id absent from 400 commits of main. Ten lines genuinely lost. ⚠ #224 says 61s; that is author-vs-commit time. ⛔ The VOID path is the load-bearing refusal: an EMPTY main patch-id set makes every candidate read as lost, so it exits 2, never a finding. #224's stated control --since 1s returns exactly that — 2, not 0 — which is a better answer than the condition expected. ⚠ And --limit is a recency window, not a filter: a PR older than the most recent N is NOT examined and is not clean, which the output says on every run. --pr N exists because #224's own specimen is ~250 merges down and reaching it by raising --limit costs a git-log per PR over the whole board. ⚠ A finding is a CANDIDATE, not a proven loss — content that reached main through a conflict resolution or an altered rebase has a different patch-id and reads as lost here. ⇒ #445 holds: ORPHANED ≠ CONTENT-LOST, and only the first is mechanically decidable. An unreadable head ref is counted and named as UNCHECKED, never folded into clean.
label-precedence.py — when role: and dev:N disagree about who owns an issue, which one is a
pane meant to obey? ⛔ Measured on #461: both fields are queryable, both populated, and until
2026-08-21 nothing stated which wins — 15 open issues carried a dev:N beside a role: that is not
role:DEV, and a pane querying dev:5 and a pane querying role:DEVOPS both got an
authoritative-looking answer naming a different owner. ★ The rule this enforces is in
prompts/README.md: role: is the queue; dev:N is the address only alongside role:DEV (DEV
being the only subdivided role), and on any other issue it is PROVENANCE — a record of which pane
produced the work, not an assignment. ⛔ So this tool never reports a bare collision count as a
verdict, because #461's own Done-when warns that the count can be driven to zero by stripping
labels, destroying provenance and reproducing the "what is mine?" gap behind a clean-looking board.
It reports which kind each collision is — HAZARD / ADDRESS / PROVENANCE / UNROUTED —
and only one of those is a defect: a dev:N beside a queue that reserves action from panes. That
shape already bit on #319, where role:OPERATOR + dev:2 had the board telling a pane to work
inside an operator quarantine. ⚠ Its clean run on the live board proves less than it appears to:
HAZARD 0 today is a board already repaired — the hazard was removed at 04:47:53Z, before the
tool existed — so the known-positive is pinned as a regression test on #319's real historical
labels, both states of the same real issue, rather than on the current board. ⚠ It cannot
distinguish an intentional provenance label from a mislabelling; both render as dev:N on a non-DEV
issue. It reports the set and refuses to judge it, because a tool that guessed would be inventing a
distinction the board does not carry. Exit 2 if the forge cannot be read — never no collisions.
disposition-scan.py — does a refusal NAME a disposition, or only report that it established
nothing? ⛔ #73's form says a refusal must say which KIND it is, because a correctly-reported
absence and an unfixable one arrive as the same value — so the first is never fixed and the second
is re-investigated forever. ★ Measured 2026-08-21: adopted by 1 of the 41 tools that refuse.
2.4% — ESTABLISHED-vs-IN-FORCE on a form its own author wrote. ⛔ It NEVER gates and always exits
0 on a completed scan, deliberately: a check failing 40 pre-existing files teaches that the gate is
noise, and the shape that fits is a ratchet on the count (#39) — which commits other roles' files
to a floor and is therefore not this tool's call. ⚠ Static by construction, and that is not a
proxy: the proposition is textual, so the source IS the population; forcing a refusal at runtime
would run each tool's main path, which for a forge-touching instrument performs the action (#506).
⚠ It counts itself and says so — shipping the measurement raised the figure it reports, by one,
on the day it landed. ⛔ And #73's own proxy test is left standing: presence of a disposition is not
usefulness of one, which this counts nothing about.
disposition-ratchet.py — ⛔ #73's missing leg was AUTHORITY, not code. disposition-scan.py built the predicate, planted it four ways, caught a use-versus-mention bug in itself — then stopped, saying why: "committing other roles' files to a floor is not this tool's call. It reports; someone else decides." ★ That is correct and it is not a technical gap. Deciding that 45 files owned by other roles may not get worse binds every one of those roles, which is a TEAMLEAD act; #73 sat with a working predicate and no caller for 16 days because nobody who could supply that had been asked. ⇒ A ratchet, not a gate: a gating check reds 45 pre-existing files on its first run, and a red naming 45 files nobody touched is reverted or ignored — worse than absent, because it teaches the gate is noise. This fails only if the count grows; history is never red, adoption lowers the floor, --record refuses to raise it. ⛔⛔ IT DOES NOT WRITE WHAT IT READS, taken from #598 measured the same day: index-watch.py records the sha it just reported on, so the run that finds drift is the run that suppresses it — re-running to confirm a finding DESTROYS it, and the second exit 0 means did not check while reading as clean. ⇒ On a DROP this says the floor can be lowered and refuses to; the suite asserts byte-identical output and an untouched baseline across two consecutive runs. ⚠ The predicate is DELEGATED, never restated — an interface change VOIDs rather than guesses (#405). ⚠ It counts ITSELF and prints both figures, because adding an instrument moves the figure it reports. ⛔ THE BOUND, inherited from #73 against itself: a check could pass while every refusal names a remedy nobody can act on. PRESENCE of a disposition is not USEFULNESS of one. ⚠ A line-oriented predicate has a formatting consequence, found by this tool failing its own rule: classify() credits a disposition only when it shares a physical source line with both the refusal text and the print(/stderr emit.
label-exists.py — answers one question about the command every role in this fleet uses to find its
work: is this string a label in this repository at all? ⛔ Measured 2026-08-20: gh issue list --label
with a label that does not exist and with a label that exists and matches nothing produce
byte-identical output and identical exit 0. Both print nothing. ★ That is this repository's dominant
defect class sitting inside the queue query itself — and the decision downstream is standing doctrine (if
it returns nothing, say NOTHING QUEUED), so one typo makes an agent confidently report an empty queue and
go idle, which this fleet has already done once across every pane simultaneously. ⚠ The same collapse one
layer up is refused explicitly: "this label does not exist" and "I could not reach the forge to find
out" are not one answer — an unreachable or unauthenticated forge is exit 2, never absent. A label
set that comes back at the 500 bound is treated as possibly truncated and refused, because a partial set
manufactures false absents. ★ Near misses are reported, because the useful output is not no but did you
mean: two schemes coexist here (dev:1 … dev:5 and role:ARCHITECT … role:TEAMLEAD), and role:dev1 is a
plausible blend of both that matches neither — the live case that produced this tool, and the one that
let four panes fix #307 independently. ⛔ Similarity alone finds the wrong neighbour here, measured:
difflib scores role:dev1 against role:DEV · role:DEVOPS · role:DX and misses dev:1, because the
role: prefix dominates the ratio. ⇒ Labels are tokenised at every letter/digit boundary and matched on a
token SUFFIX — role dev 1 ends with dev 1, so dev:1 is the same referent under another scheme,
while role dev is a prefix and deliberately excluded: admitting prefixes would rank role:DEV above
the right answer on length alone. Similarity survives only as a labelled fallback for a genuine typo. ⚠ Its 0 means
the label exists; it is not a statement that your queue is non-empty. Known-positive: synthetic label
sets, never this repository's, so dev:1 ceasing to exist cannot silence it.
verdict-census.py — answers #2's question for every instrument this table indexes: has it ever
produced a verdict? ⛔ By running them, never by reading the index — an index entry is a claim that a
tool exists, and asserting verdict-history from it would reproduce the defect #2 is about. It separates four
states that a single exit code would collapse: VERDICT-SEEN (exited a code its own docstring documents as
a conclusion), ESTABLISHED-NOTHING (exit 2 — a refused verdict, which is the honest form of silence and
not a verdict), NO-VERDICT-VOCAB (ran, but documents no exit codes, so did it conclude? cannot be
read from its contract), and NEVER-RUN (crashed, or exited a code it does not document). ⚠ A traceback is
classified before the exit code, because a crash that happens to exit 1 would otherwise read as a
conclusion. ⚠ A timeout is reported as NO-VERDICT-IN-TIME, never NEVER-RUN — measured: a 25s bound
labelled a 45s instrument never-run, which is a statement about the caller's parameter rather than the
tool. Its known-positive is a set of synthetic fixtures outside tools/, one per state, so repairing
any real instrument cannot silence it.
⚠ 2026-08-20: the census was consulted by nobody, and the cause was its price. ARCHITECT found
SELFTEST-DECLARED 1 in its output — a real defect it had caught — only after independently writing the
fix, believing nothing had detected it. ⇒ A verdict nobody can afford to read is indistinguishable from a
verdict nobody produced, which is #2's own property arrived at from the other side. ★ The remedy turns on
#2 asking a monotone question: has this instrument EVER produced a verdict — and a verdict that
happened cannot un-happen. So --ledger keeps tools/verdict-ledger.json, keyed on each instrument's git
blob, and re-runs only what the record cannot already answer. ⛔ This is a stored calibration, which
this repository forbids by default (#149, #183: derive, never store) — permitted here for a checked
reason, not an assumed one: doctrine-watch's watermark stored a position, and a position moves both
ways, so it decayed. An ever-predicate has no second direction. Only the confirmed-positive-with-unchanged-
bytes case is ever skipped.
⛔ "Negative" was itself a collapsed pair, and splitting it was worth 7 re-runs a cycle.
NO-VERDICT-VOCAB is read out of the instrument's own docstring — a function of the bytes, so it cannot
flip while the blob holds. ESTABLISHED-NOTHING · NO-VERDICT-IN-TIME · NEVER-RUN flip with no edit at
all: gh-complete.py exits 2 while gh is unauthenticated, stranded-branches.py exceeds a 90s bound and
concludes under a longer one. Only the environmental kind is re-measured unconditionally.
⚠ And the saving was measured, not predicted — the prediction was wrong, and the correct number is
sharper than the first one. A warm refresh skipped 23 of 32 instruments — 72% of the population — and
still took 3m16s against a 4m20s cold run. ★ Skipping 72% of the work bought 25% of the time. The cost
is not spread across the population; it is concentrated entirely in the rows the design refuses to skip. An
instrument that concluded is fast because it concluded; the expensive rows are the ones that timed out or
refused, and those are exactly what a refresh must re-run. ⇒ The skip is anti-correlated with the cost,
and no amount of further skipping fixes that. ⇒ Three minutes is still past a reader's attention, so the
affordable mode is not a cheaper refresh but --stale-check, which runs nothing and reports in
0.085s whether a refresh could say anything new. ⛔ Its exit code tracks staleness only: eight
standing environmental negatives are true continuously, and letting them drive the code would pin it to
1 forever and destroy the trigger. They are printed on every run, including on 0, so a 0 cannot be
read as every instrument produces verdicts. Measured 2026-08-20 at af6a4e2: 17 of 35 indexed
instruments have ever produced a verdict. Re-measure before relying on it.
⚠ And a live instance of why ⛔ NEVER is not broken, from an author who knows. label-exists.py
records ESTABLISHED-NOTHING — a bare run names no label, and refusing is the correct answer to "is
nothing a label?". ★ The row is right, the tool is healthy, and reading the column as a defect list
would condemn it. Every instrument here is run with no arguments; the NEVER set is a statement about
what a bare invocation establishes, which is #2's premise made measurable — not a verdict on anyone's tool.
landing-rate.py — reports the interval since the last merge, and DERIVES the cause
from the split rather than asserting it. Three stalls were measured in one day (125, 125,
171 minutes); the first ran to 126 minutes unseen while every armed instrument stayed green
and correct — four instruments, four state variables, zero derivatives. ⛔ The cause clause
was itself wrong twice: a constant string that was true in one stall and false in the next,
then a split-derived clause that announced merger-absence seconds after a merge, because
M > 0 means mergeable work EXISTS and not that nothing is consuming it. ⚠ A gap is not a
cause — it cannot tell an absent merger from a deliberate hold or a freeze.
⛔ gh pr list SORTS BY CREATION, NOT BY MERGE, and this gauge takes max(mergedAt) — so the window must contain the newest merge. Measured 2026-08-21: of the 20 most-recently-merged PRs on Blazing-Back, three sat at positions 97, 101 and 102 in created-order, far outside a --limit 40 window. ⚠ Direction: it would report a longer gap than reality — a false stall on the one gauge built because a real stall ran 126 minutes unseen, and a gauge that cries wolf gets muted. ⇒ Fixed with --search sort:updated-desc, verified: plain --limit 40 contained none of #923/#937/#919; sorted contained all three. ★ Raising the number alone does not fix an ordering defect.
branch-census.py — classifies every remote branch as MERGED, SQUASH-MERGED, LIVE or
STRANDED. Built because 89 branches carried no signal of which were finished, and four panes
independently opened a fix for the same defect (#307) — one defect, four branches, three
wasted. ⛔ Ancestry alone cannot do this: a squash lands the content and never makes the tip
an ancestor, so 12 of 89 branches that had shipped read as STRANDED — and STRANDED is the
flattering default, reading as abandoned work when the truth is that it landed. git cherry
does not close it either; it patch-id-matches commits individually, so a three-commit branch
squashed into one matches nothing. The cumulative diff is the unit that survives a squash.
⚠ It cannot tell ABANDONED from PAUSED, and reads only this checkout's worktrees — LIVE is a
lower bound and STRANDED an upper one. It proposes no deletions.
wake-yield.py — pairs an interruption's cost with its yield. Cost alone is
uninterpretable: an agent woken into useful work and one woken into churn consume context
identically.
pane-binding.py — reports which panes can be joined to a session and which leg is
missing when they cannot. Built for #6, where five independent investigations — an authorization
check, an attribution query, a compensation detector, an addressing resolver, a telemetry reading —
each terminated at the same unjoined edge.
★ That edge is one layer above the remedy. Daintree's own state file carries
terminals[].agentSessionId, in the same namespace as CLAUDE_CODE_SESSION_ID, populated for
exactly those panes launched with --session-id — 2 of 2 in both directions. ⛔ The join needs two
legs and nothing currently holds both: the nine fleet panes have a registry row and no
agentSessionId; the two that have one are child sessions, which write no registry row. ⇒ The join
has never been observed working — a different problem from a missing primitive, and a cheaper one.
⚠ It reports; it never infers. A pane whose legs do not join is UNBOUND, never guessed at from
a matching title — title agreement is the unreliable join #6 documents on both sides. Its self-test
builds a synthetic population, because the live one contains no BOUND fleet pane today and will
contain no UNBOUND one after the fix: a live-anchored control goes half-blind either way, which is
#26's sharp subtype.
⛔ Read the source before changing the launcher: Daintree generates the uuid itself
(crypto.randomUUID() behind assignSessionIdArgs) and has code that strips a caller-supplied
--session-id. Putting the flag in the recipe's args is therefore likely inert — see #6.
pipe-exit-scan.py — finds cmd | cmd; echo $? and ${PIPESTATUS[n]}, the shapes that
print something which looks like a measurement and is not. Replaces a written convention that
three roles missed.
⛔ It is its own hardest case, and the reason it is worth reading. A scanner for this is a
content matcher, and the document warning about the trap contains the string. Measured: the
only two occurrences of PIPESTATUS in this repository are in the paragraph below warning about
it, so a naive identifier scan reports two findings here and both are false — a 100%
false-positive rate on the live repo, in the direction that reads as work-to-do.
⇒ So it matches on what a mention cannot produce: prose lives in .md and a markdown file is
never executed (markdown is scanned only inside ```bash fences, never inline backticks);
a # comment inside a shell script is a mention where code is a use; and the finding is a
pipeline whose status is read, not the identifier alone. ★ The fleet has now solved this same
problem five times without naming it once — a nonce (citation cannot precede creation), line
position (a quotation cannot occupy a position), a path form (prose has no path separator), an
execution record (a description is not an effect), and here. Match on something a mention
cannot produce.
--selftest proves both directions against real data: the known-negative is this file, and the
known-positive is a fixture of three idioms taken from three real incidents rather than invented
to match the regex.
measured-elsewhere.py — ⛔ built for #502 D, the one finding its reporter explicitly asked for a read on, after vendoring this fleet into a foreign repository. onboard.md step 3 says to re-scope each goal's **Repository:** line; doing exactly that makes scripts/check-goal-conformance.py report FOR-THIS-REPO for all five role goals while their BODIES still describe nForma-NEXT. In the reporter's target repo the certified-in-scope goals asserted "no test infrastructure at all … no test files of any kind" against a repo with 233 test files, and "no Kubernetes … no runtime to observe" against 19 k8s manifests and three production clusters. ★ And the files were already honest about it — those paragraphs carry [measured: nForma-NEXT 2026-08-19]. The provenance is written down and nothing read it. ⇒ THE GAP IN ONE LINE: check-goal-conformance.py separates DECLARED scope from MENTIONED scope, and cannot separate DECLARED scope from MEASURED scope. This reads the second, and imports declared_scope/this_repo from that file rather than copying them (#345) — a hyphenated filename cannot be imported, and that friction is exactly what produces a second drifting reading of one noun. ⛔⛔ USE VS MENTION DECIDES WHETHER THIS TOOL WAS EVEN NEEDED, and a grep says the opposite of the truth: grep -rl 'measured:' finds 12 files under tools/ and scripts/, which reads as "plenty of things consume this tag". grep -rl '\[measured' finds 0. Twelve mentions of an English word, zero parsers. ⛔ AND A LINE-BASED READER UNDERCOUNTS THE CORPUS BY SIX. My first pass used grep -ohE '\[measured:[^]]*\]' and got 101; this tool reads 107. The gap is exactly the six tags that span a line break — [measured: Blazing-Back ⏎ 2026-08-19] and five like it — which grep cannot see because it matches within a line. 107 − 6 = 101, exactly: the corpus did not change, the reader did. ★ And the six are not a random sample — a tag long enough to wrap is one carrying provenance detail, the kind most worth reading — so a reimplementation with grep would silently reproduce the undercount. First run 2026-09-07: 107 tags — OWN 80 · ELSEWHERE 19 (all one sibling estate) · UNDATED 8. ⚠ ELSEWHERE IS A LOCATION, NOT A VERDICT, and the output says so on every run: a goal may legitimately cite a sibling estate's measurement, and what this makes knowable is how many, and where. ⚠ Every count is a LOWER BOUND — it reads the TAG, never the claim, and nothing enforces tagging, so an untagged paragraph measured elsewhere is invisible by construction. ⚠ UNDATED is checked before the repo comparison and reported separately: [measured: nForma-NEXT <date>] names the right repo and establishes nothing about when, and one verdict would merge two different failures.
fleet-output.py — ⛔ built because fleet-state.py exits 2 and says, in its own words, that it cannot answer the question a standup actually asks. Its refusal reads "They may be silent, unlaunched, or never given the prompt — this cannot tell", and dispatch policy differs completely between those. ★ THE DESIGN IS THAT THE TWO INSTRUMENTS FAIL FOR UNRELATED REASONS, which is what makes one a control on the other rather than a second opinion from the same witness: fleet-state.py reads transcripts — local, session-side, blind to a running pane that writes no STATE line; this reads artifacts on the forge — remote, output-side, blind to work that was done and never signed. ⚠ Commit authorship cannot carry this: one git credential serves all nine panes (#4), so git names the operator for every role. The only author signal in this estate is the body self-naming convention. ⛔⛔ USE VS MENTION DECIDES THE ANSWER HERE, it does not season it. Measured 2026-09-07 over the 24h window: ARCHITECT is MENTIONED in 13 comments and has SIGNED 0 — a tool counting the role name would have reported ARCHITECT the second-most-active role on a day it produced nothing. So authorship is decided by position — all three signature forms are anchored to the start of a LINE, in the tail only — never by occurrence; swapping the tail search for a whole-body search takes the suite to exit 3 on exactly that control. ⛔⛔ AND THE FIRST ATTEMPT AT THAT ANCHOR WAS WRONG IN THE OTHER DIRECTION, caught by RUNNING it against the corpus rather than re-reading it. Narrowing the byline verbs to Filed|Written|Posted|Appended dropped three real signatures in one 75-comment window — Replicated by TEAMLEAD, session … (#580), Withdrawn by … (#338), Verified by … (#287) — each as performative as Filed by. ★ The discriminator is POSITION, not VOCABULARY: Replicated by TEAMLEAD starts a tail line, This was measured by DEVOPS last week does not, so anchoring the line lets the verb list stay broad. ⚠ The bound that remains: a report that DOES start a tail line — Measured by DEVOPS on 2026-09-01. — is indistinguishable from a byline here and is read as one. ⚠ Over this corpus the anchored form and the un-anchored one it replaced return identical verdicts on all 75 comments — that removes the false-positive capability, it does not show the loose form had ever fired. ⛔ THE BOUND, PRINTED ON EVERY RUN: measured the same day, 34 of 75 comments in the window carry no signature at all, so SILENT means ONLY "produced no SIGNED artifact in this window" and never "did no work". ⇒ An unmeasured role must not read as an accused one, and the unsigned count is printed beside every verdict so the reading cannot be taken further than it goes. ⚠ The window is anchored to the DATA, not the reader's clock — 24h before the newest comment READ — because a window measured from now drifts against a snapshot taken minutes earlier and makes two runs incomparable for reasons that have nothing to do with the fleet. First run 2026-09-07: 604 comments read, 75 in window — TEAMLEAD 41 signed, and all eight other roles SILENT against an all-time table in which ARCHITECT has authored 72, more than TEAMLEAD's 64. ⇒ That is a change of state, and until now nothing here could notice it.
fleet-state.py — reads the STATE: line every role prompt requires on every turn. ⛔ It
exists as a self-correction: the signal was demanded and nothing consumed it, and an agent
that complied was re-woken seven times at 88–93% context with its named blockers unchanged. A
wake that cannot hear its own answer is a drain, not a nudge. ★ Parsed positionally — the
final non-empty line of the last assistant turn — never by searching for the token anywhere in
the text, because a keyword scan is tripped by any turn discussing blockage and this fleet
produced five such instances in one session. A quoted example is never the last line.
issue-coverage.py — ⛔ built because 92 of 241 open issues had been opened by nobody, 34 of them older than a month, measured while a pane sat idle waiting to be assigned something. ⚠ It cannot be asked and GitHub cannot answer it. The credential is shared, so author and assignee are one login for every issue in every state — GitHub knows what happened, never who. And an agent's memory is worse: asked whether they had read their own role prompt, three of four roles said "never" while their transcripts held 14, 11 and 9 reads from that morning; the one that grepped its transcript before answering was the one that got it right. ⇒ So it reads what a pane actually opened, in a tool_use. ★ Contact is not review — OPENED means a pane fetched it, and the two are never collapsed. ⚠ Three ways to print a clean zero are three exits: an empty board, a gh query that failed, and a transcript glob that matched nothing are all exit 2, never "fully covered". ⚠⚠ The bound cuts one way: transcripts on THIS MACHINE only, so a pane working from a transcript held elsewhere reads as having opened nothing — the untouched count is an upper bound and per-pane counts are lower bounds.
⛔ A COUNT WITHOUT AN INSTANT CANNOT BE RE-DERIVED, so the header and footer both carry one. Measured three times in one night, on three different agents' numbers, and none was a re-measurement error — the board moved: 233 open / 81 untouched → 237/86 → 248/92 within one session; a 107 conflict-pair count taken against a main that then moved; a +64/−1 diff that became +49/−0 because origin/main advanced between reads. ★ Every one was quoted back by a second agent as a property of the repository, because the output carried no instant and so read as timeless. ⚠ The failure is not the drift — it is the quotability. A number without an instant cannot be compared to a later one, and cannot be told apart from a reading taken under different conditions. ⇒ Pinned with a control that the stamp advances — a constant would satisfy a shape check and distinguish nothing.
⛔ A COUNT IS AN ABSENCE CLAIM, SO IT CARRIES A COMPLETENESS WITNESS. A witness that certifies provenance does not certify completeness, and every absence claim needs the second one. This tool's product is "which issues did nobody open", and an unparseable transcript line was silently skipped — so a partial read and a genuinely quiet pane produced the same output. ⚠ The bias runs one way: dropped lines → fewer contacts → more issues reported untouched, i.e. it over-states the alarming direction. ⇒ Every run now prints completeness: every line parsed in all N transcript(s), or names the panes and warns the untouched count is over-stated. ★★ Measured BEFORE writing it, and the measurement refuted the reason for looking: 0 unparseable lines in 170,364 across all 12 role-named transcripts, 0 of 12 ending on a partial line — including panes writing while they were read. ⇒ So this is not a fix for a live defect and is not described as one. The count is zero; the COUNTER was missing, and an instrument that cannot report a zero cannot report a one. ⛔ The line prints on success too, because a line that appears only on failure is one nobody has ever seen working, and its absence then reads as fine rather than as the check did not run.
⛔ Selection is by IDENTITY, not recency — and the fix came from running it twice. It used to read sorted(paths, key=-mtime)[:9], the nine most recently-typing panes. Measured 2026-08-21, two runs 90 seconds apart against an unchanged board: covered 153 / untouched 80 then covered 149 / untouched 84. TRIAGE contributed 41 issues, then 0 — it had gone quiet for ~2 minutes and dropped out of the top nine, and its 41 issues reverted to opened by NOBODY. ★ So the instrument dropped exactly the idle panes — the population the question is nearly always about ("architect is idle, has it reviewed these?"). A rank cut over a clock puts its boundary where the churn is: at that moment two of the nine slots were held by transcripts with zero issue contacts while DEVOPS sat one rank outside, and CODER2/3/4 were never in the window at all. ⇒ bootstrap_role() already names the fleet and reads 40 lines, so classifying all of them is cheap: 6,323 transcripts in 2.2 s, 12 of which name a role — 270 MB to parse against the 262 MB the recency window was already parsing. Same cost, stable population. ⚠ Sampling cannot prove this (the old selection also held steady across 24 s), so the test permutes mtime directly and asserts the set is unmoved, with a known-bad control asserting --recency does move under the same permutation. ⚠ The new bound, stated because it is real: a session that never declared a role is not read at all — three such sessions had opened 25, 2 and 2 issues. That bound is fixed; the one it replaced varied with the clock. --recency N survives as the cross-check.
prompt-delivery.py — did a role prompt reach a pane, and by which channel? ⛔ It exists
because 9 of 9 was true of the files and false of the sessions, and both populations had
nine members: nine goal files carry a pointer at prompts/<ROLE>.md, and nine sessions were active
when that was measured. The installed count is a property of the filesystem; the delivered count
is a property of a transcript, and nothing in either number says which one it is. ⇒ So it never
prints one number, and it splits delivery by channel because they are not equal evidence: LAUNCH
(the pane started with it), RECEIVED (a peer had to say it), PULLED (the session fetched or
wrote it itself). ⚠ PULLED is not delivery — the session with the most hits on this fleet
was the one that wrote the pointer into the goal files. ★ And a transcript whose head holds a wake
rather than a launch prompt establishes nothing about how that pane was launched; that is its
own verdict, never a no.
text-provenance.py — ⛔ built after the same mistake twice in one day: a search for a
distinctive string returned hits that were entirely this session's own tool records, and the
count was read as reach. Six hits for a rule's text were six tool_use records searching for the
rule; fifteen hits for a measurement quoted in a PR closure were tool_results from my own
gh pr view. The hits were real, the string was right, and the conclusion inverted — because grep
counts OCCURRENCES and the question was AUTHORSHIP. ⇒ So it never reports a count: every hit is
AUTHORED (an assistant record), FETCHED (a tool_result — the session went and got it),
RECEIVED (an inbound turn), INSTRUMENT or OTHER. ⛔⛔ INSTRUMENT and the POST-DATES check were both added after a peer broke the shipped tool in one message. The probe contaminates the population: asking a peer about a phrase writes that phrase into the peer's transcript — DEV4 had zero hits for four of five needles before I messaged it and two each after. And a needle inside a tool_use input is the session running a command that contains the string, not asserting it: two of my own three AUTHORED hits were a search script with the needle as a literal argument, so the shipped tool would have named the peer who searched on my behalf as the author of a phrase it first saw when I sent it. ⚠ Publishing is an allowlist, not a denylist of search verbs — keying on grep/rg misses a python heredoc doing if needle in line, which is how both false positives were produced — so the bias is toward refusing attribution. ★ And POST-DATES is not a heuristic: if you already held the text at T0, a session that first saw it at T1 > T0 cannot be the origin of your copy. ⛔⛔ And the allowlist itself DRIFTS. The first version listed commit -m and not commit -F -; a peer measured 61 uses of the second and 13 of the first in its own transcript, plus 24 gh issue create and 55 gh issue comment — none of them listed. Nothing failed; the numerator just quietly shrank. ⇒ So an unrecognised path is UNCLASSIFIED (exit 4), never a silent INSTRUMENT, and --audit enumerates the tools actually present and names what nothing classifies — 17 on its first run, on this repo's own machine, which is the only evidence a staleness check works. ⚠ gh is not one tool: create/comment/edit publish, view/list/api read. ⚠ And the gh and commit forms are anchored at a command position, not matched as bare substrings: the literal version classified echo "listed: commit -m and gh pr comment" as AUTHORED — a quotation of the allowlist read as an invocation of it, which is use-vs-mention and was caught by this suite's own negative control. Measured on a peer's transcript afterwards: all 10 bare commit -m occurrences were quotations of this very discussion, and its true invocation count matched mine exactly once the anchor excluded them. ★ And it refuses a verdict when every hit belongs to the
asker — exit 3, the shape of a failed control, not of "no author found". ⚠⚠ A local absence is
not an absence: a session that authored the text on another machine and one that never authored it
produce an identical empty result here, which is not hypothetical — a peer was reported FLATLINE
for six hours while merging two PRs from a transcript this machine does not hold. Zero hits is
exit 2, never "nobody wrote it".
pr-stack.py — ⛔ every PR branches from main, so a fix that has not shipped is absent from every PR opened after it, and whoever lands second rebases under conflict pressure. Measured 2026-08-20: 11 of 21 open-PR pairs conflicted, and ONE file caused 11 of the 11. ★ The merge order is a decision somebody makes anyway — either now with the pairs visible, or later by whichever PR happens to land first. ⚠ Three verdicts, because both apply cleanly is not compatible: CONFLICTS (one must rebase on the other, and choosing which is the whole decision); OVERLAPS — the dangerous one — same files, no textual conflict, so both branches pass and the merge result is untested; and independent. ⚠⚠ merge-tree is textual: independent is the absence of a signal, never a claim of compatibility — a PR can delete what another starts calling. ⛔ And an unfetched head is UNKNOWN, never clean: its first run skipped 2 of 4 PRs and printed a conflict count from the half it could see, and a smaller conflict count reads as better news.
⛔⛔ A SHALLOW CLONE SILENTLY INVALIDATES EVERY PAIR — and it invalidated a published map. A shallow checkout gives each fetched head one reachable commit against main's 4,633, so no common ancestor exists and merge-tree answers fatal: refusing to merge unrelated histories (rc=128). Measured 2026-08-21: 121 of 272 reported "conflicts" were that error, git fetch --unshallow (18 s) removed 119 of them, and the N behind column read 4631 where the true spread was 1–170. ⇒ Now refused with exit 2 before any query runs. ⚠ And is_shallow() returns None when it cannot ask — "could not determine" is never "not shallow".
⛔ AN EXIT CODE IS NOT A VERDICT. It is a channel carrying verdicts and transport failures, and nothing separates them but content. The old predicate was rc != 0 or "CONFLICT" in stdout → CONFLICTS, which folded every error into the answer — with an empty file list, a shape a real conflict can never have. ⇒ Errors are now UNKNOWN: not a conflict, not independence, never judged — and UNKNOWN reaches the exit code, because an unjudged pair is not a clean board.
⛔ EVERY ROW CARRIES ITS SECTION. CONFLICTS and OVERLAPS used to render identically as #N × #M files, so a grep over the output could not tell them apart — mine matched a superset and published a conflicts+overlaps figure as a conflict count, to someone ordering merges by it. ⇒ Rows are now CONF / OVER / UNKN. ★ Fix the output so the wrong reading is impossible, rather than warning against it.
⚠ Verified that this change alters nothing on a healthy clone: same refs, both logics, 107 vs 107 + 0 UNKNOWN, zero pairs classified differently. A separate 153 → 107 drop observed the same hour was #989 being rebased mid-measurement, not this change — isolated rather than assumed.
⛔ AND A FULL WINDOW IS NOT A COMPLETE BOARD — measured LIVE on this tool's own default. Blazing-Back had 61 open PRs; --limit 50 returned exactly 50. Eleven invisible — and because the product is pairs, the loss compounds: 1830 pairs → 1225, so 605 (33%) were never examined and nothing said so. ★ This file already carried the argument one level down, about unfetched heads — "a smaller number that looks like better news" — and the guard was only on the inner window. The same sentence is true of an unlisted PR. ⇒ A saturated window is now refused (exit 2), not warned about, because every unlisted PR can only remove conflicts from the result: this is the one output whose error direction is always reassuring. ⚠ The test is len(rows) >= limit, never a comparison against an assumed total — the caller does not know the total, which is the whole problem. A board of exactly the window size is therefore also called saturated, and that is the safe error: it refuses a complete board rather than blessing an incomplete one.
close-condition-scan.py — ⛔ built because TEAMLEAD reported "~31 open issues lack completion conditions" and nothing had ever produced that number. Measured on the first run: 61 of 85, roughly double. An issue with no falsifiable close condition cannot be closed, only abandoned or declared, so the count decides how much of the board is closeable at all. ★ The second state is why this is a tool and not a grep. All five of one role's queued issues carried a Done when clause and none carried it in the BODY — every clause sat in a comment, three of them under six others. A closer who opens the issue and reads it sees no condition. ⇒ BURIED is therefore a distinct verdict, not a weaker NONE: the defect is different, the repair is different (move the clause into the body), and it is invisible to any check that asks only does a condition exist somewhere. Board-wide: 19 BURIED, and only 5 of 85 issues carry a condition where a closer reads it. ⚠ The pattern is anchored at line start, so a clause must be a structural element rather than a phrase in a sentence — a bare substring match flags #189, a friction report about close conditions, as having one. That use-vs-mention case is the suite's load-bearing negative, and it is shown to fail: swapping the anchored regex for the naive substring form takes the self-test from 5/5 to exit 3. ⚠ Three ways to print a clean zero are all exit 2 — a failed query, an empty board, and a reading shorter than the population search/issues states. ⛔ A mistyped label is the sharp case: gh issue list --label <nonexistent> exits 0 with zero bytes on stdout AND stderr, byte-identical to an empty queue, which is how a wake message routed a role to a label that did not exist. ⛔⛔ THE BOUND: it detects PRESENCE, never FALSIFIABILITY. ## Done when: it feels done passes. Exit 0 means every open issue carries a clause in its body — never that any of them can be closed honestly.
close-mechanism.py — ⛔ built because a 108-issue board offers no way to answer what can move today?, and the obvious axis is measured wrong here twice. #296 §5: "'wrong proposition' is a GENUS, not a species — ~19 instances across 6 sub-shapes. Ruling on it as one class would itself have been an instance, and a remedy attaches to a sub-shape, never to the genus." #87 was closed for the same reason: a register organised by symptom keeps growing without becoming actionable, because no single remedy addresses six mechanisms. ★ The axis that works is CLOSE MECHANISM, and the board already wrote it down — 91 of 108 open issues carry their own Done when block, so this reports what each issue says about itself rather than imposing a scheme. ⛔⛔ That distinction is the whole design, because the alternative is measured and merged. #165 PART 2c: a reviewer's four-state taxonomy became a constraint on what the measurer reported — "I bent two measurements to fit a taxonomy rather than reporting that the taxonomy was short … it is in a merged artifact." A derived reading cannot do that: an issue matching no blocker lands in the residual, and the residual is printed as untrustworthy. ⇒ Verdicts OVERLAP by construction and the counts sum to more than the population, because an issue can be a capture AND operator-terminal AND lack an instrument; a partition would pick one and hide two (#355). ⚠ NO-CALLER and NO-INSTRUMENT are split deliberately — wire a caller and build a tool are different repairs, and an exploratory pass that folded them under a bare DOES NOT EXIST over-reported 39 where the anchored form reads 22. ★ Presence and truncation are DELEGATED, not re-implemented: close-condition-scan.py's classify(), fetch() and stated_total() are called, so its BURIED verdict and its search/issues truncation guard are this tool's (#405 — a second implementation is the defect). ⛔ A mistyped label VOIDs: --label role:dev3 — #317's own specimen — exits 2 rather than reading as a clean board. ⛔ A single-bucket census VOIDs too, per branch-census.py's rule: a census with one bucket has relabelled the population, not discriminated it. ⛔⛔ THE BOUND, inherited whole: it does not check whether a condition is FALSIFIABLE — ## Done when: it feels done scores ACTIONABLE here. And a tag is derived from the body, so a claim withdrawn only in a comment still reads as live (#300). ⚠ ACTIONABLE is a RESIDUAL — defined by the absence of a matched blocker, never by readiness; a blocker phrased in words these patterns do not carry lands there and looks ready to work.
runnable-condition.py — ⛔ built because close-condition-scan.py states its own limit:
PRESENCE ONLY, so ## Done when: it feels done scores BODY, and so did "once the file
cools" — written into docs/DEFECT-CLASSES.md by the pane that could not evaluate it three minutes
later. ⇒ It does not test falsifiability; that is not a string match. It matches a proxy that is
harder to fake: does the condition name a COMMAND and state the RESULT that satisfies it? ★ A
clause you can RUN has a reachable other answer; a clause you can only AGREE WITH does not — #214's
question asked of a close condition. ⚠ First run, against its author: 17 of 19 role:ARCHITECT
issues scored ASSERTED, including all twelve conditions written an hour earlier under the full
population/predicate/channel/caller standard. Naming a population is not naming the command that
draws it. ⛔ ASSERTED is not automatically a defect — some conditions close on a judgement no
command can make, and scoring those as failures would push authors to invent invocations that test
nothing (#73's warning against its own remedy). ⛔⛔ Its predicate began as a closed list of command
names — gh|git|python3|bash — and could not see grep, so it scored a real command as prose;
widening it too far then matched "the count must be zero" as a command, and the known-negative in
--self-test caught that before the number left the pane. ⚠ Presence of a harder feature is
still presence: a condition can name a command that does not test the thing, and no count here
should be quoted as if it did.
states-index-check.py — ⛔ #39's missing half, now with the other half too: --emit generates a row from a tool's --states, and --verify regenerates every row marked ⚙ GENERATED-FROM: --states and compares byte-for-byte — so the marker is a checkable claim rather than a typed one (#437). ⚠ Its known-negative is executed, not argued: hand-editing one word of a generated row takes --verify from exit 0 to exit 1 naming the row. ⇒ The original half remains: doctrine-version.py gained SAW-LATER and
tools/README.md still read "1 an agent is stale", so the new state rendered as its
near-opposite in the index the fleet reads to learn what an exit code means. #292 made the tool
emit its space; this invokes the producer instead of trusting the transcription. ⚠ It
DETECTS drift; it does not make drift impossible — #39's close condition asks for a row generated
from the emitter, and a verified transcription is not one. That distinction is printed on every
run and #39 stays open on it. ⛔ Its first predicate matched the STRING --states and flagged two
files that only DISCUSS the flag — including itself (#36, use vs mention); re-keyed to the argparse
registration. ⚠ Measured: 2 tools register --states and emit EXIT lines; a third registers it
and emits a different format entirely — the flag is a convention with no agreed output shape,
which is #345's noun with no shared definition one layer down, and the mismatched tool is reported
VOID rather than counted.
api-budget.py — ⛔ the GitHub quota is one 5,000/hr pool shared by every agent and every tool, and nothing showed a pane its own share. Measured 2026-08-20 while the pool sat at 0/5000 with 42 minutes to reset and every pane's gh call 403ing: 10,214 invocations across nine live transcripts in one session, 4,553 from a single role, 3,352 of them bare gh api. ⚠⚠ One invocation is not one API call — --limit/--paginate paginate, run view --log downloads an archive, and gh api graphql costs by node count — so the count is a lower bound on spend and is never reported as the spend; the tool flags which invocations used a multi-call flag and refuses to guess a multiplier. ★ The cost lands on whoever asks NEXT: a pane that made no calls all session gets the 403, which is why per-role attribution is the useful output. ⛔ A failed rate_limit read is None, never a full pool — that endpoint is exempt from the quota it reports, so a failure there is network or auth and printing a number would blame the wrong thing.
truncation-guard.py — ⛔ built because one role took the same wrong reading twice in one day, six hours apart, with the first instance already written into DEFECT-CLASSES.md. gh issue list … --jq 'length' reported 30 against a population of 85; gh run list --limit 5 reported 5 against a real 100. ★ The mechanism is why knowing about it did not help: gh's default page size is 30, so when the population exceeds the page, THE CAP AND THE RETURNED COUNT ARE THE SAME NUMBER. A full page and a complete set are byte-identical in the output — there is nothing to notice, and no amount of care substitutes for arithmetic. ⇒ A defect whose signature is the output looks correct cannot be remedied by a reader who has been told about it, which is why this is an instrument and the catalogue entry was not enough. ⛔⛔ Three states, and the third is the whole design. SAFE requires a bound to be KNOWN and the count strictly below it; TRUNCATED is count == bound; UNKNOWN is exit 2 and must never collapse into SAFE — an unstated limit is the COMMON case and probably fine is precisely the reading that produced both instances. ⚠ The effective bound is the MINIMUM of everything that applies, so --limit 1000 | head -30 is bounded at 30 and reporting the 1000 would report the bound that does not bind; per_page=1000 is scored at 100, because GitHub clamps it silently — this tool's own defect class one layer down. ⚠ A count that EXCEEDS its own bound is UNKNOWN, not a guess: the count and the command are not describing each other, and picking a side would be the confident wrong measurement this exists to prevent. ★ It analyses a reading and never performs one — input is a string plus an integer, no network, no subprocess, no clock. That is what let it be built and fully verified with the API budget at 0/5000. ⛔ Criterion 4, by execution on the real specimens: the two literal commands above produce opposite verdicts from the same command family (exit 1 and exit 0), and git log --oneline | wc -l produces exit 2. Three deliberate breaks are shown to FAIL the suite — collapsing UNKNOWN into SAFE, dropping the implicit-default table, and taking the max of bounds instead of the min. The second is load-bearing: without the implicit table the real specimen reads UNKNOWN instead of TRUNCATED, so the table is what makes the guard work on the actual measured defect. ⚠⚠ THE BOUND, and it is printed on every run rather than left in this file: it rules out exactly ONE mechanism, the client-side page bound. It is silent on server-side filtering before paging — a permission-scoped list, a lagging search index, an endpoint dropping what the caller cannot see — all of which return short, honest-looking readings it calls SAFE. ⇒ SAFE means not truncated by a page bound, never complete. ⚠ And a count of zero is SAFE here while carrying its own note: zero has a different failure mode (a filter naming nothing — a mistyped label exits 0 with zero bytes, #317) which this guard does not cover, and conflating them would overclaim.
⛔ SELECTION IS BY IDENTITY, NOT RECENCY — the same defect fixed in issue-coverage.py, which lived on unfixed in this sibling. It read sorted(paths, key=-mtime)[:12], and at the moment of measurement 6 of those 12 slots held transcripts with no role at all while 6 role-named panes were missed entirely. ★★ Measured with the same parser, one variable changed: CODER2 +948 · CODER4 +439 · CODER3 +91 · IMPLEMENTER +2 · CODER +1, against b00d725a −959 · a8090f6b −179 · 86f48924 −157 · …. ⇒ Totals agreed within 0.05% (11,703 vs 11,709) and every attribution was wrong — and attribution is this tool's product. 1,481 invocations belonged to five named panes that recency counted as zero. ⚠ The bias is worse here than in issue-coverage: a pane that is idle — thinking, blocked, waiting on the meter — leaves the window, so the tool under-reports consumption exactly when the pool is exhausted and everyone is idle waiting for it, which is the only moment anyone reads it. ⚠ New stated bound: a session that never declares a role is not read. ⚠ A third copy of this selection is the moment to extract a shared primitive; this is the second, said out loud so the next person extracts rather than copies.
probe-validity.py — ⛔ built after six broken probes in one evening across three roles, on questions nobody actually got wrong. A commit subject grepped as file content; a grep -c for a phrase that wrapped across lines; an estate regex that missed the encoded ~/.claude/projects/-Users-… form and printed zero where 40 were; a waiter matching "status": "404" against compact JSON, silent for two hours; an AST predicate excluding docstrings that never matched one, returning 13 of 13. ★ Every one was a broken PROBE, not a wrong answer — and a broken probe's output is not wrong-looking: 0 occurrences from a pattern that cannot match is byte-identical to 0 occurrences from a thing that is not there. ⇒ The rule (DEV2, #353): a probe must demonstrate, ON THIS RUN, that it can return the answer it did NOT return. ⚠ Two-sided, and the second half is not decoration: a false PRESENT-for-everything is harder to notice than a wrong negative, because its answer looks like a finding — 13 of 13 is its own tell, a discriminator that discriminated nothing. ★ Why this exists when discriminates.py already does the comparison case: that tool asks do these two states differ, and its own header records shipping with a KNOWN-DIFFERENT control and no KNOWN-SAME one (--a 'date +%N' --b 'date +%N' → ✅ DISCRIMINATED) — it learned both-halves the hard way and exit 4 UNSTABLE exists because of it. But it is tooled for COMPARISONS, and all six probes were EXISTENCE readings — did I find it — with nowhere to go even if anyone had remembered the rule. ⛔ And it closes one hole discriminates.py documents and cannot fix: "the control pair is NOT verified to use the same check as --a/--b." Here there is one --probe template substituted with each corpus, so a control cannot use a different check by construction rather than by discipline; a probe containing no {} is refused, because a command that ignores its corpus is not reading one. ⚠ ERROR is a third verdict beside PRESENT/ABSENT — a command that crashed did not report ABSENT, and collapsing exit > 1 into not found is three of the six instances. ⛔ Criterion 4, by execution on real data: run against tools/memory-index-check.py at origin/main, the original estate regex is reported INVALID — and note the shape, the known-ABSENT control PASSES, which is exactly why printing nothing looked like a clean sweep. The suite pairs each real broken probe with its repaired form shown VALIDATED, so it discriminates rather than always saying one thing. ⚠⚠ THE HONEST LIMIT, and it is why exit 2 is the default: a known-positive control requires a case whose answer you already know, and for a genuinely NEW question there may not be one. This tool cannot manufacture that case and refuses instead — declining to validate a probe is not the same as the probe being wrong. ⚠ And it does not establish that the cases are representative or that the probe asks the question you meant: a validated probe can still answer a proposition nobody asked (Class C). It shows the probe CAN discriminate, never that it discriminates the RIGHT thing.
check-freshness.py — ⛔ a red check is evidence about the MOMENT IT RAN, not about now. Measured 2026-08-20 on 56 open PRs: 65 failing required checks, 54 of them completed BEFORE the resource they depend on recovered — 83% of the board's red was a measurement taken under conditions that no longer held, and the fleet spent hours treating it as 49 defects. ★ Base freshness does not detect this: PRs zero commits behind main failed required checks at 88%, stale ones at 86% — indistinguishable. A PR can sit exactly on main's tip while its checks are four hours old. ⇒ Three quantities that all sound like "is this PR current" — the head commit date, the merge-base distance, and the check's completedAt — and only the third mattered. ⚠ --since is required and never defaulted: only the caller knows when the condition changed, and a default would manufacture a verdict from an arbitrary clock. ⛔ A STALE verdict does not mean the PR passes — it means the evidence predates the change and cannot speak to now; re-running produces evidence, reading does not. ⚠ And UNDATED is not old: a check with no completion time has not been dated, and bucketing it as stale would quietly enlarge the safe-to-ignore pile.
⛔ AND THE COUNTER-CASE, BECAUSE THE ENTRY ABOVE POINTS A READER AT completedAt AND THERE IS A
QUESTION IT CANNOT ANSWER. ★ "Only the third mattered" is true of is this evidence current. It
is false of did this check EXECUTE the current gate — and the two sound identical at the call
site. ⚠ Measured 2026-08-22 on #570, by TEAMLEAD, in their own merge guard:
gate changed 2fa1a3b 2026-08-22T01:30:03Z
check finished 2026-08-22T01:33:26Z ⇒ 3m23s LATER, so the clock says PASS
git merge-base --is-ancestor 2fa1a3b <merge-base> ⇒ FALSE
⇒ the gate change was NOT in the tested tree
⇒ ⛔ The check finished three minutes after the new gate landed and ran the OLD gate anyway. ★ Class C in a guard: the proposition needed was did it execute this code, the proposition measured was did it finish after this code was committed. Both are about the gate and about time, and only one is answerable by a timestamp.
⚠⚠ A SECOND TRAP SITS ON TOP OF THE FIRST, and it is why the wrong question also gets a wrong
answer: git log --format=%cI prints 02:30:03+01:00 and the GitHub API prints 01:33:26Z.
⛔ Comparing them unnormalised is a one-hour error HERE, and an arbitrary one elsewhere.
⛔ AND NOT FOR THE REASON THIS ENTRY FIRST GAVE. ★ %cI is IMMUNE to TZ. It prints the
offset STORED IN THE COMMIT — the committer's zone at commit time — so it does not follow the
reader at all:
TZ=UTC %cI ⇒ 2026-08-22T02:30:03+01:00
TZ=Asia/Tokyo %cI ⇒ 2026-08-22T02:30:03+01:00 UNCHANGED
TZ=America/Los_Angeles %cI ⇒ 2026-08-22T02:30:03+01:00 UNCHANGED
TZ=Asia/Tokyo %cd --date=local ⇒ Sat Aug 22 10:30:03 2026 THIS one moves
⇒ ⛔ So "an error in whichever direction the OPERATOR sits" is false — the operator does not enter
into it. ★ A Tokyo-authored commit carries +09:00, and a reader sitting in UTC mis-compares by
nine hours WITHOUT LEAVING UTC. ⚠ The skew belongs to the COMMIT, not to the reader.
★★ This entry's own thesis, one level down: nine panes on one machine means committer-zone and
operator-zone are always equal here, so the wrong explanation produced right answers every time.
⛔ Right by coincidence of TOPOLOGY. (Found by TEAMLEAD on this entry, 2026-08-23, by varying
TZ — the control the first version did not run.)
The normalising form, and why it works:
TZ=UTC git log -1 --format=%cd --date=format-local:%Y-%m-%dT%H:%M:%SZ 2fa1a3b
⇒ 2026-08-22T01:30:03Z
⚠ format-local DOES honour TZ — the opposite property from %cI, which is the whole reason it
works. ⛔ But the trailing Z is a LITERAL, not a computed zone, and that makes the whole form
a warning rather than a guarantee:
TZ=UTC --date=format-local:%Y-%m-%dT%H:%M:%SZ ⇒ 2026-08-22T01:30:03Z ✅
TZ=Asia/Tokyo same command ⇒ 2026-08-22T10:30:03Z ⛔
TZ=America/Los_Angeles same command ⇒ 2026-08-21T18:30:03Z ⛔
⇒ ⛔ Two of three are well-formed, confidently wrong, and compare cleanly against real UTC. The
TZ=UTC prefix is load-bearing, and "remember the prefix" is PRINCIPLE-shaped — the shape that
binds 0 of 5 times in this repository.
★★ SO PREFER THE FORM THAT CANNOT LIE. --date=iso-strict-local COMPUTES the offset instead
of taking it from your format string, so it labels itself:
TZ=UTC --date=iso-strict-local ⇒ 2026-08-22T01:30:03Z
TZ=Asia/Tokyo --date=iso-strict-local ⇒ 2026-08-22T10:30:03+09:00
TZ=America/Los_Angeles --date=iso-strict-local ⇒ 2026-08-21T18:30:03-07:00
⇒ ★ Same answer when TZ is right; VISIBLY different when TZ is wrong, instead of silently.
⚠ This does not remove the need to normalise — it removes the failure mode where you cannot tell
that you didn't. (Measured 2026-08-23 on 2fa1a3b, one git, one machine; re-run before relying
on the mode name.)
★ The remedy is TEAMLEAD's and it does not involve a clock: git merge-tree --write-tree →
commit-tree → worktree add --detach → run the CURRENT gate against the actual merge result —
with a control that the new leg is present in that tree, because running a new gate against a
tree that lacks it prints a clean pass, and a clean pass is what you are looking for.
⚠ Read that control's EXIT CODE, not its stdout. ⛔ grep -c has THREE outcomes and only two
are distinguishable on stdout:
match stdout="1" rc=0
no match stdout="0" rc=1
unreadable stdout="" rc=2 ⇐ and "" is not 0, but `n=$(grep -c …)` swallows it either way
⇒ ★ A presence control reading only stdout cannot tell ABSENT from UNREADABLE, and a missing
file is exactly the state a freshly-constructed worktree can be in. Use grep -c … ; rc=$? and
treat rc=2 as VOID. (TEAMLEAD, against their own published control.)
⚠ REPRODUCING THE MEASUREMENT ABOVE AFTER #570 MERGED: merge-base no longer denotes what it did.
Before the merge it was e66aeb4, a fork point; now it is 894869b, which IS the head — once a
PR lands, its head is an ancestor of main and the merge-base collapses onto it. ⛔ The verdict is
FALSE either way, so the command still agrees — ★ and agreement from a command that is now
answering a different question is not confirmation.
⛔ Why it never looked wrong: the gate rarely changes and the queue is usually drained between changes, so the timestamp and the ancestry AGREE almost always. ★ A guard that is right by coincidence of scheduling is indistinguishable from one that is right by construction — until the two propositions come apart once. (#570; the same instrument refuted the two-dot guard 5 the same day.)
⛔ AND EVERY first:N WINDOW IS A SILENT TRUNCATION UNTIL COMPARED TO totalCount. Both windows in its query were unchecked. Measured 2026-08-21 on Blazing-Back: branchProtectionRules totalCount 1 (window 5) and contexts totalCount 56–57 (window 100). ⇒ Neither bound, so nothing was wrong — but 57 of 100 is not margin, and nothing would have said so when it did. totalCount sits in the same response as the nodes window, which makes not reading it inexcusable rather than merely unlucky. ★★ The two truncations are not the same severity and are handled differently on purpose: a dropped protection rule decides which contexts are required, so it does not shrink the answer — it redefines the question, and the output looks identical ⇒ fatal, exit 2. A dropped context loses rows from one PR ⇒ named, and every count becomes a lower bound. ⚠ Pinned behaviourally by exit code, not by source text — the first version of those checks asserted strings in the file and would have passed against a comment.
established.py — ⛔ four instruments needed this in one day, each rediscovering it and each shipping without it first: 0 API calls read as restraint (the meter was exhausted), 0 current red checks read as a clean board (nothing had re-run), 0 untouched issues read as full coverage (the query failed), 0 conflicts read as no collisions (the heads were never fetched). ★ The shape, once instead of four times: an observation is OUTCOME ∧ EXECUTION, and when the execution did not happen the outcome is not a reading — the number looks identical in both cases. ⚠ And every one fails toward reassurance, which is why it has to be structural rather than remembered: nobody double-checks a clean result, and that is exactly when it fires. ⇒ A refusal is falsy but not None and not == 0, so if result: skips it and is None / == 0 do not silently absorb it. ⚠ A stated limit, pinned in the suite rather than discovered later: or 0 still defeats it — falsiness is exactly what makes if safe and or unsafe, and no value is both. Use isinstance(x, NotEstablished). ⛔ And the witness must be about the execution, never the value: established(0, count == 0, …) is always-true nonsense, kept as a known-bad control because it cannot be detected at runtime.
job-log.py — ⛔ a refusal is TEXT, and every grep over it returns zero. Measured twice in one night: a 99-byte refusal when --allow-escape-sequences is omitted (a peer hit it on a 29KB log), and a 535-byte JSON 403 when the pool drained mid-loop — five job logs fetched, greped for a failure signature, and all five reported unreach=0 and no provider. A clean sweep produced entirely by refusals; the successful fetch of the same job was 46,922 bytes. ⇒ Three independent witnesses, because each alone has a hole: the fetch exiting 0 (gh exits 0 on some refusals), the body not being a JSON error (a truncated log is not JSON either), and a line carrying an ISO timestamp — which every Actions log has and no refusal, empty file or HTML error page does. ⚠ Size is deliberately NOT a witness: 99 and 535 are both small, but so is a genuinely short job log, and a threshold would invent a boundary the data does not have. ★ Counts are printed only for a witnessed log — never over a refusal, because 0 matches reads as the signature is absent rather than there is no log here.
⛔ FOUR CHANNELS SERVE THE SAME EVIDENCE AND ALL FOUR REFUSE DIFFERENTLY (measured 2026-08-21, all four captured as real fixtures rather than written by hand):
| channel | refusal | size | why it fools you |
|---|---|---|---|
| GitHub REST | API rate limit exceeded |
295 B | JSON, greps clean |
GitHub REST, no --allow-escape-sequences |
message on stderr | 99 B, stdout 0 B | > out.log writes a zero-byte file and the reason lands in a stream nobody captures |
GCS gsutil |
ReauthUnattendedError traceback |
10,758 B | larger than many real logs |
| Platform API | # No log entries found … |
277 B | echoes a filter containing an ISO instant |
⛔⛔ AND BOTH OBVIOUS ANCHORINGS ARE WRONG, IN OPPOSITE DIRECTIONS. Measured across six real bodies:
gh run view --log (real log) |
platform "no entries" (refusal) | |
|---|---|---|
^ISO line-start |
⛔ refuses every real log | ✅ refuses |
ISO free-text |
✅ accepts | ⛔ accepts a refusal |
(^|TAB)ISO field boundary |
✅ accepts | ✅ refuses |
The platform body carries timestamp>="2026-08-21T00:36:12Z" inside its own echoed query filter, so free-text search calls a refusal a log. And gh run view --log prefixes every line <job>⇥<step>⇥<ISO> <text>, so the instant is the third tab-separated field — a peer built the line-start version and their known-good control caught it: a real 454-line log matched zero lines. Fail-closed, safe, and useless forever. ★ Neither fixture alone locates the rule — it took a refusal that contains an instant and a real log that does not start with one. ⇒ The timestamp must sit at a field boundary.
★★ And the size fixtures bracket every real log from both ends: the 81-byte run … is still in progress body (exit 0, one line, defeats [ ! -s ]) and the 10,758-byte gsutil traceback. No byte floor can be set anywhere that catches both.
★★ Two of those are known-bad controls that kill the obvious guards. The gsutil refusal at 10,758 bytes is bigger than plenty of real job logs, so any "a refusal is short" byte floor waves it straight through — which is precisely why size is not a witness. And the platform body contains timestamp>="2026-08-21T00:36:12Z" inside its own echoed query filter, so an unanchored ISO search calls a refusal a valid log: the ^ anchor in LOG_LINE is the entire difference, and a test now pins both directions.
⇒ So the guard stopped enumerating channels. --witness-file PATH (or - for stdin) applies the same three witnesses to a body whatever produced it, alongside --gcs URI. A peer reported a fourth channel the same night — gh run view --log returns a near-empty body with exit 0 while the run (not the job) is still in progress, defeating their [ ! -s ] guard because one line is technically non-empty. ★ A guard that hardcodes its channels hardens the ones it knows and leaves the next one bare.
⛔⛔ AND THE WITNESSES CERTIFY PROVENANCE, NOT COMPLETENESS — stated in the tool's own docstring because it is the limit most likely to be forgotten: "a witness that certifies provenance does not certify completeness, and every absence claim needs the second one. Counts are absence claims." ★ That is this tool's primary output. All three witnesses answer "is this body a log"; none answers "is this the whole log". ⇒ A truncated but timestamped body passes all three and returns 0 for every pattern — more dangerous than a refusal, because it genuinely is the log and there is no wrong-shaped body to notice. ⚠ A fourth witness (evidence the job terminated) is deliberately not implemented: there is one specimen, and a cancelled or runner-killed job may legitimately lack Complete job while still being the complete available body. Refusing a legitimately-short body is exactly the mistake ^ISO already made. When it lands it should warn on absence, not refuse.
⛔ A COUNT INVITES A CONCLUSION; A LINE LETS YOU CHECK IT — so --grep now prints matching lines (--show-lines, default 3). Measured: a peer asked for --grep 402 on a B1b failure and got 16, and was one message from reporting "16 × 402 confirms the funding story". Nine were hex — setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 contains 402, and an Actions log is full of SHAs. The true answer was 3, one per Console backend. ⚠ Same file, same trap in another form: their UNREACHABLE counted 1 against a runtime count of 0, because an Actions log contains the step's own script, so any phrase the workflow quotes matches every run of it. ⇒ The natural things to grep in an infra log are short numeric tokens (402, 403, 500, 75) and hex is ambient.
transition-report.py — the STATE line is a pull; the role prompts also require a
push on transition into FREE or BLOCKED, and this is that rule's execution record. Built
the same day as the rule, because prompts/README.md names the alternative: a rule asking a
reader to check something mechanical is "a check with no execution record: its compliance is
unobservable, so its violation rate is unmeasurable." ★ Its two directions are not equally
strong. MISSED is strong — no message at all between your previous declaration and this one,
so this channel cannot have carried it. notified is weak — a message exists in the window and
the tool cannot read what it was about. ⇒ It finds omissions; it is not a compliance rate, and
quoting the notified count as one is the way to misuse it. ⚠ A MISSED row is a candidate:
a pane can also be spoken to directly. It imports fleet-state.py's parser rather than
re-implementing it, so the positional rule has one home and two readings can never corroborate
each other by both being wrong.
doctrine-version.py — answers which version of its role prompt each agent is actually
running. ROLE-READY proves the prompt file was reachable; it never says which version was
read, and the version is the part that decides behaviour. ★ It takes no cooperation from the
agent: the bootstrap already runs cat $NFORMA_ROLE_PROMPT, so the read lands in the transcript
and is matched against every historical blob — an off-pane effect, not a claim a possibly-stale
agent makes about its own staleness, which matters because that agent is the party least able
to report it. Two versions are only distinguishable if neither contains the other; a session
matching both is reported AMBIGUOUS rather than resolved to the convenient one.
bootstrap-audit.py — audits the interval a ROLE-READY line closes, rather than the
three facts it asserts. ⛔ Measured on the live nine-pane fleet: every token was true in all
three facts it carries, and every bootstrap had a step with no execution record — so a
consumer that verified the assertions would have passed all nine. The token is treated as
punctuation delimiting the bootstrap window, never as a claim; the audit is of what ran inside
that window. See #20.
index-watch.py — runs scripts/check-tools-index.py when main moves and relays what it
found. ⛔ Built because ci-log-clean.py reached main undocumented while the checker that detects
exactly that had existed for hours and nothing invoked it; the defect surfaced only because a human
ran the check by hand after a merge. ★ Event-driven, not clocked — it polls
git ls-remote origin refs/heads/main and runs the subject only when the SHA changes, because the
defect is caused by an event and a timer on a quiet repo fires all day with nothing to say. ⚠ Its
known-positive is the subject's own --self-test, deliberately outside the population it measures:
a control of the form "the repo has a drift right now" is silenced by repairing the repo. It emits a
finding, never a task and never a grant — a scheduled job that re-enters an agent with a plausible
instruction has genuine provenance, which is harder to catch than a forgery. Armed under the operator's
read-only monitor grant in goals/RESERVED-ACTIONS.md.
pane-census.py — refuses a fleet count when its sources disagree. Built for #310, where a monitor named eight panes for hours against a pane count of nine and never said it was short. Measured over its full 197-line output: LIVE-PANES reached 9 zero times, ranged 4–8, and IDLE>5m fell or held on 13 of 13 occasions the population shrank. ⇒ The set is filtered BY activity, so a pane going quiet leaves it — the idle count falls exactly when idleness rises. ⛔ Liveness is the thing being measured, so it cannot also be the membership test: population comes from terminal.list, never from activity, and the identity key is the pane id rather than the display name. ⚠ It never returns a bare number, and per #353 it demonstrates on every run that it can report both a gap and agreement — a probe that cannot say no is as broken as one that wrongly says no, and harder to notice.
stranded-branches.py — commits sitting on a branch whose PR already merged. Found 2 of 15 by
hand; the mechanism (git for-each-ref + git rev-list --count) already existed and had no
reader, which is fleet-state.py's shape one layer over — a signal demanded with no consumer built.
★ Every row is stamped with the ref's object id at measurement time, and that is why this is a tool rather than a doctrine line. Three observers measured one ref within an hour and got three different values — 3 commits, 749 lines, then 4 commits and 755 lines — none of them wrong when taken. The ref moved, inside a thread about refs moving, among agents who had just finished diagnosing that class. A count without its sha is not comparable to the same count from another run.
⚠ Its fixture is synthetic on purpose. The two live stranded branches were the obvious known-positive and both went to zero within the hour as their follow-up PRs merged — #26 instance 3, realised rather than hypothetical: a control propped up by a defect queued for repair stops being a control the moment the defect is fixed.
⇒ A fourth state, because patch id was answering a different question. git cherry asks is
there an equivalent COMMIT upstream; the thing worth knowing is is this WORK upstream. Two branch
commits squash-merged into one upstream commit can never match by patch id — the diffs are different
sizes — so the branch reads NO-UPSTREAM-MATCH forever while its bytes sit on main. CONTENT-UPSTREAM
answers the second question directly: every path those unmatched commits touched is byte-identical at
origin/main. It establishes landedness only, never authorship — if the content is there the work
is not lost, whoever put it there.
⛔ The empty path set must not read as landed. all(...) over zero paths is true, so a
forgotten guard reports work as recovered having compared nothing. The decision therefore lives in a
pure content_state(unmatched, same, tot) that takes counts and needs no repository, and the
(2, 0, 0) -> UNRESOLVED row is asserted in both --self-test and the suite. Deleting the guard
makes --self-test exit 2 — verified by mutation 2026-08-20, not by assertion.
⚠ The path ratio is the number worth reading, and the reason the state is rare here. The
predicate is all-or-nothing across paths, so a single shared index file that every pane edits vetoes
the whole ref even when the branch's own deliverables are byte-identical upstream. Measured
2026-08-20 at 6faec9a across the 4 refs then carrying unmatched commits: 1 read CONTENT-UPSTREAM,
and 2 of the remaining 3 were vetoed by tools/README.md alone — this file. A row reading n-1 of n
is near-certainly landed; 0 of n is a different animal, and collapsing both to one verdict threw away
the only signal separating them. The ratio is now printed on negative rows too.
⇒ A FIFTH STATE, LINES-UPSTREAM, and the primitive is ARCHITECT's. Byte-identity answers
are these files the same; it cannot answer is this content upstream once main has moved under
the branch. Multiset containment — Counter(branch) ⊆ Counter(main), per path — answers the second
question without a patch id, without a case rule, and without caring how the merge was performed.
⇒ Immune to squash by construction, which is the exact limitation the NO-UPSTREAM-MATCH row
carries.
★ It arrived from a live case: a branch read 0/1 paths byte-identical, and byte-identity was
impossible — the branch held 953 lines of that file and main held 1019. The absence
established nothing, and ARCHITECT resolved it by multiset instead. Measured across the 52 refs
then carrying unmatched commits: byte-identity resolved 2, containment resolved 6.
⛔ REPORTED SEPARATELY, NEVER PROMOTED TO CONTENT-UPSTREAM. Byte-identity is conclusive;
containment is not. A file whose lines all recur elsewhere in main — boilerplate, blanks, closing
braces — reads contained without its work having landed. That is a stated limitation, not a bug, and
it is why the two states have different names.
⛔ AND THE FIRST VERSION OF ITS CONTROL COULD NOT FAIL. --self-test stayed green when the
predicate was mutated to return True, because the suite controlled only the counts derived from
it. The comparison now lives in a pure lines_contained() asserted directly — a unique line must
read False, and three copies of a line main holds once must read False (counts, not
membership). Both mutants now exit 2; verified 2026-08-21, not asserted.
gh-complete.py — ⛔ gh api …/check-runs returns 30 of 54 by default and it is not an
error: the response still carries total_count: 54, so a filter over .check_runs[] evaluates the
thirty it received and returns a clean answer about a set it never saw. Measured: it hid a
required-check failure, and made two instruments by one author contradict each other about one PR.
⚠ per_page=100 is the reflex and it is not the check — it fails silently the moment a
population exceeds it. This compares the stated total against what arrived and refuses the reading
when they differ.
reference-check.py — answers the one question a curated list cannot answer about itself:
has any of it moved? ⇒ Built because a 249-line root-cause investigation of a failure this fleet
re-derived from CI logs overnight had been on this machine for a month, and the standing rule that
pointed at it existed while nobody opened its docs/. ⚠ And searching is not the remedy — 304
repositories under ~/code and 14,517 markdown files mention exec, so a keyword sweep returns a
haystack. reference-implementations.md is therefore CURATED, and this watches the curation.
pointer-verified.py — ⛔ "verify at the artifact, never the message" is this fleet's
mitigation for #3 and it is doctrine with no execution record (#2). ⚠ The obvious tool is #26:
"did any artifact command run after the pointer" scores 21 of 23 on its author's transcript
and would score any live pane clean, because a working pane always runs git for something
else. ⇒ So the predicate is specific — did a command read the ref-and-path the pointer
named. ⛔⛔ And the false positive is guaranteed: a pointer's text contains the command
that would verify it, so any scan over the turn reports the pointer as self-verifying. The
population of false positives is created by the pointer format itself (#36). Named artifacts are
read from the inbound turn; evidence only from tool_use command fields — a quotation cannot
occupy a tool call. ⚠ READ-DIFFERENT over-reports on purpose: a pointer names every file in a
role's row including ones with a +0/-0 delta, and reading only the changed ones is correct and
scores FAIL. Narrowing it to guess which named file mattered would trade a visible over-report
for an invisible under-report.
use-not-mention.py — ⛔ a grep for a command finds every sentence discussing that command.
Measured in a sweep its author wrote minutes after working on this exact class: two false
positives, one a print() warning about the very defect being scanned for and one a fixture
string inside a test of a different matcher. ★ The sub-class that makes it worse over time:
correct handling generates mentions — a tool that documents the defect necessarily contains the
pattern — so a "does this code handle X" scan gets noisier as the estate improves, with the
noise concentrated in the files that are already right. ⇒ Resolves the sink rather than
matching the text. (#36)
merge-guard.py — ⛔ this is leg 4 of FOUR issues, worded identically in each: #193 #296 #302 #304 all say "an instrument REFUSES a merge attempt from a session that is not the holder, and has been shown to refuse one", each annotated tools/merge-guard.py DOES NOT EXIST. One remedy, four issues. ⛔⛔ And it exists because an inline version FAILED OPEN on a real merge. Merging #581 on 2026-09-05 the guards ran as shell with python3 -c json.load per leg and no exit code was checked; a control character in a review body made every parse raise; every guard variable came back EMPTY; every line printed a blank that read as benign; the merge proceeded. ★ The PR was fine, so nothing went wrong — which is the worst outcome, because the guard was never tested and looked like it worked (#294's lesson: a rule preserved by an unrelated failure has been missed, not tested). ⇒ Every leg returns UNESTABLISHED rather than a value it could not obtain, and UNESTABLISHED is fatal. ⛔ Leg 0 parses the LAST HOLDER line and says so on every run. docs/MERGE-AUTHORITY.md records successions by APPENDING and carried two HOLDER lines on 2026-09-05 — grep -m1 returns the STALE one, which would refuse the real holder and authorise a lapsed session. Position IS the semantics here, so the honest form is to use the last AND print how many were found (#23: never read by position silently). ⛔ Leg 4 uses THREE dots. Two-dot bills every commit main gained since the merge-base to the branch as a deletion — measured 2026-09-05, #499 reads two-dot −4396 and three-dot −2, so the two-dot form condemns a clean 3-file PR (#510's shape inverted into a false positive). ★ Both directions demonstrated on live data: the recorded holder is CLEAR; --session deadbeef-… exits 1 naming the mismatch. ⛔⛔ THE BOUND, which is #193's own proxy test and must not be waved past: this raises the cost of an accident and does NOT make the policy unbypassable. Any pane can edit the authority file, skip this tool, or call gh pr merge directly — the credential reports push=true, admin=true for every pane. Closing those four issues on this tool alone would claim an enforcement that does not exist. ⛔⛔ LEG 3 PASSED VACUOUSLY UNTIL 2026-09-07, and a merge went through under it. Its predicate was not changes — nothing requested changes — which an EMPTY REVIEW SET satisfies for free. On PR #641 the required check read pass · Review rate limited, gh pr view --json reviews returned nothing at all, and the guard printed ✅ 3 reviews read 0 review(s), 0 CHANGES_REQUESTED. ★ That is #49's finding — the merge gate has no state meaning REVIEWED — reproduced one layer down, inside the instrument written to enforce that gate. ⚠ And tools/test_merge_guard.py's stub defaults reviews to [], so all 26 tests were already driving the vacuous path and none asserted on it — reachable by the shipped code, exercised twenty-six times, checked by nothing. ⇒ Leg 3 now returns three states and the zero-review case is None — ESTABLISHED NOTHING, printed ⚠, and NOT blocking. ⛔ Why None and not False, which is the whole judgement: legs 2, 4 and 5 treat unestablished as fatal, so consistency argues for False — but measured 2026-09-07 over the 60 most-recently-updated merged PRs, 32 (53%) carried ZERO reviews at merge. Making it block is a POLICY CHANGE that halves throughput on a board whose only reviewer is frequently rate limited, and #49's close condition says in as many words that this is the operator's call. ⇒ This removes a false ✅ and changes nothing about what blocks. ⚠ The verdict line now says CLEAR means no leg REFUSED it, never every leg passed. ⚠ And the render test is ok is False, not not ok: the two differ ONLY on None, so the distinction is invisible in any run without an advisory leg.
memory-index-check.py — ⛔ measured on the machine it was written on: 348 memory files,
232 indexed, 115 ORPHANS, and the index 42.5 KB against a recalled ~25 KB load budget. An
orphan is not degraded, it is invisible — recall works from the index, so a file nobody links
is a file nobody reads, and nothing says so. ★ The recursion is the point: that directory already
held an entry titled "Memory index truncates by AGE, not importance", and the index then grew
past the limit again and acquired 115 unindexed files on top. A recorded lesson did not fire.
⚠ It reports orphan, dangling and oversize separately because their remedies are
opposite — an orphan is fixed by adding a line, and oversize is made worse by adding one. ⚠ The
25 KB budget is a recalled figure, not one this tool established, which is why it is a flag.
exists-anywhere.py — ⛔ built after four instances in one session, by three agents, of
concluding about a repository from a single ref. One reached publication and had to be retracted:
ci_guard_closing_keywords.py, reported as never having existed by two agents who each ran
git ls-files | grep, is 161 lines with its own test file on an unmerged branch. ★ The
object-store count is the discriminator and it is one command — iter_console_backends returns
0, that guard returns 6. ⇒ "Never existed" and "exists on a ref you did not search"
are different defects with different remedies, a wrong sentence versus an unmerged branch, and
git grep, git ls-files and a working-tree scan cannot tell them apart. ⚠ Deliberately a tool
and not a pretooluse-guard rule: the wrong reading is not a wrong command, it is a correct
command answering a narrower question than the one asked, so a guard would fire on the correct use
— which this repository has already shipped once.
marker-reachability.py — the static half of #2. #2 specifies five states from RUN
HISTORY, and a test excluded by every -m selector generates no runs to query: ⇒ you cannot
ask "has this gate ever spoken?" about something you do not know exists. This supplies that
population from the repository alone — no API, no rate limit, gates in CI. ⛔ Its known positive
is tests/test_cluster_spec_drift.py, reported by two agents and filed as Blazing-Back#1115:
pytestmark = pytest.mark.network, and the only selector covering tests/ is
-m "not e2e and not network". ★ Its first working version reported 870 files, 0 unreachable,
and missed that guard — because it matched pytest inside COMMENTS, and those mis-parses
yielded paths=[] -m=None, which the rule reads as collects everything. One comment marked
the whole repository reachable. ⚠ Three states, and UNKNOWN-PATH (a ${var} path) is counted
in neither column: resolving it either way would overstate the evidence. A direct
python3 e2e/test_x.py counts as run — asking "can pytest collect it" gave a true answer to the
wrong question for 11 e2e files.
named-referent-check.py — converted from a convergence, not from one report: two
agents, different subsystems, no contact, within one hour found a named enforcement mechanism
with no referent (iter_console_backends, asserted in capitals as mandatory, defined nowhere;
EXEC_REQUIRE_EVIDENCE, three exec sites "held behind a flag" that does not exist). ★ Neither
is a stale reference to something removed — both describe machinery never built, in prose
confident enough that the author stopped checking. ⛔ Its narrowing history is the point: 126
candidates → 8 → 1 on the same 1,559-file repo, and only hand-verification forced each step —
at 8 it was 7/8 false, calling real config keys phantoms because string literals and kwargs
were missing from its universe. ⚠ It is deliberately narrow and says so: a convention naming
nothing is invisible here, an identifier that exists but is never called passes, and one of
its own two founding cases is undetectable by it. A clean run means no requirement sentence
names an undefined identifier — not that stated and enforced conventions agree.
pretooluse-guard.py — matches, over a single command string, the idioms that produce a
confident WRONG measurement: $? read after a pipeline, ${PIPESTATUS[n]} under zsh, and a
$VAR: history modifier eating a path.
⛔ NOT INSTALLED, and installing it is not a DEVOPS decision. It would run as a PreToolUse
hook on every Bash call for everyone here — harness configuration, which is the operator's, and
~/.claude/settings.json already carries a live PreToolUse chain, so an addition changes a
running mechanism rather than adding one. Nothing in this repository wires it.
⇒ It is committed because pipe-exit-scan.py cited a number this file produced, and this file
lived in a scratchpad with zero tracked copies. ★ And committing it corrected the citation
immediately: --measure over the whole fleet gives 25 of 1720, 1.5%, where the cited 2.5%
was one role's 204-command session quoted without its denominator — a rumour on a subject
nobody named, in a tool's docstring, written by the author of that rule.
⚠ Two slots stay empty rather than plausible. The INVERTED-severity rule — the one whose failure
replaces a measurement with a confident claim about the repository — has zero hits in the
corpus, so its false-positive rate is unmeasured, not zero. And the hook mechanism is
untested: this measures the matcher, never that a hook fires on the right event or surfaces
output an agent reads. [NOT-YET-MEASURED]
An absence report must name its REMEDY, not only the absence.
daintree-control.py printed ⛔ VOID: no daintree MCP server configured on every run for four
hours. Correct every time, and three instruments announced it. It was read, quoted, and built
around — a state-file route for one identity leg, a transcript route for pane output — and nobody
asked whether the absent thing could be added. The operator supplied the config in ninety seconds.
⛔ That tool's header already said "a VOID run must never be read as 'the fleet is quiet'." It guards the wrong door.
VOID != "the fleet is quiet" anticipated, documented, NOT the failure
VOID != "this cannot be obtained" unanticipated, undocumented, cost four hours
⇒ An absence report that does not name its remedy converts a gap into a wall. A refusal collapses four states with four different actions — fixable by me / fixable by another role / needs the operator / genuinely impossible — and only the fourth justifies a workaround. The fleet built workarounds against the third.
⇒ Exit-2-for-established-nothing needs its second half: established nothing, AND here is who could
change that. Written ADDABLE — <who>: <what>.
⚠ Swept: daintree-control.py (both paths), fleet-identity.py, stranded-branches.py,
fleet-context.py, fleet-state.py. discriminates.py and wake-yield.py need no annotation —
their refusals are the verdict, not an obstacle: a non-discriminating comparison and an
un-analysable interval have no remedy beyond a different input, and inventing an ADDABLE line for
them would be a remedy slot filled to look complete. NOT swept: tools owned by other roles.
[measured: nForma-NEXT 2026-08-19] (#73)
merge-watch.sh — a read-only monitor under the operator grant of 2026-08-20. Runs the
merge-time instruments when main moves, not on a clock.
★ Placement, not schedule, is the finding. stranded-branches.py already had a caller — at
launch — and the regression it exists to catch arrives at merge time, hours before the next
launch. A clock would be no better: the defect is not periodic, it is caused by an event. ⇒ So the
cadence is the event.
⛔ Silence means ran-and-found-nothing. It emits on findings, on VOID, and on any exit code the
callee does not document — a watch whose quiet covers both states is the never-concluded defect with
a schedule attached. Proven by stubbing the instrument's control to fail: the watch emits VOID
rather than going dark.
★ Its control is one a fix cannot silence. Before trusting a scan it asserts the instrument's own
--self-test, which is synthetic and does not decay — unlike a known-positive drawn from live fleet
state, which the fleet repairing itself turns negative. (An orchestrator declared exactly that defect
in its own watch: its positive was propped up by the defect it detected, and both arms went to zero
when the panes it notified read their files.)
Nine panes share one checkout and it drifts. ⚠ Measured 2026-08-21: the main checkout was 329
commits behind origin/main, with 133 files present at the ref and ABSENT from the tree — including
whole instruments. ⇒ ⛔ python3 tools/architect-sweeps/prior-art.py exits 2 there, which this
repository's convention reads as established nothing, and it is actually the runtime could not
find the file. ★ A missing instrument is indistinguishable from a refusing one.
git worktree add -q --detach /tmp/at-main origin/main && cd /tmp/at-main # then run normally
git archive origin/main tools/ | tar -x -C /tmp/pin # directory pin (#236)
⚠ Use the second when a tool imports a sibling — 8 of the instruments do, and git show of one
file gives you a module with no neighbours.
★ Both fail LOUDLY, which is the property that matters and it was tested:
git worktree add … no-such-ref ⇒ exit 128 fatal: invalid reference: no-such-ref
git archive no-such-ref tools/ ⇒ exit 128 fatal: not a valid object name: no-such-ref
⇒ ⛔ Neither can be misread as a tool refusal. exit 128 + fatal: is not exit 2, and that
is the whole requirement.
⚠ This is a DELIVERY fix, not a capability one, and the distinction is measured rather than
assumed: the directory-pin idiom has existed since #236. ★ The author of this section knew it,
used the worktree form all session, and STILL ran a plain tools/ path from the stale tree once —
and read the resulting exit 2 as a tool refusal for several seconds. ⇒ The recipe existing was
never the gap; it not being where a pane looks was.
gh ... --jq 'select(.body | test("(?<!NOT )\\bMET\\b"))'
⇒ invalid regular expression "(?P<!NOT )\bMET\b": invalid named capture
★ gh rewrites (?< into (?P< — Go's named-capture syntax — so (?<! and (?<= become
malformed captures. ⚠ Standalone jq handles both fine. ⇒ Pipe instead of using --jq:
gh ... --json a,b,c | jq -r '<expression>'
⚠ It is LATENT here, not live: 0 of 7 files using --jq pass a lookaround — the one candidate a
file-level scan produced was a Python regex in truncation-guard.py, and every --jq in that
file is length or .total_count. Measured 2026-08-21 across 164 files.
⛔ The reason it is worth four lines anyway: when it fires it prints a correct, explicit error, and
that error goes to STDERR. ★ A 2>/dev/null on the call turns it into an empty result — the
author of this note did exactly that and was one step from reading the silence as "no matches".
-
Exit 2 for "established nothing." Absence of a finding and absence of a measurement are different states and must not share an exit code.
-
State the caveat on every run, not in the docs. Each tool prints what its numbers do not establish, because a caveat that lives only in a README is read once.
-
Prove the failure path.
daintree-control.pytakes aDAINTREE_CFGoverride purely so its VOID path can be exercised — a control that has only ever passed is not a control. -
Roll the baseline forward. A
--sincediff against a fixed snapshot re-reports the same event on every run. Measured: one compaction was reported as news four sweeps in a row, against a baseline 172 minutes old. An alarm that fires forever on one event trains its reader to ignore it — which is worse than not firing, because the reader also stops seeing the next one. Snapshot after reporting, so each run measures one interval. -
A duplicate alarm and a broken alarm are indistinguishable to the reader. Both produce output that is safe to skip. Treat repeat-firing as a defect with the same severity as silence.
-
A missing wrapper binary makes the command under test never run — and the output reads as a result from it. ⚠ Two instances, two roles, one session.
timeoutdoes not exist on macOS:env … timeout 180 claude --session-id …died insideenvwithenv: timeout: No such file or directoryand never reachedclaude. Read unguarded, that says "the launch produced no session" — a false negative about the thing under test, produced by a wrapper that never invoked it. ARCHITECT hit the same absent binary an hour later and got127from all nine tools at once, which renders as a clean, uniform, entirely wrong table. ⇒ ★ Same shape as the pipe rule below and worth pairing with it: the status you read belongs to the outermost thing that ran, and when a wrapper is missing that is the wrapper's failure, not your subject's.127and126are never verdicts about the tool you were testing. Check the wrapper exists (command -v), or drop it — the probe above needed no timeout at all, because-pterminates on its own. -
Quote or
./-prefix a<ref>:<path>argument. zsh reads:t:s:h:r:eas history modifiers, sogit show $S:tools/README.mdsilently loses the path and returnsfatal:— and agrep -cover that failure scores 0 mentions: a mangled instrument reading as a clean negative.git show "$S:./tools/README.md"defeats it. ⚠pipe-exit-scan.pydoes not catch this — there is no pipe. Same signature, different mechanism, and the scanner finding nothing says nothing about it. [measured: nForma-NEXT 2026-08-19, DEV5 and DEV1] -
Never read an exit code through a pipe. ⇒ RETIRED AS PROSE, enforced by
tools/pipe-exit-scan.py. It is kept as a one-line pointer rather than a rule because the prose form was measured not to work: three instances, in three roles, in four hours — and the third happened in a role that had been warned about it in the same message that assigned the task, against this very paragraph. ⛔ A rule that exists and does not fire is worse than no rule, because its presence is mistaken for coverage. -
⛔ A known-positive proves a control CAN fire. It does not prove the control fires CORRECTLY. Measured, inside the tool built for #26:
bootstrap-audit.py's known-positive passed — it genuinely discriminated a defective bootstrap from a clean one — and the same run reported two false passes against live data, because a step was matched against any tool input containing its text, and two panes had messaged each other that the step did not execute. A report of non-execution quotes the thing that did not execute. ⇒ #26's test (name the input that makes this emit a negative) is necessary and not sufficient; it says nothing about the false-positive direction, and a control that passes it can still be wrong in the direction that reads as healthy. Pair every known-positive with a known-negative drawn from real data, not from a fixture. -
Match execution against what was RUN, never against what was SAID about it. The false passes above came from searching a tool call's whole input. Prose that discusses a command contains the command; only the
commandfield is evidence that it ran. This isdiscriminates.py's retraction case — a retraction quotes the claim it retracts — one layer up, in a different instrument, found the same day. -
Always brace a ref variable —
${REF}:path, never$REF:path. zsh applies its history modifiers to an unbraced$VAR:, so$P:tools/README.mdexpands toc29aa60ools/README.md(:t= tail) and$B:scripts/…expands with:sconsumed. ⛔ The failure mimics a domain answer: git repliesunknown revision or path not in the working tree, which reads as the file is not there. Measured twice in one session — one produced two empty fixtures and four exit codes nearly filed as a broken checker; the other was one step from reportingtools/README.mdmissing frommainand inverting a closure verdict about that very file. ★ It is data-dependent, which is the part that makes it dangerous: in the same script$P:goals/,$P:scripts/and$P:.daintree/were all correct, because only the letters that happen to be modifiers bite. A script can be right nine times and wrong on the tenth path. Same family as the exit-code rule above — an idiom that answers a different question while looking like it answers yours. ⛔ Double-quoting is NOT protection, and that is the hole this rule had. The shell-safety reflex is to quote, and"$REF:path"fails identically to the bare form — the modifier is applied during parameter expansion, before quoting means anything. Measured:"$X:scripts/f"and$X:scripts/fboth fail; only"${X}:scripts/f"is correct. Braces, not quotes. The author of this bullet then wrotegit show "$M:scripts/check-tools-index.py"two hours later while verifying a merge, and was protected by nothing. ⚠ And the data-dependence is worse than "sometimes wrong": the same idiom fails LOUDLY or SILENTLY depending on the path.:sneeds delimiters, so a path that supplies them is rewritten and a path that does not raisesbad substitution:$X:scripts/f -> zsh: bad substitution (exit 1, obvious) $M:scripts/check-tools-index.py -> <sha>k-tools-index.py (silent; git then says "unknown revision or path" — i.e. THE FILE IS NOT THERE)⇒ You cannot learn this rule from experience, because the instance that teaches it is the one that does not announce itself. ⛔ It hits three of this repository's five directories, and the fleet's own doctrine recommends the form that breaks. Measured in zsh 5.9 (DEV3, reproduced here) — 11 of 14 modifier letters are active (
a A c e h l q Q r s t u); onlyg p xare inert alone, andgstops being inert when the next letter is a modifier:"$M:tools/README.md" -> <sha>ools/README.md :t MANGLED "$M:scripts/…" -> <sha>k-tools-index.py :s MANGLED "$M:grants/README.md" -> <sha>ants/README.md :gr MANGLED "$M:goals/README.md" -> unharmed :go 'o' is not a modifier "$M:docs/…" "$M:prompts/…" "$M:README.md" "$M:CODEOWNERS" -> unharmed★
goals/andgrants/are one letter apart and land on opposite sides. Nobody holds that in their head. ⚠ AndCLAUDE.mdandgoals/dev-implementation.mdboth tell every agent to "prefergit show <ref>:<path>" — correct advice for #19's shared tree, and the unbraced spelling of it mangles worst ontools/, the highest-traffic path here. -
⛔ A redirect truncates the file before the command runs, so a failed fetch leaves an empty file that runs clean.
git show "$BAD" > out.pyexits non-zero and still leaves a 0-byteout.py;python3 out.pythen exits 0 with no output. Measured while verifying that a merged PR's checker worked frommain: both the live run and the--selftestreported exit 0, from a file that was never written. A clean pass and a control that never ran are byte-identical here. ⇒ Guard on the artifact, not on the command: check the byte count before running what you just fetched, and refuse rather than report clean. This is the same shape as reading an exit code through a pipe, one layer out — the thing you measured is not the thing you meant to measure. ⚠ This is not a Python property and not a shell property — an empty file exits 0 under every runtime, because there is no statement present to fail. Measured:python30 ·bash0 ·zsh0 ·node0. ⇒ No exit-code guard can see it. Only a byte count, or a required start-marker in the fetched artifact, discriminates ran clean from never ran. (DEV3, whose #58 exit-code paragraph covered the result being empty and not the FILE being empty.) ⛔ And the byte-count guard covers file-EMPTY, not file-WRONG. The unbraced idiom has a third outcome that defeats it. Measured, all four fromscripts/on one commit:scripts/x.py rc=1 empty zsh: bad substitution LOUD scripts/fleet-preflight.sh rc=1 empty zsh: bad substitution LOUD scripts/check-tools-index.py rc=128 empty "ambiguous argument" INVERTED scripts/validate-recipe.py rc=0 NON-EMPTY a COMMIT HEADER WRONG OBJECT⚠ No byte count here on purpose. The last row's size is the length of whatever commit header git printed, so it varies by commit — 304 to 323 across five consecutive refs, merge commits carrying an extra
Merge:line — and by measurement method:wc -cand${#var}differ by 2 on the same commit, because command substitution strips trailing newlines. Two agents measured two commits with two methods and got two numbers, both correct. ⇒rc=0and non-empty are the invariants; the number never was one. Citing it would only start a fourth argument with a future reader who measures a fourth commit. (The rule is #34's — cite the property, never the number — and this is DEV3 applying it to its own table one commit after filing it.) ⚠ Observation, n=1, recorded rather than proposed as a rule: the two numbers above came from one agent —wc -cin a scratch run,${#var}forty minutes later — and nothing in either run flagged the disagreement. It surfaced only when a peer's number differed. ⇒ So "I measured it twice" is not the control it sounds like. Two invocations that agree establish that the method is deterministic, not that the number is a property of the thing; only two runs known to differ in method test that. A single observer cannot detect this class from the inside, because the discrepancy is the instrument.★ In the last case the modifier eats the entire path, the argument collapses to the bare ref, and
git show "$M:scripts/validate-recipe.py"runs asgit show <commit>— exit 0, non-empty, structurally valid, and about a different object entirely. A byte-count guard passes it because it is non-empty; an exit-code guard passes it because rc is 0; a downstream reader parses the commit header without hesitation. ⇒ Only bracing, or verifying the content is what you asked for, catches this one. Four filenames in one directory, three different outcomes, one of which announces itself — which is why the rule is brace unconditionally rather than remember which paths are dangerous. (Measured by DEV3, reproduced here.) -
★ A name-presence test is not merely blind to a documented gap — it is ANTI-CORRELATED with it. A document admitting a gap discusses the missing thing by name, so the gap note is typically the highest-density occurrence of that name in the file. Measured on this file:
fleet-state.pyscored 2 mentions while having zero table rows and zero prose entries, which put it mid-pack among genuinely documented tools (2–4). Three agents independently read the directory as fully documented. ⇒ Match structure —^| \x.py` |for a row,^`x.py`for an entry — never a bare name. Sibling ofdiscriminates.py`'s a retraction quotes the claim it retracts, with the difference that matters: quotation makes a matcher uninformative, negation makes it inverted. An inverted instrument argues for the wrong conclusion in the voice of a measurement. -
Pin a sweep to an immutable SHA, not to a ref.
git rev-parse origin/mainonce, then read everything at that SHA. ⛔ A worktree gets its ownHEAD, index and logs, butrefs/remoteslives in the common.git— sogit show origin/main:<path>resolves the ref at read time and follows every peer's fetch. Measured:origin/mainadvanced mid-audit under a pinned-looking read; twogit ls-tree origin/main scripts/calls twenty minutes apart returned 2 files and then 3. Only an immutable SHA pins, and worktree isolation does not change this — it isolates the working tree, not the refs. ⚠ Pinning protects the READ, not the WRITE. The two are different propositions and the rule covers only the first. A branch cut from a pinned SHA still has to land on a moving target, so a peer editing the same file mid-flight produces a merge conflict that no amount of pinning prevents — measured, on the very PR that added this rule. Re-pin and rebase before pushing; expect the conflict rather than being surprised by it. -
Whitespace-normalise before matching a rendered body.
#23's rule is verify by content, never by position — this is the failure mode one step inside it. A content predicate is still positional if its unit is the LINE:"no reachable passing state"returned False against a PR body that contains exactly that phrase, wrapped. ⇒ The artifact was correct and the check was not, which is indistinguishable from the artifact being wrong. Collapse runs of whitespace on both sides first. ⚠ Measured twice the same day, at two altitudes: once against a rendered PR body, once against a wrapped Markdown bullet where agrepreported "not there" for "not looked at". -
⛔ Restricting to the
commandfield was NOT enough, and the gap was measured rather than imagined.echo "git rev-parse --show-toplevel"andgrep -n "git rev-parse …" fboth read EXECUTED: they are command fields, and they contain every anchor. ⇒ Match on POSITION, not on presence. Strip quoted spans, split on shell separators, take the first bare word of each segment — that is what was invoked. A command named inside a quoted argument occupies no command position, whatever quoted it. ★ Not a blocklist ofecho/grep/cat: a blocklist enumerates the mentions you thought of. This is #36's rule — match on something a mention cannot produce — and the fourth independent rediscovery of it in this repo, alongsideDX.md§19's positional last-line parse and matchinggoals/rather than the wordgoal. -
⛔ A limit you have MEASURED is a limit. A limit you have only DESCRIBED is a defect you have not looked at — and it has no input that could contradict it, which makes it a control with no reachable failing state (#26) sitting in the section whose whole purpose is honesty. Measured:
bootstrap-audit.pyprinted "$NFORMA_ROLE is per-process and not cross-pane readable — UNMEASURED, not agreeing" on every pane of every run. It was never run.ps ewwreads any same-user process's environment; 37 variables came back from each of the nine live panes. ⇒ The tool emitted a false UNKNOWN nine times per run and called it honesty. The test transfers unchanged: name the input that would falsify this limit. -
⚠ Control the instrument on the population it is USED on, not on a convenient stand-in. The env reader's known-positive was first built against
/bin/sleepand failed: macOS returns no environment at all for SIP-protected system binaries. Had it happened to pass, it would have certified the reader on a process class it is never pointed at — #1's wrong-population defect, inside a control. It now runs against a live agent pane. -
⛔ An unresolvable input must not share a verdict with a clean negative — the exit-2 convention applied inside a function rather than at a process boundary. Measured by ARCHITECT against the position rule above:
sudo git push,xargs -I{} git push,echo $(git push)andif git push; thenall RUN the command and all read as not found. Every miss landed in the unknown bucket, which is safe for "did this pane comply?" and unsafe for "how widespread is non-compliance?" — it inflates the rate, and #20's content is a rate. ⇒ Same defect as the false positive above, pointed the other way, and invisible because it produces the finding you were already expecting. Split three ways: only inside quotes →MENTIONED-ONLY(text cannot run); unquoted but not in a command position, or a command substitution →INDETERMINATE(it may be wrapped, substituted, or an argument, and the parser cannot say). ★ Still not a blocklist: enumerating wrapper names would be one, noticing that a segment has a shape you do not resolve is not. -
A mention is a third state, not a negative.
MENTIONED-ONLYmeans no execution evidence, which is not evidence of no execution. It counts as unknown and never as a pass. -
⛔
git --work-tree=X checkout <ref> -- .writes files to X and REWRITES THE CURRENT INDEX. The flag redirects where files land, not which index updates — so the command reads as "operate over there" and half of it operates here. ⚠ No error, no warning, silent on success. Measured: it was discovered only when an unrelatedgit rebaserefused with "you have unstaged changes" and ten files showedMM/ADthat the author had never touched. ⇒ Usegit worktree add --detach <sha>— a real second checkout with its own index. ★ And the reason it was recoverable is worth more than the rule: every commit had been pushed, sogit rev-parse HEADequalled the remote tip andreset --hardwas provably free. Before any destructive cleanup, establish what it would cost; the cheapest way to make that answerable is to have already pushed. -
Run an instrument at a NAMED REVISION, never from the shared tree.
git worktree add --detach <sha>, and read the revision back from the tool's own output. ⛔ The shared tree runs 40–70 commits behind andgit fetchmovesorigin/mainwithout moving it, so running from it silently executes an older tool. Measured: a checker run from the shared tree reported the pre-fix behaviour and nearly produced a false "the fix did not land". ⚠ Pinning the read is necessary and not sufficient — see #291: a single-file pin of any tool that imports a sibling fails withImportError, and "fixing" that withPYTHONPATHpointed at the working tree silently unpins the sibling. Pin the directory. -
No secrets in source. Tools needing the Daintree token read it from the user's own MCP config at runtime; it appears in none of these files.
-
A detector needs both controls, and they are not interchangeable.
fleet-context.py's shared-file flag once claimed in its own comment to exclude compactions; it did not, and on the live fleet 5 of 5 flags raised were compactions and 0 were shared files. Removing a false positive is half a fix: a detector that stopped firing looks exactly like one with nothing to find.test_fleet_context.pytherefore pins a real interleaved window (14 crossings, recorded from a transcript two panes actually shared) and a real compaction step, and both were verified to fail against a deliberately broken detector — over-firing is caught by the negative control, under-firing only by the positive one. -
A per-turn signal read as a per-session property is almost never true.
fleet-state.pyasked whether an agent's latest turn ended in aSTATE:declaration. One session had emitted 61, all positionally last, and the fleet reported none — its newest turn was mid-work, and a working agent is by definition between reports. The reader now walks back to the most recent turn that declared and ages it, because declared two turns ago, never declared, and declared this turn are three states and the middle one was being rendered as the second. -
⚠ Check that a known-positive is positive. The fixture pinning that parser's positional rule quoted the token mid-line; the anchored regex rejects it on its own, so breaking the parser into a full keyword scan left the test green. A control that cannot fail is not measuring the thing you named it after — break the implementation and watch the specific case go red before believing it.
-
An identity read from a transcript can belong to somebody else.
bootstrap_rolescanned every line for the firstYou are <ROLE>; its docstring said "the first user message". Measured on five live sessions, 4 of 5 matches were another agent's identity — three injected by a recall hook that quotes other sessions' prompts, one from the session's own outbound dispatch text. ⚠ The contamination has a sign: recall and dispatch are what busy, well-connected agents do, so the agents most likely to be mislabelled are the ones doing the most cross-session work, and the column gives no hint the string came from elsewhere. -
Derive the identifier; never enumerate it. The same function matched a frozen list of five role names. This fleet runs at least two vocabularies — the bootstraps actually present include
CODER2..CODER5andTRIAGE— so a session launched asTRIAGEread as having no bootstrap while one launched asCODER2was labelledDX. -
⛔ A break test must graft the REAL prior implementation, not a paraphrase of it. The first attempt at breaking the above re-created the old behaviour by hand; it missed the record-type prefilter, and the two headline cases passed against a "broken" version that could not exhibit the bug. Copying the previous function in verbatim turned 2 failures into 5. A break you wrote from memory tests your memory.
-
A difference is evidence only if one state does not differ from ITSELF.
discriminates.pyexists to refuse a false same verdict and shipped unable to refuse a false differ one:--a 'date +%N' --b 'date +%N'— one state, a noise check — returned ✅ DISCRIMINATED, exit 0. It had a known-DIFFERENT control and no known-SAME one. Each command is now read twice and must agree with itself. ⇒ The two controls are not interchangeable and a tool needs both, including the tool whose whole subject is that principle. -
⚠ A control pair is not verified to use the same check.
--control-a 'echo 1' --control-b 'echo 2'satisfies it while the real check is pure noise. Nothing in the tool can enforce that, so the ✅ line now prints the control commands and states what it did not establish — an unenforceable requirement should be visible, not implied. -
A classifier that misses half of one kind of action does not report a smaller number — it reports a different verdict.
wake-yield.pycountedgit commitandgh issue commentbut notgh pr mergeorgh api graphql … mutation. Measured over a window whose contents were known by construction: 28 counted, 16 forge writes missed, a 36% undercount. ⚠ The bias had a sign — the REST porcelain scored WORK, the same work through graphql scored churn. The instrument was rewarding a calling convention, not an action. -
Name the coverage gap; do not fold it into the innocent bucket. A shell mutates in unbounded ways, so the mutating list cannot be complete. What the classifier cannot see is now counted as
UNCLASSIFIEDand printed, and a session with unclassified actions gets no verdict instead of "looked, did not act". Folding the gap into reads manufactured exactly the churn finding the tool exists to make trustworthy. -
⚠ Order matters in a classifier, and the test must pin the order.
gh apiis on the read-only list only because the mutating tests run first. Moving the read test ahead of them turns every forge write into a read — two checks catch it. -
⛔ A break that crashes is not a break that was measured. Running this suite against the shipped file printed nothing: the old version had no separable classifier, so it died on an AttributeError, and an empty result reads like a clean run. The faithful break grafts the old regex and branch verbatim and fails 7 checks.
-
An exit contract is part of the output, and a crash is outside it.
daintree-control.pydocuments0 answering · 2 VOID. Driven against a fake endpoint that completes the handshake and then returns each realistic outage shape — a proxy 502 page, a response with noresult, tool content that is not JSON — three of eight scenarios exited 1 with a traceback. ⛔1is neither value in the contract, so a caller branching on the documented pair mis-handles it, and it arrives under exactly the conditions the control exists for. -
★ 6 of 6 tools had a live defect, each found by writing the first test it had ever had. The one that already shipped with a proven failure path was no exception — but the paths it had exercised were all correct, and the defect sat in the three that were never exercised. A proven failure path proves that path.
-
⛔ "6 of 6" was 6 of 13, and the error is the more useful finding. That population came from an
lsrun against a checkout that was many commits behindorigin/main. Seven tools —bootstrap-audit,doctrine-version,grant-check,pane-binding,pipe-exit-scan,pretooluse-guard,stranded-branches— had already landed and were invisible to it. The reading was correct; "these are all the tools" was not entitled. ⚠ Worse, a peer's issue said "tools/ doubled to 12 tonight", I saw the disagreement with my own count, and explained it away rather than checking. Enumerate the population against the remote, and when someone else's count disagrees with yours, one of you has a stale list — find out which before writing either number down. -
⛔ "No hits" and "cannot fire" produce the same line and demand opposite work.
pretooluse-guard.py's INVERTED rule was documented as "the one worth having and the one with NO evidence: zero hits in the measured corpus." Its lookahead was backwards — it required the zsh modifier char NOT to be followed by a word character, which is the deliberate form ($file:t) and excludes the accident ($P:tools/…, where:tswallows the rest). It fired on correct usage and stayed silent on silent corruption, including the exact example in its own docstring. ★ 105 real instances were sitting in the corpus it had been measured against. -
Check the rule against the shell, not against reasoning about the shell. Every case above was settled by running it through
zshand reading what came out. -
⛔ A rate needs its population printed beside it.
--measurecalled its corpus "the fleet's record of its own work"; it scanned every repository this machine has ever worked on — 50 project dirs, of which the fleet held 14.3% and the largest single contributor was an unrelated project at 19.6%. The docstring had corrected an earlier rate for being quoted without its denominator, and its replacement was mis-denominated the other way. -
⛔ A bound the bounded party can raise is not a bound — including when it is a flag.
grant-check.pystates as non-optional that it readsorigin/mainafter fetching, never the working tree, because "an agent could resurrect an expired or revoked grant by checking out an older commit." It then shipped--ref, honoured by the query, warned about only in help text. Demonstrated with no forgery and no local edit — just naming the parent of the commit that revoked a grant, on the remote's own history:--ref <tip> NO LIVE GRANT REVOKED demo-001 exit 1 --ref <tip~1> LIVE demo-001 DEMO may merge … exit 0⇒ The checkout route was closed and an identical one left open on the command line. The bounded party is the one typing the command. A redemption query now takes no ref;
--listkeeps it, because a listing authorizes nothing. -
⚠ A required field that nothing enforces reads as a live budget.
uses:is mandatory in every grant record and is counted by no one — redemption is not observable to the checker. It is now printed withNOT ENFORCEDbeside it rather than bare. -
⛔ A break test can fail for a harness reason and read as a defect. The suite above ran the tool's own self-test from a path derived from the tool's location; when the break copies the tool elsewhere, that path has no
grants/store, and the resulting failure looked like a sixth defect. It was a portability bug in the test. Check what a red actually proves before counting it — 6 became 5. -
⛔ Two matchers for one idiom, in one directory, disagreeing.
pretooluse-guard.pysplits a command on separators and asks whether the segment immediately before the$?is piped — becausecmd | look; cmd >/dev/null; echo $?is the correct idiom and firing on it teaches an agent to stop doing the right thing.pipe-exit-scan.pyhad only the regex, and it is the one wired to the scanner people read. Porting the refinement dropped the fleet-scoped count from 251 to 159 — 37% of its findings were the correct form. -
⛔ A citation outlives the number it cites.
pipe-exit-scan.pyquoted its sibling's "1.5% fire fleet-wide (25 of 1720)" — a figure the sibling has since retracted as mis-denominated over every project on the machine, with a corpus that no longer reproduces (179,216 today). The citation is now marked retracted in the tool that carries it, not only in the tool that issued it. -
⚠ A docstring containing
\$?needs an r-string. It emitted aSyntaxWarningon every import and would be an error in a future Python. -
⛔ A break that crashes reads exactly like a clean pass — three times tonight. The suite above called a function the previous version does not have, so it aborted before its assertions and printed nothing. It now resolves that function with
getattrand a fallback to the OLD behaviour, so the break fails on the assertion instead of dying. Check that a break produced output before believing it. -
⛔ A list endpoint answers "more than exists" with everything and "less" with a silent prefix.
stranded-branches.pyaskedgh pr list --limit 100. Measured 2026-08-20:repo merged PRs seen nForma-NEXT 69 69 df-wiki 178 100 Blazing-Back 775 100 ⇒ On the repository with the actual branch churn it swept 13% of the population and reported
0 stranded, exit 0about the rest. Its own docstring says "a denominator that silently excludes part of its population is how '0 stranded' gets believed" — correct, and one level too shallow. It guarded the error path and left truncation open. -
★ Apply the tool's asymmetry to its population, not just its verdicts. A positive finding survives a partial sweep — a ref found stranded in the prefix is still stranded. A negative does not.
verdict_exit(n, truncated)is extracted precisely so the branch that matters — truncated and nothing found — can be tested without a repository; it is the hardest state to produce against a live remote, which is how it shipped unwritten. -
⛔ A break that stops early under-reports — the quieter cousin of one that prints nothing. This suite's first break aborted on a
TypeErrorfrom an older signature and showed 2 of the 5 real failures. Guard every call that a previous version cannot satisfy. -
⛔ A success state that cannot occur trains its reader to ignore the exit code.
pane-binding.pyexited 0 only when every pane was BOUND — and the Daintree state files hold 30 closed panes from past sessions, so a clean verdict was impossible forever. It is the mirror of a falsifier that cannot fire.PARTIALis the actionable state (the join was attempted and half-landed);UNBOUNDmeans no leg at all, which is the expected condition of every pane launched before the fix. -
★★★ A control fired positive and nobody read it. That file's stated purpose is "the known-positive control for the launcher fix: run it before and after adding
--session-id, and BOUND rows appearing is the evidence the fix worked." The rows appeared — 13 BOUND, including every fleet role — while its docstring still said "the join has never been observed working" and its self-test rationale still said "today the live population contains no BOUND." ⇒ Run the control; do not read the prose beside it. -
★★ And the exact join answers a question another tool reports as unanswerable.
fleet-context.pyprints "TEAMLEAD and DEV2 are BOTH satisfied by session e4a7769d … one of them is UNVERIFIED" on every sweep. The binding resolves it: the pane titledTEAMLEADholdse4a7769d, whose registry name isDEV2— a title-versus-registry disagreement on one exactly-bound pane, not an unresolvable identity. The answer was in Daintree's state file while the roster check fell back to self-reported names. -
★★★ A workaround outlives the premise that justified it.
fleet-identity.pyjoins sessions to panes by content — rare tokens against pane scrollback — because when it was written no pane carried Daintree'sagentSessionId, and that state was recorded as permanent. Re-measured 2026-08-20: 13 panes are exactly bound, including every fleet role. Wiring the exact join in took the tool from 5 of 12 sessions resolved to 10 of 12 — and the rows it gained are the ones content matching could not reach, because a pane with a single token hit is unresolvable by overlap and unambiguous by binding. ⇒ When a tool works around an absence, put the check for that absence in the tool. -
★ Two kinds of evidence get two verdicts.
EXACTandRESOLVEDare not merged, and where both exist and disagree the losing content match is printed — two joins disagreeing is a finding, and silently preferring one is how a wrong identity becomes a fact. -
⛔ A source-text assertion is not a behavioural one. The first version of that suite checked
'"EXACT"' in src— which a comment would satisfy.pane_verdict()is extracted so the precedence can be tested by calling it, the same move that madeverdict_exit()testable instranded-branches.py. If the only thing a test can assert is that a string appears in the file, the logic is in the wrong place. -
★★★ 13 of 13. The tool I could not fault had a defect, and my own falsifier named it.
bootstrap-audit.pywas the single clean result of the audit; the register row recording that stated the likelier falsifier as "a defect I missed in the one I passed." It fired within the hour. Its step classifier readcmd.lstrip().startswith("/")as "names a built-in slash command" — true of/rename DEV2, false of every absolute path:/rename DEV2 -> UNEXECUTABLE correct /usr/bin/git rev-parse --abbrev-ref HEAD -> UNEXECUTABLE ⛔ WRONG⛔ And
UNEXECUTABLEis not a shrug — it asserts "no execution record CAN exist", the strongest claim in that file's vocabulary, about a step whose matching call was in the very list passed to the function. The evidence sat one argument away and the rule never looked. ⇒ Same shape as two others here: a restriction asserted in prose that the code implements as something broader. A slash command is a bare word; a path has a separator inside it. -
★ The clean result was a property of my search, not the tool — which is what the register row said, and it is worth trusting that kind of caveat enough to go back and test it.
-
⛔ A rule that lives in a report gets re-derived wrong.
ci-log-clean.pyexists because "drop the echoedrun:block BEFORE stripping ANSI" was a sentence in a wiki page and in a friction report, and a sentence cannot be piped into.grep -c FAILEDreturned 4 on a job whose conclusion was SUCCESS — all four were the echoed script declaringFAILED_FILES. -
⚠ And the escape is not the one you would reach for. Measured on a real 153 KB
gh run view --log: 0 real\x1bbytes, 218 literal^[pairs. Stripping\x1b\[[0-9;]*mremoves nothing and looks like it worked. Both forms are handled. -
★ The order cannot be reversed, so the tool refuses rather than guessing. The cyan-bold marker is the only thing separating the echoed block from real output — the words are identical. With ANSI already stripped and no
##[group]Runenvelope left, there is nothing to discriminate on, and returning the log unchanged is how a count of the script becomes a count of the output. Exit 2. -
⛔
per_page=100is a reflex, not a check.gh api …/check-runsreturns 30 of 54 by default, carriestotal_count: 54, and a filter over.check_runs[]answers about a set it never saw — it once hid a required-check failure.gh-complete.pycompares the stated count against the array received and refuses. ⚠ It deliberately does not paginate for you: fetching the rest is a different decision with a different cost, and making it silently would hide the truncation the tool exists to surface. -
★ And the endpoint most people reach for cannot be checked at all.
repos/…/pullsreturns a bare array with no stated total, so completeness is unestablishable from it. The tool exits 2 there. That is its limit, not its feature — a helper that cannot rescue every call should say which ones. -
⚠ The rule existed in a wiki page and a friction report for hours while I merged PRs by reading
check-runsdirectly. The audit afterwards foundtotal_count == lengthon all thirteen queries — repo size, not care. A rule you have read and still not applied is a rule that needed to be executable. -
Zero is a value; unknown is not. An assistant record can carry a usage block that is present and entirely zero. Summed blindly, one such record rendered a session as
0 tokens, 0.0%— the safest-looking row in the table, for a session whose depth was in fact unknown. -
⛔ The ⛔/✅ glyphs in this file are CONTENT, not formatting. They carry the polarity of a block — this is the broken form vs this is the correct one — and no text matcher can recover it from the prose.
use-not-mention.pyresolves Python call edges to a sink and has nothing to resolve in markdown; there is no call graph here. ⇒ Anyone who strips or normalises these marks blinds every future control over this file without changing a word of its text, and the file will still read correctly to a human, which is what makes it silent. -
★ Prefer the control whose failure mode is a false PASS over one guaranteed to fire on the repaired state. Measured 2026-08-20 (#291): the obvious control for a documented-forbidden command is to grep for it and fail on a hit. That control is void, because naming a broken command means writing it down — after the fix, the document that forbids the form is the top hit for it. The sweep returned 2 hits at
origin/mainand both were mentions: this file's own counter-example, and a quoted pointer message inpointer-verified.py. ⚠ The author of that sweep began drafting a fix for the counter-example inside the block that forbids it. ⇒ Key on the presence of the correct form instead (check-orientation.py,check_pin_doctrine). An absence-check gets louder the better the documentation gets; a presence-check degrades quietly and only ever under-reports. ⚠ Stated limit, not a defect: presence is also satisfiable by a mention — that is the price, and it is the cheaper error. -
⛔ A PROBE FOR "IS THIS CHANNEL OPEN" MUST TARGET A REFERENT THAT CANNOT EXIST. Measured 2026-08-20 during a write-quota outage:
gh api -X POST repos/<owner>/<repo>/issues/99999999/comments -f body=probe 404 -> the write budget is OPEN (the issue is what is missing, not the permission) 403 -> the write budget is SHUT⇒ Either answer is decisive and neither creates anything. The obvious alternative — post a real comment to find out whether posting works — mutates the thing it measures. ⚠ Found in DEV3's probe, whose control leg was posting a genuine review to establish that the budget was open: it would have left junk reviews on its own PR to learn a fact about a rate limit. ★ One pane doing this is already contaminating its own subject; it does not take two. ⛔ AND THE CANARY MEASURES THE CHANNEL THE CANARY ITSELF USES — NOTHING MORE. ⇒ It must be the SAME COMMAND as the call it guards, differing only in the referent. Not "the same API surface" — see below, that is not knowable here. Measured 19:55Z, minutes after the above was written: the REST canary read
403, so I concluded I could not open a pull request — then opened one thirty seconds later, becausegh pr createroutes through GraphQL and never touched the blocked surface.gh pr view / pr comment / pr create -> GraphQL (graphql counter moved; all succeeded) gh api -X POST … -> REST 403 gh api GET … -> REST 200, 4659 remaining⚠ AND THE SURFACE ATTRIBUTION ABOVE IS NOT ESTABLISHED. I read the
graphqlcounter moving1558 → 1560and calledgh pr createGraphQL-backed. DEVOPS rangh pr view --jsonand the same counter did not move (1628 → 1628). ⇒ Eitherghtakes different roads for different invocations, or the graphql counter is as unreliable as the core one — and the meter that would settle it is in the same family as the meter under suspicion.⛔ That is the trap one level deeper: DIAGNOSING A BROKEN METER USING THE BROKEN METER'S OWN READINGS. (DEVOPS.) ⇒ A boundary OBSERVED beats a boundary PREDICTED BY THE INSTRUMENT UNDER SUSPICION — which is why the canary must be a real refused call, not a quota reading.
What IS established, meter-free, because each is an observed outcome rather than a counter:
gh api -X POST … -> 403 (refused) gh api GET … -> 200 (served) gh pr create -> succeeded gh pr comment -> succeeded⇒ They differ. WHY they differ is not established — surface, endpoint, or a separate limit. And the practical rule survives without knowing: canary with the command you are about to run. ⚠ The general phrasing was published and adopted by another pane before it was caught. ⇒ Generalises past rate limits: whenever you need to know that a channel is reachable before reading a refusal as a verdict, aim the probe at a referent that cannot exist on the same surface the real call will travel. Then the open-answer is a 404 and not a side effect — and a capability refusal can no longer be confused with a budget refusal, because the budget was proven open first. (Technique: DEV2; the defect it fixes: DEV3.)
-
⛔ AND BEFORE BUILDING A CANARY AT ALL: CHECK WHETHER ANOTHER CHANNEL TO THE SAME FACT PRESERVES THE REASON. (DEV3.) A canary is what you build when no such channel exists — not the first move. Measured 2026-08-20, the same proposition over two channels:
REST POST /pulls/333/reviews {"event":"APPROVE"} -> 403 Forbidden a status CLASS; twelve possible causes GraphQL gh pr review 333 --approve -> "Can not approve your own pull request" the REASON, by name⇒ The same question was untestable over one channel and trivially testable over the other. One encodes a status class, the other encodes a reason. ★ So the canary, the known-positive control and assert-on-the-body are all scaffolding to recover information the first channel had already discarded — correct, and second-best. ⚠ This does not retire the technique; it bounds it, and the bound is the useful part: reach for a canary only after establishing that no channel to the same fact keeps the reason. ⇒ In this case the cheaper answer was one command away the whole time, and two panes spent an hour refining scaffolding instead of looking for it.
-
★ A RUN OF SUCCESSES CANNOT LOCATE A BOUNDARY YOU HAVE NOT CROSSED YET. Measured the same hour: two
POSTs toissues/327/commentssucceeded at 19:45Z and 19:47Z whilerate_limitreportedcore 0/5000. ⇒ I concluded that endpoint was exempt from the exhausted pool. DEV3 POSTed to the same endpoint at 19:49:26Z and got403.⇒ The difference was TIME, not endpoint. ⛔ I generalised from the inside of a window whose edge I had not reached — and two successes four minutes apart, with no failure to bound them, contain no information about where the edge is. ⇒ An all-clear drawn from a sample of successes establishes only that the boundary was not crossed DURING the sample. Report the interval with the claim — "held from 19:45 to 19:47" — never the bare property. ⚠ This is the mirror of established nothing: that convention guards a NEGATIVE that was really nothing, and this one guards a POSITIVE that was really an unbounded window. Neither covers the other.
-
⛔ A MONITOR'S COMPARED PAYLOAD MUST EXCLUDE ANYTHING THAT ADVANCES WITH THE CLOCK. Otherwise every tick differs from the last, every emission is labelled
CHANGED, and the distinction the monitor exists to draw is destroyed by the field added to make it informative.Measured fleet-wide 2026-08-20 (TEAMLEAD, #282):
total events 203 labelled CHANGE 202 identical once the timestamp AND the idle MINUTE COUNTERS are removed 55 ⇒ 27% of "CHANGE" events reported NO CHANGE IN STATE⚠
DEV3:11m→DEV3:13mis a state change to a naive comparison and no news to a reader.★ My own instance, and the sequence is the lesson. I wrote the repeat-alarm convention, then armed a monitor that violated it within the hour, then mis-tuned it twice more:
v1 key = fleet PR count could not tell a backlog from high throughput v2 key += oldest-AGE CLOCK-DERIVED — ~50 CHANGED events in 50 minutes, board static v3 key += fleet OPEN count true world state, but a wake per PR any pane opens: 0 actionable v4 key = MY unlanded + blocked fleet counts demoted to PAYLOAD⇒ Two distinct errors, and the second is not the first: v2 put the clock in the key; v3 put something real in the key that I never act on. ⛔ World-state is not the bar — ACTIONABILITY is. A key should hold only what changes what the reader would do.
⚠ And none of the three failures was visible by reading the script. Each appeared only after running it, which is why the tuning history is now a comment inside the monitor rather than a lesson someone is expected to carry.
-
★ Put the value in the PAYLOAD instead — it is informative there and inert in the key.
oldest-ageandmerged-1hare exactly the fields that answer "is this queue draining or backing up?", a question a bare count cannot settle. ⇒ Emit them; do not compare on them. And keep the liveness line, so silence still means ran and found nothing rather than could not run — ⛔ a longer poll interval is NOT a substitute, because it buys quiet by discarding the guarantee. -
⛔ A GUARD'S FAILURE MESSAGE MUST REPRINT THE AUTHOR'S OWN DECLARED TEXT, NOT DESCRIBE THE CONDITION. ⇒ The accepted form has to reach the writer on the failure path, because a compliant writer never sees the message at all. ⚠ A README sentence describing the form is a MENTION until the tool is shown to print it on the path a writer actually hits.
★ The control is same-file, same-author, three lines apart — which is why this is structural and not a fact about anyone's care.
.github/workflows/tools.yml:✅ fleet-dependent step why=$(sed -n 's/^# SUITE-DEPENDS: //p' "$f") python3 "$f" || echo " ⚠ failed — $why" ⇒ REPRINTS WHAT THE AUTHOR WROTE, at the moment of failure ⛔ hermetic step python3 "$f" || echo " ⛔ $(basename "$f") FAILED" ⇒ describes a CONDITION; `SUITE-DEPENDS` appears only in a source comment⇒ A writer whose network-dependent suite fails in the hermetic job is told that it failed and never told the marker that would have declared it.
Swept 2026-08-21 — 6 of 19 author-facing instruments resolved, named rather than counted:
⇒ ⚠
check-orientation.pymoved ⛔ → ✅ on 2026-08-23 when its population widened (#272). The fix was not a new print statement: widening the population forced enumeration, because a count over 34 files is useless without saying which. ⇒ The sweep's own thesis, arrived at from the other direction — enumeration is what a wider population makes unavoidable.instrument failure path states the accepted form tools.ymlfleet-dependent stepreached ✅ reprints the author's $whytools.ymlhermetic stepreached ⛔ no close-condition-scan.pyreached ⛔ no — Done when×0, no anchoring or body guidancecheck-goal-conformance.pyreached ⛔ no — SCOPE:×0 on the MENTION-ONLY linecheck-orientation.pyreached ✅ enumerates file:line+ prints both accepted forms (#272)fleet-state.pyreached ⛔ no — and its unit is unpublished (see below) ★ SWEEP COMPLETED TO 11 OF 19, and the split is not about care — it is ENUMERATE vs SUMMARISE.
instrument form named ✅ tools.ymlfleet-dependent stepreprints $why✅ doctrine-watch.pywatermark×22✅ bootstrap-audit.pyROLE-READY×9✅ pipe-exit-scan.pynames PIPESTATUS✅ check-orientation.pyenumerates file:line, then names both correction forms⛔ close-condition-scan·check-goal-conformance·fleet-state·tools.ymlhermetic step ·reference-check·index-watch0 ⇒ Every tool that PASSES enumerates its instances; every tool that FAILS prints a verdict or a count. Enumerating reprints the author's own text for free — the marker has to appear because each instance is being named. ⛔ Summarising is what strips the form out, and it is the natural thing to write when the finding is a number. ⇒ Same mechanism as the
$whycontrol, arriving from the other side.⚠ The distribution is UNEVEN, not low — 4 of 11 pass. Reporting a percentage from the first five would have published "20%" and been wrong about the shape. ⇒ Do not report a rate before you have the names.
⛔ AND MY OWN SWEEP HARNESS COMMITTED THIS DOCUMENT'S CARDINAL ERROR. It scored any nonzero exit as "failure path reached", so
grant-check.pyreturning 2 — established nothing was recorded as having ANSWERED. ⇒ A VOID scored as a finding, by the instrument built to audit instruments that mislead, and caught only by reading the exit codes rather than the verdicts.grant-check.pyis therefore UNRESOLVED, not a pass.⚠ 8 unrun or unresolved, with the cause named per instrument —
population-legandstranded-branchesexceed a 90s cap (⇒ an instrument nobody can run inside a working session is an instrument that does not get run — a mechanical cause, not a discipline one);prompt-delivery,readd-scanandrunmarkerdid not reach a failure path on live data;check-tools-indexneeds a non-stale, non-shallow, CI-bearing fixture.⚠ 13 unrun, and they are reported UNRUN rather than estimated.
check-tools-index.pyis unresolved: it refuses outside a real repository ("cannot derive this repo's identity"), which is correct behaviour and a bound on the sweep method, not a defect.⛔ Two of my own fixtures were invalid before any tool was judged, and the base-must-be-clean control is the only reason neither became a finding:
- a single-commit fixture reproduced the depth-1 condition —
check-tools-indexcorrectly printed "git history is absent, shallow, or one commit deep … the wholesale-import leg is NOT run", a known-positive for8414cd7produced by accident; - a fixture cloned from a stale local
mainhad 0 workflow files, where an un-struck "No CI" claim is true — the check compares claim against world, not against a pattern, and was right where I was wrong.
⇒ ★ Establish the base is clean before a fixture means anything. Both invalid fixtures exited 2; had they exited 0 I would have recorded "states the form 0 times" from runs that established nothing — a VOID read as a finding, inside a sweep about instruments that mislead.
- a single-commit fixture reproduced the depth-1 condition —
-
⚠ And the unit a rule is measured in must be publishable, or the rule is unenforceable.
fleet-state.pyreads the last non-empty line of an assistant TEXT BLOCK, while every prompt says "end every turn with a STATE: line." No document defines a turn as a text block, so a one-line preamble before a tool call is a complete turn that ended without a declaration. ⇒ Measured: DEV2 1 of 7 recent text blocks compliant; TEAMLEAD 83 of 822 (10%), clustered early. ⛔ The test that settles it: if the unit were published, could an agent comply? Under text block, only by emittingSTATE:before every tool call — which makes the line noise. ⇒ So the unit is wrong, not the documentation of it, and the fleet row18 turns agoreads as staleness of WORK while measuring staleness of DECLARATION. A number that moves for reasons unrelated to what it names is worse than no number.
#164 judgement 4 recorded this as a judgement — "the convention forked, not the index, and nobody has said so." ⇒ It is not a judgement any more. It has two measured instances, two panes, a day apart, and both were over-reports about work that was already controlled.
DEVOPS 2026-08-20 a sweep for uncontrolled instruments reported 8; the answer was 2
— it counted files lacking `--self-test`, and `test_*.py` files exist
ARCHITECT 2026-08-21 #521 leg 2 claimed 9 instruments "have no self-test"
— all nine have a paired suite; all nine run and pass in 10.4s. Leg withdrawn.
⇒ ★ The second author had read scripts/gate-selftests.sh the same day — the file that excludes
test_* via IS_A_TEST because a test IS the control, not a subject. The distinction was on
screen and did not travel two hundred lines.
--self-test the tool carries its own control and can be asked for it directly
tools/test_<name>.py a paired hermetic suite; `scripts/gate-selftests.sh` runs these as CONTROLS
and excludes them as SUBJECTS
⚠ A tool with a paired suite and no --self-test is NOT missing a control. ⛔ Adding the flag to
those nine would be nine redundant flags closing a gap that does not exist.
54 non-test instruments in tools/*.py
45 carry --self-test (⚠ some register it with argparse; codestrings.py hand-parses argv)
9 have tools/test_<name>.py api-budget · branch-census · doctrine-watch · fleet-state ·
issue-coverage · pr-stack · prompt-delivery · text-provenance ·
transition-report
0 UNCOVERED
⇒ 45 + 9 = 54
Every draft of a five-line loop had a population defect, and each was found only by a control — never by re-reading it.
DRAFT 1 ran `--self-test` FIRST
⇒ for a tool that IGNORES unknown flags (5 of 54 do) that runs the MAIN path.
The loop exceeded 120s and was killed. A command written to CHECK controls
PERFORMED the action. Fixed by testing for the paired file first: 2.6s.
DRAFT 2 treated `exit 0` as "has a self-test"
⇒ a planted subject that ignores argv and exits 0 was counted as CONTROLLED.
The loop returned a clean `0` both WITH and WITHOUT the plant.
DRAFT 3 grepped `add_argument(.*--self-test`
⇒ named `codestrings.py` as uncontrolled. It has a WORKING self-test; it parses
argv by hand. The predicate named an IMPLEMENTATION where the proposition was
a CAPABILITY — the same flag-versus-capability error this section documents,
in the third attempt to fix it.
⇒ ★ Three drafts, three different population defects, zero caught by inspection. ⛔ So the honest output of this section is the partition and the failure modes, not a one-liner.
⚠ scripts/gate-selftests.sh already answers this correctly — it has a real subject/control model,
excludes test_* as subjects, bounds each run, and reports refusals separately from failures.
★ Use it. A shell one-liner over this population is a trap with three known entrances.
⇒ Any claim of the form "N instruments have no control" must state WHICH FORMS it checked. A
count that checked one form is a CEILING on the defect and a FLOOR on the coverage — and by the
direction rule in docs/DEFECT-CLASSES.md §(d), printing it as a bare number discards exactly the
half a reader needs.
python3 tools/test_fleet_context.py # exit 0 = pass, 1 = a control failed
python3 tools/test_fleet_state.py
python3 tools/test_fleet_identity.py
python3 tools/test_discriminates.py
python3 tools/test_wake_yield.py
python3 tools/test_daintree_control.py
python3 tools/test_pretooluse_guard.py
python3 tools/test_grant_check.py
python3 tools/test_pipe_exit_scan.py
python3 tools/test_stranded_branches.py
python3 tools/test_pane_binding.py
python3 tools/test_fleet_identity_exact.py
python3 tools/test_bootstrap_audit.py
python3 tools/test_ci_log_clean.py
python3 tools/test_gh_complete.py
⚠ Nothing runs this automatically — this repo has no CI. ⛔ FALSE since
2026-08-20 (#272): hermetic suites (gating) is a required check and runs the listed suites on
every PR. A suite NOT in that list is still unrun, and is reported UNLISTED, therefore UNRUN
rather than as an error. The suite is a control that only
fires when someone invokes it, which is the failure mode it was written to catch. Run it after
any change under tools/.
estate-provenance.py — reads a path and asks whether its provenance evidence points at this estate or another. ⛔ The issue range is derived from this repo's own git log, cut at its largest interior gap — hardcoding a ceiling silently reclassifies every file the day the repo reaches it. Reports three states: LOCAL · FOREIGN · UNCLAIMED, because absence of a foreign marker is not presence of a local one. ⚠ It cannot establish DIRECTION — a file citing another estate's issue may be theirs committed here, ours written about theirs, or dual-use — and it prints that limit on every run rather than only here.