After 375 tickets: treat your AI coding rules file like garbage-collected software, not an append-only log

RandalSchwartz · reddit · 2026-12-06

A team running 375 production tickets found that writing past failures as prose guardrails zeroed out repeated domain-code regressions, yet 10% of runs still failed on low-level tool-calling reflexes. Context compaction summaries preserve happy-path goals but quietly drop sharp negative constraints first. Their fix: manage rules with an Active/Dormant/Graduated lifecycle, verify each rule with clean-vs-loaded probes, migrate rare traps into 15ms lints or unit tests by an economic cutoff, and reload phase-scoped rules from disk after compaction.

Original post →

More from coding & agent

coding & agent channel →