feat(network): admit and compare typed-text postconditions - #271
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
RCA: the text-value observation transport registered Verified locally at this head: 139 Python repository tests; locked workspace/all-target Rust tests; Clippy with warnings denied; rustdoc with warnings denied; rustfmt; and LLVM coverage at 100% functions, lines, regions, and branches. One known macOS revoked-socket |
…stcondition-transport' into codex/repair-pr271-postcondition Signed-off-by: Seongho Bae <me@seonghobae.me> # Conflicts: # crates/originweave-network/src/webdriver_bidi_command_correlation.rs
|
Parent repair propagation: this branch is now non-force reconciled onto #270 exact |
Make exact response correlation, equality-only success, and page-text non-retention durable in the active-stack evidence contract.\n\nCommit-Message-Assisted-by: Claude (via Claude Code) Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Parent synchronization and documentation repair on exact head |
Bind the live baseline to PR #271's exact equality-only post-condition evidence and page-text non-retention boundary.\n\nCommit-Message-Assisted-by: Claude (via Claude Code) Signed-off-by: Seongho Bae <me@seonghobae.me>
Partial implementation of #28, stacked directly on current PR #270 branch
feat/webdriver-bidi-type-text-postcondition-transport.Buyer-visible boundary
This Draft carries typed-text post-condition response admission after the fixed product-owned
script.callFunctionobservation is transported through the reviewed WebDriver BiDi/RFC 6455 boundary. The exact correlatedscript.CallFunctionResultis admitted and a successful string RemoteValue is compared with the already-authorized intended non-secret text. Page-controlled text is reduced immediately to byte-count/equality evidence and is not retained in public result, Debug, or error diagnostics.Parser/correlation success is deliberately separate from browser-state success.
verify_webdriver_bidi_text_value_postconditionreturns success only for an exact value match; a structurally valid, exactly correlated response whose page value differs becomesPostconditionMismatch. Command ACK is therefore not post-condition proof.Malformed envelopes/results, unsupported values, script exceptions, protocol errors/events, correlation mismatches, invalid expected text, and over-budget payloads remain fail-closed. This slice does not retry, grant browser/policy/destination/secret authority, or expose caller-supplied JavaScript.
Fresh stack / exact-current evidence
191a14535219ea8033777fa4c970efb281b62418.802ec806cdd4560eab48c484f435766ecabda353.Downstream convergence
The later semantic-action descendants were based on predecessor #271 lineage. They must each adopt current head
802ec806cdd4560eab48c484f435766ecabda353in dependency order and obtain independent exact-head checks; their existing hashes and checks are historical and non-transferable.Keep Draft while #270 and its ancestors remain active. Protected-main
AGENTS.mdand live ruleset remain authoritative. No self-approval, force-push, destructive rebase, workflow/ruleset/secret mutation, gate weakening, tag, release, or predecessor-evidence transfer is authorized.