Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7706a770e9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| conversation_id: request.conversation_id, | ||
| turn_id: Uuid::new_v4(), | ||
| }; | ||
| self.0.deps.context.begin_turn(key); |
There was a problem hiding this comment.
Bind browser context only after the turn is admitted
If preparation or model initialization fails, this call has already assigned the invocation's browser reference to a turn that never gets submitted. Retrying creates a different turn key, causing DesktopContext::begin_turn to permanently remove that reference because source.turn != Some(key). Consequently, a recoverable submission failure silently disables browser context for the subsequent successful attempt, even with unchanged permissions and target. Move the binding past the fallible preparation and admission checks so rejected attempts do not consume the invocation's reference.
Useful? React with 👍 / 👎.
Recognize foreground applications, including Cursor and Orca, and distinguish supported browser input scenes without overriding the selected style. Bind optional Ask browser references to the original frozen target and the invocation's initial authorization epoch; reject stale grants, changed targets, missing observations, and ambiguous structures with conservative fallback.
Browser context is limited to explicitly authorized origin/path metadata and static input-scene data. Page bodies and task excerpts are not implemented, and browser compatibility has not been verified on devices. Preserve the merged selection, clipboard, and uncertain-write behavior; this is incremental integration, not completion of the full input-context feature or browser navigation.
Validation: