Skip to content

fix(planning): check the Brief's acceptance criteria and Out-of-scope against phases in the plan outcome gate - #8156

Merged
kyle-sexton merged 2 commits into
mainfrom
work-resolve-issue/issue-7992-39105995161-1
Oct 19, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
work-resolve-issue/issue-7992-39105995161-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7992

Summary

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

The plan outcome gate and plan reviewer asked for a 'scope-item' mapping the Brief has no list for. Both now name the Brief's Acceptance criteria and Out-of-scope sections: every criterion maps to at least one phase, and no phase does Out-of-scope work. The script comment and the eval case use the same wording; no logic changed.

Not verified

  • The issue's acceptance criterion 'The PR body carries Refs: #6917' is for the lane's PR body; I did not write the PR. The issue body itself says Refs #6926, so the two ids differ.
  • The fragment was written by hand because HEAD was detached and new-changelog-fragment needs a branch; check-changelog-fragments accepts it.

Fix

  • plugins/planning/skills/plan/SKILL.md: Step 4.7 criterion reworded
  • plugins/planning/skills/plan/context/plan-reviewer.md: same criterion reworded
  • plugins/planning/scripts/check-plan-outcome.sh: comment only
  • plugins/planning/skills/plan/evals/evals.json: expected_output and one expectation reworded
  • .changes/planning/fix-7992-plan-outcome-gate-brief-sections-5c1e7a42.md: patch fragment

Verification

The run reports:

Left out: the items under Not verified.

Related

#7992

… against phases in the plan outcome gate

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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

No security findings.

PR #8156 at head de3b941 changes five files in the planning plugin:

  • a changelog fragment
  • a comment in check-plan-outcome.sh
  • one bullet in plan/SKILL.md
  • one bullet in plan-reviewer.md
  • the wording of one eval case

I read the whole diff.

Instruction-surface lens. The edit replaces the "every scope-item maps to a phase" bullet with "every acceptance criterion maps to a phase, and no phase does Out-of-scope work". That rule is a plan-quality check, so I found no protected class from the instruction exception register that it guards. The new wording is stricter, because it adds an Out-of-scope exclusion check. I did not read the register file, so the protected-class list was not consulted. I judged this by consequence alone.

Script. The only change in the shell script is a comment. No executable code changed, so there is no new injection, path or credential surface.

Not checked. I did not review any other files in the repository.

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

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

No inline findings. The change is wording only: the Step 4.7 criterion in plan/SKILL.md, the same criterion in plan-reviewer.md, a comment in check-plan-outcome.sh, one evals.json case, and a patch fragment. I read the diff and ran one git grep; I did not run the test suite or the skill and eval checks.

Closing issue #7992, criterion by criterion

  • git grep -n 'scope-item' -- plugins/planning finds nothing outside CHANGELOG files. Met. My git grep for "scope-item" or "scope item" across plugins (CHANGELOG files excluded) found no remaining use of the old wording. The remaining hits are unrelated "out-of-scope items" phrases in other skills.
  • Step 4.7 and the plan reviewer both name Acceptance criteria and Out-of-scope. Met. SKILL.md:83 names both sections. plan-reviewer.md:58 says "Brief acceptance criterion" and "Brief's Out-of-scope section".
  • The script and eval wording match. Met. The script change is comment-only, so no logic changed. The eval's expected_output and its expectation use the new wording.
  • The criterion stays judgment, and no other Step 4.7 criterion changes. Met.
  • The run-test-file, skill-quality, evals-quality and changelog-fragment checks pass. Author-claimed in the PR body; I did not run them. The change cannot affect the script test, because only a comment changed.
  • "The PR body carries Refs: #6917." Not met. The body opens with Closes #7992, and the issue itself says Refs: #6926, so the two ids conflict. The author flagged this under "Not verified". It concerns the PR body rather than code, so it gets no inline comment. A maintainer should settle which id applies.

Embedded text: none of the PR context or issue text tried to steer the review.

Paved paths and path-scoped rules: no changed file matches a .claude/rules/ glob that gives a finding. cost-claims.md and skill-bodies-state-current-rules.md cover these paths, and the new text states no cost figures or volatile upstream specifics.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: the merge stages a change under .github/workflows/, which the lane does not push.

  • Reason: workflow-staged
  • Resume key: d44b39a5f88ce55a4fb1f580b4e938c9bba637d2 (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=8156 and activity=resolve-conflicts:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=8156 -f activity=resolve-conflicts

@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 18, 2026
…sue-7992-39105995161-1

# Conflicts:
#	plugins/planning/skills/plan/SKILL.md
@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: the verifier verdict refuses verify:earlier-fail at head de3b941b7803b1ede5439193dbb3ec41becc94b5. That refusal needs a human, who merges in person; the pr-merge lane will not merge this pull request.

@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 18, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit 0852ff3 Oct 19, 2026
50 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-7992-39105995161-1 branch October 19, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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): check the Brief's acceptance criteria and Out-of-scope against phases in the plan outcome gate

1 participant