#10045·pi

Auto compaction of opus 5.5 on bedrock blocked by anthro policy

Author: hughcarsCreated Sep 25, 2026Updated Sep 28, 2026
Labelsbug

What happened?

When I'm running a long opus 5.5 session and get to ~98% and the auto-compact starts trying to trigger, I get this error message:

Auto-compaction failed: Summarization failed: This request was blocked as it seems to violate Anthropic's Terms of Service restrictions on reverse engineering or duplicating model outputs. To learn more, visit https://www.anthropic.com/legal/commercial-terms.

If I then stop and run /compact myself, it works just fine and I can keep going, so there's something weird about just the auto-compaction? Not sure if this is a bedrock or an anthropic thing.

I can work on it directly if needed, but opening this issue first in the spirit of not just slop cannoning the repo/maybe the fix is trivially obvious to you. Thanks for the work you do, pi beats the rest of the harnesses by far.

Steps to reproduce

  1. Get an opus 5.5 session running on bedrock to ~98% so the auto-compaction tries to trigger.
  2. See error message
  3. hit esc then /compact
  4. See compaction work.

Expected behavior

I would think auto-compaction should just be the same has having typed /compact directly.

Version

0.87.1