Commit f2ad79d
committed
docs(scripts): check-role-word's --update moves the baseline in both directions (#10042)
The header said `--update` "expands the baseline, which is the shrink-only
direction of this ratchet". The relative clause had no correct antecedent, and
the concept behind it was imprecise either way: `--update` is not directional
at all.
Mechanically it rewrites the baseline from the current tree and never reads the
old ledger (`const baseline = ...` sits after the `update` branch's
`process.exit(0)`), so the ledger moves whichever way the tree moved — shrinking
where the word is gone, EXPANDING where it is new, in one stroke. Only POLICY
separates the two: the baseline is shrink-only, so ratcheting down is the
author's own remedy while expanding weakens the gate and is a maintainer's call.
The header now says that, in the vocabulary this file already uses at the #8435
block (L64-66) and in newUseMessage() (L128-130), and it states that the
self-test and the #8435 farm sweep pin the marker's WORDING, not the act — so
the sentence no longer implies an enforcement that does not exist.
Comment prose only: no verdict, population, exit code or message text changes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XqDQYVU5smx29ts9pAErja1 parent 20b9a9c commit f2ad79d
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
0 commit comments