Skip to content

docs(work-items): stop saying a merge partition reads the work-class label - #12823

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12766-41622703945-1
Nov 3, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-12766-41622703945-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12766

Summary

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

Most of #12766 was already on the default branch: report-outcome.mjs routes a report-delivered stop on branch or resume only (line 1460), report-outcome.test.mjs covers a class-less and a structural issue on that route (lines 4357-4378), and work-items 9.0.2's CHANGELOG records the matching /work-items:work SKILL.md change. This change does the part that was left. It rewords the five work-items docs the issue names so they no longer say a merge partition reads the work-class: label. They now say triage stamps the class as a record, and that only work-class: untrusted-provenance and provenance: signal hold an item. The wording keeps the one class the merge step does read: babysit_merge_policy.py trust_refusal (line 2277) refuses a PR whose linked issue carries an untrusted label.

Not verified

  • The intake, admission, pr-merge and resolve-config test suites (done-when 2) were not run here: this lane has no test runner. Left to the PR's CI. The existing report-delivered tests already cover the class-less and structural cases.
  • Done-when 1's exact git grep was not run, since only git-read status/diff/log/show is allowed. The same pattern was searched with the Grep tool over .github, plugins/work-items and babysit_merge_policy.py.
  • Tidy pass 5 (ai-slop:audit fix): its detector script is not among the commands this lane may run, so only the rubric read ran over the changed lines; it found no tell. Passes 1-3 had nothing to do because the change is all markdown; pass 4 (write-for-agents and write-for-humans) ran and tightened…
  • Review finding left: plugins/work-items/skills/triage/SKILL.md lines 42-43 (unedited text) say only untrusted-provenance and provenance: signal keep an item off the role label, but apply-outcome.md also withholds it on a failed author trust test. This text predates the change and is outside the…
  • Finding outside this issue's scope and area: plugins/source-control/skills/babysit-loop/reference/cycle-shape.md lines 111-119 (Rung partition) still say the merge partition reads the linked item's work-class: label, which babysit_merge_policy.py no longer does. Needs a source-control follow-up.
  • Finding outside scope: .github/actions/resolve-config/admission-rules.json still has a classes list (read-only, mechanical, scoped) that admission no longer gates on (admit.test.mjs lines 166-171).
  • check-affected skipped typos (not installed) and listed CI-only checks; those run on the PR's CI.

Fix

  • plugins/work-items/reference/work-class-labels.md: opening paragraph says admission, the merge step and stop routing decide nothing by read-only, mechanical, scoped, structural or a missing class, and that only untrusted-provenance and provenance: signal hold an item; the label-only line names the…
  • plugins/work-items/reference/label-taxonomy.md: the Work class row says the class is a triage record and that only untrusted-provenance is read (human floor and merge hold)
  • plugins/work-items/reference/item-content-trust.md: the merge-partition bullet becomes the untrusted-provenance floor bullet, linking work-class-labels.md in place of babysit-loop's Rung partition, and says no merge step decides by any other class
  • plugins/work-items/skills/triage/SKILL.md: Classification vocabulary says triage records the class on the work-class: axis, not that a merge partition reads it
  • plugins/work-items/skills/triage/context/apply-outcome.md: the optional class stamp is a record of the item's class, not for the merge partition
  • .changes/work-items/work-resolve-issue-issue-12766-41622703945-1-d087c0c5.md: new patch fragment describing the rewording

Verification

The runner ran each check from the base copy against 9ea457d:

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

The run reports:

  • Grep of report-outcome.mjs and report-outcome.test.mjs: the route at line 1460 reads only stop, branch and resumed; tests at lines 4357-4378 close a class-less and a structural issue with no branch and retry with one
  • Grep of babysit_merge_policy.py: LANE_CLASS (line 3691) and work_class (line 2165) are report data only; trust_refusal (line 2277) reads the untrusted label, so the wording keeps that hold
  • Grep for work-class|workClass|work_class|lane_class over .github (non-test files): every gating read is the untrusted-provenance hold; admit.test.mjs lines 166-171 admit structural, unlisted and class-less issues; LANE_CLASS in workflows is a failure class, not a work class
  • Grep for 'merge partition' and 'Rung partition' in plugins/work-items: none left outside CHANGELOG.md
  • check-changelog-fragments: all 1 fragment valid (run before and after tidy and review fixes)
  • check-changed-skills: triage PASS, 0 errors, 4 pre-existing size warnings (run before and after)
  • check-affected: 11 passed, 7 skipped over 6 changed files (run before and after)
  • fresh-context review subagent: confirmed the main claim against the merge policy, admission, stop routing and frontier floor; found four overbroad wordings; the three in edited lines are fixed
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41622703945

Left out: the items under Not verified.

Related

#12766

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12823

I found no security issues.

Scope. I read every hunk of all 6 changed files. All of them are markdown under plugins/work-items/ plus one changelog fragment. None of them matches a trusted-path glob, and the PR changes no code, workflow, action, manifest, token or trust control.

Instruction-surface check. The PR narrows existing instruction text, so it doesn't qualify for the "no security-relevant surface" skip. I checked it with the instruction-surface lens instead:

  • The PR removes the claims that "the merge partition reads the work-class: label". The rule that matters for security survives: the untrusted-provenance floor is read from the provider-permissioned label and never from a Work-class: C<n> body trailer. It is still stated in item-content-trust.md and label-taxonomy.md.
  • The merge code enforces that rule on its own. babysit_merge_policy.py reads the label constant UNTRUSTED_PROVENANCE_LABEL = "work-class: untrusted-provenance" (L118), and its untrusted-provenance refusal returns at L2278. That is a label check, not a body-trailer check, so the removed sentence leaves no gap.
  • In apply-outcome.md, the hard pairing ban (agent-ready never goes with work-class: untrusted-provenance or provenance: signal) is unchanged. So is the author trust-test exit to the human-gated label for a lane that cannot write work-class: labels.
  • I did not read the protected-class register at docs/contracts/instruction-exception-register/README.md. I judged the removed rule by what breaks without it: nothing does, because the label-only rule is still written down and the merge code still enforces it.

PR context. The description contains no instructions aimed at the review lane. The linked issue's body was left out by the wrapper.

Prior findings. This lane had no earlier findings on this PR, and the round cap did not apply.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 9ea457dea7809a578bf83cd952b9cb49870c2e50: read 6 of 6 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12823 (no findings)

I read the whole change in all 6 files. Five are markdown docs in work-items; the sixth is a changelog fragment.

What changes. Five docs stop saying that a "merge partition" reads the work-class: label. They now say triage stamps the class as a record. Of the class and provenance labels, only work-class: untrusted-provenance and provenance: signal hold an item for a person. This follows owner decision Q85 on #9668.

Checked against the code:

  • The merge hold claim is accurate. The new label-taxonomy.md row says untrusted-provenance "holds its merge", and item-content-trust.md says no merge step decides by any other class. babysit_merge_policy.py matches: UNTRUSTED_PROVENANCE_LABEL (L118) and the trust refusal returning "untrusted-provenance" (L2278).
  • No old wording is left. A grep of plugins/work-items outside CHANGELOG.md finds no remaining "merge partition" or "Rung partition".
  • The edited files agree with the rest of work-class-labels.md. "Only the provenance labels hold an item" matches its "human-floor class" section ("No other class floors an item, and neither does a missing class"). The narrowed line, "the frontier floor reads the label only", also stays consistent.
  • Bump level: the fragment's bump: patch fits a docs-only rewording. No plugin manifest changed, so the manifest checks don't apply.

Closing issue #12766.

  • Its two "done when" items are code criteria already met on the default branch. I read report-outcome.test.mjs L4357-L4378: it routes a class-less and a work-class: structural issue on the report-delivered path, with and without a branch.
  • Not verified: I did not run any suite. The PR's claim that the intake, admission, pr-merge and resolve-config suites pass, and its grep results, are the author's and unverified; I have no shell.
  • The doc-rewording part of the outcome is met for all six locations the issue names.

Out-of-scope items the PR body records (not counted here):

  • babysit-loop/reference/cycle-shape.md "Rung partition" still describes the old behaviour.
  • admission-rules.json still has a leftover classes list.
  • triage/SKILL.md L42-43 has an unedited sentence that is broader than it should be.

These need follow-up issues outside work-items, or are pre-existing.

No embedded instructions were found in the PR context. No spend or cost implications.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit e887ecb Nov 3, 2026
93 of 98 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-12766-41622703945-1 branch November 3, 2026 16:27
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.

fix(pr-pipeline): route a delivered report stop without reading work class

1 participant