Repository navigation
feat(jev): withhold write actions and halve jev-browse run time - #102
Merged
Merged
Conversation
actionSpace never offers a click or typable target whose label is write-shaped (send, follow, connect, apply, save, message, ...); the brief and the --json outcome name what was withheld. --json step lines gain model_ms, api_calls, driver_ms, spawns, input_tokens and withheld; the outcome gains run totals, output_tokens, elapsed_ms and the model the API reported.
…d clicks A focused dialog or alertdialog restricts the action space to its subtree, since the modal intercepts every background click. An action that failed on an unchanged page is not re-offered, and Enter stays on offer after typing on the current page.
- settle takes a read that has left the acted-on URL (a load or an SPA route change) as-is; the confirming second read and poll stay for in-page changes. - A textbox fill no longer ends with Tab: focus stays in the field and Enter is offered after every fill. - The lease guard skips its renew while the last grant is under 30s old. - --json spawns counts every exec behind a driver call (renews, re-attaches).
Elements now carry the nearest landmark they sit in and their state (filled, checked, mixed, expanded, selected). Option rubrics are prefixed with the section, and a typing option into a box that already holds text ends in (filled) - never the value. A new pick rule routes values to the task's form rather than a site-wide banner search. The request goldens are regenerated for the new section field, rubric prefix and rules; their fixture history now names the sectioned rubric.
Each jev-browse verb was a fresh exec plus a node start of playwright-cli (~0.3s of fixed cost per verb). A long-lived client in the container now loads only the driver's client modules once and forwards each verb over the same session daemon socket, so a verb costs the daemon round-trip. Input still flows daemon -> cuttle's CDP endpoint, unchanged. attach/open and anything the driver handles client-side still exec; a client that cannot start falls back to exec for the run.
tenequm
force-pushed
the
feat/jev-browse-speed
branch
from
September 19, 2026 10:38
c47cc89 to
d43d13d
Compare
tenequm
added a commit
that referenced
this pull request
Sep 19, 2026
…ape and jev removability (#104) ## What Captures six dated concepts from the 2026-09-18/19 browse benchmarks and driver investigation into the OKF knowledge bundle (`docs/knowledge/`): - Finding: orchestrator reasoning effort is the largest browse-time lever - Finding: jev-browse slowness was the driver path, not the model (links #102) - Finding: cost of one `cuttle pw` call (links #100, #101) - Finding: playwright-cli action verbs always write their snapshot to a file - Finding: aria snapshot focus and modal shape - Decision: jev is a removable module (depguard rule from #99) Also: index entries (hand-indexed bundle), a cross-link from the driver-interface decision to the measured call cost, and one standing-order line in AGENTS.md pointing at the jev decision. Docs only, no code change. ## Release notes The knowledge bundle now records browse-time benchmarks, the cost of a `cuttle pw` call, playwright-cli snapshot behavior, and why `internal/jev` stays a removable module. No action needed.
…r client The 30s renew throttle let a taken-over run keep driving the page for up to 30s; renewing through the persistent client restores the stop-before-next-action guarantee at no process cost. A failed verb on the client path no longer exits silently, and a canceled run sends no further verb.
…orked Adds the un- forms and missing account verbs (cart, purchase, vote, block, report, upload, sign out, ...), tests links and tabs only by a leading verb so 'Saved items' and a 'Following' feed stay on offer, exempts 'Apply filters', and offers Enter only while the last working step on the page was a fill.
A landmark named after any field value on the page is offered by its role alone, beyond sealEchoedValues' reach. A focused dialog with nothing to click no longer hides the page, [pressed] is reported as state, and fixtures use neutral labels.
OPERATING lists every --json field and the link/tab rule; the brief names at most ten withheld controls; step lines carry output_tokens.
This was referenced Sep 19, 2026
tenequm
added a commit
that referenced
this pull request
Sep 19, 2026
…age recovery finding (#107) Knowledge bundle update from the benchmark rerun on merged main (9ca9386 = #100 + #102 + #103): same 12-click flow on a signed-in site, humanize on, headless `claude -p` Opus orchestrator with a fresh context. ## What changed - `findings/orchestrator-effort-is-the-browse-time-lever.md`: adds the merged-main pw table (low effort 96/129/116/104s, high effort 148/161/153s), notes the one harness failure (non-JSON answer, excluded), records that #103's host snapshot did not measurably move pw timings, and states the #101 verdict (~250ms/call is ~5-8s of a ~100s run). - `findings/jev-browse-slowness-was-the-driver-path.md`: adds the merged-main jev-browse numbers (high effort 163/134s, 2/2; low effort 95/167s, 0/2 on the "people" step) with the diagnosis that the low-effort failures are the site's overlay plus the orchestrator giving up, not a #102/#103 regression. - `findings/spa-transition-hides-body-behind-overlay.md` (new): the stuck-page trap - a client-side app transition updates URL and title while the body sits behind a "Navigating to ..." overlay; the aria snapshot or a reload already holds the page. Names jev-browse's pre-existing URL+title done-check weakness. - `findings/pw-call-cost-breakdown.md`: one sentence making the #101 parking concrete; source title marked parked. - `index.md`: entries refreshed (hand-indexed bundle, descriptions verbatim). Verified: every concept's frontmatter parses with type/description/generated, index lines match descriptions verbatim, all bundle-relative links and footnote ids resolve. ## Release notes Knowledge base: merged-main browse benchmark numbers and the stuck-page recovery finding; nothing changes for users.
tenequm
added a commit
that referenced
this pull request
Sep 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.15.0](v0.14.2...v0.15.0) (2026-09-21) ### Features * bundle playwright-cli into the image with a cuttle pw passthrough ([#67](#67)) ([28d9846](28d9846)) * **cli:** center the skill and briefing on cuttle pw, drop host driver routing ([#75](#75)) ([33eca16](33eca16)) * **cli:** colored jev-browse output ([#70](#70)) ([cf6f109](cf6f109)) * **cli:** cuttle jev-browse - autonomous browsing loop on the bundled driver ([#66](#66)) ([0496957](0496957)) * **cli:** deliver pw action snapshots as a host file, secrets masked ([#103](#103)) ([78adbbb](78adbbb)) * **cli:** make --context/--name global so pw and jev-browse reach any instance ([#74](#74)) ([9df5c33](9df5c33)) * **cli:** zero-ceremony cuttle pw - auto-attach on demand, allow open ([a7e6491](a7e6491)) * **jev:** withhold write actions and halve jev-browse run time ([#102](#102)) ([9ca9386](9ca9386)) * **serve:** mask password field values in /snapshot ([#109](#109)) ([2a352b5](2a352b5)) * **serve:** session lease - one driver at a time, with takeover ([#69](#69)) ([87724c8](87724c8)) ### Bug Fixes * **backend:** keep profile cleanup and remote argv from reaching past their own ([#92](#92)) ([f52cfd3](f52cfd3)) * **cli:** close the gaps a review of the lifecycle fixes found ([#90](#90)) ([c46aa5e](c46aa5e)) * **cli:** close the lifecycle gaps a stress run left open ([#88](#88)) ([899a535](899a535)) * **cli:** discarding the profile removes the instance's host snapshot dir ([#113](#113)) ([57cd07a](57cd07a)) * **cli:** downloads --wait accepts a finished download, logs drops D-Bus spam ([#111](#111)) ([dcc2f46](dcc2f46)) * **cli:** name the in-page dialog behind a pw click timeout ([#99](#99)) ([11beeeb](11beeeb)) * **cli:** never fall back to another instance when the selected one is stopped ([#78](#78)) ([a1df361](a1df361)) * **cli:** re-attach the driver after a restart leaves a stale session ([#77](#77)) ([bbeb0f0](bbeb0f0)) * **cli:** run --extract on every ending, not only done ([#71](#71)) ([4954195](4954195)) * **jev:** judge done on the page that landed, and end done on a none above even odds ([#108](#108)) ([a9cb5a8](a9cb5a8)) * **jev:** offer filter-apply controls the write gate withheld ([#114](#114)) ([bdf440a](bdf440a)) * **jev:** read quoted snapshot lines and keep field values out of --extract ([#89](#89)) ([09111a2](09111a2)) * **pw:** compact find output, downloads into a directory, quieter logs ([#116](#116)) ([62f2ca8](62f2ca8)) * **pw:** snapshot links a host file like an action, and the console log line names its verb ([#110](#110)) ([c902c58](c902c58)) * **serve:** dismiss a native dialog the driver leaves open ([#87](#87)) ([14f24cb](14f24cb)) * **serve:** keep the default seed's downloads across browser relaunch ([aac8e40](aac8e40)) * **serve:** keep the dialog watch alive through a signal shutdown ([#94](#94)) ([4f4f1d0](4f4f1d0)) * **serve:** pool-mode reaping, capture tab, hung tabs and launch bursts ([#86](#86)) ([3b42ea2](3b42ea2)) * **serve:** skip an idle reap whose timer a launch has since re-armed ([#93](#93)) ([c667868](c667868)) * **smoke:** never exec into a container the run was not pointed at ([#79](#79)) ([9075244](9075244)) * **viewer:** keep websocket inside proxy prefix ([#62](#62)) ([3b10ba7](3b10ba7)) ### Performance Improvements * **cli:** run a pw verb in one docker exec, lease check included ([#100](#100)) ([a9c3c90](a9c3c90)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
What
Makes
cuttle jev-browsesafe to point at a real signed-in account and about twice as fast, without touching humanized input.writeREininternal/jev/decide.go): controls whose name reads as a change to the site (send, post, share, connect, follow, like, apply, save, message, reply, delete, buy, pay, confirm, subscribe, ...) are never offered to the model, and a "Write a message" box is withheld whenever--textis given. What was withheld is named in the brief and in--json(withheld).--json:model_ms,api_calls,driver_ms,spawns,verbs,input_tokensper step, plus totals on the outcome line.[active]dialog is open only its controls are offered. A click that left the page unchanged is not offered again on that page, and Enter is offered after typing until a step on that page works.[<landmark>] <role>: <name>with its filled/checked/expanded state, so a site-wide search box and a form's own box are different choices. Pick rules and request goldens regenerated (internal/jev/testdata/request*.golden.json); the fingerprint golden is unchanged.cuttle pwdoes, with the same humanized input. Anything it does not handle (attach, open, a client that fails to start) falls back to an exec. The code lives ininternal/cli/jevbrowse.go, so the depguard rule keepinginternal/jevremovable still holds;playwright.goonly gainsattachingRunner/execVerb, extracted fromnewPlaywrightRunner.Docs: the embedded SKILL.md jev section,
docs/OPERATING.mdandjev-browse --helpdescribe withheld actions, section-prefixed labels and the persistent driver.Why / numbers
Measured on a signed-in job site, same navigation flow, same humanized input:
jev-browsewent from 282-348s to 157-170s, level with doing the same flow by hand throughcuttle pw. Most of the saving is driver spawns (each verb had been an exec plus a node start of the whole driver bundle) and redundant snapshots; the gate is what makes running it on a real account acceptable at all.Testing
just checkgreen on every commit.<dialog>, and "Send message"/"Follow" buttons):--mock --text u=...: 6 steps, 19 verbs on 2 spawns total; labels read[navigation: Global Navigation] searchbox: Search/[main] textbox: Username; outcomewithheld: ["button: Send message", "button: Follow"].[main] button: Open settings, step 2 offered only the dialog's controls and picked[dialog] button: Go to account settings, landing on the settings page; ~0.3-0.5s model and 1 spawn for the whole run.Release notes
cuttle jev-browsenever offers write-shaped controls (send, post, apply, save, follow, message, pay, ...) and lists them as withheld, labels each option with its page section and state, and drives verbs through one persistent client - roughly twice as fast on real navigation flows.