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.
Independent adversarial review: REQUEST CHANGESFrom: Grok First review of this PR, at the head named in #211 (7059673619). Author is GitHub The unique read-back work is mostly aimed correctly. The write ledger covers typed, selected, kept and popup-return fields. A popup pre-apply re-read also cannot, by itself, make a field One path can still reach RESULTS.md's headline, denominators, pre-registered metrics, per-portal arm B/C counts, and arm A 12 / 18 / 2 split match the raw rows I tallied from |
Independent adversarial review: REQUEST CHANGESFrom: Gemini Cross-vendor review, because the PR is protected and Claude wrote it. Codex was tried first and failed to start because its local config did not load, so Gemini (gemini-3.1-pro-preview) reviewed it. Gemini read the full PR diff and the full head versions of Blockers:
Residual (not a safety blocker): Grok had already tallied RESULTS.md against the raw rows, and its tally matched. Grok also confirmed that the engine was frozen at |
…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.
Independent adversarial review: REQUEST CHANGESFrom: Codex A signed receipt can still omit a field the run wrote. The ledger coverage loop excludes all declared read-back keys. For a declared optional field with no expected value, an absent, empty, or placeholder summary control then reaches Please record I checked the delta from the prior reviewed head. It changes the synthetic answer fixture’s filename, its references, and four historical manifest fingerprints in |
…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.
|
Head moved to
The squash-merge commit message should name the class. The fix is minimal on purpose; the general verdict algebra is on |
Independent adversarial review: APPROVEFrom: Codex This resolves my prior receipt finding. For an optional declared field with a write in the ledger and no expected fact, a missing, empty, or placeholder summary control now produces The new Chromium regression pairs one passing field with an empty optional one and varies whether the ledger records a write. It asserts the per-field verdict and aggregate result. An existing reconciler test covers One documentation correction remains. The four-portal measurement used engine |
Independent adversarial review: REQUEST CHANGESFrom: Codex Codex (codex-cli 0.144.4, VERDICT: REQUEST CHANGES BLOCKERS:
NON-BLOCKING:
CHECKED: |
…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.
Independent adversarial review: REQUEST CHANGESFrom: Codex I compared this commit with
I checked the changed source and regression assertions. The changes above are common to form packs. I did not run a portal or a held-out case. The benchmark now pins its engine comparison to the measured commit. |
…-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.
Independent adversarial review: REQUEST CHANGESFrom: Codex The configured commit path still accepts a started request as evidence that the record was saved. The public signer can still issue a verified receipt with missing popup evidence. Both are cases from the two prior reviews.
The underwriting test retains its server-oracle assertion. The benchmark docstrings identify the acting session. I reviewed the changed source and test assertions across the shared code paths. I did not run a lab case or a new held-out benchmark. |
…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.
Independent adversarial review: REQUEST CHANGESFrom: Codex I checked the two corrections since the preceding review. 5. Save confirmation still lacks attribution. Playwright now counts successful HTTP responses, and the reconciler stops if the commit control is still present. But the default surface listens on the browser context and counts every non-ignored write response with status 200–399. The request-start and response counters can advance for different requests. Leaving the commit screen and receiving a successful response for some other write can therefore satisfy the gate even when the intended save failed. A backend implementing 6. The public signer still accepts missing subject evidence. The reconciler passes its ledger, and the new regression correctly rejects a listed popup write with no verdict. The API rejects I reviewed the changed source and test assertions. Both findings concern shared form-runtime paths. I did not rerun the author’s lab suite or conduct a new held-out measurement. |
Independent adversarial review: REQUEST CHANGESFrom: Codex 5. A successful background write can still confirm the form save. Playwright now pairs a response with the request that started it, so a late response from before the click no longer qualifies. Its success predicate still accepts any non-ignored request started after the click. The default surface subscribes to the browser context and accepts requests from other pages. A background autosave can therefore supply the only successful mutation after the form leaves the commit screen. The older-backend fallback also accepts an increase in a global response count. Keep delivery uncertain unless the response identifies the intended save or a record-specific read-back establishes it. The new regression covers the pre-click response and ends by accepting a post-click success without checking its relationship to the action. Request selection · Page filter · Finalization · Regression 6. The signer still accepts an auto-fill count unsupported by the ledger. An empty ledger with a nonzero count is now refused. The judge also passes its distinct-observation counts through to the signer. The remaining check compares the claimed auto-fill count with the length of the supplied ledger. That length includes kept prefills, operator edits, popup returns and duplicate entries for the same control. A ledger containing only kept controls can therefore support a positive signed auto-fill count. A missing popup subject also escapes coverage when other entries meet the length check. Reconcile the signed count with recorded auto-fill actions and verify the supplied subjects against the complete run ledger. Count check · Ledger entry kinds · Subject identity The parallel CI source check confirmed that the signer imports its coverage helper from the shared types module, all 43 previously missing benchmark artifacts are listed, and the standalone argument parser disables abbreviations. GitHub had no aggregate CI result when I checked. I reviewed the changes since the preceding verdict and the new test assertions. Both findings apply across forms. This review adds no held-out runtime measurement. Previous review |
…and bind signer to auto-fill subjects and judge ledger
Independent adversarial review: REQUEST CHANGESFrom: Codex 5. A same-page autosave can still stand in for the form commit. This revision excludes successes from other tabs, rejects a window containing a recorded same-page mutation failure, and removes the fallback to a global success count. The remaining case is a commit that sends no request while a same-page draft autosave succeeds. There is no failed request to veto, and that single success meets the default mutation budget. If the UI moves to a local summary, its field values can match even though the intended record was never submitted. The record-specific lookup is optional. Keep this case 6. The public receipt issuer still signs counts that disagree with the judge’s evidence. The normal reconciler supplies the same session ledger to both stages. With a judge-produced digest, the issuer now detects an omitted popup. Kept and duplicate entries also no longer inflate the count simply by increasing ledger length. The separately callable issuer has two remaining gaps. The digest covers subject identity, key and label, omitting the write source. Changing a kept subject to an auto-fill between judging and signing preserves the digest and can support a false positive count. A verdict with no digest skips the comparison entirely, and a committed test still signs one. The count guard also accepts a count below the number of distinct auto-filled subjects. For a newly issued verified receipt, require the judge’s ledger evidence, bind the source that determines the count, and derive the signed count using the same definition at both stages. Subject digest · Issuer checks · Public issuance test This review covers the changed form runtime, issuer and test assertions since the preceding head. Both findings apply across applications. I added no held-out runtime measurement. At review time Gitleaks had passed, dependency review was queued and GitHub had posted no aggregate CI result. Previous verdict |
…subject source with exact auto-fill equality
Independent adversarial review: REQUEST CHANGESFrom: Codex Finding 5 remains open. A verified save needs evidence identifying either the authoritative commit endpoint or the record returned by lookup. A same-page draft write to a different path now fails an explicit commit-path check. A pack with neither a commit path nor a lookup now returns
Finding 6 is resolved. The public issuer requires the judge’s ledger digest, checks the write source as part of each subject’s identity evidence, and requires the claimed automatic-fill count to equal the number of distinct auto-filled subjects. The added tests cover absent evidence, source changes, omissions, duplicate subjects and undercounting. Subject digest inputs · Issuer checks One follow-up concerns receipts for repeated fills. The reconciler counts each successful fill action while its ledger retains one entry per control. A re-render that requires filling the same control again can now cause the issuer to refuse the receipt. This is a false stop and is separate from the resolved signing-integrity finding. Action count · Ledger identity At review time dependency review had passed, Gitleaks was running, and GitHub had posted no aggregate CI result. I reviewed the changed source and test assertions against the previous verdict. These checks apply across forms. This review adds no live-portal or held-out measurement. Previous verdict |
Independent adversarial review: APPROVEFrom: Gemini Gemini run on dff5bf0 (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.
|
From: Claude |
Independent adversarial review: APPROVEFrom: Claude The diagnosis is right. 026326e made save confirmation fail closed unless the pack declares a commit endpoint or a record lookup, and these fixture packs declared neither. The fix adds the real commit endpoints as pack data: Follow-up, not blocking: the pack compiler ( The reviewer read the code only. It did not rerun tests because host load was above the limit. |
…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.
|
From: Claude |
…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.
|
From: Claude |
Independent adversarial review: APPROVEFrom: Claude This covers 0c61aaf..cfdb87b (two review rounds; round 1 requested changes and both blockers are fixed).
Follow-ups, not blocking: radio aliases are scoped by name across the whole snapshot, not per form. FormTxResult.fields_filled_auto still reports the raw actuation counter. Local single-process run at load under 15: form-tx, copilot and quiescence suites, 335 passed. |
# Conflicts: # packages/flow/CHANGELOG.md
Independent adversarial review: APPROVEFrom: Gemini VERDICT: APPROVE Independent cross-vendor adversarial review of Findings & fail-closed verification (covering
|
Independent adversarial review: APPROVEFrom: Claude Scope: the three engine commits since the last approval at 0c61aaf (7220615, 1067e97, cfdb87b), plus the two merges of main. I read the diffs and the code at the head with (a) Save answer (
(b) Ledger check ( (c) Signer refusal. A Merges of main. For every file, the PR's net diff against main's merge base is the same before the merges (cfdb87b against 7c55ba3) and after them (ef4f5cc against 49cdd76), with three expected differences:
Nothing was dropped. Non-blocking notes
|
The form transaction layer (
form_tx) could mark a quote verified, with a signed receipt, while some fields it typed were never read back. Fields typed in a popup estimator had no verdict at all. This change gives every typed, selected or kept field a verdict. It also measures the layer on four held-out synthetic quote portals, with scoring registered before any run.Read-back
passed,failedornot_checked.not_checkedcovers a field with no declared read-back, a missing or ambiguous summary control, a failed lookup, or a value entered only in a popup. It is never counted as passed.readback_incomplete: the quote was submitted and nothing contradicted it, but at least one field isnot_checked. No receipt is issued. The verdict and receipt models refuse a pass that has an unchecked field.not_checkedunless the summary shows it.test_popup_inputs_the_summary_omits_are_not_checked_and_never_verifiedandtest_operator_value_on_unbound_control_is_not_checkedfail, and that popup case endsverified_donewith a signed receipt.Held-out benchmark
packages/flow/benchmark/form_tx_heldout/holds four synthetic portals built by a separate agent that did not readform_tx. Each has a server-side oracle and a scorer that compares every stored field.benchmark/form_tx_heldout_run/holds the pre-registration, the runner, the packs, the raw rows and the results. The pre-registration was pushed at8ea2e5602, before the portals were merged ateeb53cadb; please merge this PR, not squash it, so that order stays visible. The engine was frozen at6392bac91. The deviations are dated and were recorded before any scored case ran.Results for the frozen layer over 32 cases:
not_checked.The full table is in RESULTS.md. These portals are published with their answer key, so they are no longer held out for any later change.
Docs and release
FORM_TX.mddescribes the read-back verdicts and lists the surface's measured limits.Testing
test_form_tx_*,test_copilot_runtime_binding.pyandtest_extension_copilot_sidepanel.py: 168 passed on the lab machine (WSL, headless Chromium).form_tx.