Repository navigation
fix(runtime): isolate tool failures and recover interrupted actions automatically - #6527
Merged
Merged
Conversation
…utomatically Preserve returned tool results independently of cleanup, keep failed work with its actual owner, and let unrelated Agent and UI operations continue. Recover original actions across conversations, settings, uploads, approvals and terminals without manual receipt handling. Generated-by: Codex
…ipts Keep the model aware that an operation may have completed and let it inspect current state and continue. Retain typed original evidence without testing a fixed explanatory sentence. Generated-by: Codex
M4n5ter
marked this pull request as ready for review
November 1, 2026 06:49
4 tasks done
4 tasks done
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
A failed browser claim could leave cleanup uncertain, retire the Computer provider and its Agent dependents, and disconnect the conversation and catalog observers. The desktop then kept reconnecting while displaying internal recovery actions.
This change keeps failed work with its actual owner without retiring unrelated services or leaving completed workers in the active-session controls. Returned business results remain usable through tool persistence, Code Mode and the native Client, independently of cleanup status. Bot and ordinary conversations both receive sealed unknown tool outcomes when processing later messages and worker notifications.
Conversations, creation, settings, sign-in, approvals, uploads, interface settings and terminals automatically observe their original operations. Terminal outcomes release local waiting; unknown outcomes preserve unsent drafts and never fabricate attachments. Background recovery does not repeat business mutations. A stable preparation lease and SQLite CAS prevent recovery from cancelling another window or process while it is preparing a request. The manual receipt, recovery and abandonment panels are removed.
Browser integration pins maka-agent/cua#3, which reclaims an explicitly selected tab from an old extension session while retaining one lifecycle cleanup chain.
Verification
Remaining validation
No live desktop restart or user-database rewrite was performed.
AI use
Tool(s) and scope: Codex implemented the changes and tests; a separate GPT-6 Astra high advisor reviewed correctness and ownership. Human owner: @M4n5ter.
Checklist
Does this PR entail a change in behavior?