Skip to content

fix(planning): state the condition that would flip each recommendation - #11206

Closed
melodic-automation-lanes[bot] wants to merge 4 commits into
mainfrom
work-resolve-issue/issue-11190-41022512933-1
Closed

melodic-automation-lanes[bot] wants to merge 4 commits into
mainfrom
work-resolve-issue/issue-11190-41022512933-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11190

Summary

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

Each /planning:interview recommendation now carries a Flips if: line after Inference:. The line names the condition that would change that recommendation, checkable against a fact the user can confirm. The rule is stated once in context/loop.md "Frontier rounds" step 4, which names the eval case interview-recommendation-basis-and-flip as its evidence. SKILL.md's per-question template gets the matching slot, and the places that list a recommendation's parts are updated to match. KNOWN CI FAILURE: this edits two digest-pinned sections of plugins/planning/tests/interview-defenses.test.sh, and this lane cannot compute sha256 or run tests/repin.sh, so those two pins fail until someone re-pins them (exact command in not_done). PR body ask: a host rerun of interview-recommendation-basis-and-flip (3 runs, opus judge). That rerun passes when the case reaches a with-arm score of 0.8 or more in a VALID run; it is not this slice's gate.

Not verified

  • plugins/planning/tests/interview-defenses.test.sh WILL FAIL until two digest pins are re-pinned: "SKILL.md Stance section is unchanged (the in-round no-silent-resolve rule lives here)" and "loop.md Step 2 section is unchanged (constraint ledger rows, process-change definition)". This lane cannot com
  • scripts/check-affected.sh --tests (issue done-when) was not run: the lane allows check-affected only with no arguments, so the test suites are left to the PR's CI.
  • Host rerun of eval case interview-recommendation-basis-and-flip (3 runs, opus judge, with-arm >= 0.8 in a VALID run) needs a host run; the PR body should ask for it.
  • Review notes not applied (judgment calls): the page basis text has a 3-sentence budget (surface.md R12), and this change does not say whether Flips if: counts toward it; it also does not say whether each Commits you to: part needs its own Flips if:. The fragment uses patch/Fixed, following the
  • Tidy partial: write-for-agents ran on the changed markdown lines (one wording edit in loop.md). The ai-slop detector script is not runnable in this lane, so the ai-slop pass was a manual rubric read of the changed lines (no findings). write-for-humans was not run on the changelog fragment.

Fix

  • plugins/planning/skills/interview/context/loop.md: Frontier rounds step 4 now requires one Flips if: line per recommendation, in addition to the round's closing probe, with an example and the eval case named as evidence.
  • plugins/planning/skills/interview/SKILL.md: per-question template gains a Flips if: slot after Inference: and the Withheld line says it replaces the four parts above; "Recommended answers" says the Flips if: line rides in the basis text on a card or the page; the withheld-question paragraph li
  • plugins/planning/skills/interview/context/question-shape.md: terminal-lane mapping lists Flips if: among the lines that map to recommendation and basis.
  • .changes/planning/work-resolve-issue-issue-11190-5b1e7c3d.md: new patch changelog fragment (Fixed) for the planning plugin.

Verification

The runner ran each check from the base copy against 4071fae:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • .lane/checks/bin/check-changelog-fragments: All 5 changelog fragment(s) under .changes/ are valid (run after the final edit).
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped over 4 changed files (run after the final edit); it ran no test suites.
  • Read the eval graders: graders/states-flip-condition.md's regex \bflips?\b (flag i) matches a Flips if: line, and the llm grader's second criterion asks for exactly this condition.
  • Fresh-context review subagent over the whole diff: no correctness bug found; confirmed findings applied (withheld-paragraph part list, card/page basis-text clause, template parenthetical removed, loop.md wording and <plugin-root> eval path, changelog wording and issue link).
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41022512933

Left out: the items under Not verified.

Related

#11190

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

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 4cfcc897e57c9583fad79461a413241f2b79cc59: 0 finding(s), 0 as inline comments.

No security issues found in the incremental change.

I read .claude-lane/incremental.diff only. Since the last review, plugins/planning/tests/interview-defenses.test.sh changed in two places. It gains one comment line about the Recommended answers paragraph. It also gets a new expected SHA-256 for the pin_section check on the SKILL.md Stance section.

  • The skip gate applies. The change is a test-only pin update and gives no new security surface. It touches no workflow, token, trusted-actor list, kill switch, merge hold or plugin manifest.
  • The pin check is still in place. The test still hashes the Stance section, and the no-silent-resolve rule lives in that section. The diff only swaps the expected digest.
  • I did not recompute the digest. I confirmed from the diff that nothing is deleted, narrowed or softened. The comment describes an added constraint: the Flips if: line counts toward the 3-sentence budget.
  • No instruction-surface deletion needs a check against the exception register.
  • No spend: the change adds no billable resources or paid settings, and it does not change run limits or frequency.

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: 2 inline finding(s) on 4071fae735851a5cc0e487b496d8bef4d2399114; the summary is in this lane's pull request comment.

claude-lane: claude-review

- <fact> — <its source: file:line / URL fetched this session / session-transcript finding / tool output>, one bullet per fact
Inference: <one line: why these facts together lead to this answer for this user>
[Withheld: <the evidence that would settle it>. ONLY in place of the three parts above, for a question research could not settle]
Flips if: <the condition that would change it, a fact the user can confirm>

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.

Blocking: closing-issue criterion not met. #11190 requires: "scripts/check-affected.sh --tests passes on the committed head, including plugins/planning/tests/interview-defenses.test.sh with any digest it pins re-pinned." This edit lands in a region interview-defenses.test.sh digest-pins. By the PR body's own account, two pin_section digests fail on this head because tests/repin.sh was not run. I did not run the test; this relies on the PR's statement. Re-pin with bash plugins/planning/tests/repin.sh '<pin label text>'... '<why the defense still holds>' after re-reading both pinned sections. Name which pinned region this edit falls in, and why the no-silent-resolve and constraint-ledger defenses still hold.

claude-lane: claude-review

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pr-fix lane: please fix this finding

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

pr-unblock / address-feedback: UNCERTAIN, left open

Evidence: plugins/planning/tests/interview-defenses.test.sh:521, plugins/planning/tests/interview-defenses.test.sh:701

The direction asks for a fix, but this lane cannot make one. The fix means rewriting sha256 literals with tests/repin.sh, and this unattended mode may not run a script, test or hash command from the checkout, so it cannot compute the new digests. Writing a guessed digest would just swap one failing pin for another. The edit at SKILL.md line 145 (the Flips if: template line) is inside the pinned region SKILL.md Stance section, which runs from the Stance heading to The interview loop heading (interview-defenses.test.sh:521-525). The other pin the PR describes as stale is loop.md Step 2 (interview-defenses.test.sh:701). The rationale comments at lines 520 and 700 already say why the defenses hold: the only change is the Flips if: line and its mentions, it resolves no row, and the no-silent-resolve and constraint-ledger lines are byte-identical. This round also adds one sentence to the Stance section's Recommended answers paragraph (the Flips if: line counts toward the R12 budget), so the Stance re-pin must cover that too. A person or a lane that can run commands should run bash plugins/planning/tests/repin.sh with both pin labels and that reason, then run scripts/check-affected.sh --tests.

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 4cfcc897e57c9583fad79461a413241f2b79cc59: 0 finding(s), 0 as inline comments.

Incremental review of plugins/planning/tests/interview-defenses.test.sh since 95e94f8. No findings.

The change adds one comment line and re-pins the "SKILL.md Stance section is unchanged" digest from ec2e605b… to f00bb618…. The re-pin follows the PR's later edit to the "Recommended answers" paragraph in plugins/planning/skills/interview/SKILL.md. That paragraph now says the Flips if: line counts toward the basis prose's 3-sentence budget (surface.md R12).

What I checked:

  • The edited paragraph (SKILL.md:191) sits under ## Stance: supportive, depth-first, opinionated (line 93), before ## The interview loop (line 219). It is inside the span the pin hashes, so the digest has to change.
  • surface.md R12 exists (context/surface.md:254) and caps a basis's prose at 3 sentences. The new clause cites it correctly.
  • The new comment says the no-silent-resolve line is byte-identical. The only changes in that section are the Flips if: slot, its mentions, and the R12 clause, so that holds.

Not verified: I have no shell here, so I could not compute sha256 over the section. I did not confirm that f00bb6189462134249b6c7955292aa046517b18e44d04c3bda58149e88b95ada is the digest of the head section. CI running interview-defenses.test.sh is the check for that. The other pin, loop.md Step 2 (723864eb…), was not touched in this increment.

Cost: no billing or paid-plan change in this increment.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the reply job failed before it decided anything (a lane token it could not get, or a script error), so no reply was posted. The lane sets no label: the run ends in a failing pr-unblock/address-feedback status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=11206 -f activity=address-feedback

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

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 30, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: a disputed review finding is one only a person decides (a CRITICAL finding, a security-review finding rated IMPORTANT or above or with no rating the lane reads, one no known review lane wrote, or a thread a person directed).

  • Reason: feedback-disputed
  • Resume key: 95e94f8a11b518c366cab17851481d676c784d28 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=11206 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=11206 -f activity=address-feedback

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Oct 30, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Superseded by #11225, which merged this change from the owner login.

@github-actions
github-actions Bot deleted the work-resolve-issue/issue-11190-41022512933-1 branch October 31, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Hard merge gate: do not merge while applied. needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(planning): state the condition that would flip each recommendation

1 participant