Files
PaperClipAI/packages
paperclipbugbotandClaude Opus 5.5 3e72d97be6 fix(runner): keep room to retire a session that filled its command journal
The Core command journal stops at 500 commands. A long run journals one
semantic tool result per tool call, so its journal can reach that bound.
The next run then cannot queue turn.stop, runner.drain, runner.suspend or
session.close to retire that session. Every successor run fails with
native_predecessor_retirement_unproven (command_journal_full).

Work commands still stop at 500. Retirement commands now have a separate
bounded reserve of 64 slots. State and checkpoint validation accept the
reserve so that the retired journal restores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 04:38:32 +00:00
..