Claude Code's context compaction silently turns offhand remarks into agent-constraining rules

nptacek · x · 2026-11-18

Developer nptacek reports a serious Claude Code problem: context compaction warps conversational corrections into Byzantine self-imposed rules that persist and waste tokens. After he asked Claude to ease off system resources mid-run and later said it could go full throttle, an auto-compact silently wrote in 'NO HEADLESS BROWSERS, NO GPU USAGE' — instructions the user never gave. His agents then churned tokens for hours with little progress. The core issue: Claude's own random decisions get reified through compaction into durable constraints.

Original post →

More from coding & agent

coding & agent channel →