Skip to content

test(evals): add setup check cases for work-items and autonomy - #13316

Merged
kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-13304-41875926279-1
Nov 4, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-13304-41875926279-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #13304

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Adds one plugin eval case per skill: work-items setup (su-check-flags-duplicate-schedule-id: /work-items:setup check on a bound checkout whose recurring schedule repeats the id dependency-review must FAIL schedule validity naming that id and write nothing) and autonomy setup (su-check-reports-overlay-layer: /autonomy:setup check must report budget_posture paid-opt-in as supplied by the local overlay over the project value free, probe node on PATH, and write nothing). Each case pairs a deterministic result grader with a process grader and must-not graders, with pass and fail samples for every grader, and is tagged setup so it targets the skill by tag. Design choice: both skills set disable-model-invocation: true, so the cases are slash-invoked and carry no skill-fired (tool_used Skill) grader. plugins/evals/skills/plugin-eval/reference/case-authoring.md says a slash command loads the skill without a Skill call, so that grader fails and marks the run INVALID, and a natural-language prompt cannot reach a skill that disables model invocation.

The run went past its turn budget (turns=90 max-turns=75): the work may be too big for one run.

Not verified

  • plugins/evals/skills/validate/scripts/validate-cases.py was not run: this lane runs no interpreter, and the check-evals-quality wrapper lints only skill evals/evals.json files. Every sample was checked by hand and by the reviewer, but the validator's 0-FAIL report for the two new cases is…
  • No paid claude plugin eval run was made, so no both-arm verdict exists. Recording one VALID run per plugin is a done-when of parent #13300, not of this part, and it needs a run with --scaffold and --allow-tools Bash,Write,Edit.
  • Departure from #13300's Change text: neither case has a skill-fired grader, because both setup skills set disable-model-invocation: true and a slash-invoked case cannot produce a Skill call (case-authoring.md). Each case targets its skill by the setup tag instead, which #13300's Problem section…
  • Unverified risk raised by the review: the autonomy check reads the user-global layer at ~/.claude/autonomy/, which is outside the eval workspace. If the eval permission mode denies that read, run-validity may mark a correct run INVALID. Only a kept trace from a real run can settle this.
  • #13300 asks for one plugin per PR, but this split part (#13304) covers two plugins as the intake split defined it. Both are in this one PR.
  • Tidy did not run: the change is 16 files across 2 areas (plugins/work-items, plugins/autonomy with their .changes dirs), over the 10-file and 1-area cutoffs.
  • verify step skipped: the change adds eval data only, with no build or test suite that runs it outside a paid eval run. The scaffold scripts were not executed here.

Fix

  • plugins/work-items/evals/su-check-flags-duplicate-schedule-id/case.yaml: new case for /work-items:setup check: graders names-duplicate-id (regex, needs an uppercase FAIL and the duplicate id), ran-home-resolver (with-only process indicator), and no-write, no-edit and no-shell-write must-not…
  • plugins/work-items/evals/su-check-flags-duplicate-schedule-id/scaffold.sh: git checkout with a local-markdown binding in docs/conventions/work-items.yaml, the overlay ignore rule, and a committed .github/recurring-schedule.json whose two rows share the id dependency-review
  • plugins/work-items/evals/su-check-flags-duplicate-schedule-id/samples/*.json (5 files): pass and fail samples for each grader
  • plugins/autonomy/evals/su-check-reports-overlay-layer/case.yaml: new case for /autonomy:setup check: graders names-overlay-value (regex), probed-node (with-only process indicator), and no-write, no-edit and no-shell-write must-not graders
  • plugins/autonomy/evals/su-check-reports-overlay-layer/scaffold.sh: git checkout with a tracked .claude/autonomy/binding.json (budget_posture free, null roles, no org_policy_home) and an ignored binding.local.json overlay setting paid-opt-in
  • plugins/autonomy/evals/su-check-reports-overlay-layer/samples/*.json (5 files): pass and fail samples for each grader
  • .changes/work-items/work-resolve-issue-issue-13304-41875926279-1-fe7b64fe.md: bump none fragment (test)
  • .changes/autonomy/work-resolve-issue-issue-13304-41875926279-1-22593f99.md: bump none fragment (test)

Verification

The runner ran each check from the base copy against 66b3375:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 15 fragments valid (run before and after the review fixes)
  • check-changed-skills: no changed skills under plugins/*/skills/, nothing to gate
  • check-affected: 13 passed, 6 skipped over 16 changed files, the rest CI only (run before and after the review fixes)
  • fresh-context review subagent over both cases: found 4 confirmed problems plus 1 open question. Fixed all 4: no-shell-write now anchors on the redirect's own operand and stops at a JSON-escaped newline; names-duplicate-id needs an uppercase FAIL; names-overlay-value no longer counts the…
  • every regex and tool_used sample checked by hand against the patterns, using the validator's compact-JSON input encoding (validate-cases.py call_matches)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41875926279

Left out: the items under Not verified.

Related

#13304

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 6f7d14198fa0e3d1d78c78105af508acb9ef2492. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 6f7d14198fa0e3d1d78c78105af508acb9ef2492: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #13316, incremental (cc1055f → 6f7d141)

No security issues found.

critical-findings: 0

This is an incremental review, and it only reported blocking findings because the prior-findings file says blocking only: yes. I read every hunk of both files on the incremental list. Neither matches a TRUSTED PATHS: glob.

What changed since the last review:

  • plugins/work-items/evals/su-check-flags-duplicate-schedule-id/case.yaml: the names-duplicate-id regex grader changed. It used to need FAIL anywhere in the message. Now it needs FAIL on the same line as the duplicate-id wording: up to 160 characters before it or after it. Every quantifier is bounded ({0,120}, {0,160}) and the old lookahead is gone. The grader runs only over the eval's own last_message. It gates nothing in a credentialed CI path.
  • plugins/work-items/evals/su-check-flags-duplicate-schedule-id/samples/names-duplicate-id.json: two fail samples were added. In one, FAIL appears only in a column legend. In the other, FAIL sits on a different probe's row. Both are test data only.

Areas checked with nothing to report:

  • No workflow, action, token request, trusted-actor list, kill switch, merge hold, plugin manifest or standing instruction is touched in this push.
  • No userConfig keys changed, so there are no manifest lines to report.
  • The PR description contains no embedded text telling this lane to pass the PR, skip a check, drop a finding or post elsewhere.

Spend: this push runs no eval. A later claude plugin eval run of this case would use prepaid API credit or subscription usage. That is not a hold.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on cc1055fb83ba49758e1ec163fde283318b72d913; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 6f7d14198fa0e3d1d78c78105af508acb9ef2492: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #13316, incremental (cc1055f → 6f7d141)

Blocking only: this lane already reviewed an earlier head, so this review reports blocking findings only. I read every hunk of both files in the incremental scope (2 of 2).

Prior finding resolved. The earlier advisory comment on names-duplicate-id (discussion_r4471608509) is fixed. That comment said the FAIL lookahead looked at the whole message. The new pattern at case.yaml#L17 has no lookahead. It now requires \bFAIL on the same line as the duplicate wording plus dependency-review, either before it or after it, through [^\n]{0,160}.

Samples checked by hand against the new pattern. I ran no tool, so this is my reading only, not a machine check:

  • Pass 1 (| Schedule validity | FAIL: duplicate id dependency-review …) and pass 2 (FAILs: the id dependency-review appears twice) both still match. \bFAIL matches inside FAILs because nothing requires a word boundary after it.

  • All five fail samples are still rejected. That includes the two new ones:

    • the legend-only Result (PASS/FAIL/INFO) header;
    • another probe's FAIL row.

    In both, the FAIL is on a different line from the duplicate, and [^\n] stops the match at the line break.

Not counted (blocking-only review). A correct answer that puts FAIL on one line and names the duplicate on the next line would now fail the grader. One example is a Schedule validity: FAIL heading followed by a bullet. check.md describes the output as a table, which keeps each probe on one row, so I did not report this.

No embedded instructions in the PR context or prior-findings files. No manifest changes in scope.

Spend: running this case uses prepaid eval-run credit only (20 turns / 420 s per arm). Nothing in it changes billing.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6zvZvv
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 6f7d141.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 4, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 6f7d14198fa0e3d1d78c78105af508acb9ef2492.

Merged via the queue into main with commit 419cad5 Nov 4, 2026
45 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-13304-41875926279-1 branch November 4, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(evals): add eval cases for pointer-swept skills that have none - part 2 of 9

1 participant