Resume operator approval on the live agent - #845
Merged
TheGreatAxios merged 7 commits intoSep 10, 2026
Merged
Conversation
TheGreatAxios
commented
Sep 9, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
independent critic found no remaining blocking stalls. Interrupt during overlay now bumps delivery generation before close/rebuild so later accept/decline cannot land on the rebuilt agent. File-for-later: add a lifecycle test that interrupt() itself calls bump (being added as a follow-up).
TheGreatAxios
force-pushed
the
cl-7532-approval-resume-stalls-operator-approval-does-not-reliably
branch
2 times, most recently
from
September 10, 2026 01:44
ad8c9a6 to
2ed56eb
Compare
/clear during the permission overlay bumped generation after handle started, but the TUI recaptured at deliver time so an accept still injected the approved decision into the empty session.
Interrupt rebuilt the agent while the permission overlay stayed open, so a later accept or decline still saw a current generation and delivered into the new agent. Bump delivery generation on interrupt the same way session rotation does.
TheGreatAxios
force-pushed
the
cl-7532-approval-resume-stalls-operator-approval-does-not-reliably
branch
from
September 10, 2026 02:49
6e9d834 to
9421101
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sendplus approval-resume stay insiderunWhileAgentBusysoreloadIfIdlecannot close the agent while the overlay is up./clearand interrupt bump it so a later accept cannot land in a rebuilt session.Verification
bun run typecheck,bun run build, andbun run testpassbun run checkpassesFixes CL-7532
Changelog: bug