…89 paid the only one)
`serve_field_census.py` carries `UNOWNED` -- fields accepted and discarded, each naming the issue that owns the fix -- so
the check stays green only while the debt is named. Nothing reported the other direction, so an entry whose issue merged
could only sit there: the check keeps printing it, the field is read, and the allowlist can never shrink.
That is not hypothetical. `engine#2889` merged at 06:22Z and taught the route to read `cache_prompt`, and on `main` today:
```
$ python3 tools/ci/serve_field_census.py --root . # before this commit
cache_prompt read-in-route
rc=0 <- the allowance is a fiction, and it is silent
```
So: the dead entry is removed, and `stale_allowances()` reports any future one and fails the check, because a green tick
over an allowance nothing needs is how `UNOWNED` would come to mean "fields we once worried about".
Measured, both directions:
```
$ serve_field_census.py --root . # this tree
cache_prompt read-in-route
id_slot read-in-route
rc=0
$ <UNOWNED = {"cache_prompt": "engine#2889 (paid)"}> # the entry restored
serve_field_census: the allowance for cache_prompt is no longer needed -- the field is read-in-route on this
tree, so remove it from UNOWNED (engine#2889 (paid))
rc=1
```
Three self-test arms cover the mechanism rather than the instance: an allowance whose field is now read is stale, one
still `ignored` is not, and a field that became a named `refused` also pays its debt. 11 arms total, all green.
serve_field_census.py(engine#2893, merged as #2894) carries a named-debt allowlist, and nothing reported when a debt was paid.Why this is not a tidy-up
engine#2889merged at 06:22Z and taught the route to readcache_prompt. Onmaintoday:The entry is a fiction, the check prints the field as read, and nothing says the allowance is dead. An allowlist that can only grow is how
UNOWNEDcomes to mean "fields we once worried about" instead of "fields we are still ignoring, on purpose, with an owner" — and this repo has already paid for that lesson once withknown_fail_device_caseand its[UNEXPECTED-PASS]arm.I raised this on #2894 before it merged (the entry was already dead by then, nine minutes after #2889 landed) and the PR landed without it, so this is the follow-up rather than a review objection.
What changes
cache_promptentry is removed.stale_allowances(result)returns theUNOWNEDkeys whose field is no longerignored,check()prints each one with the value it now has and the issue the entry names, and returns 1.Measured
cache_prompt read-in-route,id_slot read-in-route, rc 0UNOWNEDwith the deadcache_promptentry restoredserve_field_census: the allowance for cache_prompt is no longer needed -- the field is read-in-route on this tree, so remove it from UNOWNED (…), rc 1--self-test: 11 arms, all green (was 8; the three new ones are: a read field makes its allowance stale, anignoredfield does not, and a field that became a namedrefusedalso pays its debt).Refs engine#2889, engine#2893, engine#2894.