Repository navigation
Closed
Copy link
Description
Agent Brief
Type: Bug
Summary: On a clean branch with nothing changed, testing:plan replies still print or mention fuzz-target and contract-test sections, so the grader no-fuzz-or-contract-section that #15678 added to the eval case pl-clean-tree-no-gaps fails every run.
Current behavior:
Found by the simplify epic's eval after-runs (#14161); the cause is #15678 (commit ca08029), not a simplify commit.
- feat(testing): plan fuzz targets and consumer-driven contract tests in testing:plan #15678 added fuzz-target and contract-test rows and template sections to
plugins/testing/skills/plan/SKILL.md, and added the regex graderno-fuzz-or-contract-section(match: not_contains, pattern\bfuzz|\bcontract[- ]tests?\b|\bconsumer[- ]driven\b) toplugins/testing/evals/pl-clean-tree-no-gaps/case.yaml. SKILL.md:70says to leave out each fuzz-target or contract-test section whose row no changed code matches.- 8 runs with the plugin at commit 47314c2 (after feat(testing): plan fuzz targets and consumer-driven contract tests in testing:plan #15678): the grader fails 8 of 8. Stored replies contain headings such as "### Fuzz targets" and lines such as "Integration, architecture, E2E and contract tests: the repo has no HTTP, DI or UI code", on a tree where no file changed.
- The case did not score 1.00 before feat(testing): plan fuzz targets and consumer-driven contract tests in testing:plan #15678 either (2 of 8 runs at commit ef89596;
nothing-to-classifyandmeets-expectationsfail on both trees), so its total hid the new grader's failure.
Desired behavior:
- With no changed file in the range, the plan reply prints no fuzz-target or contract-test section and does not list those test types as considered.
- The rule at
SKILL.md:70is stated where the reply template's optional sections are defined (SKILL.md:99-102), so a reply built from the template follows it. - If reading the case shows the grader also fails a reply that correctly prints no such section (for example a sentence that only says no contract tests apply), narrow the regex to section headings and plan rows, and add a passing and a failing sample for it.
Files:
plugins/testing/skills/plan/SKILL.mdplugins/testing/evals/pl-clean-tree-no-gaps/case.yamlandsamples/no-fuzz-or-contract-section.json, only if the regex is narrowed- a changelog fragment for the testing plugin
Acceptance criteria:
- The plan skill's template text says the fuzz-target and contract-test sections are omitted, not printed empty, when no changed code matches their rows, and that nothing is planned when no file changed.
-
/evals:validatepasses on the case; every sample ofno-fuzz-or-contract-sectiongives its expected result. - ci-status is green.
Host check after merge (not a done-when item): the case alone, 8 runs with claude plugin eval on the fixed tree; the target is no-fuzz-or-contract-section passing in at least 7 of 8 (#16071 tracks these checks).
Out of scope:
- The case's other graders, which fail on both trees.
- The fuzz and contract rows themselves.
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Work status
needs-triage
Priority
low
Activity
melodic-automation-lanes commentedon Nov 14, 2026
{"v":1,"actor_id":337595936,"title_sha256":"eedd3d32f2d3ea8dbff922780a79a640240940ee8e499fd86e178da0bcb0a9ee","body_sha256":"9f599db79e9f22009bdfb5afa07d99276e5d11073e13d90b5be596c986960f3d"}
github-actions commentedon Nov 14, 2026