Repository navigation
fix(agent): preserve output recovery across tool restrictions - #461
Merged
mikamikasuki merged 1 commit intoOct 27, 2026
Merged
Conversation
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.
Fixes #389.
A resumed run could report completion after a truncated model response if its tool permissions had been reduced to
finishonly. Recovery now stays pending and pauses for a usable continuation permission. Saved actions, debug edits, and accepted action edits cannot substitutefinishfor that continuation. Recovery clears after an authorized non-finish action produces its result, with its accounting retained.Validation:
The runtime scenarios use isolated SQLite/data/workspaces and
httpx.MockTransportat the HTTP boundary. No live model or scientific validation was performed. One existing Bubblewrap-dependent read test fails becausebwrapis unavailable on this Mac. Real-process scenarios, two localhost-server checks, browser checks, and the full suite were not run.