[BUG] Claude Compaction Completely Broken for Opus

Resolved 💬 3 comments Opened Apr 18, 2026 by Aevum11 Closed May 29, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Compaction no longer functions for Opus. Every conversation, on every first compaction, the compaction fails.

What Should Happen?

Compaction should work and compact.

Error Messages/Logs

Generic compaction failed message.

Steps to Reproduce

Start a conversation with Opus, without hooks or anything, and then talk until compaction.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗