Repository navigation
Late navigations, streamed planner answers, and declines that skip instead of stall - #45
Merged
Merged
Conversation
- Late navigations: sites often navigate a moment after an action (a search that submits once its suggestions load). Both drivers now notice when the page starts changing after the last snapshot and, instead of clicking or typing on the page being left, wait for the new page and ask for a fresh snapshot. Same-document navigations and subframe loads don't hold clicks up. Fast mode doesn't count such steps against its no-progress limit. - Streaming: the planner replies with its answer as plain text instead of a finish() call (Gemini delivers tool arguments in one piece at the end), and tool-chat turns are streamed and rebuilt exactly (content, tool calls, reasoning_details) for the next turn. Text written before a tool call is withdrawn. The dev bridge reports when an answer starts showing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ests never send or buy
From a real Facebook Marketplace run ("find me rent downtown under $1000"):
Jev tried to click "Send message to <seller>" three times. Each decline was
honored at the click (nothing was clicked), but fast mode's step loop swallowed
the decline as an ordinary failed step, so it moved on and asked again; the
flight log showed the steps as plain clicks. 67s, 2 listings.
- Decline = skip: the action isn't done, isn't asked about again during the
task (task-wide list), and the task carries on; the answer says what was
skipped. The stop button ends the task. The card says Allow / Skip.
- Requests that only find or read never send, buy or delete: those controls
aren't offered to Jev, and the planner refuses them without asking.
- A Stop during a confirmation ends the task instead of failing one step.
- Flight log: "declined:", "skipped:", "failed:" steps.
- A field the task gives nothing to type into ("Send seller a message") is
skipped instead of handing the task to the planner.
- Out of steps with pages read, fast mode answers from them (checked) before
the planner; option-finding answers list the best several matches; pages
keep 4k characters of text for the answer (Jev still sees 1.5k).
- A model turn that fails mid-stream (provider abort) is withdrawn and retried
once; so are errors inside 200 responses.
- Sites are picked for the user's country (browser language and time zone).
- Traces record each Jev decision's page (title, URL, text start) and top four
options with probabilities.
Same Marketplace request now: 16.6s, no prompts, a detailed best match plus
15 more listings under $1000.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Edge realistic suite: 11/11 passed, median 10.5s (mail_two_parts 14.6s, books_two_parts 8.1s, shop_buy 19.1s with 1 confirmation). |
This was referenced Sep 28, 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.
Why
Real runs showed four problems:
finish({result}), in one piece.What changed
Late navigations
Streaming
reasoning_details) for the next turn.Declines and irreversible actions
Fast mode
Resilience
Locale
Traces
Results
npm test: 71/71. New tests cover:npm run extension:smoke: 11/11. Read-only cases now also fail on any confirmation prompt.npm run buildpasses.🤖 Generated with Claude Code