Repository navigation
Conversation
added 5 commits
November 24, 2026 21:23
…all 70 tasks - Redirect legacy intrusive/narrow assertions in shared trusted_check.py to non-intrusive v2 handlers (eliminating PRAGMA user_version=0 tampering, single-status management refusal splits, evaluator_secret dependencies, and candidate backend/runtime.json coupling while keeping all 46,916 case IDs and oracle compatibility intact) - Remove site-specific x-websitebench-site header observations from the 4 affected task suites (asana, beeradvocate, blinkist, medium) - Standardize browser-contract.json (add integrations.mail/payment modes, fix leetcode candidate_ready_path, remove site-specific spoiler keys/rules) and ensure scored-interfaces.json exists across all 70 tasks - Replace all 70 task instruction.md files with a single canonical instruction and enforce contract/instruction parity in scripts/check_tasks.py
…t rules - Remove redundant mail API/SMTP payload details and unreferenced payment integration contract wording from shared instruction.md; move full mail delivery details to mail-enabled browser-contract.json rules - Remove contradictory trial mailbox exploration rule from the 13 mail-disabled browser-contract.json files and enforce this check in scripts/check_tasks.py + tests/test_check_tasks.py - Use absolute /app/repo/compile.sh and /app/repo/executable deliverable paths, backtick all commands/tools/env vars, remove procedural workflow steps and preflight helper instructions, and simplify internal framework jargon
…istence checks, and strengthen check_tasks.py
yiwenxx
force-pushed
the
feat/audit-scored-interface-contracts
branch
from
November 27, 2026 12:46
830c019 to
de05071
Compare
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Phase A contract standardization across all 70 WebsiteBench tasks so agent-visible
scored-interfaces.jsoncontracts accurately cover the local API/form endpoints exercised by T1 (task-suite.json) and T3 (obligations.jsonactivebusiness_probe& custom T3 Python/api/*checks), without modifying any of the 91 site-specific Python verifier modules orsrc/websitebench/websitebench-v1.json.Changes
scripts/audit_contracts.py(deterministic contract extractor, auditor, and--syncbackfiller):op: apiactions, activeobligations.jsonbusiness_probeentries (only when invoked bycicd-suite.json), and custom T3 Python/api/*calls via AST inspection with HTTP method inference (filtering predicate guards such asstartswith, negative probe paths, static assets, andmanagement_probes/no_payment_probesrefusal paths).${...}), and entity slugs into stable{id}/{slug}/{week}/{sku}/{model}/{color}/{group}patterns with zero fixture value leaks.environment/seed/scored-interfaces.jsonacross 65 modified tasks:/__websitebench/healthdeclarations (unexercised bytask-suite.jsonorcicd*) with/healthz(1password-web,33,ace-hardware,airtable,amazon-home-services,aspca-pet-insurance,bean-box,beeradvocate,blinkist,crumbl-cookies,leetcode), while retaining/__websitebench/healthonboardgamegeekandtargetwhere tests still reference it.scored-interfaces.jsonentries across 62 tasks and merge missing tested HTTP methods into existing exact-path entries.scripts/check_tasks.pyand add unit tests:scored-interfaces.jsonentry structure (6 required fields, valid HTTP methods, no duplicate IDs), reject obsolete/__websitebench/healthentries, and verify all T1/active-T3 extracted endpoints are covered.tests/test_audit_contracts.pyand extendtests/test_check_tasks.py.Verification
python scripts/audit_contracts.py --check— all 70 tasksOK(exit code 0)python scripts/check_tasks.py --code-only— all 70 tasksPASS(exit code 0)ruff check scripts src tests&ruff format --check scripts src tests— passpython -m unittest tests/test_audit_contracts.py tests/test_check_tasks.py -v— 34/35 pass on Windows (the single failuretest_checker_does_not_change_task_contentsis the pre-existing POSIX0o111executable-bit check on Windows)