Attest implementation · September 14, 2026
Wait for the destination the live page actually reached
Add native web.waitForURL with exact URLs and portable regex conditions. Observe the existing leased main frame immediately, then poll within one deadline. A match certifies only the observed URL.
Validate condition → Read live document → Match within budget → Record ordinary evidence
The main risk is a browser read that outlives the wait
Reject late matches, stop on abort, and reclaim an unsettled browser resource before it can be reused. Read location.href through the bound evaluate seam; cached navigation requests cannot prove a destination.
Proof at each boundary
Strict public and wire tests cover inputs, lifecycle, privacy, and false positives. Real Chromium covers document navigation and SPA history on the leased page. A generic bundled driver exercises Shuru through the public CLI, finalizing both a successful report and an expected timeout report with existing evidence bytes.
Run focused checks, explicit Chromium and Shuru execution, then typecheck, lint, full tests, build and packaging checks as needed. Preserve unrelated edits and report exact artifact paths and coverage limitations.
<!-- ox:details -->Implementation notes
Tracked in Beads sageox-attest-7jo. Extend src/executors/web.ts and SDK exports; reuse browser supervision, URL sanitation and declared/learned-secret redaction. Keep native cache bypass and no action LLM calls. Reuse existing regex flag validation if suitable. Add shared-double unit tests and dispatch typing, tests/browser/web-url.test.ts and a dedicated tier1 public CLI fixture/proof. Update writing-runners, runner-catalog, drivers reference and API reference. ADRs 002/003/004/007 constrain resources, verdicts, adapter transport and report finalization. No tab switching, reload, quietness option, readiness promise, PR, commit or push. Test actual late settlement and subsequent actions; inject critical faults only into owned code and restore immediately.
<!-- /ox:details -->
