Skip to content

test(planning): eval cases for interview topic groups, discussing and single pacing - #12000

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-11859-41327538243-1
Nov 1, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-11859-41327538243-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11859

Summary

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

Adds three /planning:interview eval cases in the plugin suite format (plugins/planning/evals/<case>/), the format the repository now points new cases at instead of the legacy per-skill evals.json. They cover the three checkable behaviors the issue names: a round with mixed topics renders topic headers and a closing index table; a "let's discuss Q4" reply moves that register row to discussing (checked against the scaffolded ledger file) and does not settle it; one-question-at-a-time pacing asks exactly one question per turn with no index. An eval run cannot set the plugin's question_pacing userConfig option, so the single-pacing case uses the in-session request, which SKILL.md says overrides the option for the session.

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

Not verified

  • The eval cases were not run with claude plugin eval (a paid model run, not available in this lane), and no judge calibration was scored; the static evals validator is not among this lane's wrappers. Left to the PR's CI and a maintainer run.
  • scaffold.sh was created without the executable bit (the lane has no chmod); if the eval CLI executes scaffold_script directly rather than through bash, it needs chmod +x like the sibling scaffolds.
  • Tidy skipped: the change is 17 files, over the 10-file tidy cutoff.
  • The held line and origin labels have no dedicated case: the issue's done-when names only the three cases built here.
  • Untracked runner dotfiles (.bashrc, .gitconfig, .mcp.json, .idea, .vscode and others) at the checkout root are not part of this change and were left untouched.

Fix

  • plugins/planning/evals/interview-round-topic-groups-index/prompt.md: new case, round 2 frontier spanning retries and alerting
  • plugins/planning/evals/interview-round-topic-groups-index/graders/index-table.md: regex for the Q | Recommendation | Basis | Main alternative index header
  • plugins/planning/evals/interview-round-topic-groups-index/graders/groups-and-index.md: llm judge for topic headers, continuous ids, full question blocks, one index row per question, probe after the index
  • plugins/planning/evals/interview-round-topic-groups-index/samples/groups-and-index.json: one pass and two fail calibration samples
  • plugins/planning/evals/interview-discuss-sets-discussing/prompt.md: new case, reply asks to discuss Q4, accepts Q5, ignores Q6
  • plugins/planning/evals/interview-discuss-sets-discussing/case.yaml: schema 1.1 with the scaffold script
  • plugins/planning/evals/interview-discuss-sets-discussing/scaffold.sh: seeds .work/webhook-retries/interview-checklist.md with Q1-Q3 answered and Q4-Q6 open
  • plugins/planning/evals/interview-discuss-sets-discussing/graders/ledger-discussing.md: regex over the ledger for - Q4 | discussing |
  • plugins/planning/evals/interview-discuss-sets-discussing/graders/q4-not-answered.md: not_contains regex over the ledger for Q4 answered
  • plugins/planning/evals/interview-discuss-sets-discussing/graders/discussion-not-answer.md: llm judge for discussing Q4 without settling it, Q5 recorded, Q6 named open, a re-asked Q4 in full layout with old to new and why
  • plugins/planning/evals/interview-discuss-sets-discussing/samples/discussion-not-answer.json: one pass and two fail calibration samples
  • plugins/planning/evals/interview-single-pacing-one-question/prompt.md: new case, same frontier, user asks for one question at a time
  • plugins/planning/evals/interview-single-pacing-one-question/graders/one-recommendation.md: regex count:1 of My recommendation:|Withheld:
  • plugins/planning/evals/interview-single-pacing-one-question/graders/no-index-table.md: not_contains regex for an index table
  • plugins/planning/evals/interview-single-pacing-one-question/graders/one-question-full-layout.md: llm judge for exactly one frontier question in full layout, closing probe, no header, index or preview
  • plugins/planning/evals/interview-single-pacing-one-question/samples/one-question-full-layout.json: one pass and two fail calibration samples
  • .changes/planning/work-resolve-issue-issue-11859-6e2b8d41.md: bump none fragment (eval cases only, no shipped skill text changes)

Verification

The runner ran each check from the base copy against 0e2d40a:

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

The run reports:

  • check-changelog-fragments: all 170 fragments valid (run before and after review fixes)
  • check-changed-skills: no changed skill files, nothing to gate (run before and after review fixes)
  • check-affected: 12 passed, 6 skipped over 17 changed files (run before and after review fixes)
  • fresh-context review subagent over the whole diff: no high findings; confirmed and fixed: the alert-threshold decision depends on the retry budget per SKILL.md:100, so it was swapped for an independent one (alert message contents); a pass sample's revised recommendation silently capped the Q5 delay,
  • read https: //code.claude.com/docs/en/plugin-evals: lists the case.yaml and prompt.md fields; it names no way for a case to set a plugin's userConfig option, so the single-pacing case uses the in-session request
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41327538243

Left out: the items under Not verified.

Related

#11859

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

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12000 (head 0e2d40a)

I found no security issues in this pull request.

I read every hunk of all 17 changed files in .claude-lane/pr.diff. The change adds:

  • one changelog fragment (bump: none)
  • three /planning:interview eval cases under plugins/planning/evals/, each made of prompts, regex and LLM graders, and calibration sample JSON
  • one scaffold script

What I checked:

  • Trusted paths: none of the changed files match a trusted-path glob. The change touches no workflow, action, merge hold, token broker, kill switch, trusted-actor list or plugin manifest (plugin.json / marketplace.json).
  • scaffold.sh (interview-discuss-sets-discussing/scaffold.sh): it runs mkdir -p on a fixed relative path and writes a quoted heredoc (<<'MD'), so no variable expansion happens. It reads no input from outside, makes no network calls, uses no secrets, and writes nothing outside the eval workspace's .work/ directory. I found no injection surface.
  • Eval tool grants: the discuss case grants Edit and Write because it has to update the scaffolded ledger. The other two cases grant only read tools plus Skill. No case grants Bash, WebFetch or MCP tools.
  • Regex graders: each one runs a fixed pattern over the last message or one fixed ledger path. They don't take a path an attacker controls.
  • Embedded text: neither the PR context nor the eval prompts contain anything that tells the review lane to pass the PR, skip a check, drop a finding or post somewhere else. The prompts are fictional webhook-design scenarios.
  • Instruction surfaces: the change deletes or softens no standing instruction (no skill body, rules file, hook or CLAUDE.md is changed).

Spend: if someone runs these cases with claude plugin eval, they use prepaid model credits (3 runs per case, up to 20 turns each). No real charge, so no hold.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of all 17 changed files. The PR adds three /planning:interview eval cases in the plugin-suite format plus a bump: none changelog fragment. None of the changed files is on a trusted path.

What I checked

  • Behaviour matches the skill. Each grader and calibration sample matches the behaviour the skill specifies:
    • Topic headers, continuous ids and one closing index table placed before the probe: plugins/planning/skills/interview/SKILL.md#L166-L174.
    • single pacing: one question per message, no header or index, and a request made in the session overrides the option: SKILL.md#L178.
    • The discussing row: set before the discussion starts, asked again in the full layout with old → new → why, and kept out of answered: SKILL.md#L218 and context/loop.md#L386.
  • Grader format. The new graders use the same frontmatter as sibling cases: target: { source: file, path: … }, match: not_contains, match: "count:1", a case.yaml with schema 1.1 and scaffold_script, and pass/fail samples with answer/why entries. Cases without a scaffold leave out case.yaml, as interview-closing-probe-something-else does.
  • Ledger regexes. The patterns - Q4 | discussing | and - Q4 | answered | match the register row shape the scaffold seeds (Q<N> | status | round | question | resolution).
  • Sample arithmetic. Backoff starting at 30 s and doubling puts the fifth attempt about 7.5 min after the first and the eighth about 63.5 min after it. Both are correct.
  • Changelog fragment. bump: none for an eval-only change follows the existing fragments under .changes/.
  • Path-scoped rule. .claude/rules/eval-case-transcripts.md applies to these files. The prompts and samples are synthetic and contain no transcript material or identifying details.

Closing issue #11859. The acceptance criterion is "An eval case per behavior where it is checkable: a round with mixed topics renders groups and an index; a "let's discuss Q3" reply sets discussing; single asks exactly one question per turn." Each behaviour has its own case, and each case has a regex or file grader that would fail if the behaviour broke. The single-pacing case checks only the first message, which is all a one-prompt case can exercise.

Notes (not findings)

  • The PR body's "Not verified" note says scaffold.sh lacks the executable bit. That is out of date: the diff creates it as mode 100755.
  • I did not run any eval or validator; I have no shell in this lane. The checks the PR body lists (fragment check, changed-skills check, check-affected) are the author's claims, not something I confirmed.
  • Spend: three new on-demand eval cases at runs: 3 each use prepaid API credits when a maintainer runs them. This is not a hold.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 0e2d40afea35e927ffd0d79a30a598c0d799b9d9.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 25d8b37 Nov 1, 2026
56 of 57 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-11859-41327538243-1 branch November 1, 2026 17:24
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 25d8b3728ce612179823c9d23c2830fe6f14ecb0; 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

0 participants