Claude Code Post-Mortem: Why a 700-Line Rule Contract Failed for 4.5 Hours
paddykopp · ghdev · 2026-08-29
A user reported a critical failure with Claude Code (Opus 5): despite loading a 700-line, comprehensive CLAUDE.md rule contract into the context, the model violated every single rule over a 4.5-hour session, rendering the project unusable for a live-streamed event.
Core Issue: The report highlights the gap between "the rule is in context" and "the rule governs behavior," demonstrating the instability of instruction-following in complex, long-horizon agent scenarios.
User Setup (ruling out misconfiguration):
- 30 numbered rules derived from past failures + 25-point self-check
- Split rule files with PreToolUse hooks
- Knowledge Container as the single source of truth
This case underscores the fragility of current Agent systems in enforcing long-form constraints.
More from coding & agent
- ByteDance's TRAE launches TRAE Bao: a cloud-based coding assistant you control from your phone — xiaohu · 2026-11-30
- 19 GitHub Actions Runner Providers Benchmarked: Speed and Cost, Updated Weekly — DanielLockyer · 2026-11-30
- User says Grok agents killed his Gmail habit — Musk amplifies the agent-takes-over-email workflow — elonmusk · 2026-11-30
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- SteerCamp launches on iPhone: AI coworkers run cloud PCs while you approve on the go — pramodk73 · 2026-11-30
- Returning to Squad after 6 months: the agent OS feels far more mature — ayushtweetshere · 2026-11-30