# Does compaction destroy intent? Curious if anyone else has hit this — retained record

> Retained reddit record from reddit:ClaudeAI.

Canonical: https://highsignal.app/data/records/a6ae5eaf252cf60c

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeAI)  published 2026-11-18 06:20 ingested 2026-11-19 02:36

[original source ↗](https://www.reddit.com/r/ClaudeAI/comments/1xz8223/does_compaction_destroy_intent_curious_if_anyone/)

## retained text



```
I've been running long agent sessions (Claude Code, Codex, and similar tools), and I want to know if it's just me.

My observation: **compaction keeps the "what" but loses the "why."**

I kept running into errors after compaction and found myself re-explaining the same couple of details every other compacted context. The agent remembered the facts (files touched, tasks done, current state), but the intent behind them seemed to get lost. That means things like:

* The reason a certain approach was chosen over another
* Constraints set early on ("don't touch X," "keep it simple," "this is temporary")
* The tradeoffs already talked through and settled
* How the work should be done, not just what needs doing

After compaction, the agent keeps going, but it can quietly drift. It might "fix" something that was deliberate, bring back an option already turned down, or optimize for the wrong goal. It's still technically on task, just not the task you had in mind.

A few questions for the community:

1. Have you noticed this? What did it look like for you?
2. Is it worse in some tools than others?
3. How do you deal with it? CLAUDE.md or AGENTS.md files, decision logs, manual compaction with custom instructions, starting fresh sessions, something else?
4. Or do you think compaction is fine and the real problem is how we prompt?

I'd like to hear different views, including "this isn't a real problem."
```



document fetched 2026-11-19 00:23 · canonical https://reddit.com/r/ClaudeAI/comments/1xz8223/does_compaction_destroy_intent_curious_if_anyone
