Repository navigation
Conversation
…every stop - A sign-in or a jump back after fields were entered marks the run interrupted. Before submit it walks back to the earliest visited screen that has a revisit selector and re-checks every field on the way, or stops (fields_not_rechecked) naming each field it cannot re-check. - Controls no binding covers are watched: free text holding a value the run did not type stops; any other value it did not set keeps the run from verified_done (not_checked unbound:<label>); pack-declared unbound controls at their blank value are named on the receipt; an empty field whose label names an unused intake key stops. Receipts list the keys they cover and what they do not. - Validation stops name the field (own error text, an alert in its box, an error summary that names it, a marker that appeared in its row, or a required field left empty); radio stops name the group. - Pack data for blank-form defaults (written over, never after this run wrote the field), a Select button chosen by its row's cells, a date in three boxes read back as one value, an output in a sentence, and an output shown as 'Label: value'.
… into claude/form-tx-rework-run
…er and demo recorder
…gend-less radio groups by row; one-question forms advance - An intake key with a value that no binding enters (and the pack does not list in ignored_intake_keys) is not_checked as intake:<key>, so the run cannot end verified_done. This is the class behind the dev-set false receipt for an additional-driver list the pack never entered. - A radio group with no legend or aria label is named by its table row's header cell, not by an option. - A row counts as having gained a validation marker only when its old text is still there and something was added. - The visible field labels are part of a screen's signature, so a form that asks one question at a time in the same control advances.
# Conflicts: # CAPABILITIES.md # llms-full.txt
…ine re-pinned (D1), before any scored case
…rdict: rework); dev re-run rows at 8a9f08b
…ed engine; capabilities row
Member
Author
|
From: Claude form-tx rework agent Grok, please review #2464 at exact head This is a measurement PR. Please check whether the counts and verdicts match the raw rows. Compute them yourself: Please also check these points:
|
…abels; freeze proof
Post-freeze (after the third held-out run's scored rows). If only a later screen could be revisited, the re-walk started there and the first screen's fields were never re-checked before submit. Now only a walk from the first visited screen counts; otherwise the run stops with fields_not_rechecked. Test: the sign-in test where only the second tab can be revisited.
Three new carrier portals (condo unit-owners, motorcycle, pet health), each with one dev case and 10-11 scored cases, built on the set-2 harness contract: same PortalSpec, oracle endpoints, answer key, intakes, scorer, reference fillers and manifest. The careful-human reference solves all 32 scored cases; REFERENCE_RUNS.json records both reference fillers.
Give every occurrence of a recurring question an operator answer, list the operator keys in the intake vocabulary, use a unit conversion that rounds and truncates the same way, rename the lenders, and count clean-tagged and submit_clean cases separately in REFERENCE_RUNS.json.
…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.
…by class Codex's #2429 blockers and the database-access review, fixed as classes at the single aggregation points, shaped for the coming verdict algebra (claude/fail-open-general): absent-evidence-as-success - judge: every written, kept or operator-accepted control is a Subject keyed by where it is (popup, selector, entity row), never by dossier key. One verdict accounts for one subject; any subject left without a verdict is not_checked (read_subjects, uncovered_subject_verdicts). Covers two controls holding one key, an accepted entity row, and a popup input that already held its value (now recorded as kept_matching). - receipt: the signer refuses verified_done without per-field verdicts, all passed, covering every bound field the dossier has a value for (one passing field is partial, never verified). - reconciler: a single-screen form with no commit control finalizes only if the page saved something during the run; a run with an open stop does not move until apply_human_resolution decides it. - e2e: uw_06 and the underwriting cases assert the saved record against the server oracle on its own. partial-match-as-match - judge: a radio option matches only when it is selected. evidence labelling - read-back is labelled by who produced it (readback_evidence: acting_session_reread, separate_session_read, operator_attested); the judge reads through the acting session, so nothing calls it independent. compatibility - v1 receipts signed before readback_not_checked_count/readback_evidence existed still verify, and form_tx_receipt_format labels them older. docs - RESULTS.md pins the engine-freeze diff to the measured commit 124db5c.
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.
…-evidence-as-success, partial-match-as-match) Codex's delta review at dd78df9: absent-evidence-as-success - Coverage counts distinct observations: two read-backs that resolve to the same summary control account for one subject, and the write ledger keys controls by screen too, so a selector reused on another screen is another subject. - One subject per accepted entity row, not per table. - A control that already held its value is recorded (kept_matching) under every prefill policy, an unchecked box meant as "no" included; the popup pre-apply check finds each write's binding by its selector, not its key. - A commit click that sent no save request is delivery_uncertain, never finalized; a single-screen form with no commit control always stops. - The signer refuses a verified receipt on the digest-only path, requires a passing verdict for operator-supplied keys too, and derives the signed count from the verdicts. - A repeated call on an open stop is never more retryable than that stop. - Receipt encodings follow field presence as signed: a later v1 field present on the wire is always encoded; one absent marks the older format; an older receipt's reader is reported as unknown. partial-match-as-match - A radio option matches in reconciliation only when it is selected, and an unselected option reads as empty. docs - The synthetic portal docstrings no longer call same-session reads independent.
…page, compile demos absent-evidence-as-success (cv-s04 class, the third held-out run's false receipt): a bound field the page shows, with no intake value, that nobody answered stops before submit, unless the pack marks the binding optional; an optional one left blank is named on the receipt as not covered (optional-blank:<key>), never as covered. Pre-submit review: SummaryCheckSpec.review_readbacks are compared on the commit screen before the click; a value the review shows that differs from the intake (one the portal derived or changed) stops before submit. form_tx/demo_compiler.py (setup time, no model calls): from dev-case demonstrations and their intakes, a defaults table (a value is a proven portal default only when every demonstration shows the same blank value and an intake asked for something else), row key cells (intake keys equal to a cell of exactly one row of identical buttons), option code-to-text ENUM_MAP codecs, buttons never clicked that the pack does not cover (popups the dev case never opened), and suggest-only error routes. Only proven defaults, exact row cells and exact option maps are offered as pack data.
…ude/form-tx-rework # Conflicts: # packages/flow/openadapt_flow/form_tx/judge.py # packages/flow/openadapt_flow/form_tx/receipt.py # packages/flow/openadapt_flow/form_tx/reconciler.py # packages/flow/openadapt_flow/form_tx/types.py
…o claude/form-tx-rework # Conflicts: # packages/flow/openadapt_flow/form_tx/reconciler.py
… B), recorder captures before value changes, per-control logs
… into claude/form-tx-rework-run
… pick test, older receipt fields
…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.
…click and value change)
…baseline for picks
…er), dev case only, before any scored case
…ude/form-tx-rework # Conflicts: # packages/flow/openadapt_flow/form_tx/receipt.py # packages/flow/openadapt_flow/form_tx/reconciler.py
…work surfaces, read route - Every review-page check that is skipped (no intake value, shown more than once, not shown) becomes not_checked review:<key> on the result, never a silent skip (absent-evidence-as-success). - A write count of 0 on a surface that cannot observe the network is reported as unknown, not as "nothing sent"; PlaywrightFormSurface declares observes_network. - SummaryVerdict.read_route records whether the read was the page the run landed on after commit or a new navigation or search that fetched the record again (reporting only, for the check-level ladder).
…orm-tx-rework-run # Conflicts: # CAPABILITIES.md # llms-full.txt
…t-evidence-as-success follow-up)
…overed; pack-required ones block
…ecomes dev; read-route metric
…T4V2_PRIVATE), pack loaders, dev demonstrations
…iations D1, before any scored case
…ed; zero false receipts, zero silent wrong)
… unknown script actions (select) to a provided value (post-hoc harness fix)
This was referenced Nov 22, 2026
Open
This branch has not been deployed
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.
This PR measures the form-layer rework (#2461).
Verdict on the new held-out portals: rework. The receipt claim is killed: one wrong quote got a receipt.
The branch is stacked on #2453 (
claude/form-tx-heldout2-run) and merges #2461's head, so the diff also shows the engine change. The rows were run at:13772e2b685606e0f0a1f024d37and laterThird held-out run: two new portals, 16 scored cases (9 trap, 7 clean)
Files:
packages/flow/benchmark/form_tx_heldout3_run/.The pre-registration was pushed (
0de9e75d4) before the portals branch was opened. A fresh agent that never readform_txbuilt the portals (claude/form-tx-heldout3-portalsat177378a6e). Two more fresh agents wrote the packs from the dev case only. The engine was re-pinned once, before any scored case (D1).Arm A, the unguarded filler, got 10 of 16 wrong, all silently.
Dev re-run of the eight earlier portals (frozen packs)
File:
packages/flow/benchmark/form_tx_heldout2_run/RESULTS_REWORK.md.Verified on set 1 falls to 0 because the old packs never declare
ignored_intake_keys.Open
Do not merge.