Skip to content

fix(planning): close the interview restatement with a confirm-or-name-numbers request - #11205

Closed
melodic-automation-lanes[bot] wants to merge 1 commit into
mainfrom
work-resolve-issue/issue-11188-41022496622-1
Closed

melodic-automation-lanes[bot] wants to merge 1 commit into
mainfrom
work-resolve-issue/issue-11188-41022496622-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #11188

Summary

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

Step 3 of /planning:interview now says how the terminal-lane restatement ends: it asks the user to confirm it or to name the Q<N> numbers of the items to change, never with a yes/no check like "Sound good?". A run with no register asks the user to confirm it or say what to change. When the recap command or procedure check cannot run (no Bash), the restatement still goes out with that gap named, with no hand-written recap and no setup questions in its place. The eval case interview-final-confirm-active-reply is named as the evidence. Reviewer: the SKILL.md Step 3 digest pin in plugins/planning/tests/interview-defenses.test.sh must be re-pinned before merge (see not_done). Please also do a host rerun of interview-final-confirm-active-reply (3 runs, opus judge). A with-arm score of 0.8 or more in a VALID run is that rerun's check, not this PR's gate.

Not verified

  • plugins/planning/tests/interview-defenses.test.sh: the pin_section digest 'SKILL.md Step 3 section is unchanged (the confirmation-gate exemption lives here)' (currently 1d7690bb3c9d2c928dc547f97e1aa32fb6acc8f6b1535f27e28ac0ace4d2aa7c) is now stale, and this suite WILL fail until it is re-pinned. Thi
  • scripts/check-affected.sh --tests was not run: the lane runs check-affected only with no arguments, and that run skips the test suites. Left to the PR's CI.
  • Host rerun of eval interview-final-confirm-active-reply (3 runs, opus judge) is left for a person; the issue says that rerun, not this slice, checks the 0.8 with-arm score.
  • tidy pass 4 (ai-slop): the detect.sh deterministic layer was skipped because lane Bash runs only the named wrappers. The rubric was read by hand over the changed lines and found nothing. Passes 1-2 do not apply to markdown-only changes.
  • skill-quality changed-skills check skipped by check-affected (runs the checked tree's own code); left to CI.

Fix

  • plugins/planning/skills/interview/SKILL.md: new 'Close the restatement with an active request.' paragraph in Step 3, after the recap and procedure-check paragraph, naming eval case interview-final-confirm-active-reply as its evidence
  • .changes/planning/work-resolve-issue-issue-11188-5b1e0c7d.md: new patch changelog fragment for the planning plugin (hand-written, because new-changelog-fragment refuses on a detached HEAD)

Verification

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

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

The run reports:

  • check-changelog-fragments (run after the edit, after tidy and after the review fixes): all 4 fragments under .changes/ valid
  • check-affected (run after the edit, after tidy and after the review fixes): 11 passed, 7 skipped over 2 changed files; the test suites were not part of this run
  • fresh-context review subagent over the diff: 4 findings. Fixed 3: the 'no ledger on disk' case contradicted the exit-2 halt; the Q<N> request had no fallback for a run with no register; the rule now names the terminal lane and forbids a hand-written recap. Rejected 1: adding an evals.json case
  • grep of plugins/planning for interview-final-confirm-active-reply before the edit: no matches, so the case is named only in the new SKILL.md line
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41022496622

Left out: the items under Not verified.

Related

#11188

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

Copy link
Copy Markdown
Contributor

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

No security issues found in this pull request.

Scope read: the whole diff, two files. plugins/planning/skills/interview/SKILL.md gets one new paragraph in Step 3. .changes/planning/work-resolve-issue-issue-11188-5b1e0c7d.md is a changelog fragment. Neither file matches a trusted path. SKILL.md is a skill body, so I read the change under the instruction-surface lens.

Instruction-surface check: the diff adds an instruction and removes none. The new paragraph sits after the recap and procedure-check paragraph at SKILL.md lines 291-298. It requires the restatement to end with a confirm-or-name-Q<N> request, and it forbids a yes/no close.

One sentence narrows existing behavior. When the recap command or the procedure check cannot be run (no Bash in the session), the restatement still goes out with that gap named. I checked it:

  • It does not touch the non-zero-exit halt. The new text says a check that ran and exited non-zero still halts.
  • The restatement still asks for explicit user confirmation, so the confirmation gate stays.
  • The procedure check is a file-level ledger check. It is not a permission, trust or merge control, and it is not in the protected classes I recognize by consequence.
  • I did not read docs/conventions/instruction-exception-register/README.md. I used recognition by consequence and did not consult the protected-class list.

Other checks:

  • The changelog fragment is plain markdown with bump: patch frontmatter.
  • The diff has no workflow, token, trusted-actor, kill-switch, merge-hold or manifest changes.
  • The PR context contains no embedded directives.
  • Per the PR description, the interview-defenses.test.sh digest pin for the Step 3 section is stale and will fail until it is re-pinned. That is a correctness and CI matter for the code-review lane, not a security finding.
  • The Step 3 pin test is the only mechanism that guards this section's content. Its failure is visible, so I do not count the stale digest as a weakened control.

Spend: the change adds no billable resource. The suggested eval rerun spends prepaid API credits only.

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 a5cb5bdfc47da6caad7d315cf7e9110ebe7e5656; the summary is in this lane's pull request comment.

claude-lane: claude-review


A non-zero exit HALTS the confirmation request; stderr names each defect (a round missing from the register, a retired row with no resolution). Fix the ledger and re-run. It checks only what a file can show. Not checked, and not implied by a green exit or by the recap: whether the Step 1 survey grounded the questions, whether the domain was classified, whether register rows were written at ask-time rather than answer-time, and whether the frontier was recomputed between rounds. `/planning:audit-answers` adversarially re-validates the answers; the recap shows the user the Q&A and the check shows the procedure ran, and neither composes nor duplicates it. A run with no register skips both.

**Close the restatement with an active request.** In the terminal lane, the restatement ends by asking the user to confirm it or to name the `Q<N>` numbers of the items to change, for example "Confirm this, or name the Q numbers to change." A run with no register asks the user to confirm it or say what to change. Never close on a yes/no check ("Sound good?", "Does this look right?"). When the recap command or the procedure check cannot be run (no Bash in the session), the restatement still goes out with that gap named in one line and no hand-written recap in its place; it is never replaced by setup questions or a request to run them. A check that ran and exited non-zero still halts, as above. Eval evidence: case `interview-final-confirm-active-reply`.

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.

This paragraph sits inside the ### Step 3 span that plugins/planning/tests/interview-defenses.test.sh pins at line 665 (pin_section "SKILL.md Step 3 section is unchanged…", digest 1d7690bb…2aa7c). Any edit here changes the hash, so that suite will fail. I did not run it. The closing issue requires it to pass "with any digest it pins re-pinned", and the PR leaves that undone. Re-pin the digest, and add a note on the pin's comment block that this section gained the closing-request rule. Until then the PR cannot meet its stated done criteria.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed a5cb5bdfc47da6caad7d315cf7e9110ebe7e5656: 1 finding(s), 1 as inline comments.

The rule text matches the issue, but the PR leaves plugins/planning/tests/interview-defenses.test.sh failing.

Blocking: stale Step 3 digest pin. The PR edits the ### Step 3. Recognize the stop condition section of plugins/planning/skills/interview/SKILL.md. interview-defenses.test.sh line 665 pins that section's SHA-256 as 1d7690bb…2aa7c. I did not run the test. Any edit inside the pinned span changes the hash, so the pin_section check will fail. The PR body admits this under "Not verified". It breaks the closing issue's criterion "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." A fix needs the new digest, which means a person or a run with a shell has to compute it. The pin's preceding comment also describes the section's contract, so add a clause about the new closing-request rule there.

Other items:

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped fix-ci on this pull request: the lane could fix a failing check only by weakening a test, which is refused, so it runs one fresh fixer round on this head that must keep the test's assertions. The lane sets no label: the run ends in a failing pr-unblock/fix-ci 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=11205 -f activity=fix-ci

@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: the lane could fix a failing check only by weakening a required check, and the head has no fresh fixer round left (it ran one, or an earlier lane stop already spent its same-head retry), so a person decides.

  • Reason: ci-fix-weaken-required
  • Resume key: a5cb5bdfc47da6caad7d315cf7e9110ebe7e5656 (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=11205 and activity=fix-ci:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=11205 -f activity=fix-ci

@kyle-sexton

Copy link
Copy Markdown
Member

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

@github-actions
github-actions Bot deleted the work-resolve-issue/issue-11188-41022496622-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): close the final restatement with an active confirm-or-name-numbers request

1 participant