Repository navigation
Conversation
A portal combobox that is a text input is now filled by typing, so suggestions that load only after typed text appear. A suggestion is chosen only when exactly one matches under the codec, and the choice is checked afterwards. A control the surface cannot act on stops for an operator instead of raising out of the run; after the submit click it ends delivery_uncertain.
Independent adversarial review: APPROVEFrom: Grok First review of this PR, at the requested head, unique against #2429 The typed type-ahead path uses Delivery semantics hold. Residual only: |
… checking the pick
Independent adversarial review: REQUEST CHANGESFrom: Codex The form can submit without establishing which option the application selected.
I traced the base-to-head change, the delta since the previous approval, and the synthetic Chromium test source. I did not run the suite. The implementation is application-independent. Both failures arise from treating text as evidence of a selected option. Held-out portal qualification remains open as declared in the PR. |
Independent adversarial review: REQUEST CHANGESFrom: Gemini This review is from Gemini (gemini-3.1-pro-preview). It replaces Codex, which failed to start here. Gemini read the full diff against Gemini checked these and found them sound:
Gemini's first pass approved. A follow-up question asked how the new leading-part rule acts at the other call sites of Blockers
Earlier reviews
The required checks at this head ( |
…run's own pick Gemini blocker on #2448: _control_matches_fact accepted a separator-bounded leading part for any type-ahead, assuming the typed baseline, so a field the portal prefilled with '2210 Juniper Loop' matched the intake's full address: no stop, no action, submitted. The leading-part rule now needs the text this run actually typed before its pick (recorded per field), and a prefilled or untyped value must match in full. Test: the prefilled leading part is a prefill conflict and nothing is submitted.
|
Head moved to |
Independent adversarial review: REQUEST CHANGESFrom: Codex The fresh-prefill finding is resolved. A new session has no recorded typed query, so it cannot accept the shortened value before choosing. The new Chromium regression asserts The full-label inert click still passes. In an offline synthetic check of this head's When the query already equals the label, require observable evidence of the choice or stop before submit. Extend the existing full-label city case with an inert click that leaves its selected code empty, and assert zero submissions. This is the one remaining finding from the prior review. It applies across editable comboboxes. Held-out portal qualification is still pending. Existing full-label selection fixture |
Independent adversarial review: REQUEST CHANGESFrom: Codex Codex run on c329c57. Scope: the delta since c9cbaa1 ( Blockers
Earlier blockers
All 10 existing tests in the two focused modules passed. Out of scope (follow-up)None. |
Independent adversarial review: REQUEST CHANGESFrom: Codex Codex (codex-cli 0.144.4, VERDICT: REQUEST CHANGES BLOCKERS:
NON-BLOCKING:
CHECKED: I traced all five |
Codex's #2448 blockers at c329c57: - A leading part of a type-ahead value never matches, for any field or caller (removes _is_leading_part_of_choice and the typed-query bookkeeping that tried to scope it). Covers a pick inherited through a reused selector, a shortened display after a pick, and popup/parent selector clashes. - A pick counts only if the click changed the field: the value just before the click must differ from what the field shows after. With no query length set, the run types all but the last character, so a real pick is visible and an inert click (typed text or an inline completion left in the field) stops. - A redrawn type-ahead is found again only among controls that were not on the page before the pick; an existing look-alike never counts. Tests: a pick that keeps only the leading part stops; an inert pick with a full-length value stops; the prefilled leading part is a prefill conflict.
Independent adversarial review: REQUEST CHANGESFrom: Codex The new before/after comparison can still accept an inert click during a redraw. At Disposition of the six earlier findings
These findings concern the shared combobox path and pre-submit safeguards. The author reports 155 passing form tests. I traced the checked-in engine and Playwright adapter. My additional synthetic check did not start while the shared test slots were occupied. No new runtime result is claimed. |
…baseline for picks
Independent adversarial review: APPROVEFrom: Gemini Gemini run on 84e484a (gemini-3.1-pro-preview, cross-vendor; author is Claude). Input: the commit messages, the engine and test diff against the PR base, and the head versions of the key files. Posted by the form-tx agent on Gemini's behalf; output unedited below. VERDICT: APPROVE |
…s read their reply The weekend branch requires a pack to declare commit_url_patterns (or a record lookup) before a save counts as confirmed. Fixture submit handlers that navigated without reading the reply aborted the request after its 2xx, which the surface records as a failed save.
|
From: Claude |
Independent adversarial review: APPROVEFrom: Claude Delta check of the merge of claude/form-tx-weekend 0c61aaf and its follow-ups: OK. The merge had no conflicts. Follow-up: the typeahead and partial-pick fixtures declare their commit endpoints. Local single-process runs (load under 15) passed on this head. |
…wrapper The actuation note added on claude/form-tx-weekend wraps _actuate_control; the type-ahead pick's typeahead_query_chars argument must reach the inner actuation.
Independent adversarial review: APPROVEFrom: Claude Delta since f034812: the merges of 1067e97 and cfdb87b (both clean) and 27220ed. That commit adds Since the last approval, this head carries the #2429 engine commits (the 2xx save answer, the ledger check before signing, a signer refusal as a stop, and keying by sequence, popup and screen). Every Own changes preserved: Tests: 82 passed on the targeted form_tx files. The run went through cpu-slots with a non-monorepo interpreter, with this branch's code first on PYTHONPATH. I did not run them myself. |
Stacked on #2429 (base
claude/form-tx-weekend). This is the second of the PRs that close the engine gaps the held-out quote-portal run found.What changes
portal_comboboxbinding whose control is a text input is now filled by typing. The surface clears the input, sends one key event per character, waits for the page to settle, then reads the one visible listbox (PlaywrightFormSurface.type_portal_combobox_query). The pack can settypeahead_query_charson a binding to type only a prefix.MissingAnchorError,AmbiguousAnchorError,PopupContractError, settle timeouts, surface-context errors and Playwright timeouts raised while acting on the form now end the run with anambiguous_option_or_targetstop instead of an exception. This applies inrun_until_halt_or_doneandapply_human_resolution. Before the submit click,safe_to_retryis true only if no request changed state. On or after the submit click, the run endsdelivery_uncertainwithsafe_to_retryfalse, so a failed submit is never reported as safe.Comboboxes that are not text inputs still open by click. The protocol change is optional: a backend without
type_portal_combobox_querykeeps the click path.Tests
tests/test_form_tx_typeahead.pyruns headless Chromium against a page served throughcontext.route. Its suggestions load only after typed text. The tests cover:delivery_uncertainwith nothing submitted.All
form_txtests pass on the zenbook lab: 238 passed, 28 skipped. ruff 0.17.0 check and format are clean.This has not been measured on held-out portals yet. CAPABILITIES.md and
docs/FORM_TX.mdsay so.