Tip: Claude Code was handing the model a stale git status after every compaction
Claude Code Changelog·medium signal
Until 2.1.269, the git status Claude was told following a compaction was the one captured at the start of the session, not the current one. In a long autonomous run that compacts several times, the agent was reasoning about a working tree that no longer existed, including files it had itself already committed. The fix re-reads status at compaction time.