Skip to content

fix(planning): require a flip condition only where one exists in the interview basis-and-flip eval - #16105

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16092

Summary

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

The interview-recommendation-basis-and-flip case's checkable-basis-and-flip grader and expected_outcome still required a flip condition on every recommendation, but the interview's layout now shows Flips if: only when such a condition exists (plugins/planning/skills/interview/SKILL.md:153), so the case failed every run. The grader now requires a checkable basis on every recommendation (a bare judgment basis still fails) and a flip condition only where the reply states one or names an open fact the user could confirm that would change the answer; a recommendation with no such condition no longer fails. Design choice: 'where the question has one the user could confirm' is read as 'where the reply itself names such an open fact', because a grader can check that against the reply text, while asking it to guess which conditions a question 'has' is the judgment that failed 10 of 39 compliant recommendations. states-flip-condition.md is unchanged and still requires at least one flip condition in the round.

Not verified

  • /evals:validate (validate-cases.py) and the evals-quality and evals-schema checks were not run: no wrapper for them exists in this lane, and check-affected lists them as CI only; left to the PR's CI
  • Did not score the samples with a live LLM grader; the review subagent judged them by reading the text
  • tidy: passes 1-4 ran; pass 5 (ai-slop) ran only its rubric by reading, because the detector script has no lane wrapper; the rubric found nothing
  • Host check after merge: 8 runs of the case with claude plugin eval on the fixed tree (#16071 tracks it); outside this run

Fix

  • plugins/planning/evals/interview-recommendation-basis-and-flip/graders/checkable-basis-and-flip.md: flip condition required only where one exists; checkable basis still required on every recommendation; a stated condition must be checkable; a reply that names an open fact without a condition fails
  • plugins/planning/evals/interview-recommendation-basis-and-flip/prompt.md: expected_outcome matches the optional flip-condition layout
  • plugins/planning/evals/interview-recommendation-basis-and-flip/samples/checkable-basis-and-flip.json: added a passing sample that omits Flips if: on a recommendation with no flip condition; kept the bare-judgment failing sample; added failing samples for an uncheckable stated condition ('things…
  • .changes/planning/work-resolve-issue-issue-16092-43545931432-1-c2c1a247.md: patch changelog fragment for the planning plugin

Verification

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

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

The run reports:

  • check-changelog-fragments: all 4 fragments valid
  • check-changed-skills: no changed skills under plugins/*/skills/, nothing to gate (confirms no file under plugins/planning/skills/ changed)
  • check-affected: 14 passed, 7 skipped, 0 failed over 4 changed files
  • fresh-context review subagent: every pass sample passes the new grader text and every fail sample fails it; JSON valid and matches the samples shape used by other planning cases; it found two wording gaps (a FAIL list missing the open-fact-without-condition case, and a circular sentence), both…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43545931432

Left out: the items under Not verified.

Related

#16092

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

Copy link
Copy Markdown
Contributor

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

Security review: PR #16105 (head a6b81be)

No security issues found. I read every hunk of all 4 changed files.

What changed

  • A patch changelog fragment for the planning plugin.
  • The interview-recommendation-basis-and-flip eval case:
    • Its grader prompt (graders/checkable-basis-and-flip.md) and its expected_outcome (prompt.md) now ask for a flip condition only where one exists.
    • Its samples JSON gains one passing sample and two failing samples.

Why nothing here is a security finding

  • No trusted paths. None of the changed files matches the TRUSTED PATHS globs.
  • No trust controls touched. The change has no workflow, action, script, hook, permission, token, or merge-hold code.
  • No plugin manifest changes. No .claude-plugin/plugin.json or marketplace.json is in the diff.
  • Grader wording change is not a guardrail removal. The grader relaxes what an LLM grader checks for in one eval's quality criterion. It is not a standing instruction that guards an action: no CLAUDE.md, rules file, skill or agent body, or hook list changed.
  • allowed_tools unchanged. The line allowed_tools: [Read, Glob, Grep, Skill] (prompt.md line 7) is unchanged context. Only expected_outcome changed.

Other notes

  • Instruction text in PR context: none. The PR context file holds no text that tells this lane to pass, skip, or drop anything.
  • Spend: none. This change only alters eval grading text; it adds no runs and no billed resources.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #16105

No findings. I read every hunk of all 4 changed files. None of them matches a trusted-path glob, none is a plugin manifest, and none adds spend.

What the change does

The eval case interview-recommendation-basis-and-flip used to require a flip condition on every recommendation. It now matches the interview's question layout, where the Flips if: line appears "ONLY when such a condition exists" (SKILL.md#L153). This is also consistent with loop.md#L166, which cites this case as its evidence and asks for a Flips if: line only "when a condition would change this recommendation".

Closing issue #16092 acceptance criteria

  • "The grader text and expected_outcome require a flip condition only where one exists, and still require a checkable basis on every recommendation." Met.
    • The grader keeps item 1, the checkable basis, on every recommendation, and a bare "judgment" basis still fails.
    • Item 2 and the new "needs no condition" paragraph make the flip condition conditional.
    • prompt.md's expected_outcome says the same.
    • The samples file can catch a regression: it has a pass sample with no Flips if: on Q2 and a fail sample with a bare-judgment basis.
  • "/evals:validate passes on the case; the passing sample passes checkable-basis-and-flip and the failing sample fails it." Not confirmed. I read each sample against the new grader text: both pass samples meet it, and all four fail samples break it on the stated reason. The new open-fact sample uses the layout's own Context: line, so it is realistic. I did not run /evals:validate or a live grader; the PR says they were not run and leaves them to CI.
  • "No file under plugins/planning/skills/ changes." Met: the diff touches only the eval case and a changelog fragment.
  • "ci-status is green." I can't check this from this lane; it is left to CI.

The other things the issue asks for also hold:

  • graders/states-flip-condition.md is unchanged.
  • The new pass sample still carries a flip condition on Q1, so the round-level grader still passes.
  • The changelog fragment uses bump: patch, which fits an eval-only fix.

Verification

I ran nothing. The checks listed in the PR description (changelog fragments, changed skills, check-affected) are reported by the author and I have not confirmed them.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head a6b81bed2e513305d55d032b05d8b9f6b9f56de5. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head a6b81bed2e513305d55d032b05d8b9f6b9f56de5, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for a6b81be

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16105-a6b81bed2e513305d55d032b05d8b9f6b9f56de5, expires on 2026-12-14.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=a6b81bed2e513305d55d032b05d8b9f6b9f56de5 rubric=8.7.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 27de1ec Nov 14, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16092-43545931432-1 branch November 14, 2026 03:26
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 27de1ecaa6553ec6aede8ac79951e1d139c1bb9e; 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.

Match the interview basis-and-flip eval case to the optional flip-condition layout

0 participants