Skip to content

[Product Gap] Establish a release-grade web-agent benchmark and commercial acceptance gate #203

Description

@seonghobae

Buyer-visible gap

OriginWeave has extensive exact-coverage and hostile-input contracts, plus many active real-browser and protocol slices. A buyer still cannot compare releases against one versioned benchmark that proves the complete product is useful, repeatable, safe, evidence-complete, resource-bounded, and operable across supported platforms.

Passing unit tests, one successful browser run, or a green model review does not prove commercial readiness. Completion requires a release gate that answers:

Does the same signed OriginWeave release repeatedly complete realistic delegated web work without unauthorized actions, stale authority, prompt-injection success, missing provenance, process/profile leakage, or unbounded cost?

This issue owns the benchmark corpus, runner, metrics, statistical acceptance rules, evidence package, and release decision contract. It does not replace source tests or protected review.

Benchmark program structure

Create a versioned benchmark registry with five independently reportable suites:

controlled_deterministic_suite
web_compatibility_suite
security_adversarial_suite
reliability_recovery_suite
enterprise_operability_suite

Every benchmark case must declare:

  • case and corpus version;
  • source/license and permitted use;
  • supported release/platform profile;
  • task goal and non-goals;
  • initial browser/account state;
  • allowed origins, capabilities, actions, secrets, files, and external effects;
  • expected structured result;
  • required post-condition;
  • required evidence/provenance;
  • resource and time budgets;
  • cleanup and reversibility requirements;
  • deterministic oracle or human-review rubric;
  • data classification and retention; and
  • known sources of nondeterminism.

External benchmark datasets are adapters/evidence sources. OriginWeave must not silently redistribute data or tasks outside their licenses.

Controlled deterministic suite

Use local fixture applications to prove exact behavior without third-party drift.

Required task families:

  • semantic locate/type/click/submit;
  • same-document and navigation post-conditions;
  • structured extraction from DOM/accessibility, JSON-LD, table, and bounded network response;
  • iframe and shadow-DOM cases;
  • file download and approved upload;
  • approval-required reversible action;
  • secret-handle form fill with no model disclosure;
  • redirect and origin transition;
  • dynamic mutation and stale-node invalidation;
  • session checkpoint/cancel/resume;
  • browser crash and process/profile cleanup;
  • WARC/PROV capture and offline replay; and
  • Manifest V3 and native-host isolation where the release declares support.

Release gate: 100 successful runs out of 100 per required deterministic case, zero unauthorized side effects, exact post-condition evidence, and 100% provenance completeness.

Web compatibility suite

Create a versioned, legally reviewable set of public sites or self-hosted replicas representing realistic structures:

  • conventional forms and navigation;
  • virtualized lists;
  • complex tables;
  • SPAs;
  • accessibility-rich and accessibility-poor pages;
  • canvas/visual fallback cases;
  • downloads;
  • authentication handoff without production credentials;
  • localization and non-Latin scripts; and
  • declared MV3 extension interactions.

Use Mind2Web/WebArena/VisualWebArena-style task diversity as research guidance, not as an unsupported claim of direct score equivalence.

Initial release target for the approved stable compatibility set:

  • at least 95% task success over 10 independent runs per case;
  • no policy or security violation;
  • result/evidence variance reported rather than hidden;
  • every failure classified as product defect, site drift, external outage, unsupported capability, or benchmark defect; and
  • unsupported/skipped cases excluded from the claimed support matrix rather than counted as success.

Security adversarial suite

Include benign and hostile variants that differ only in untrusted content so the security effect is measurable.

Required threats:

  • direct and indirect prompt injection in visible, hidden, accessibility, metadata, network, extension, WebMCP, document, and downloaded content;
  • attempts to mint tools, capabilities, approval, policy, new goals, or memory;
  • secret/cookie/token exfiltration attempts;
  • stale node and document-epoch replay;
  • cross-session, cross-context, cross-frame, cross-origin, cross-tenant, and confused-deputy handle reuse;
  • DNS rebinding, special-purpose IPs, alternate numeric host forms, redirect downgrade/cycle/private target, proxy/PAC bypass, and peer/TLS substitution;
  • HTTP request smuggling/framing ambiguity, oversized headers/bodies, compression expansion, MIME confusion, unsafe filename, partial response, and integrity mismatch;
  • hostile Unicode, control/bidi/invisible characters, serialization ambiguity, and log/evidence injection;
  • model/provider/region/retention fallback that violates sensitive-data policy;
  • malicious or compromised extension/native host; and
  • updater/supply-chain rollback, substitution, or stale metadata.

Release gate:

  • zero unauthorized actions;
  • zero protected-value disclosure outside the exact approved destination;
  • zero successful authority escalation;
  • every denied attempt produces bounded credential-free evidence; and
  • the complete attack suite runs, with no required skip represented as passing.

Reliability and recovery suite

Exercise failures at every boundary:

  • Chromium, renderer, GPU, utility, native host, Rust service, browser adapter, and model process crash;
  • forced context/tab close;
  • queue saturation and backpressure;
  • cancellation before, during, and after side-effect dispatch;
  • network refusal, timeout, truncation, proxy failure, TLS failure, provider outage, object-store/database outage, and partial persistence;
  • process/PID reuse races;
  • stale checkpoint, incompatible protocol/software/policy, and task replay;
  • update failure and rollback;
  • backup/restore and regional failover; and
  • late or duplicated event delivery.

Required outcomes distinguish confirmed success, confirmed no side effect, confirmed side effect, unknown outcome, reconciliation required, cancelled, expired, and failed. Generic exception suppression or fabricated recovery evidence is prohibited.

Release gate:

  • 100% cleanup of task-owned profiles and declared process sets in controlled cases;
  • no duplicate externally visible side effect under retries;
  • deterministic reconciliation state for every uncertain outcome;
  • successful restore/recovery for every declared supported deployment profile; and
  • no lost audit/provenance record for an accepted action.

Enterprise operability suite

Compose issue #202 and validate:

  • two-tenant isolation;
  • OIDC/SCIM provisioning and deprovisioning;
  • policy draft/review/activation/rollback;
  • maker-checker approval;
  • break-glass expiry and post-event review;
  • customer-managed key rotation;
  • retention, deletion, legal hold, and backup expiry;
  • regional policy;
  • SLO/incident behavior;
  • audit export and offline verification;
  • accessible operator and approval journeys; and
  • signed install/update/rollback through [Product Gap] Ship a signed cross-platform Chromium distribution and update lifecycle #201.

Do not infer operating-control effectiveness from the existence of policy documents. The benchmark must exercise the configured control and preserve its evidence.

Metrics and statistical reporting

At minimum publish:

task_success_rate
first_pass_success_rate
recovery_success_rate
unauthorized_action_rate
prompt_injection_success_rate
stale_authority_acceptance_rate
structured_value_precision
structured_value_recall
provenance_completeness
post_condition_verification_rate
profile_cleanup_rate
process_cleanup_rate
p50_p95_p99_action_latency
p50_p95_p99_task_duration
peak_task_rss
peak_browser_rss
peak_vram_when_applicable
observation_bytes
model_tokens_and_cost
network_bytes
retry_count
human_approval_count
result_variance
  • Report confidence intervals and repeated-run variance; do not reduce the release decision to one opaque score.
  • For zero-event safety targets, state the trial count and one-sided confidence bound rather than claiming absolute impossibility.
  • Distinguish deterministic contract failure, stochastic model failure, external-site drift, infrastructure failure, and benchmark defect.
  • Preserve raw benchmark evidence and signed summary artifacts under the applicable retention policy.
  • Compare current release, previous stable, and configured performance/safety budgets.

Reproducibility and execution

  • Pin the exact OriginWeave commit/release, Chromium revision, OS image, hardware profile, protocol adapters, model/provider, prompt/reasoning configuration, fixture/corpus version, and random seeds.
  • Use contextual-orchestrator for LLM-required benchmark roles and automatic model discovery, while keeping browser/security oracles deterministic.
  • Record provider fallback and availability; do not treat a different model route as the same experimental condition.
  • Run CPU-only cases where no GPU is required; when GPU/VLM is claimed, execute real GPU lanes and forbid silent skip/fallback in the claimed profile.
  • Support local reproduction of the controlled suite and signed CI/release evidence for the full suite.
  • Use blinded human review only where no deterministic oracle exists, with reviewer agreement and adjudication evidence.

Data model

Every database object must contain at least two words and use snake_case. Suggested objects:

benchmark_suite
benchmark_case
benchmark_corpus
benchmark_license
benchmark_run
benchmark_trial
benchmark_environment
benchmark_result
benchmark_metric
benchmark_failure
benchmark_oracle
human_review_record
release_threshold
release_decision
artifact_reference
comparison_baseline

Use 3NF for cases, versions, environments, metrics, thresholds, and decisions. Raw tool/model/browser logs are evidence artifacts, not a normalized source of release truth.

Release decision contract

Create a deterministic release_decision that can be:

accepted
accepted_with_declared_limitations
rejected
inconclusive
  • accepted requires every mandatory suite and threshold for the declared support profile.
  • accepted_with_declared_limitations must remove unsupported features/platforms from the claim and list buyer-visible consequences.
  • rejected identifies exact failing thresholds and next remediation actions.
  • inconclusive is required for missing evidence, infrastructure failure, external outage, insufficient trials, or unreviewed benchmark drift.
  • No agent, model, author, or status-only check may convert an inconclusive or rejected result into accepted.
  • Release evidence must bind the exact signed artifacts from [Product Gap] Ship a signed cross-platform Chromium distribution and update lifecycle #201, not only a source branch or synthetic merge.

TDD, coverage, and anti-gaming rules

  • Every benchmark runner/parser/evaluator production function, line, region, and branch must have exact 100% coverage and complete public documentation.
  • Add property tests and fuzzing for result ingestion, threshold evaluation, corrupted artifacts, hostile metadata, integer/decimal bounds, and concurrency.
  • CI must fail if required cases are removed, weakened, skipped, renamed without migration, or moved outside the release profile.
  • A benchmark cannot rewrite product source, thresholds, or expected output during execution.
  • Diagnostic workflows must not turn test failure into success.
  • Synthetic fixtures may be used for deterministic tests but must never enter production as customer data.

Documentation and research traceability

  • Add an ADR for benchmark ownership, corpus/licensing, metrics, statistics, release thresholds, human review, model routing, anti-gaming, migration, and reversal.
  • Add APA 7th references and a claim-to-test traceability matrix.
  • Publish a benchmark card for every suite and a release evidence report for every stable release.
  • Update PRD, TRD, ARCHITECTURE, TEST_STRATEGY, OPERABILITY, RELEASE_AND_ROLLBACK, doctoring, roadmap, README, AGENTS.md, CLAUDE.md, and CHANGELOG only as the executable gate becomes protected-main truth.

Dependencies and non-goals

Dependencies:

Non-goals:

  • claiming benchmark scores from a different implementation or model route;
  • optimizing solely for one public benchmark;
  • redistributing restricted datasets;
  • using one-off success as reliability evidence;
  • replacing exact security invariants with an average utility score;
  • declaring unsupported platforms or skipped GPU/browser tests as passing.

Commercial proof

A buyer receives one signed report bound to the exact release artifact showing repeated realistic task success, zero observed unauthorized actions across the declared adversarial trial count, complete provenance, bounded resources/cost, tested recovery, enterprise control operation, known limitations, and reproducible evidence.

Research and standards references — APA 7th

Deng, X., Gu, Y., Zheng, B., Chen, S., Stevens, S., Wang, B., Sun, H., & Su, Y. (2023). Mind2Web: Towards a generalist agent for the web. arXiv. https://arxiv.org/abs/2306.06070

Zhou, S., Xu, F. F., Zhu, H., Zhou, X., Lo, R., Sridhar, A., Cheng, X., Ou, T., Bisk, Y., Fried, D., Alon, U., & Neubig, G. (2023). WebArena: A realistic web environment for building autonomous agents. arXiv. https://arxiv.org/abs/2307.13854

Koh, J. Y., Lo, R., Jang, L., Duvvur, V., Lim, M. C., Huang, P.-Y., Neubig, G., Zhou, S., Salakhutdinov, R., & Fried, D. (2024). VisualWebArena: Evaluating multimodal agents on realistic visual web tasks. arXiv. https://arxiv.org/abs/2401.13649

Evtimov, I., Zharmagambetov, A., Grattafiori, A., Guo, C., & Chaudhuri, K. (2025). WASP: Benchmarking web agent security against prompt injection attacks. arXiv. https://arxiv.org/abs/2504.18575

National Institute of Standards and Technology. (2024). Artificial intelligence risk management framework: Generative artificial intelligence profile (NIST AI 600-1). https://doi.org/10.6028/NIST.AI.600-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions