Skip to content
Tagged articles

auto-compact

2 articles · Page 1 of 1
Architecture Development Notes
Architecture Development Notes
Oct 28, 2026 · Industry Insights

Claude Code Compact Window: Config Accepted ≠ Effective — Merging Rules & 3 Checks

Claude Code's auto-compact window can be set in six different places, each with distinct parsing rules, priority levels, and direction constraints (only lowering, never raising). Invalid values are silently ignored without errors. The article breaks down the merging logic, version-specific changes, and three verification methods: startup warnings, debug logs, and transcript events.

Claude Codeauto-compactconfiguration merging
0 likes · 14 min read
Claude Code Compact Window: Config Accepted ≠ Effective — Merging Rules & 3 Checks
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Jun 30, 2026 · Artificial Intelligence

Why Claude Code Seems to Forget: The Hidden Auto‑Compact Mechanism Explained

The article demystifies Claude Code's auto‑compact feature, showing how context limits trigger automatic summarization that discards most historic data, which parts survive compression, and practical strategies—including file persistence, directive‑based compaction, child agents, and proactive clearing—to keep critical information alive during long sessions and interview discussions.

Claude CodeContext ManagementPrompt engineering
0 likes · 20 min read
Why Claude Code Seems to Forget: The Hidden Auto‑Compact Mechanism Explained