SIGN IN SIGN UP

fix: skip SessionStart on compact since additionalContext is ignored

PreCompact exiting non-zero pollutes the compaction context with a
"failed" message, making Claude less likely to follow compact
instructions. Errors are now written to the state file silently and
surfaced via SessionStart:resume's additionalContext instead.

Additionally, PreCompact skips the Morph API call if a cached summary
already exists (enabling a retry path), and SessionStart:compact
detects when compact instructions were ignored and prompts the user
to run /compact again.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
S
StayBlue committed
637523e6dc69790e8063183011a9896c935b8470
Parent: d0d62f8