4 check-ins that include changes to files matching 'bench/rules/*'
|
2026-11-11
| ||
| 03:38 | Ask about a rule only with the person's own words as evidence; monthly review; scan on any turn check-in: 15c4935f34 user: context-bot tags: trunk | |
| 03:24 |
Ask about a rule only with the person's own words as evidence; monthly review; scan on any turn
A judge command (ctx rules judge-with CMD, any command that answers on stdout) checks active rules in projects with new turns, at most weekly per rule and 20 per run, beside the person's latest 60 turns there. It flags a rule only with a quote of at least four words and 24 characters found exactly in one of those turns, so it cannot invent a contradiction or stitch one from two turns. A failing or unreadable answer records nothing. Instruction files (CLAUDE.md, AGENTS.md) are never judged. The SessionStart offer then asks about at most one flagged rule, once in 30 days, with the quote, at a natural break; the answer runs ctx rules keep (not asked again for 90 days) or retire. ctx rules review lists up to 30 rules not reviewed or kept in 90 days, and the offer mentions it once a month. The hourly scan, which archives, imports rules, proposes, judges and syncs, now also rides on Stop events: sessions that run for days and start once got it only on resume or compaction. In an experiment on 42 labelled rules (bench/rules/stale_judge.py), Sonnet flagged 3, all stale; Haiku flagged 9 with 3 wrong. An independent audit found seven problems, all fixed with tests: instruction files judged, malformed answers recorded as checks, same-day turns reversed, a crash on an early model failure, a short-quote bar, quotes spanning turns, raw wait status in messages. A kept table records checks, so the user version rises to 5. closed check-in: efad0e0a17 user: dmestas tags: rule-judge | |
| 00:55 | Add a bench that replays rule-decay policies against labelled rules check-in: b3865cf364 user: context-bot tags: trunk | |
| 00:43 |
Add a bench that replays rule-decay policies against labelled rules
bench/rules/decay.py scores policies that quiet rules (none, a flat 90 days, a review schedule renewed by use, and the schedule with dormant-project and missing- file checks) against private labels of which rules are still true, at a given day, with timing for rules whose staleness has a month and a count of how often an agent would ask. On 42 labelled rules the age-based policies caught 60 to 67% of the stale rules but quieted 26 to 30% of the true ones; renewal by use almost never fired. The kind of rule separated them better: 12% of rules in the person's own words were stale, 44% of memory feedback notes, 83% of memory project notes. closed check-in: d273928542 user: dmestas tags: decay-bench | |