Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 04 Aug 06:07
refactor(assets): put the rules on a line budget

Every rule is preloaded into every request of the session on a harness that
reads `rules/`, so a line here is not paid once — it is paid continuously. The
set was 651 lines / 28.6 KB and is now 554 / 25.6 KB, with no rule and no reason
removed: what went was repetition, ceremony, and prose that restated the table
above it.

Seven of ten files now sit at or under 55 lines. Three do not, and the test
grandfathers them at their current size rather than pretending otherwise:
specs.md and knowledge-base.md are roughly half table and fenced example — 45
and 46 lines of structure — so cutting them to 55 would leave under ten lines of
prose across six sections. That is enough to state a rule and not enough to say
why, and a rule whose reason was deleted is one an agent quietly deviates from.
delivery.md is at 62 with dense prose and no structure to blame.

The test enforces the budget in both directions: a new rule over 55 fails, and a
grandfathered file that shrinks below its cap fails too, so the gain gets locked
in instead of drifting back.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J54qbk8RpC2tZH8LBz6T2b