Skip to content

test(playwright): add eval cases for the demo-video skill - #13336

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-13310-41892463497-1
Nov 4, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-13310-41892463497-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #13310

Summary

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

The playwright demo-video skill had no plugin eval case after the upstream-pointer sweep, part 8 of 9 of #13300. This adds two cases. dv-plans-pipeline-in-order checks that a PR demo request gets the skill's commands in order (record.mjs, build_edl.py, produce.py, quality_control.py), with quality control run through the pydeps.py launcher. dv-qc-fail-holds-post checks that a quality_control.py FAIL, with the user saying 'just post it', gets build_edl.py, produce.py and quality_control.py run again and no gh --attach post ahead of the fix. Both cases phrase the prompt in natural language, so each one carries a tool_used Skill grader on playwright:demo-video plus deterministic regex graders that only the skill hub's script names can satisfy. #13300 says to ship one plugin per PR, so the playbooks rows of this issue are left for their own PR.

Remaining work

  • playbooks boris, repo-sweep and update eval cases, in their own PR (#13300 ships one plugin per PR)

Not verified

  • validate-cases.py (plugins/evals/skills/validate/scripts/validate-cases.py) was not run: this lane runs no interpreter and has no wrapper for it, so the sample-vs-grader check was done by hand and by the review subagent only
  • No claude plugin eval run was made, so there is no both-arm VALID verdict yet; #13300 asks for one run per plugin, recorded on the issue
  • Tidy skipped: the change is 15 files, over the 10-file tidy cutoff
  • Build, test and lint: no code changed and no linter covers eval case files here; evals-schema and evals-quality run in CI only

Fix

  • plugins/playwright/evals/dv-plans-pipeline-in-order/prompt.md: new case; asks for the exact record, render and check commands for a PR demo video, without running them
  • plugins/playwright/evals/dv-plans-pipeline-in-order/graders/skill-fired.md: tool_used Skill grader on playwright:demo-video
  • plugins/playwright/evals/dv-plans-pipeline-in-order/graders/pipeline-in-order.md: regex for record.mjs, then build_edl.py, then produce.py, then quality_control.py
  • plugins/playwright/evals/dv-plans-pipeline-in-order/graders/runs-through-launcher.md: regex for quality_control.py run through pydeps.py run, allowing a backslash line continuation
  • plugins/playwright/evals/dv-plans-pipeline-in-order/samples/skill-fired.json: pass and fail samples
  • plugins/playwright/evals/dv-plans-pipeline-in-order/samples/pipeline-in-order.json: pass and fail samples
  • plugins/playwright/evals/dv-plans-pipeline-in-order/samples/runs-through-launcher.json: pass and fail samples
  • plugins/playwright/evals/dv-qc-fail-holds-post/prompt.md: new case; a zoom-share FAIL in quality_control.py output (in the script's own print format and defaults) plus 'just post it'
  • plugins/playwright/evals/dv-qc-fail-holds-post/graders/skill-fired.md: tool_used Skill grader on playwright:demo-video
  • plugins/playwright/evals/dv-qc-fail-holds-post/graders/rerenders-then-rechecks.md: regex for build_edl.py, then produce.py, then quality_control.py
  • plugins/playwright/evals/dv-qc-fail-holds-post/graders/holds-post.md: not_contains regex for a gh pr comment/create --attach command ahead of any build_edl.py
  • plugins/playwright/evals/dv-qc-fail-holds-post/samples/skill-fired.json: pass and fail samples
  • plugins/playwright/evals/dv-qc-fail-holds-post/samples/rerenders-then-rechecks.json: pass and fail samples
  • plugins/playwright/evals/dv-qc-fail-holds-post/samples/holds-post.json: pass and fail samples
  • .changes/playwright/work-resolve-issue-issue-13310-41892463497-1-7ef2c9ab.md: bump none changelog fragment for the test-only change

Verification

The runner ran each check from the base copy against 3797900:

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

The run reports:

  • read https: //code.claude.com/docs/en/plugin-evals: the default regex target is last_message; regex is JavaScript, with case-insensitivity in flags: i and absence via match: not_contains; tool_used counts calls whose JSON-encoded input matches input_match, min defaults to 1; a Skill tool_used…
  • check-changelog-fragments: all 4 fragments valid
  • check-changed-skills: no changed skills under plugins/*/skills/, nothing to gate
  • check-affected: 12 passed, 7 skipped over 15 changed files
  • fresh-context subagent review: checked every regex grader by hand against every sample and found none on the wrong side; its findings (holds-post too loose and too strict, a pass sample that re-rendered an unchanged plan, a wrong capture-match floor in the quoted output, no handling of line…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41892463497

Left out: the items under Not verified.

Related

#13310

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #13336 (incremental, head a4608e6)

I found no security issues. This lane already reviewed an earlier head (blocking only: yes), so I reported only CRITICAL and IMPORTANT findings. There were none.

Scope. This was an incremental review from 3797900 to a4608e6. I read every hunk of the 4 files in .claude-lane/incremental-files.txt, using .claude-lane/incremental.diff:

  • plugins/playwright/evals/dv-qc-fail-holds-post/graders/holds-post.md (changed): the not_contains regex now matches gh pr edit as well as comment and create.
  • plugins/playwright/evals/dv-qc-fail-holds-post/graders/posts-before-recheck.md (new): a not_contains regex that catches a gh pr … --attach post that comes before quality_control.py.
  • plugins/playwright/evals/dv-qc-fail-holds-post/samples/holds-post.json (changed): adds one fail sample that posts with gh pr edit.
  • plugins/playwright/evals/dv-qc-fail-holds-post/samples/posts-before-recheck.json (new): pass and fail samples for the new grader.

What I checked:

  • What the files are. All four are eval grader and sample files. The regexes run only against the model's last message during an eval run. The gh pr … strings in the samples are text that gets graded, and nothing runs them.
  • Grader strength. Both regex changes make the "hold the post after a quality-control FAIL" check stricter, not looser.
  • Paths and controls. None of the files matches a TRUSTED PATHS glob. The change touches no trust control, token scope, kill switch, merge hold, workflow, plugin manifest or standing instruction.
  • Embedded text. Neither the PR context nor the diff has text telling the review lane what to do.

Spend (not a finding). The new grader runs inside an existing eval case, so it adds no eval runs. It draws only on prepaid API credit when someone runs the plugin evals.

critical-findings: 0

@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 3797900b29aec72ae96b71068f91c2e2e70d7bac; 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 a4608e6087ce944c9499ef44ccdcc0719f8df122: read 4 of 4 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #13336, incremental (3797900 → a4608e6)

Blocking only: this lane already reviewed an earlier head, so only blocking findings would be reported this round. I read every hunk of all 4 changed files in .claude-lane/incremental.diff. Nothing new to report.

Prior finding is resolved. The holds-post grader finding from the last round (#13336 (comment)) is fixed in all three ways it suggested:

  • holds-post.md now matches gh pr edit as well as comment and create. There is a new fail sample that attaches through gh pr edit before the build_edl.py rebuild.
  • The new posts-before-recheck.md grader (not_contains) fails any gh pr comment|create|edit … --attach that has a quality_control.py mention after it. That catches a post of the old, failing render made after the plan rebuild but before the re-render and re-check.
  • samples/posts-before-recheck.json has the reply from the earlier finding as a fail sample, plus a second fail sample that posts through gh pr edit before the re-check.

Samples checked by hand: I traced both regexes, as JavaScript with no flags, against every sample:

  • holds-post: both pass samples have no match before build_edl.py. All 4 fail samples match.
  • posts-before-recheck: pass sample 1 has no post. Pass sample 2 posts last, with no quality_control.py after it. Both fail samples match.

Every sample lands on the side it is labelled. I could not run validate-cases.py or claude plugin eval because this lane has no shell, so this check rests on reading the regexes.

Spend: the new grader runs on the existing case's runs and adds no extra runs. The case's prepaid eval-run usage is unchanged.

Closing issue: the PR only references #13310 and closes no issue, so I had no acceptance criteria to check. The PR context contains no embedded instructions.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 3797900b29aec72ae96b71068f91c2e2e70d7bac. 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)

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

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head a4608e6087ce944c9499ef44ccdcc0719f8df122.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit 71b9931 Nov 4, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-13310-41892463497-1 branch November 4, 2026 19:52
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 71b993165229096d1b1e8f6052451d43117d327d; later checks count it verified from this comment.

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.

0 participants