Repository navigation
docs(spec): correct wrong facts and record owner defaults - #230
Conversation
There was a problem hiding this comment.
ℹ️ Review skipped · 86dacc9
No reviewable content was selected for this run.
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 1
Head reviewed: 86dacc9e. No P0, P1 or P2 defects found.
Findings
P3, AGENTS.md:53 (with the sentence at AGENTS.md:40). The new heading "Execution, evidence and track rules" also covers rules that are neither execution, evidence nor track rules and that apply to every report. Examples are the core-metrics table on every home page, one reader question per page, the standalone interpretation page and reader-facing labels (AGENTS.md:85-88). Line 40 still presents the common requirements as the section above. The old false claim is gone and no rule changes, so this does not block merge. Suggested fix: say at line 40 that the next section also holds further presentation rules, or move those bullets up into "Common report presentation".
What I verified
Corrected facts, each read against the code at this head:
- Replay content (
AGENTS.md:34): matcheswebarena_report.py:2275-2284, including the--contentdefault, the--content-bindingsdefault and the unbound build when neither flag is given. - Web Fetch build (
AGENTS.md:56): matchesscripts/build_report.py.--profileis required unless another mode is named,comparison_kindselects WCXB,--wcxbonly checks the profile, WCXB requires--evidenceand defaults toreports/wcxb, and other profiles write to--outputorreport_output. The evidence fallback matchesstorage.current_evidence_dir. - Templates (
report-and-release.md:5):configs/report-templates.jsonregisters the four named tracks. - Presentation adapter (
report-and-release.md:127):check_presentationis called from the Web Fetch, WCXB and Web Search gates directly. WebMainBench, the Web Fetch diagnostic and the published-snapshot check reach it throughrelease_check.checked_page. Browser Use and Trajectory Replay import onlyvisible_text, plusopen_report,read_pageandcheck_report_identity, none of which call it. - Publication (
SKILL.md:57):--helplists subcommands for all fiveharness.<track>entry points. - Profiles (
docs/architecture.md): agrees with the rule inreporting/source_policy.py, and no report-instance profile is underevaluation/.evaluation/risk-control/run-profile.jsonis a run profile, not a report instance. - Scorer link (
docs/dependencies.md): the linked directory holds correction records and no profile. - Inventory (
scripts/README.md):ci.ymlrunsci_scope.shanddocs/report-hosting.md:68namesauthorize_artifact_site.py. No "Pending owner decision" or#93reference remains in tracked files.
Scope:
- #151: leave-as-is is the issue's stated default and is recorded in the renamed section. The authorize script moved to the main table because a guide names it.
- #174: every script the issue lists exists and has a row in
scripts/README.md, and the decision is recorded there. - #175: the README's digest matches
VENDOR_ASSET_SHA256,reporting/mermaid.pypins 11.4.1, and the unknown upstream version and owner default are recorded. The retained file and its digest are untouched. I did not recheck the claim that the bytes differ from the jsDelivr file, and the PR body discloses that it comes from the issue. - Left alone as instructed: the Lexbench status, catalog track name and visual gate wording.
- Footprint: nothing changes under
.github/workflows/, in golden snapshots, or in evidence or receipts. The two test edits only rename tests and follow the new section heading, and they still compare that section with the command inventories.
Tests and CI:
- Lint gate: passed.
- Targeted tests:
tests/test_golden_reports.py,test_ci_gate.py,test_documented_paths.py,test_lexbench_cli.py,test_skill_sources.py,test_web_fetch_owner_commands.pyandtrajectory_replay/test_cli.pygave 226 passed and 4 failed, which matches the PR's test plan. All 4 failures are intest_ci_gate.pyand are on the known local macOS failure list. - CI on this head: all checks pass, including "Tests and static checks", "Installation and packaging" and "Rendered reference and report checks".
86dacc9 to
2685f6e
Compare
|
Review round 1 follow-up. Head is now 2685f6e, rebased onto main f8e47d0. Fixed
Rebase
Disputed
Tests
|
There was a problem hiding this comment.
ℹ️ Review skipped · 2685f6e
No reviewable content was selected for this run.
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 2
Reviewed head 2685f6eb. CI is green: "Tests and static checks", "Installation and packaging" and "Rendered reference and report checks" all pass.
Findings
P2, AGENTS.md:58: the certified-run correction goes too far and drops Web Search.
-
Problem: The rule now reads "Run every publishable Web Fetch provider cohort through
scripts/run_certified_benchmark.py", and the PR table says "That applies to Web Fetch cohorts". The old claim was too broad for Trajectory Replay and Browser Use, but Web Search also uses this entry:src/harness/web_fetch/certification.py:125-127routesweb-searchtosearch_main(argv[1:], certified=True).src/harness/web_search/runner.py:473-474forces diagnostic mode unlesscertifiedis set, so this is the entry that produces certified Web Search evidence.src/harness/web_search/report.py:2204-2205rejects a formal release without certified collection evidence.src/harness/web_search/README.md:12documents the command.
So the sentence removes a rule that still applies to a track, in a PR that says it makes no policy change.
-
Fix: Name both tracks, for example "Run every publishable Web Fetch or Web Search provider cohort through
scripts/run_certified_benchmark.py(web-searchfor the latter)". Update the matching row in the PR body. The laterrun_benchmark.pyand compiled-reference sentences can stay as they are.
Verified with no defect
- Replay content (
AGENTS.md:34): matcheswebarena_report.py:2275-2285. The bindings file comes from--content-bindingsor the repository default,--contentholds the assets, and with neither flag the build has no bound content. - Web Fetch report rule: matches
scripts/build_report.py:126-152.--profileis required,comparison_kindselects WCXB,--wcxbonly checks it, WCXB requires--evidence, and the other output and evidence fallbacks are as stated. - Presentation adapter row:
check_presentationis reached from the Web Fetch, WCXB and Web Search gates directly.- It is reached through
checked_pagefrom the WebMainBench, diagnostic and published-snapshot checks. - Browser Use and replay import only
visible_textand non-presentation helpers.
- Other corrected rows:
- The template registry has four tracks.
harness.<track> --helplists commands for all five modules.evaluation/holds no report-instance profile, matchingsource_policy.py.evaluation/risk-control/run-profile.jsonis a run profile.evaluation/webmainbench-fullholds bindings only.ci.yml:30runsci_scope.sh, anddocs/report-hosting.md:68namesauthorize_artifact_site.py.- Every file in
scripts/is listed in the inventory.
- Renamed section: no reference to "Pending owner decision" or
#93remains in the tree. The two renamed tests still compare that section with the command inventories. - Issues:
- #151 and #174 are recorded as owner defaults, which matches the leave-as-is approval.
- #175's README note gives the digest, the unknown upstream version and the inconclusive search, as instructed.
- The digest matches
VENDOR_ASSET_SHA256, and the retained file and its binding are untouched. - No
mermaid.min.jsexists under the data home on this machine, so I could not recheck the claim that its bytes differ. The PR body discloses this.
- Round 1 P3: fixed at
AGENTS.md:40. - Rules: only docs and two test names and their section lookups changed. Hash-bound evidence is untouched, and no private data, attribution lines or workflow edits appear.
Local runs
- Lint gate: passed.
pytestontest_golden_reports,test_documented_paths,test_lexbench_cli,test_skill_sources,test_web_fetch_owner_commands,trajectory_replay/test_cliandtest_ci_gate: 226 passed, 4 failed. All 4 failures are the known macOSnodefailures intest_ci_gate.py.- Golden route hashes are unchanged.
|
Review round 2 follow-up. Head is now cb5e18c, a fast-forward on 2685f6e. Fixed
Not rebased
Disputed
Tests
|
There was a problem hiding this comment.
ℹ️ Review skipped · cb5e18c
No reviewable content was selected for this run.
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 3
Reviewed head cb5e18c3. No defects found: no P0, P1, P2 or P3 findings.
What I verified
- Round 2 fix (
AGENTS.md:58): correct.certification.pyroutesweb-searchtosearch_main(certified=True), andweb_search/README.md:12documents the same command. The sentence does not drop another track either. Therisk-controlsubcommand is imported fromharness.web_fetch.risk_control, andwcxb,wcxb-latencyand the WebMainBench subcommands are also Web Fetch modules, so "Web Fetch or Web Search" covers everything this entry point runs. The matching row in the PR body is updated. - Round 1 fix (
AGENTS.md:40): still in place. - Full diff against the merge base: docs, skill files, the Lexbench README and two test files only. The two test edits rename the tests and follow the new section heading, and they still compare that section with the command inventories. Nothing changes under
.github/workflows/, in golden snapshots, or in evidence or receipts. - #151 and #174: the decisions are recorded in
scripts/README.md, and noPending owner decisiontext remains in Markdown or Python files. - #175: the digest in the README matches
VENDOR_ASSET_SHA256inlexbench/report.py, and the retained file and its binding are untouched. The unknown upstream version and the inconclusive search are recorded as instructed. - Corrected rows from earlier rounds: I did not re-derive these in full, because the diff for them has not changed since rounds 1 and 2 checked them against the code.
- Not rechecked: the claim that the retained Mermaid bytes differ from the jsDelivr 11.4.1 file. The PR body says this comes from #175.
Local runs
- Lint gate: passed.
pytestontest_golden_reports,test_ci_gate,test_documented_paths,test_lexbench_cli,test_skill_sources,test_web_fetch_owner_commandsandtrajectory_replay/test_cli: 226 passed, 4 failed. All 4 failures are the known local macOSnodefailures intest_ci_gate.py.- Golden route hashes are unchanged.
CI on this head
All checks pass, including "Tests and static checks", "Installation and packaging" and "Rendered reference and report checks".
Correct statements in the project guides that no longer match the code, and record the owner's leave-as-is decisions for the pending scripts and the retained Lexbench Mermaid runtime.
cb5e18c to
1435519
Compare
There was a problem hiding this comment.
ℹ️ Review skipped · 1435519
No reviewable content was selected for this run.
Issues
Closes #151
Closes #174
Closes #175
Part of #87
Summary
Docs, skill files and only the tests that pin the changed wording. No policy or behavior change, and no rendered output changes.
Recorded owner defaults
The owner approved leave-as-is for all three issues. These are recorded owner defaults, not new decisions made by this PR:
scripts/README.mdrenames the section from "Pending owner decision (Prune unreferenced and one-off migration scripts #93)" to "Kept as is (Follow-up to #93: decide the scripts pending in the inventory #151)" and keeps the route for changing one later.src/harness/lexbench/README.mdrecords that the file is pinned by digest (VENDOR_ASSET_SHA256inreport.py) and that its upstream version is unknown after an inconclusive search. The retained file, its digest and published reports are untouched.Corrected facts
AGENTS.md, replay content--content--content-bindingsor the repository default;--contentholds only the assets; with neither flag the build has no bound contentAGENTS.md, presentation sectionAGENTS.md, Web Fetch reportbuild_report.pyhas a default build, and--wcxbselects WCXB--profileis required unless another mode is named; the profile'scomparison_kindselects WCXB and--wcxbonly checks it; construction and rendering arereport_build.pyandreport.pyAGENTS.md, certified runsrun_certified_benchmark.pyweb-searchsubcommand); other tracks have their own entry pointsSKILL.md, publicationmaketarget or publish commandreport-and-release.md, templatesconfigs/report-templates.jsonregisters four, includingweb-searchreport-and-release.md, presentation adaptervisible_text; Lexbench has its own verifierdocs/architecture.md, profilesevaluation/--profiledocs/architecture.md, paired timingpython -muv run --frozen python -mdocs/dependencies.md, scorerevaluation/webmainbench-fullscripts/README.md, inventoryci_scope.shunlisted;authorize_artifact_site.pynamed by no guideci.ymlruns the first anddocs/report-hosting.mdnames the second; both are now in the main tableLeft alone
The Lexbench report status, the catalog track name and the visual gate wording are out of scope and unchanged.
The claim that the retained Mermaid bytes differ from the jsDelivr 11.4.1 file comes from #175. I did not recheck it against the file under the data home.
Test plan
ruff checkwithF,TID252, then the default config): passed.pytest tests/test_golden_reports.py tests/test_ci_gate.py tests/test_documented_paths.py tests/test_lexbench_cli.py tests/test_skill_sources.py tests/test_web_fetch_owner_commands.py tests/trajectory_replay/test_cli.py: 226 passed, 4 failed.tests/test_ci_gate.pyand are already known to fail in this local macOS setup, where thenodehelper exits with status 1. CI covers them on Linux.