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
- Get an opus 5.5 session running on bedrock to ~98% so the auto-compaction tries to trigger.
- See error message
- hit
escthen/compact - See compaction work.
Expected behavior
I would think auto-compaction should just be the same has having typed /compact directly.
Version
0.87.1
Source: earendil-works/pi