Rule Rot: How Long-Running AI Agents Calcify Your Own Instructions
Rule Rot: How Long-Running AI Agents Calcify Your Own Instructions
The author describes "rule rot": persistent agent instruction files (AGENTS.md, skills, auto-memory) accumulate over-generalized corrections, contradictory rules, and stale copies that box agents in across sessions. A blind audit by a Gemini/Codex/Claude Opus council of his marketing repo and Backdrop codebase found examples including a one-night "no work after midnight" rule carried forward for days, a lifted video-encoding ban still enforced elsewhere, and 517 memory files in one repo, with causes traced to an authority loophole, zombie auto-memory, and a local checkout 788 commits behind origin/main. He proposes a rule-hygiene-audit skill, a git-rule-freshness.py session hook, and a default of editing or deleting rules rather than writing new memories.
Source: Hacker News AI · oskargroth.com