Compress AGENTS.md and add a standing rule to trim it on every edit #61
Reference in New Issue
Block a user
Delete Branch "agents-md-prune"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every agent session reads AGENTS.md in full, so its length is a cost paid on every task. It had grown to 37 KB with no expiry mechanism.
New
## Maintaining this filesection — trim as you add, record the decision and not the investigation, give every accepted risk an expiry, one home per fact.Compressed the rest: 37673 -> 28867 bytes, 443 -> 359 lines. The 30 flat 'deviations' bullets are now grouped under Structure & contracts / Authorization / i18n / UI / Build, test & release, so the section is scannable.
Verified nothing actionable was lost by diffing every backticked identifier across both versions; that caught four real drops, all restored (the
div+ ARIA rule, bootstrap's./pluginsmount footgun, thewatchedPage()half of the console guard, andfetch-tags: true). What stayed cut is history, superseded guidance and duplicate examples.Also fixes a copy-paste defect: the RTL entry ended with two sentences duplicated verbatim from the
locales/entry above it.Stacked on node-modules-ownership (PR #60) — merge that one first.