Skip to content

feat(work-items): decompose proposes one slice per plan behavior - #13413

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-13409-41947376195-1
Nov 5, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-13409-41947376195-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #13409
Refs: #6917

Summary

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

Decompose now reads a plan's ### Behavior list in Step 1 (each B<n> with its cited criterion ids, the Process criteria: line and each phase's **Delivers:** line). Step 2's One concern check cuts one draft slice per behavior, carrying its ids and the phases whose Delivers line names it, even when two behaviors cite the same id. Every slice also carries the Process criteria ids, so the criterion trace maps them and Step 4 writes them into each Done when. A plan without the list, or a phase with no Delivers line, keeps phase-based cutting. Design choice: Process ids are modeled as carried by every slice (not only added to Done when) because the criterion trace, Step 3's Criteria carried and Step 4's Done when all key on carried ids. Refs: #6917

Not verified

  • The jq -e ... | length &gt; 0 and jq empty done-when commands were not run literally: the lane's Bash runs only the named wrappers. check-evals-quality parsed the file successfully, and case 14's name contains "behavior".
  • The PR body carrying Refs: #6917 is set by the lane when it opens the PR; the summary includes the line.
  • Tidy pass 5 ran as a rubric read only (no findings): ai-slop's detect.sh and digest-guard.sh are not runnable under the lane's wrapper-only Bash. Passes 1-4 ran and made no edits.
  • Eval suites and markdownlint were not run here; left to the PR's CI.

Fix

  • plugins/work-items/skills/decompose/SKILL.md: Step 1 extracts the ### Behavior list, Process criteria: line and **Delivers:** lines; Step 2's One concern row cuts one slice per behavior, makes every slice carry the Process criteria ids, and keeps phase-based cutting for a plan without the…
  • plugins/work-items/skills/decompose/evals/evals.json: new case 14 behavior-list-cuts-one-slice-per-behavior-split-by-delivers, a fixture plan with two behaviors citing AC1 that expects two slices split by Delivers, each carrying AC1 and the Process criterion AC2
  • .changes/work-items/work-resolve-issue-issue-13409-41947376195-1-385052fb.md: minor changelog fragment for work-items

Verification

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

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

The run reports:

  • check-evals-quality plugins/work-items/skills/decompose/evals/evals.json: PASS (it parsed the JSON; 2 warnings are pre-existing, on case 10)
  • check-changelog-fragments: all 3 fragments valid
  • check-changed-skills: CHECK-SKILL decompose PASS, 0 errors, 5 size/Gotchas warnings (pre-existing shape; body grew 344 -> 346 lines)
  • check-affected: 12 passed, 7 skipped, 0 failed
  • fresh-context review subagent over the whole diff: 3 findings (Process ids not counted as carried; eval expectation graded Done when in a draft-only run; phases without Delivers had no home), all fixed and checks re-run
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41947376195

Left out: the items under Not verified.

Related

#13409

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

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

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

Code review: #13413 — decompose proposes one slice per plan behavior

I read all 3 changed files in full: the changelog fragment, decompose/SKILL.md and decompose/evals/evals.json. I also read the PR context, the prior findings (none, so this is a first review and not blocking only) and the path-scoped rules that match these files (skill-bodies-state-current-rules.md, eval-case-transcripts.md, cost-claims.md).

Finding (blocking, whole PR, no line can carry it)

Closing issue #13409 says: "The PR body carries Refs: #6917." This criterion is not met. In the PR body, the only Refs line is inside the quoted run summary, and it is written Refs: #6917 with a fullwidth # (U+FF03), not an ASCII #. The same summary also writes ### Behavior with fullwidth hashes. That suggests the lane escapes # in its quoted summary on purpose. Elsewhere in the same body, the ASCII # survives (Closes #13409, ## Related / #13409), so the context file is not rewriting every hash. GitHub does not link #6917, and a literal check for Refs: #6917 fails. The PR's own "Not verified" section admits this was not checked. To fix it, add a plain Refs: #6917 line to the PR body, outside the quoted summary. No code change is needed.

Other criteria from #13409 (checked by reading, not by running anything)

  • Step 1 and Step 2 name ### Behavior, **Delivers:** and Process criteria:: met. See SKILL.md#L48 and the One concern row at L68. Eval case 14's name contains "behavior", so the jq ... length > 0 check should pass.
  • jq empty on evals.json: by reading, the new object is well-formed JSON: the commas and closing brackets are correct. I could not run jq in this lane, so this is a reading, not a run.
  • Process criteria go into every slice's Done when: met. Each slice carries the Process criteria ids, and Step 4's Done when rule writes every carried id into the item. Eval case 14 checks that AC2 appears in every slice's Criteria carried, so a regression would fail it.
  • A plan with no Behavior list keeps phase-based cutting: the One concern row still says so. This fallback has no new eval case, but the existing PLAN.md eval cases cover the phase path.

Other checks

  • Changelog fragment: bump: minor fits a new capability in the skill.
  • No plugin manifest changed, so there are no manifest lines.
  • Path rules: no volatile upstream restatement was added to the skill body. The eval fixture is a synthetic plan, not a transcript.
  • The CI checks the author lists (check-evals-quality, check-changed-skills, check-affected) are author-claimed. I did not verify them.

No embedded instructions were found in the PR context.

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #13413

Result: no security issues found. I read every hunk of all 3 changed files.

  • plugins/work-items/skills/decompose/SKILL.md: Step 1 gains one paragraph telling the skill to extract a plan's ### Behavior list, its Process criteria: line and each phase's **Delivers:** line. Step 2's "One concern" check row now cuts one slice per behavior. Both edits are about how a plan is sliced into work items. Neither deletes, narrows or softens a guardrail. The skill still publishes nothing before the user approves (the existing behavior, which the new eval asserts again). The change adds no tool grant, no command, no publishing path and no new source of untrusted input.
  • plugins/work-items/skills/decompose/evals/evals.json: new eval case 14 with a fixture plan inline. It is test data only, with no files and no commands.
  • .changes/work-items/...md: a changelog fragment, prose only.

Checks:

  • Trusted paths: none of the changed files matches a TRUSTED PATHS glob.
  • Plugin manifests: no plugin.json or marketplace.json changed.
  • Workflows: none touched.
  • Trust controls: none touched.
  • Instruction surface: no standing rule is removed, so the instruction-surface lens finds nothing to check against the exception register.
  • PR context: nothing in it tries to steer the review. The closing issue's body was left out upstream because its author is not on the allow list.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the pull request has an unresolved review thread the lane does not take (a reviewer it does not act on, a review of an older head, or a thread it already answered), so no lane resolves it and a session builder takes it. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and 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=13413 -f activity=address-feedback

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head ac8382b8eadf222864507659d209e617f59a475a. The lanes clear this reason on their own; the next scheduled run judges it again.

a pr-unblock lane stopped its head (pr-unblock/address-feedback is failure), which clears when the
  lane runs again

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 5, 2026
@kyle-sexton kyle-sexton removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 5, 2026
@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 5, 2026
@kyle-sexton kyle-sexton removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 5, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit ae45fd4 Nov 5, 2026
133 of 134 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-13409-41947376195-1 branch November 5, 2026 02:45
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.

feat(work-items): decompose proposes one slice per plan behavior

1 participant