Repository navigation
docs(spec): move track rules out of AGENTS.md into their guides - #238
Conversation
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 1
Reviewed head ddb01bac against main 8f2232b7. Two clauses were lost in the move, so this needs one small follow-up.
Findings
P2: .agents/skills/benchmark-report/references/evaluation-design.md:21: the equalization rule was lost.
- Problem:
SKILL.mdstep 3 said "Equalize the task, inputs, output contract, call budget, and scoring. Do not require identical internals." The step now links to "Fairness means equivalent opportunity", which says only "the same external contract". That wording does not state that call budget and scoring must be equal, and "equalize" no longer appears in any tracked Markdown. The per-case list in the same file only declares a timeout and call count. It does not require them to match across methods. - Fix: add one sentence to line 21: "Equalize the task, inputs, output contract, call budget and scoring; do not require identical internals."
P2: .agents/skills/benchmark-report/references/report-and-release.md:69: routine check scope lost two items.
- Problem: the removed
AGENTS.mdrule said routine checks cover "the complete route inventory, evidence, links, terminology, filters, pagination and static readability". The merged text keeps the other items but drops terminology and static readability. "Static readability" no longer appears in any tracked Markdown, althoughbrowser_use/report_check.py:763still enforces a readability guard. The PR table lists routine checks as "missing clauses added", so that claim is incomplete. - Fix: extend the sentence to "Routine report checks stay fast and deterministic, cover terminology and static readability as well, and launch no browser".
P3: .agents/skills/benchmark-report/references/presentation-quality.md:57: a duplicate remains.
- Problem: "Give each report page one primary reader question" repeats line 53 of the same section, "A page should have one primary question". This PR's job is to merge duplicates into one statement.
- Fix: delete the first sentence of line 57 and keep "Before adding a section...".
What I verified
- Scope of the diff: 21 files, all Markdown. No code, schema, JSON or workflow file changed, and no new rule file was added.
- Size claim:
AGENTS.mdgoes from 32013 to 11731 bytes and from 105 to 78 lines, as stated. - Lost rules: I read every removed line in the diff, then compared single words and word pairs across all tracked Markdown before and after, and checked the terms that vanished. Apart from the findings above, the rules I traced exist in their destinations, including:
- token lookup in
docs/report-hosting.md:73 - edition rules in the
docs/benchmarks.mdtable - explorer rules in
report-and-release.md:25 - per-case review tables in
report-and-release.md:21 - Search one-pass delivery in
web_search/README.md:77-82 - oversized-report and
--presentation-bindingrules in the Web Fetch guide
- token lookup in
- Ledger: I checked the MOVE and MERGE rows against this head.
presentation-quality.mdstays a separate file now linked from the skill's read order, rather than being merged, which fits the "no new rule file" constraint. - Links: a throwaway checker found no broken relative links or anchors across tracked Markdown, excluding the vendored Humanizer skills. No file outside Markdown binds a moved section by hash in the searches I ran.
- Lexbench default:
harness.lexbench reportexists, it has--include-englishand no--language, and it is absent fromconfigs/report-templates.json. The new table row and exemption are accurate. - Visual gates default:
- Browser Use and WebArena replay receipts bind schema, viewports and
checker_sources. - The WCXB check, published-snapshot audit and Lexbench
ui_check.jsloop over their own widths and themes, asreport-and-release.mdnow says.
- Browser Use and WebArena replay receipts bind schema, viewports and
- Review bot:
.opencodereview/rule.jsonloadsdocs/references/review-guidelines.md, and the new supplement table maps each changed area to its guides. It names files instead of copying rules, the same way the supplement already namedAGENTS.md. - Issues section: "Part of #87" is correct, and the remaining Chinese rerun section and the visual-gate code work are listed.
- Over-design: none. The PR adds no abstraction, test or file.
Tests and CI
- Ruff lint gate: pass.
tests/test_documented_paths.py,test_readme_navigation.py,test_public_report_language.py,test_skill_sources.py,test_source_language_policy.py,test_packaging_hygiene.py,test_security.py,test_runtime_entrypoints.py,test_web_fetch_owner_commands.py,tests/trajectory_replay/test_cli.py,test_golden_reports.pyandtest_ci_gate.py: 345 passed, 4 failed. All 4 failures are thetest_ci_gate.pyconcurrency tests on the known local macOS list, and the golden snapshots are unchanged.- CI on this head: all checks pass.
|
Review round 1 fixes:
Nothing disputed. Documentation only; lint passes and |
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 2
Head reviewed: fad9b34b, on current main 8f2232b7. No defects found.
Round 1 fixes
evaluation-design.md:21now holds the rule equalizing task, inputs, output contract, call budget and scoring.report-and-release.mdnames terminology and static readability in the routine check scope again.- The duplicate one-question sentence in
presentation-quality.mdis gone.
Rules moved, none lost
- I read every line removed from
AGENTS.md, and the skill and reference removals, then searched for each rule's destination. This covered the phrases most likely to drop out in a merge:- release tags as labels
- edition rules for minor and major changes
- directional highlights and parallel metric labels
- the baseline and multi-select explorer for other tracks
- review page contents
- per-host token saving
--presentation-binding,--cached-contentand data attachments- the Search one-pass check
- Escape handling and focus restoration in dialogs
- This was a judgment check of rule meaning, not a mechanical proof.
- The MOVE and MERGE rows I checked against current main have their rule at the stated destination.
Accuracy of what the PR adds
- Lexbench row:
lexbench/report.pyhas--include-englishand no--language. - Visual gate paragraph: Browser Use and WebArena replay receipts bind schema, viewports and checker sources. The WCXB check,
published_snapshot.pyandui_check.jseach cover their own themes or widths. - Web Search certified entry:
scripts/run_certified_benchmark.py web-searchis the command above the new sentence. - Relative links and anchors in all changed Markdown files resolve, checked with a throwaway script.
AGENTS.mdis 32013 bytes before and 11731 after, 78 lines, as the PR states.
Scope
- "Part of #87" is accurate, and the remaining work is listed.
- The diff touches only Markdown: no code, workflow, schema or hash-bound file, and no new rule file.
docs/references/review-guidelines.mdnow lists the guide for each changed area. It names files, as the supplement already did forAGENTS.md.- I could not check how the OCR backend reads named files, because its configuration is outside this repository.
Over-design
No new abstraction or machinery. The added text is relocated rules plus short pointers.
Tests run locally on this head
- 161 passed across
test_documented_paths,test_readme_navigation,test_public_report_language,test_skill_sources,test_source_language_policy,test_packaging_hygiene,test_securityandtest_golden_reports. - Golden snapshots are unchanged.
- Both ruff gates are clean.
CI on this head
All checks pass, including Tests and static checks, Installation and packaging, and Rendered reference and report checks.
Issues
Part of #87. Remaining from the spec work: the Web Fetch guides still restate the compiled-rerun rule in Chinese (section "已编译评测集的重跑" in
src/harness/web_fetch/README.md, a line inHEADLESS.md); translating them belongs to the English-source work. Narrowing the broader visual gates is a code change with a new receipt schema and is not done here.Summary
AGENTS.mdis now a short page of repository-wide rules plus a pointer table from track to guide. Every track or report-specific rule moved to the guide that owns it, and duplicates were merged into one statement. No code, schema, hash-bound file or workflow changed; no new rule file was added.AGENTS.mdbytesAGENTS.mdlinesWhere each group of rules went
live_exact, one report implementation,build_report.pymodessrc/harness/web_fetch/README.md, new section "Certified cohorts and report builds"SKILL.md,report-and-release.md,audit-and-revision.md)src/harness/web_fetch/HEADLESS.mdsrc/harness/web_fetch/WEBMAINBENCH.mdsrc/harness/web_search/README.mdexamples/browser_use/README.md, new "Report rules"docs/trajectory-replay-protocol.md, new "Report rules"examples/trajectory_replay/public_webarena/README.md.agents/skills/benchmark-report/references/presentation-quality.md, now linked from the skill's read orderreport-and-release.md(already stated there; missing clauses added)evaluation-design.mddocs/report-hosting.mdSKILL.mdstep 6 (already stated there)docs/references/review-guidelines.md, the file.opencodereview/rule.jsonloads, now lists the guide for each changed area, so the review bot is pointed at the moved rules. It names files rather than copying their text.rule.jsonitself is unchanged.Owner defaults applied
AGENTS.md, stated in its README, and given a row in the language table ofdocs/report-hosting.md. The row was checked againstlexbench/report.py(--include-english, no--language).report-and-release.mdnow says so. Browser Use and WebArena replay receipts bind schema, viewports and checker hashes; the WCXB check, published-snapshot audit and Lexbenchui_check.jscover their own themes and widths. Search already follows the one-pass rule.The video-gen skill and catalog text are unchanged.
Small corrections made while moving
web_search/report.pydoes.SKILL.mdstep 12 had a missing "and".scripts/README.mdrows that citedAGENTS.mdas the reason a script stays now cite the Web Fetch guide.Test plan
AGENTS.md,SKILL.md,report-and-release.md,audit-and-revision.md,evaluation-design.md, the editorial skill,CONTRIBUTING.mdanddocs/architecture.mdwas searched across all Markdown. I read each one with no verbatim match and either found the same rule reworded in its destination or restored the clause. This was a manual judgment on about 240 sentences. The check found four lost clauses, now restored.tests/test_documented_paths.py,test_readme_navigation.py,test_public_report_language.py,test_skill_sources.py,test_source_language_policy.py,test_packaging_hygiene.py,test_security.py,test_runtime_entrypoints.py,test_web_fetch_owner_commands.py,tests/trajectory_replay/test_cli.py: pass.tests/test_golden_reports.py: pass, snapshots unchanged.tests/test_ci_gate.py: the 4 concurrency tests fail locally. They are on the known local macOS failure list and do not touch these files.f1dcafc0; the branch was then rebased onto8f2232b7, which changed no Markdown. CI results are on the PR checks.