Skip to content

feat(work-items): decompose checks each criterion fails at the base commit and asks what each slice demos - #10321

Merged
kyle-sexton merged 2 commits into
mainfrom
work-resolve-issue/issue-10048-40371502080-1
Oct 27, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
work-resolve-issue/issue-10048-40371502080-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes #10048
Refs: #6917

Summary

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

Adds a base-commit check to /work-items:decompose Step 2: each acceptance criterion id is judged against the default branch's current commit by reading code at that commit (never running a command taken from criterion text, a build or a test). An id that already passes is flagged and Step 3 asks whether to sharpen it or leave it out as met. Step 3 also shows a Demo line per item and asks the user what each slice demos; Step 4 and Step 5 carry the user's choice through. A new file-based eval case with a deterministic regex grader covers the flagging.

Not verified

  • bash plugins/skill-quality/scripts/check-skill.sh plugins/work-items/skills (an issue Done-when item) was not run: no wrapper for it in this lane, and check-affected skipped changed-skills because it runs the checked tree's own skill-quality code; left to the PR's CI
  • plugins/evals/skills/validate/scripts/validate-cases.py was not run over the new eval case (no wrapper in this lane), so the regex grader's samples were hand-traced, not machine-graded; left to the PR's CI
  • The eval cases were not run against a model (a paid run); only their deterministic parts were checked
  • ci-status green on the PR and the PR body carrying 'Refs: #6917' are PR-time checks left to the lane and the PR's CI
  • The whole-repo scanners check-affected lists as CI only (purged-em-dashes, evals-schema and others) were not run here; left to the PR's CI

Fix

  • plugins/work-items/skills/decompose/SKILL.md: Step 2 adds the Base-commit check; Step 3 adds a per-item Demo field, shows the base-commit result with flagged and unchecked ids, and asks what each slice demos; Step 4 Done when carries sharpened wording and drops ids left out as met; Step 5 reports bo
  • plugins/work-items/skills/decompose/evals/evals.json: new case 13 (base-commit check flags a met criterion and asks each slice's demo)
  • plugins/work-items/evals/decompose-flags-criterion-passing-at-base/: new eval case (case.yaml, prompt.md, a regex grader flags-ac2.md with pass/fail samples, an llm grader only-ac2-flagged.md) where AC2 already passes at base and must be flagged while AC1 and AC3 are not
  • .changes/work-items/feat-10048-decompose-base-commit-check-7c41e9d2.md: minor changelog fragment (written by hand in the script's format because new-changelog-fragment refuses a detached HEAD)

Verification

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

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

The run reports:

  • read https: //github.com/melodic-software/claude-code-plugins/issues /6924: W5 body says 'In decompose: check that each criterion can fail at the base commit, and ask what each slice demos'
  • read https: //github.com/melodic-software/claude-code-plugins/issues /6917: W5 criterion 'decompose checks each criterion can fail at the base commit'
  • read https: //github.com/melodic-software/claude-code-plugins/issues /10039: the blocker (criterion ids and trace) is closed as completed; its criterion trace is already in SKILL.md at the base
  • .lane/checks/bin/check-changelog-fragments: All 19 changelog fragments valid
  • .lane/checks/bin/check-affected: 9 passed, 7 skipped, 0 failed over 8 changed files
  • .lane/verify/bin/check-evals-quality plugins/work-items/skills/decompose/evals/evals.json: PASS, exit 0 (2 WARNs on the existing case 10, not this change)
  • fresh-context review subagent over the whole diff: no blocking defects; findings fixed (criterion commands from item text are never run, base read at the commit not the working tree, Demo scoped for prefactors and investigation tickets, Step 3 choices carried to Done when and the report, regex widen
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40371502080

Left out: the items under Not verified.

Related

#10048

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

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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

No security issues in the incremental change since c29a590 (plugins/work-items/skills/decompose/SKILL.md).

The diff makes three changes:

  • It adds a Demo: line to the item-body template.
  • It adds a "Demo" fill rule. The line carries the user-confirmed text from Step 3 and is redacted of file paths, like Outcome.
  • It adds the Demo line to the list of parts that survive the conciseness rewrite.

This is prose in a skill body. It adds a field to the item template and removes no standing instruction or guardrail. It changes no hook, permission, userConfig key or manifest field. It touches no trusted-path file and no trust control. The Demo text is user-approved and goes into the issue body through the same seam as the other fields. The path-redaction rule is added, not weakened. I found no exploit path.

The PR context file held no embedded instructions aimed at the lane.

The instruction-exception register was not consulted. Nothing was deleted or softened, so there was nothing to check against it.

No manifest fields are hit by this change, so there are no manifest <field> lines.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review of plugins/work-items/skills/decompose/SKILL.md since c29a590: no findings.

The change adds a Demo: line to the item body template, a Fill-the-sections bullet for it, and the approved Demo line to the list of things the /writing:be-concise pass must keep unchanged. I read it against the Step 3 Demo definition (line 154) and the Step 3 question (line 169). The three pieces agree: the line is the one the user confirmed or replaced at Step 3, it is redacted like Outcome (no file paths), and it is protected from the concision pass. The template placement sits inside ## Outcome, so it doesn't change the section shape.

All other files are unchanged since the last review. I did not run the eval or skill-quality checks. The PR body lists them as not run, so they are author-claimed and unverified.

No hold: nothing here can cause a real charge.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of max 4 on f540f10.

@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 26, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: a review finding is uncertain or deferred, so a person decides it.

  • Reason: feedback-uncertain
  • Resume key: f540f1043394b5edcbcd22b57b47ca69b9f4651c (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=10321 and activity=address-feedback:

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

@kyle-sexton kyle-sexton left a comment

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.

Owner decision 2026-10-26 ~22:3xZ in the hub session: merge the PRs currently held for the owner, security-flagged or otherwise. Approving head f540f10 under that decision (lifts the queue's verifier hold). Its four threads are addressed (Demo line carried at decompose/SKILL.md:240 and :284; body has an ASCII Refs: #6917 line; two notes name no defect). The needs-human label still needs removal by the owner.

@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 27, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 9ee18bc Oct 27, 2026
87 of 89 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-10048-40371502080-1 branch October 27, 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 checks each criterion can fail at the base commit and asks what each slice demos

1 participant