Repository navigation
fix(agents): stop linked-environment tasks stalling on approvals - #571
Merged
lastobelus merged 3 commits intoNov 2, 2026
Merged
Conversation
New machine links default to full access, remote launches inherit their effective caller mode, and remote approval waits reach the sender with a direct thread link. Carry-Group: incubator Carry-Observation: Keep permission inheritance and blocked-work reporting together to prevent unattended delegation from silently stalling.
Keep completion wakes armed after nonterminal waits, cancel obsolete queued notices, retain enclosing task ownership, and distinguish question changes without scanning provider output. Carry-Group: incubator Carry-Observation: Remote blocked-work notifications remain part of their original delegated task and expire when that interaction ends.
Preserve each notice and its run association when question state changes while the same approval remains pending. Carry-Group: incubator
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
lastobelus
deleted the
lastcode/cross-environment-thread-approval-stalls
branch
November 2, 2026 05:37
3 of 4 tasks
This was referenced Nov 20, 2026
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.
Problem
Work delegated to a trusted linked environment could stop on a routine approval prompt, and the sender kept showing it as working. Nobody was told, so unattended tasks sat stalled.
Two causes:
What changed
Validation
check:changedpassed all 323 changed-file tests, plus affected typechecks, lint, knip, and the React compiler check. New regression assertions failed before the fixes.292ed07173). The final 19-line adjustment passed the focused tests and the changed-file gate; Quick CI was not rerun on the exact final head.Browser evidence
Review
Two GPT-6.1 Terra reviews at xhigh effort. All findings from both were addressed. The last medium finding was fixed after the second review, with a regression test that failed before the fix and passes after. That final fix was not reviewed again.
Agent context
The MCP input schema grows by 481 bytes to carry observed remote interaction state. The PR carries the
agent-context-increaselabel.Implemented with GPT-6.1 Sol in the Codex harness; reviewed in two rounds with GPT-6.1 Terra at xhigh effort. Notification copy received a Claude Opus 5.5 writing pass.