Repository navigation
docs(spec): resolve rule conflicts and reword unreasonable rules - #234
Conversation
Resolve the conflicting rules in place, scope rules that could not be followed, and apply the owner defaults on merging and on review payloads under research/.
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 1
Head reviewed: 8546349a. Three P2 findings: each leaves a conflict or drops a rule the PR set out to resolve. All three are small text fixes.
Findings
P2: AGENTS.md:87, .agents/skills/benchmark-report/references/report-and-release.md:57: C3 drops the explorer rule for Web Fetch and Web Search
The old text in report-and-release.md:57 applied to any report whose participant set can grow beyond two. The new text names only Browser Use and Browser Trajectory Replay, then says "A new track with more than two participants picks one of these two forms". AGENTS.md:87 adds that the explorer "belongs to Browser Trajectory Replay".
Two existing tracks already implement the explorer, and neither is mentioned:
src/harness/web_fetch/report.py:335-336: "Baseline browser" select pluscompare-providercheckboxes.src/harness/web_search/comparison.py:185, 267:baseline_onlyrelation plusdata-compare-methodcheckboxes.
So those tracks lose the rule that governed them, and the ownership statement is wrong. The PR summary's "the code has both" misses them too.
Fix:
report-and-release.md:57: "Browser Use renders one same-task matrix with a generated column per configuration. Every other track with more than two participants groups each task's pass/fail participants and provides one baseline selector ...". Then delete the "A new track ... picks" sentence.AGENTS.md:87: "the baseline-and-multi-select explorer is not used for Browser Use; other tracks keep it", or simply remove the ownership clause, since the replay bullet atAGENTS.md:82already states the explorer.
P2: .agents/skills/benchmark-editorial/references/html-delivery.md:7: C8 still stands in one skill file
The line still reads: "For agent-authored delivery, select the conversation language unless the user specifies another edition. Rebuilds preserve the saved primary language". This is the same clash the PR resolved elsewhere: an agent rebuilding a saved English report from a Chinese conversation gets two answers.
Fix: use the wording from SKILL.md:39: "A rebuild keeps the saved primary language unless the user asks otherwise; a new agent-authored delivery uses the conversation language."
P2: src/harness/web_fetch/README.md:32-33: the frozen-legacy default contradicts a live instruction
AGENTS.md:36 now says report prose already in research/ is frozen legacy and to add no new ones. The Web Fetch guide still says "research/report-changes.json drives the public, collapsible changes/index.html. Record each substantive release's issue, change, score effect, evidence and limits."
That tells contributors to keep adding report prose to a frozen file. It is also out of date for the code: report_changes.py:182-184 reads report-assets/report-changes.json first and uses the repository file only as a fallback. The PR's "Not done" section does not mention this, and the same file is edited at line 291.
Fix: "report-assets/report-changes.json, bound beside the evidence, drives the public, collapsible changes/index.html; research/report-changes.json is a frozen legacy fallback." Keep the "Record each substantive release ..." sentence, which then applies to the bound asset.
The clause "while older report owners migrate" in AGENTS.md:77 should not be read as permission to extend the file. Consider adding "read-only" there.
Verified with no defect
Each item below was checked on this head.
- Conflicts:
- C1: the
#release-gatesanchor exists. - C2: the condition is the same in
AGENTS.md,SKILL.md:54andreport-and-release.md:105, and is compatible with the change classification andpresentation-quality.md. - C4: wording matches
SKILL.md:32,make webfetch-diagnostic-reportanddiagnostic-check. - C5: the current-only authority is in
audit-and-revision.md. - C6: no other "rerun only failures" wording remains in docs, and no failed-only option exists in the Web Fetch or Web Search code or scripts.
- C7: consistent with
docs/architecture.md:103-107andweb_fetch/README.md:28. - Matrix half of C3:
browser_use/report.py:831-880renders a registry-generated matrix whose cells link to result pages.
- C1: the
- Rewordings: the profile inventory, Humanizer, build-speed protocol (compatible with
evaluation-design.md:35), provider data (compatible withprovider-contract.md:133-136), ImageGen, reference report and Codex CLI changes are all present. The remaining ImageGen and Codex strings are in frozen data only. - Owner defaults and top line: the merge rule is applied and never pushing to main stands.
docs/releases.md:49does not conflict. The top line is inAGENTS.md:1andCONTRIBUTING.md:3. No files or tests were added. - Scope: "Part of #87" is correct, every conflict is listed, and no rules moved between files. The edited Markdown is not hash-bound by code, configs or tests, and no evidence or frozen
evaluation/file changed. - Over-design: none. The diff is 33 added and 29 removed lines of rule text.
Tests and CI
- Both ruff gate commands: passed.
tests/test_documented_paths.py tests/test_readme_navigation.py tests/test_source_language_policy.py tests/test_web_fetch_owner_commands.py tests/test_skill_sources.py tests/test_golden_reports.py tests/test_runtime_entrypoints.py: 160 passed. Golden snapshots are unchanged.tests/test_ci_gate.py: 40 passed, 4 failed. All 4 are known local macOS failures, and the total matches the PR's test plan.- CI on this head: all checks pass, including "Tests and static checks" and "Installation and packaging".
|
Review round 1: all three findings fixed, none disputed.
Docs only. Lint passed; the doc and golden test targets gave 200 passed and 4 failed, all 4 in |
There was a problem hiding this comment.
✅ Re-review complete · 49bc524
No findings in this incremental review.
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 2
Head reviewed: 49bc5248. One P2 and one P3. Both are small wording fixes; the three round 1 findings are fixed.
Findings
P2: .agents/skills/benchmark-report/SKILL.md:52: C6 still gives two answers for an infrastructure failure
docs/metrics.md:31 and src/harness/web_fetch/README.md:293 now allow a repair run for a declared "infrastructure failure". SKILL.md:52, edited in this PR, still says "Rerun only calls whose inputs, provider route/version, runtime contract, or source validity changed". An outage changes none of those.
So an agent facing 20 outage failures with unchanged inputs may rerun under one rule and may not under the other. That is the C6 clash in a narrower form, and this PR introduced the wording that causes it.
Fix: in SKILL.md:52, say "Rerun only calls whose inputs, provider route/version, runtime contract, or source validity changed, or that hit a declared infrastructure failure."
P3: AGENTS.md:100, .agents/skills/benchmark-report/references/report-and-release.md:105, .agents/skills/benchmark-report/references/presentation-quality.md:36: C2 overlaps on layout changes
The first two run the pass over every top-level page when rendered layout changed. The proportional-checks table says a CSS or layout change visually inspects "only the affected page types". A CSS fix on a result detail page gets two different scopes. The cost of picking the wrong one is low, and AGENTS.md takes precedence, so this does not block.
Fix: in presentation-quality.md:36, drop "only" and add "plus the release reader pass when publishing".
Verified with no finding
- Round 1 fixes:
report-and-release.md:57andAGENTS.md:87match the code.browser_use/report.pyrenders the matrix with linked result cells, and Web Fetch and Web Search render the baseline-and-multi-select explorer. Limiting pass/fail grouping to Replay is accurate, because WCXB compares F1 differences rather than pass/fail.html-delivery.md:7andweb_fetch/README.md:32are fixed. - C1: the link target
#release-gatesexists, and no viewport or theme requirement per release remains. - C3, C4, C7: no conflicting wording remains in
AGENTS.md,CONTRIBUTING.md,docs/, the skills or the guides undersrc/. The diagnostic build and check entries are documented indocs/benchmarks.md:245andweb_fetch/README.md:222. - C5:
audit-and-revision.md:68names the current-only authority. - C8: the four rule sites agree, and
resolve_report_languageapplies explicit, then saved, then default. - Reworded rows: all seven unreasonable rows are reworded, with no
ImageGen,Codex CLIor "Study the supplied" left in the rule text. - Owner defaults: the merge rule and the frozen
research/rule are applied.docs/releases.md:49does not conflict. No Markdown guide tells contributors to add review payloads toresearch/. - Top line: present in
AGENTS.mdandCONTRIBUTING.md. - Scope: "Part of #87" fits the deferred work listed in the body. The diff is 8 Markdown files, with no new file, test, code, evidence or snapshot change.
Test and CI results
- Lint: both gate commands passed.
- Local tests: documentation, skill, CI gate, entry point and golden targets gave 200 passed and 4 failed. All 4 are in
tests/test_ci_gate.pyand on the known macOS failure list. The golden tests passed. - CI on
49bc5248: "Tests and static checks", "Installation and packaging" and "Rendered reference and report checks" all passed.
|
Review round 2 fixes:
Nothing disputed. Both are wording changes, so no test was added. CI on the new head is the full-suite gate. |
There was a problem hiding this comment.
✅ Re-review complete · 29656d4
No findings in this incremental review.
lanyue-llk
left a comment
There was a problem hiding this comment.
Independent review, round 3
Head reviewed: 29656d46, base 35bed218 (current main). No P0, P1 or P2 defects found.
Finding
P3, docs/metrics.md:31 and src/harness/web_fetch/README.md:293. The declared causes for a repair run read as a closed list, "changed input, route or infrastructure failure", which is narrower than .agents/skills/benchmark-report/SKILL.md:52. That rule also allows reruns for a provider version, runtime contract or source validity change. Such a rerun is allowed by the skill, but the two guides would label it cumulative and diagnostic. The cost of the mismatch is low, so this does not block.
Suggested fix: in both places use "(changed input, provider route or version, runtime contract or source validity, or an infrastructure failure)".
What I verified
- Scope: the diff touches 8 Markdown files and no code, tests, evidence, profiles or workflows. "Part of #87" matches, and the PR body's list of conflicts matches the diff.
- C1: the
CONTRIBUTING.mdlink resolves to the## Release gatesheading inreport-and-release.md. - C2:
AGENTS.md,SKILL.md,report-and-release.mdandpresentation-quality.mdnow agree on when the reader pass runs. Text-only and metadata-only changes stay exempt. - C3:
AGENTS.mdandreport-and-release.mdgive Browser Use the matrix and other tracks the explorer. No "one fixed column" or pairwise wording conflicts remain. - C4:
AGENTS.mdnow permits the diagnostic path thatSKILL.md:32describes, while still barring certified assembly and rankings. - C5: the exception points to the current-only section of
audit-and-revision.md.CONTRIBUTING.md:30covers refactoring only, so it does not conflict. - C6: apart from the P3 above, the guides,
SKILL.mdandaudit-and-revision.md:35agree. Retries for a better score stay forbidden. - C7: no "compact dataset definitions" ownership wording remains in
AGENTS.md. It now matchesAGENTS.md:14,CONTRIBUTING.mdanddocs/architecture.md:105. - C8: the rebuild language wording matches in all four files.
- Rewordings: no
ImageGenorCodex CLIreferences remain outside tests and JSON files. The provider example scope matchesdocs/provider-contract.md. The speed rule agrees withevaluation-design.md:35. - Owner defaults:
- The merge rule has the requested wording, and never pushing to main stands.
- The
research/freeze does not block new reviews, because Browser Use takesfailure_cause_review.source_pathand replay takes--review, so they can live outside Git. research/browser-use-remediation.json(AGENTS.md:96) is a remediation record, not a review payload, so that rule still holds.
- Over-design: the PR adds no abstraction, test or file. The top line is present in both
AGENTS.mdandCONTRIBUTING.md.
Tests and CI
- Both ruff lint gate commands passed.
tests/test_documented_paths.py,test_readme_navigation.py,test_source_language_policy.py,test_web_fetch_owner_commands.py,test_skill_sources.pyandtest_golden_reports.py: 141 passed. Golden snapshots are unchanged.- I did not run the full suite locally.
- CI on this head: all checks pass, including "Tests and static checks", "Installation and packaging" and "Rendered reference and report checks".
There was a problem hiding this comment.
✅ Re-review complete · ed0b32c
No findings in this incremental review.
Issues
Part of #87. Remaining spec work: moving rules into their track guides, merging duplicated rules, and the open owner decisions listed below.
Summary
Rules are edited in place; none moves between files. Each conflict was checked against current main first.
Conflicts resolved
CONTRIBUTING.mdasked for details and dialogs on both viewports and themes, whileAGENTS.mdforbids that matrix per release.CONTRIBUTING.mdnow links to the release gates.AGENTS.mdandSKILL.mdrequired it for every release, while the change classification skips it for metadata-only and text-only changes. It now applies when measured results, rendered layout or content hierarchy changed. Measured results are named explicitly so that a score change keeps its reader pass. The change classification's layout row now adds the release reader pass when publishing.browser_use/report.pyrenders the matrix andtrajectory_replay/assets/webarena-report.jsthe explorer. Web Fetch and Web Search also render the explorer. Browser Use now renders the matrix and every other track with more than two participants uses the explorer; both are generated from the registry.AGENTS.mdsaid never publish it, which forbade the implemented path inreport_diagnostic.pyand the skill's rule. It now says never assemble it into a certified release or ranking; an explicitly requested diagnostic report uses the diagnostic entries and labels every page.AGENTS.mdsaid always preserve, while the skill andlocal_revision.pyprovide an explicit current-only removal.AGENTS.mdnow names that exception, and frozen hash-bound evidence a current authority names must keep verifying.docs/metrics.mdand the Web Fetch guide allowed rerunning failures alone, which selects on outcome and contradicts "never retry merely to obtain a better result". A repair run now needs a declared cause; without one the results are cumulative and diagnostic. Predeclared failure retries are stated as part of the run contract.SKILL.mdnow lists a declared infrastructure failure among its rerun causes, so all three give one answer.AGENTS.mdsaid both that Hugging Face owns them and that Git does. Hugging Face owns them; Git holds code, hash bindings, provenance annotations and synthetic fixtures, and already-frozen definitions stay until superseded.AGENTS.md,SKILL.md,report-and-release.mdand the editorialhtml-delivery.md.Rules reworded
docs/provider-contract.md.Owner defaults and top line
research/are frozen legacy that current code may read; no new ones are added. The Web Fetch guide now namesreport-assets/report-changes.jsonas the source of the changes page andresearch/report-changes.jsonas the frozen fallback.AGENTS.mdandCONTRIBUTING.mdboth state: simple is the best; reject over-design.Not done
browser_use/report_visual.py,webarena_report_visual.py,published_snapshot.py,wcxb_report_check.pyand Lexbenchui_check.js. Their receipts bind viewports and checker hashes, so shrinking them is a code change per track.research/stays frozen, because this change adds no tests.Test plan
No code changes, so no measurement, receipt or rendered route changes.
ruff check(both lint gate commands): passed.tests/test_documented_paths.py tests/test_readme_navigation.py tests/test_source_language_policy.py tests/test_web_fetch_owner_commands.py tests/test_skill_sources.py tests/test_ci_gate.py tests/test_runtime_entrypoints.py tests/test_golden_reports.py: 200 passed, 4 failed. The 4 failures are intests/test_ci_gate.pyand are on the known local macOS failure list. Golden snapshots are unchanged.-o pythonpathrather than thePYTHONPATHvariable.