Part 3 of 4 in Token reduction. Previous: A Screenshot Cost 363 Tokens as Pixels and 27 as Text · Next: A 7k-Token Prefix We Have Not Measured
On 20 July we wrote that a hook injected our token-cut list into every Claude Code run. On 26 July we found that the settings file had no hooks block at all. The hook never ran, and neither did 18 other hook scripts. The panel said enforced for six days while nothing enforced it.
The panel's own activation log puts it plainly: "The enforcement claim above was false when written."
What the panel held
On 20 July the panel listed 21 active cuts. By 26 July it listed 22. They sort into four groups: habits (how Claude reads files and reports back), context management (when to compact), decode settings for the image pipeline, and model routing. Most entries carry a magnitude, such as "5 to 10 times per check" or "2 to 4 times per decode". None of those magnitudes cites a receipt.
Only one entry says "Measured": the image read cut covered in part 2 of this series. It is also the only cut that a hook enforces. The rest are checkboxes that ask Claude to remember.
The failure was silent
The wiring receipt from 26 July records three faults of one kind: the artifact existed, the docs described it, and nothing connected them. Nineteen hook scripts were dead code. The receipt dates the gap as unknown, and the last settings backup with hooks is from 13 July.
The same receipt found a tesseract install with no English language data. It exited 0 and printed an empty string, which looks exactly like a picture with no text in it. The receipt puts the lesson this way: "a policy whose failure mode is silence will not be noticed." A checkbox is a policy of that kind. Nothing in it can fail loudly.
What the fix was
We rebuilt the hooks block from the hook scripts actually on disk: 17 hooks across five events. The panel's activation log now says the injection is checkable with itools-doctor.
The doctor has a blind spot that the receipt also records. It scans only the hooks folder for present-but-unwired scripts, so a hook that lives elsewhere and is never registered goes unnoticed. The same receipt found one such case, a checkpoint script whose output the docs promised, by reading the documentation rather than by running the tool.
What counts as enforcement now
- A hook that appears in the settings file and fires on its event.
- A log line from that hook in a fresh run.
What does not count: a checkbox, a line in the panel, or a rule in the instructions file.
What we did not check
We have not counted how often the injection has run since 26 July. We have not compared token use for the 21 behavioural cuts before and after the fix, so their magnitudes stay unverified. The panel's "5 to 10 times" figures are estimates, and this post does not change that.

Comentários
Sem comentários ainda.