Repository navigation
fix(jev): judge done on the page that landed, and end done on a none above even odds - #108
Merged
Merged
Conversation
…above even odds A client-side transition can change the URL and title before it swaps the body in, and settle took that first moved read as final: the done judgement then saw the previous page's elements under the target's address and believed the address. A moved read that still carries the action page's handles is now re-read until the body follows or the settle deadline passes. A none pick with done above even odds is the run standing on the target with nothing left to do; it ends done instead of blocked.
A none pick with done in [0.5, 0.8) ended the run done even when blocked cleared doneThreshold, in both the per-step switch and the out-of-budget judgement. That answer set is a wall at the target's address, and on main it exited 3; finished() now yields to it.
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).
tenequm
added a commit
that referenced
this pull request
Sep 21, 2026
…ight-cli driver facts (#119) Docs only: the OKF bundle in `docs/knowledge/` gains the durable knowledge from the 2026-09-19..21 stress round, the jev-browse redesign (#117) and the #118 live experiments. No code, no SKILL.md change. ## Added - `decisions/jev-model-judges-loop-acts.md` - the #117 decision (the model sees every control plus headings and text; no local rule hides a candidate or flips a verdict; writes are guarded on the chosen action by a hard-deny verb list plus one noul, never on a fill; a second refusal on a page exits 3 naming the write) and #118 layer A (a none never implies done). Its Evidence section keeps the four calibration findings as short titled paragraphs with their numbers: the `none && done > blocked` coin flip (blocked 0.03-0.09 everywhere, 2 false dones in 10 runs at done 0.61-0.63), a noul that cannot judge a redacted value (`applied` at 0.67-0.73 with the value in effect; the layer-B veto never fired in 16 A-vs-B runs, which is why B was dropped), the write noul straddling 0.2 on submits (Enter and Search at 0.20-0.27, refused nine times; a chat overlay's Close at 0.22), and fill confidence not separating right from wrong (correct 0.35-0.50, wrong 0.21-0.38; no floor). - `findings/playwright-cli-goto-and-find-behaviour.md` - two facts about the bundled driver 0.1.20: `goto` snapshots at `load` before hydration with no network-idle option (the "eval quoting bug" that was this timing), and `find` printing every hit as its ancestor chain (24 hits = 367 lines / 16.7 KB) which #116 compacts to one referenced line per hit (26 lines / 3.6 KB, 40-hit cap, `--raw` for the driver's output). - `findings/stress-round-verdict-0-15-0.md` - the 2026-09-19 method (six agent runs, opus and sonnet, signed-in and public task files, each timing tasks and ranking friction), the result (every plain `cuttle pw` task passed on both models; jev-browse failed 4 of 5 search-UI chunks), the ranked friction list with the PR that answered each (#108-#116), and the consequence: the skill carries only what every session pays for, so 0.15.0 demoted jev-browse to a `--help` pointer (15,410 to 13,088 bytes, ~700 tokens a session, under the 16 KiB test cap). ## Updated - `findings/jev-browse-slowness-was-the-driver-path.md` - a dated note that #117 replaced the pruning it describes with a guard on the chosen action, linking the decision; the recorded timings are untouched. - `index.md` - the three entries, descriptions verbatim (the bundle is hand-indexed). ## Sourcing Public-repo wording throughout (a signed-in professional-network site, an encyclopedia article); the live step logs and the two design memos are cited as session-scoped sources with no durable link, and only their numbers are quoted. PR bodies #108-#118 and commit cfc05d8 are the durable evidence. Frontmatter parsed with pyyaml, every footnote label matches a source id, every bundle link resolves, ASCII only, `just check` green. ## Release notes The knowledge base in docs/knowledge gained the 2026-09-19 stress-round verdict, the jev-browse decision-layer rationale with its live calibration evidence, and two playwright-cli driver facts (goto before hydration, find output). Documentation only - nothing changes for anyone running cuttle.
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
Documented in
docs/knowledge/findings/spa-transition-hides-body-behind-overlay.md: the done judgement receives the page's URL, title and the pruned interactive elements - never its text - andsettletook a read whose URL had left the action page as final, without a confirming read. A client-side transition between two apps of a site changes the URL and the title first and swaps the body in seconds later, so that read was the previous page's elements under the target's address, and the judgement believed the address (done=0.95 on a page still showing the previous app's cards).A second, adjacent ending from a live stress run: the goal page reached, the model answering
nonewith done at 0.57-0.72, and the run exiting 3 "blocked: nothing on this page makes progress" from the page it was asked to reach.Change
One mechanism for the first:
settlenow takes the snapshot the action was taken on, and a moved read whose element handles (refs, roles, labels) are identical to that page's is not settled yet - it is re-read until the handles move or the existing 5s settle deadline passes. No new flag, no page text sent; the judgement receives the same fields as before, taken from the page that actually landed.Snapshot.signature()is split into URL +handles()so the comparison can ignore the address.For the second: a
nonepick with done at or above even odds (noneDoneThreshold = 0.5) ends the run done, in both the per-step and the out-of-budget judgement.done >= 0.8alone andblocked >= 0.8behave exactly as before. The write-action gate, the persistent client and the request shape (golden unchanged) are untouched.Tests
Neutral fixtures only. New: a settle table case for an address that moved before the body (three reads), a deadline case for a body that never follows, a run-level test asserting the done request carries the landed page's elements rather than the stale ones (fails on
mainwith the sign-in page's five elements under the next page's URL), and anoneat done 0.6 / 0.4 pair.Behavior risk
A navigation onto a page whose interactive elements are byte-identical to the previous page's (a URL change that re-renders nothing interactive) now costs the settle deadline before it is judged, where it used to cost one read. The
none+done ending can declare done at 0.5-0.8 on a page that only mentions the target; the brief still names the URL to check.Not touched, out of scope for this PR: the
--texthint fires whenever the snapshot holds a textbox/searchbox/combobox, which a site-wide search box satisfies - a wording issue that needs the failing snapshot to fix properly; and the write gate withholding an "Easy Apply filter" radio (filterREonly exempts names that are exactly "apply filters").Release notes
jev-browse no longer declares a task done from a page whose URL and title changed before its body did: a read that still shows the previous page's controls is re-read until the new page is there. A run that reaches its page and finds nothing left to do now exits 0 done instead of 3 blocked.