Repository navigation
Commit ee99340
docs(check-driver-conformance): retire the undated ratios from the watch-hint docblock (#19159)
Fixes #15313
Clause-②: no
The docblock over `ROOT_DIR_WATCH_HINTS` in
`scripts/check-driver-conformance.mjs`
argued why the declared hint is the drivers subtree and not the
top-level root, and
argued it with measured ratios carrying no date. The bare-root worklist
row that judges
the **same declaration** re-measured both terms together on one tree and
recorded the
previous reading as `superseded WHOLE, neither term carried forward` —
so the two
documents disagreed in print, and the undated copy read as current.
## The shape chosen: drop the digits, keep the argument, point at the
one dated home
The card offered two shapes (re-measure and date, **or** drop the digits
and keep the
shape of the argument). This takes the second, plus an explicit pointer:
the paragraph
now defers to the dated authority instead of carrying a copy of it.
Why not re-measure and date here: that would create a **third** copy of
a pair whose two
existing copies are what this card is about, and the terms move fast
enough that a
written pair is stale by design. Measured under an fs recorder in this
worktree at
**2026-09-19T01:16Z**, branch tip `5eebc9ed`, tree `7d5f5da3`:
| term | docblock (undated) | worklist row (2026-09-04, `2200f8ec`) |
measured here (2026-09-19, `5eebc9ed`) |
|:--|--:|--:|--:|
| tracked files the walk opens under the drivers subtree | 259 | 344 |
**398** |
| tracked files under that subtree | 291 | 379 | **434** |
| tracked files under the top-level root | 4903 | 5979 | **6979** |
| ratio at the subtree | 89% | 90.8% | **91.7%** |
| ratio at the top-level root | 5.3% | 5.8% | **5.7%** |
Every term moved again in the fifteen days since the dated
re-measurement — the bare-root
denominator by a thousand files. The argument's **conclusion** is
unchanged and was never
digit-dependent, which is what the paragraph now says in structural
terms: the walk starts
under `DRIVERS_DIR` and never climbs out, so the subtree hint cannot
under-name the
population and the top-level root can only dilute it; the declaration
errs **wide**, never
narrow. The dated pair keeps exactly one home, cited by row key rather
than copied. Citing
that file from a gate docblock is the existing idiom here
(`scripts/check-ratchet-remedy-authority.mjs`
does it twice).
## Two further undated sites in the same file, same treatment
1. `## Why CASE_SETS_DIR is deliberately NOT declared` carried `143
tracked files of which
this gate reads 7 (4.9%)`. Measured today: **8 of 167 (4.8%)** — the
numerator was wrong
too, a case set having been added since. This population has **no**
worklist row to defer
to (it is absent from the hint array rather than a declared hint the
sweep passes over),
so there is nothing to point at: the digits go and the structural claim
stays.
2. Two `--self-test` assertion **labels** re-spelled the same ratios in
their failure text
(`4903 files to reach 259`, `7 of 143 files`). Label text only; ⛔ no
assertion
**condition** was touched.
## Not touched
- The **value** of `ROOT_DIR_WATCH_HINTS` — `grep -c
'ROOT_DIR_WATCH_HINTS = \|SELF_TEST_BATTERY_FLOOR\|SELF_TEST_BATTERIES'`
over the diff reads **0**. This card changes the argument, not the
declaration.
- The **value** of `CASE_SETS_DIR`.
- `SELF_TEST_BATTERIES` (11 entries, same per-battery counts) and
`SELF_TEST_BATTERY_FLOOR = 11`,
read before and after and identical.
- `scripts/pm/bare-root-worklist.mjs` — out of scope by the dispatch,
and by the lane table a
non-gate `scripts/pm/**` is not this seat's surface. Nothing there needs
to change: its row
is now the sole dated home, which is the disposition this PR
subordinates to.
## Verification
Both batteries, which are two different things in this repo, run
separately before and after:
| battery | before | after |
|:--|--:|--:|
| `node scripts/check-driver-conformance.mjs --self-test` | exit 0 |
exit 0 |
| `node scripts/check-driver-conformance.mjs` (bare) | exit 0 | exit 0 |
The two verdict texts are byte-identical before and after (`diff` clean
apart from the exit
line appended to the before captures) — expected, since the change is
comment and label text.
Residual reading with a firing control, both taken from the probed file
after the commit:
the removed terms (`4903`, `259`, `291`, `143`, `89%`, `5.3%`, `4.9%`,
`17x`) each read **0**
in the file and appear in `git diff BASE HEAD` on removal lines only;
the controls, chosen
after the fact as the highest-frequency identifiers absent from the
diff, are `dialect`
(in-file 130, in-diff 0) and `ledger` (in-file 94, in-diff 0) — the
probe fires.
Gates: derived in-worktree with `node scripts/pm/dispatch-gates.mjs
--commands --repo objectstack-ai/objectstack`
over the real changed set — 29 commands, all green (six first returned
exit **3**,
`PREREQUISITE NOT MET — nothing was measured`, and were re-run green
after `pnpm install`).
By the tool's own warning that is not a complete account of CI.
`skip-changeset`, verified rather than assumed: the root manifest is
`private: true`, and all
81 non-private packages declare a `files[]` with no entry escaping its
own package directory,
so the repo-root `scripts/` tree ships no published byte.
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_017ef78bLdybu3AffehKkhfk
---
_Generated by [Claude
Code](https://claude.ai/code/session_017ef78bLdybu3AffehKkhfk)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 97466dd commit ee99340
1 file changed
Lines changed: 36 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
175 | 176 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
180 | 197 | | |
181 | 198 | | |
182 | 199 | | |
183 | 200 | | |
184 | 201 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
189 | 212 | | |
190 | 213 | | |
191 | 214 | | |
| |||
2061 | 2084 | | |
2062 | 2085 | | |
2063 | 2086 | | |
2064 | | - | |
| 2087 | + | |
| 2088 | + | |
2065 | 2089 | | |
2066 | 2090 | | |
2067 | | - | |
| 2091 | + | |
2068 | 2092 | | |
2069 | 2093 | | |
2070 | 2094 | | |
| |||
0 commit comments