Skip to content

feat(work-items): let ship run take a non-container parent - #17804

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17013-44866373285-1
Nov 21, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17013-44866373285-1

Conversation

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

Closes #17013

Summary

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

/work-items:ship run now takes a non-container parent, built to the owner's recorded decision (Q122, revised A). An item with no spec-container label that has open sub-items, such as the source item decompose attaches items to when its container offer is declined, becomes the run's parent; status stays container-only, a labeled item without the shape line is still not a spec container, and an unlabeled item with no open sub-items still routes to its native parent. Such a parent runs as per-item PRs, stated in the item list shown for approval, never gets a shape line written onto it, and at finish closes through "Decomposed parent close" when open (a closed parent needs nothing). No list-of-ids form was added. A new eval case covers a run over such a parent with two ready children.

Not verified

  • check-evals-quality wrapper does not accept a native case folder or case.yaml (it expects a JSON eval set); eval-cases validation (validate-cases.py) and evals-schema are CI only, left to the PR's CI
  • Running the new eval case against a model was not possible here (no API access); left to the eval suite in CI
  • check-affected skipped typos (not installed), comment-hygiene (fetch failed) and size-check (script absent); markdown-only change, no code comments added
  • tidy: passes 1-4 ran with no edits; pass 5's ai-slop deterministic detector (detect.sh) could not run because the lane's Bash only runs the named wrappers, so only a rubric read and a grep for em dashes and catalog vocabulary ran (no hits)
  • verify: no build or test applies to these markdown and eval-case files beyond the checks above

Fix

  • plugins/work-items/skills/ship/SKILL.md: Step 1 adds the run-only non-container-parent rule (open sub-items via list-sub-items --state open) ahead of the native-parent route, keeps status container-only and the labeled-without-line rule; Step 3 adds its own bullet for a non-container parent under run, with or without a shape line: it always runs as per-item PRs, and a shape line in its body is reported, not obeyed; Actions row, Purpose and Next take the parent too
  • plugins/work-items/skills/ship/actions/run.md: intro and Usage take #<parent-id>; step 1 exempts every non-container parent from the stop-and-offer rule and reports a shape line in its body as not obeyed; step 4 states per-item PRs in the approval list for every non-container parent, reports any shape line it carries, and forbids writing a shape line onto the parent; Finish splits container close-out from Decomposed parent close; Report adds a Parent row
  • plugins/work-items/evals/sh-run-non-container-parent-per-item/case.yaml: new case with a regex grader for per-item PRs stated in the list and an llm grader checking both children are worked, per-item PRs stated in the approval list, no shape-line write, and the Decomposed parent close finish
  • plugins/work-items/evals/sh-run-non-container-parent-per-item/prompt.md: new prompt, an attended run over unlabeled #370 with ready children #371 and #372
  • plugins/work-items/evals/sh-run-non-container-parent-per-item/samples/states-per-item-prs.json: pass and fail samples for the regex grader
  • .changes/work-items/work-resolve-issue-issue-17013-44866373285-1-c2779941.md: minor changelog fragment for work-items

Verification

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

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

The run reports:

  • check-changelog-fragments: all 5 fragments valid
  • check-changed-skills: ship PASS, 0 errors, 4 warnings (description length and body size over the Pocock medians, body grew 166 -> 173 lines, no Gotchas surface; all advisory)
  • check-affected: 14 passed, 9 skipped, 0 failed (first run after review fixes failed validate-plugins on a stale docs/skill-cheat-sheet.md from an argument-hint edit; the edit was reverted and the re-run passed)
  • fresh-context review subagent over the whole diff: 5 findings, no requirement unmet; fixed Finish ordering and scope wording, Report Parent row, Purpose wording, the loose regex alternative (plus a new fail sample); reverted the optional argument-hint change
  • regex grader in case.yaml checked by hand against every pass and fail sample: matches all 3 pass samples and none of the 4 fail samples
  • decompose SKILL.md line 192 read to confirm items attach to the source item with --parent when no container is published
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44866373285

Left out: the items under Not verified.

Related

#17013

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

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #17804 (incremental since d3aaf03)

I found no security issues in this push. I read every hunk of both files in scope, so the review is complete: plugins/work-items/skills/ship/SKILL.md and plugins/work-items/skills/ship/actions/run.md. Neither file matches a trusted-path glob. The push touches no plugin manifest, hook, workflow, trust control or merge-hold path. This lane already reviewed an earlier head, so this review reports blocking findings only (CRITICAL and IMPORTANT).

What changed: Before this push, the per-item rule covered only a non-container parent with no shape line. Now it covers every non-container parent under run, with or without a shape line. Such a parent always runs as per-item PRs, and a shape line in its body is reported, not obeyed. Nothing is ever written onto the parent.

What I checked:

  • Direction of the change. The push stops the model from obeying body text it used to act on. A shape line in a non-container parent's body is item-body data. Before this push, that line could select a discipline, such as integration branch → single PR together with an **Integration branch:** value. Now the line only gets reported. Untrusted body text can steer the run in fewer ways, not more.

  • Removed rule. One sentence was deleted: "A non-container parent with no shape line does not stop here." It was replaced by a rule that is broader and stricter, and run.md still says "The run never applies the per-item default silently." These things still apply unchanged:

    • the attended-only gate;
    • user approval of the drafted item list before any claim;
    • the **Integration branch:** value check.

    Nothing becomes reachable without a check. I didn't read docs/contracts/instruction-exception-register/README.md; I judged the removed rule by its consequence.

  • PR context. I read it as data. It contains no embedded instructions aimed at this review.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 64b9bc5b650853c7c871217430cf92a81dd1e11d: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): d3aaf03f..64b9bc5b

No blocking findings. This push changes the two files that held this lane's earlier inline finding, and it fixes that finding.

What changed

  • run.md step 1 (L37-L42). A non-container parent now always runs as per-item PRs, whether or not its body has a shape line, and any shape line there is reported but not obeyed. The run still never applies the default silently.
  • run.md step 4 (L75-L78). The item list states the shape for every non-container parent and reports a shape line it carries. The run still never writes a shape line onto that parent.
  • SKILL.md Step 3 (L132-L135). The non-container rule moves out of the "Line absent" bullet into a bullet of its own that covers both cases, with or without a shape line. It says only a container's shape line selects a discipline.

All three places now say the same thing. That closes the gap where a parent carrying integration branch → single PR could finish through "Decomposed parent close" without an integration PR. The change still matches the closing issue's decision (Q122 (3)): per-item PRs is stated in the approval list, and no line is written onto the parent.

Other notes

  • Blocking only. This lane already reviewed an earlier head, so this review posts only blocking findings. Last round's advisory point is dropped this round: no test covers status staying container-only, or open sub-items taking priority over the native-parent route. The same goes for the new "reported, not obeyed" branch, which no eval case covers.
  • Security. A security lane runs, so security findings are left to it.
  • Loosened checks. Neither changed file loosens a check.
  • Embedded instructions. None found in the PR context, settled threads or prior findings.
  • Spend. None added in this push.

Loosened checks would be marked: fail (plugin default; the prompt has no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The prompt has no loosened_check_decision_record: line, so the citation requirement was not checked.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44869352940

Failed GitHub API calls

No failed call recorded by the run job's scripts.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM66R9w9
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 64b9bc5
Run 44869352940

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44869352940

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44870060254

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 64b9bc5b650853c7c871217430cf92a81dd1e11d, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=MEDIUM demote=false head=64b9bc5b650853c7c871217430cf92a81dd1e11d rubric=10.4.3 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit a3cc8b9 Nov 21, 2026
77 of 78 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17013-44866373285-1 branch November 21, 2026 05:58
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.

work-items: ship run has no path for plain items with no container

0 participants