rules-file-optimizer
Rules file optimizer
Takes an existing rules file plus a set of reference rules files, and produces a compressed replacement that keeps every capability, plus a rationale document that explains each decision.
This is the sibling of skill-audit. That one audits a skill ecosystem; this one audits
the contract the agent operates under. Both start with measurement rather than reading,
because a rules file cannot be judged by reading it — a file that reads well and is not
followed is the failure mode.
The premise
A rules file has a compliance budget. Rules compete for a finite amount of attention, and past some size each added rule reduces compliance with the rules already present. A file that only grows will eventually enforce nothing, and the sections added last displace the ones that were working.