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
- A versioned bootstrap loader pattern for keeping AI-generated code always shippable — NickPassig · 2026-10-15
- Amazon blocks AI shopping agents; Maritime offers $1/month Android MCP workaround — Scobleizer · 2026-10-15
- Dev vibe-codes open-source newsletter platform, 83% cheaper than Beehiiv from $19/mo — marclou · 2026-10-15
- ERP AI launches Proto: 'headless SaaS' business software built for AI agents — Aiden_Tech_Ai · 2026-10-15
- Engineering managers need deep reading, not just agent summaries: 5 recommended resources — rseroter · 2026-10-15
- Adding motion graphics with just a prompt: the Claude Motion x ElevenLabs MCP workflow — CurieuxExplorer · 2026-10-15