Governance Decay Lab — AI skill for Claude Code
Conceptual replication and extension of Governance Decay (arXiv:2606.22528): how context compaction makes LLM agents break standing rules, on late-2026 models, with production-scale runs, mitigations.
How to install Governance Decay Lab
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open imyash2004/governance-decay-lab and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Governance Decay Lab does
Conceptual replication and extension of Governance Decay (arXiv:2606.22528): how context compaction makes LLM agents break standing rules, on late-2026 models, with production-scale runs, mitigations and a RAG-poisoning pilot.
Alternatives in AI
- Firm — Convene your standing AI staff — memos on every beat, a board session without you, minutes with dissent preser 1.3k ★
- Late CLI — High-performance AI agent for long-horizon tasks and local models 442 ★
- Hipocampus — Drop-in memory harness for AI agents — 3-tier memory, compaction tree, hybrid search 149 ★
README
Governance Decay Lab
A **conceptual replication and extension** of *Governance Decay: How Context Compaction Silently Erases Safety Constraints in Long-Horizon LLM Agents* (Shiyang Chen, [arXiv:2606.22528](https://arxiv.org/abs/2606.22528)), run on late-2026 models, with a production-scale profile, a mitigation study and a pre-registered RAG-poisoning study.
**Author:** Yash Agarwal · **Status (5 Nov 2026):** 16,310 episodes and 4,932 replay calls on 11 models ($67.41 Anthropic and $29.66 OpenRouter recorded in `cost_usd`). One-page results: [`SUMMARY.md`](SUMMARY.md). Complete factual record, every number recomputed from `runs/`: [`FULL_RECORD.md`](FULL_RECORD.md).

*Rule-violation rate on the same post-compaction contexts where the summary still stated the rule; only the tool-choice setting changes (paired replays, Wilson 95% intervals). Details: [`docs/results/2026-11-04-tool-choice-replay.md`](docs/results/2026-11-04-tool-choice-replay.md).*
The idea in one paragraph
Long-running AI agents run out of context window, so their harness periodically **compacts** the history: an LLM rewrites older turns into a short summary. That summary is written to help the agent *continue the task*, not to preserve *rules*. So a standing rule like "never email anyone outside @acme.com", which the agent obeyed while it was visible, can vanish from the summary, and the same agent, given the same request, then breaks it. The paper calls this **Governance Decay**. It also shows that an attacker who controls only a tool output can *cause* the rule to be dropped (the **Compaction-Eviction Attack**), and that a harness-level fix (**Constraint Pinning**) restores the rule. This repository rebuilds that experiment from scratch and extends it.
Results
Rates with Wilson 95% intervals; differences with Newcombe intervals. Full tables and caveats: [`SUMMARY.md`](SUMM
Related Skills
Governance Records Ledger Conventions
Append-only conventions for AI-agent projects: a decisions table, a 16-column task ledger CSV, dated open-ques
Aiwatch Skill
Claude Code skill for AI governance intelligence. Researches any topic across UK Parliament, ICO, FCA, EU AI A
Claudecycles Revisited
An experiment in AI-assisted mathematical replication with structured scaffolding.
Claudemd Architect
Generate production-grade CLAUDE.md files that steer AI coding agents. Incorporates LLM reasoning failure miti
Canvas To Code Vocabulary
Vocabulary and conceptual model for Canvas-to-Code — base/ds/custom tier model, slice rhythm, the eleven gates
SnapEnglish
A Claude Skill for cognitive English coaching. Upload a photo or screenshot → get a challenge, model expressio
Related Agents
Peer Reviewer Theory
A simulated peer reviewer specializing in sociological theory, conceptual frameworks, and the theoretical cont
Auto Discovery
Automated agent that discovers non-obvious cross-domain connections by analyzing conceptual relationships beyo
Docs As Code Advisor
Use this agent when you need expert guidance on technical documentation strategy, Docs as Code principles, or