Skip to content

fix(web-extract): audit native query response delivery - #442

Draft
Maisiqi wants to merge 2 commits into
codex/web-extract-query-diagnosticfrom
codex/web-extract-native-query-audit
Draft

Maisiqi wants to merge 2 commits into
codex/web-extract-query-diagnosticfrom
codex/web-extract-native-query-audit

Conversation

@Maisiqi

@Maisiqi Maisiqi commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Record the shared HTTP transport's dispatch, response, and failure receipts without copying authentication headers or native bodies into transport metadata.
  • Bind the HTTP client source with the frozen Web Extract execution sources, including the preflight and resume checks.
  • Reject short fixed-length HTTP bodies, including parseable JSON prefixes.
  • Add an explicit native-query reprojection for offline correction. Read the method's declared JSON answer from a successful API response and preserve the separate target-page status. The frozen default scorer and existing saved scores keep their original behavior.

Verification

  • Reproduced 2,433 original query verdicts from three independent measurement runs. The native projection changes exactly two Browserbase verdicts, with no new provider calls or changes to references, scoring rules, timings, or denominators.
  • Passed 525 tests covering the HTTP client, native request protocols, process collection, execution preflight, and query acceptance.
  • Added paired projections for an exact and an incorrect answer behind a target-page denial, plus a failed-API control.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant