Repository navigation
Conversation
…rest as not_checked The judge covered pack bindings and facts, not what the run wrote. Fields typed inside a popup estimator had no verdict at all, so a run could end verified with a signed receipt while those fields were never checked. - Record every write (auto fill, operator value, kept prefill, fixed on screen, popup return) in a per-session ledger; the judge gives each one a verdict. - Add a third verdict status, not_checked, for a field with no declared read-back, a missing or ambiguous summary control, or a failed lookup. It is never passed. - Add the readback_incomplete outcome: submitted, nothing contradicted, but at least one field unchecked. No receipt; receipts and verdict models refuse to pass with an unchecked field. - Re-read popup inputs just before the popup's apply button, since the summary usually does not show them; a mismatch stops before apply. - Side panel shows refuted and incomplete runs as needing action.
…into claude/form-tx-weekend
…apply A re-read of the popup before its apply button guards the apply, but it is not a read-back of what the application recorded. Report those fields as not_checked. Key the write ledger by field, selector and popup so a popup input never hides a main-form write of the same key. The historical underwriting fixture now ends readback_incomplete: its estimator inputs are never shown.
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 ( |
…as key material check_evidence_keys denies any tracked file named like a key, and answer_key.json matched. The file is now answers.json and the manifest field answers_sha256; contents and sha256 are unchanged. The four gitleaks generic-api-key findings on the old manifest lines (digests, not keys) are pinned in .gitleaksignore by commit, file and line.
…mary is not_checked Grok and Gemini blocker on #2429: a field the run wrote, declared in field_readbacks, with no expected fact, shown empty or as a placeholder and not required_in_pack got no verdict, so a run could reach verified_done with a receipt. It is now not_checked. Headless test included. RESULTS.md points at the arm A rows in arm_A_full.log.
…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. |
…t-evidence-as-success) Codex's review at be4ee06, items 5 and 6: - A commit finalizes only with evidence of a save: a state-changing request the server answered with 2xx/3xx after the click (counted from responses, not request starts), and the page no longer on the uncommitted commit screen. Otherwise delivery_uncertain, never verified. - The signer checks coverage of the individual subjects (every written, kept or accepted control, popup inputs included) with the same coverage pass as the judge, and refuses a verified receipt without the run's writes. Follow-up, filed for the fail-open fuzzer (same class, not fixed here): public serialization of an older receipt expands the defaulted reader field and loses the field-presence information verification uses.
…baseline for picks
…and bind signer to auto-fill subjects and judge ledger
…subject source with exact auto-fill equality
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 |
# Conflicts: # .gitleaksignore # llms-full.txt # packages/flow/CHANGELOG.md # packages/flow/public-artifacts.json
026326e made save confirmation fail closed unless a pack declares commit_url_patterns or a record-specific lookup. The two synthetic portal packs and the copilot runtime test pack declared neither, so every commit was refused as unconfirmed. Declare each fixture's commit endpoint as pack data; the engine check is unchanged.
…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. |
…e reply body The surface marked a save as failed when the request failed after its status arrived. That happens whenever a page does `await fetch(); location = ...`: leaving cuts off the reply body. No save decision reads the body, so the status and headers are the answer; a request that never got a status still fails.
…nt fills from the ledger; a signer refusal is a stop - Every control the reconciler actuates is noted apart from the write ledger. Before signing, each must be in the ledger (a radio option may be named by its group); otherwise the run ends readback_incomplete with no receipt. - The receipt's fields_filled_auto is the number of distinct auto-filled controls in the ledger, so a control filled again after a sign-in or a re-render is one field. - A signer refusal (ValueError) ends the run readback_incomplete instead of raising, including from apply_human_resolution. Tests pin the await-fetch-then-leave pattern with a reply that is still streaming, a save with no status, an actuation missing from the ledger, a planted signer refusal after a human decision, and a re-filled control.
…a client abort; actuations keyed by popup and screen Review follow-ups: - The answered flag is keyed by the request's sequence number and cleared with the counter, so a reused object id cannot turn a later failed save into a cut-off reply. A request that failed after its status counts as a cut-off reply only when the browser reports a client abort; any other failure still vetoes the save. - An actuation is covered only by a ledger entry in the same popup and on the same screen, as the ledger keys its subjects. Tests: a later save with no status vetoes an earlier 2xx; a ledger entry for the same selector in another popup does not cover an actuation.
# Conflicts: # packages/flow/CHANGELOG.md
…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. |
# Conflicts: # packages/flow/CHANGELOG.md
# Conflicts: # CAPABILITIES.md
Independent adversarial review: APPROVEFrom: Grok Cross-vendor re-review at the current head. My last verdict was APPROVE at What changed since cc8002cThere are nine PR commits. The ones that matter for safety:
A pick is still not the final verdict. The summary read-back judges every written subject. I found no path where a type-ahead with typed-but-unpicked text, or a prefix, ends Tests at this head (Python 3.12, in-tree flow and types)
CI at review time27 pass, 22 skipping, 1 pending ( |
|
Architectural pivot (founder Option 1, 2026-11-23): freezing the hand-written form-tx DOM heuristic and word-list stack to focus on openadapt wrap + demonstration-derived CheckpointSpec + Cross-Tab Entity Ledger + GUI-to-API/MCP promotion. Branch preserved for reference. |
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.