feat(network): transport typed text-value postcondition observations - #270
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 and exact-head repair: predecessor |
|
Parent synchronization on exact head |
Bind the live gap baseline to PR #270's current parent-synchronized head and preserve its transport-only maturity 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 PR #269 branch
feat/webdriver-bidi-type-text-postcondition-commandexact head7854394266d3f292e779193c01413a34f6798d7c.Buyer-visible boundary
This Draft transports the fixed product-owned WebDriver BiDi
script.callFunctiontext-value observation command across the reviewed direct WebDriver BiDi/RFC 6455 boundary. The public send API consumes an exactWebDriverBiDi+SemanticObservationprotocol-use proof, reconstructs the command from live admitted-node authority immediately before dispatch, registers the command id before the first possible remote side effect, and emits one bounded masked WebSocket text frame.Wrong protocol family or capability, stale/wrong browser-context authority, duplicate correlation, and invalid frame deadlines fail closed. A frame-write failure after registration deliberately leaves the command id outstanding because partial or complete remote execution is ambiguous; it is never silently reused. The transport does not retry, reconnect, select an alternate destination, accept caller-supplied script source/sandbox, grant browser/policy/destination/secret authority, or infer text-entry success.
Test-first lineage
Exact RED head
3ba1d61e48a2542c835f41d79ebc7913673ef38cadded a realistic loopback TCP → RFC 6455 integration regression requiringsend_webdriver_bidi_text_value_observationbefore that production boundary existed. CI run33459143984, Rust contracts job99705411429, failed at workspace compilation on that RED head. No failed predecessor evidence is promoted to the implementation head.The canonical branch then added the typed send error, immediate-use authority reconstruction, semantic-observation capability enforcement, command correlation, bounded frame write, public export, and hostile/failure regressions for wrong capability, wrong protocol family, wrong external context, duplicate correlation, and invalid frame deadline.
Exact-current evidence
Current exact head is
191a14535219ea8033777fa4c970efb281b62418against independently resolved live base7854394266d3f292e779193c01413a34f6798d7c. The child adopted the parent with a non-force merge. Local verification on this exact head passes 140 Python contracts, formatting, workspace checks, full Rust tests, strict Clippy, rustdoc, and exact 100% production function/line/region/branch coverage. Fresh hosted exact-head checks are required before any passing or merge claim.Predecessor native CI run
33459335836completed success on historical head480d411011120b40d88beec3942aee049541b71d:99706040291: exact checkout, repository contracts, canonical formatting, workspace check, full tests, strict Clippy, and API documentation/rustdoc success;99706040397: exact owned-production function/line/region/branch measurement and enforcement success.Fresh formal reviews and inline review threads are empty; no independent approval is claimed or inferred. No predecessor, skipped, queued, cancelled, stale, synthetic, model-only, author-only, or status-only evidence is promoted to current-head passing evidence.
Stack / authority boundary
Keep Draft while #269 and its ancestors remain Draft. The next #28 slice must independently admit the correlated
script.callFunctionresult and compare the observed value with the intended non-secret text before buyer-visible text entry can be recorded successful; dispatch and protocol acknowledgement alone are not success.Protected-main
AGENTS.mdand live GitHub governance remain authoritative. This scheduled writer does not merge, self-approve, force-push, destructively rebase, alter workflows/rulesets/secrets, weaken checks, tag, release, or publish.