Files
Hasan BasbunarandClaude Opus 5.5 843fd4f2ad auto-continue v2: an interrupted turn frees the session, and a timer that fires mid-turn waits
The code review of v1.56.0 found that the v2 plugin never cleared `busy` on
session.execution.interrupted (the projector makes the session idle there, as the plugin's own
header says), and that onTimer() returned while busy without re-arming. So after a turn the user
interrupted, the resume of a manual /compact was dropped for good, and so was one whose
compaction ended before its turn did. `busy` is now cleared on interrupted, and a timer that fires
while a turn runs re-arms instead of dropping; a turn that starts still clears what is pending, so
the re-arm never relaunches over it. Two tests, red on the old code, green now with the 14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:03:09 +01:00
..