Skip to content

fix(source-control): give every D5 finding answer one machine-readable label line - #11812

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-11805-41269263452-1
Nov 1, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-11805-41269263452-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #11805

Summary

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

review-discipline §2 now requires one `` line per finding in every D5 answer, inline or issue-level, reposts included. The label is VALID, VALID-defer, INCORRECT, UNCERTAIN or INTENTIONAL, and the table stays required beside it because the readiness gate credits table rows only. The §1 own-reply filter (and its copy in the pull-request monitor) recognizes the marker, with the old classification table accepted as a fallback; the pr-unblock lane's fixed line is named as that lane's label line. I chose an HTML-comment marker over reusing the bold pr-unblock line because a per-finding marker can sit under an existing table with no visible change, and its label tokens match pr-unblock's DISPOSITIONS (VALID-defer) plus INTENTIONAL. The #7638 reader is not in this repository (the #7638 thread says the series is host-run and its reader not yet built), so criterion 3 is left open.

Remaining work

  • The #7638 reader parses the `` marker, with a test (the reader is host-run and not in this repository).

Not verified

  • Acceptance criterion 3 (the #7638 reader parses the new form, with a test): no #7638 reader exists in this repository; issue #7638 routes the series to host-run and its reader was never filed or built, so there is nothing here to extend or test.
  • ai-slop deterministic detector (detect.sh) not run in tidy pass 5: the lane permits only the named wrappers; the rubric read was done by hand over the added lines and found nothing to fix.
  • typos check skipped by check-affected (typos not installed); validate-plugins sub-checks and changed-skills skipped because they run code from the checked tree; the PR's CI runs them.
  • Pre-existing gap seen in review, not changed here: babysit_classify.py _CLASSIFY_CELL matches only VALID|INCORRECT|UNCERTAIN, so an INTENTIONAL table row gets no readiness-gate credit and its echoed severity word is not stripped. Outside this issue's guidance-only scope.

Fix

  • plugins/source-control/reference/review-discipline.md: §1 step 1 recognizes an own reply by the `
  • plugins/source-control/skills/pull-request/SKILL.md: D5 checklist item names the per-finding marker line and links review-discipline §2.
  • plugins/source-control/skills/pull-request/reference/monitor.md: finding-extraction reply rule and the own-reply rescan filter name the marker, with the table pattern as fallback.
  • .changes/source-control/fix-11805-d5-label-marker-3f9a1c27.md: new patch changelog fragment for source-control.

Verification

The runner ran each check from the base copy against 4fa709c:

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

The run reports:

  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-changelog-fragments: all 4 fragments valid (run after tidy and after review fixes).
  • /home/runner/work/claude-code-plugins/claude-code-plugins/.lane/checks/bin/check-affected: 11 passed, 7 skipped over 4 changed files (an earlier run failed MD038 on a code span with a trailing space; fixed by spelling the marker as `
  • fresh-context review subagent over the diff: no high-severity findings; confirmed marker lines carry no | or severity token so babysit_classify counts are unchanged, and own markers never reach babysit_resolve_thread's human-deferral regex; its four low/medium findings (pr-unblock line called 'old
  • read https: //github.com/melodic-software/claude-code-plugins/issues /7638: the series' mechanism is left to planning, criteria needing PR reads are routed host-run, and no comment names a built reader script or path.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41269263452

Left out: the items under Not verified.

Related

#11805

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

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #11812

No security issues found. I read every hunk of all 4 changed files.

What changed. The PR edits guidance text only:

  • review-discipline.md §1 and §2 now require one `` line per finding in every D5 answer.
  • The D5 item in pull-request/SKILL.md names that marker line.
  • Both mentions in monitor.md name it too.
  • A patch changelog fragment is added.

No code, workflow, manifest or trusted-path file changes.

What I checked:

  • Own-reply filter (§1 step 1, monitor.md rescan rule). The filter now skips a reply when a line in it opens with <!-- d5 finding=, and still accepts the older classification table as a fallback. The filter still applies only to comments from the agent's own posting identities (gh api user, plus the --self / --extra-self set). Another author who puts the marker in a review comment is still treated as a finding source. So the change gives an outside reviewer no new way to hide a finding from extraction.
  • Readiness gate. The new text states that the table stays required and that the gate credits table rows only. A reply with markers and no table still counts as unclassified, so the marker cannot be used to skip the gate. The PR context says marker lines carry no | or severity token, which would leave babysit_classify counts unchanged. That matches the marker format in the diff.
  • Instruction-surface lens. The diff adds requirements and removes no rule. It keeps the table, the reaction step, the routing of inline versus issue-level replies, and the verification gates. Nothing to check against the instruction exception register.
  • Trust controls and manifests. No trusted-actor, token, kill-switch, merge-hold or .claude-plugin manifest file is touched.

Embedded text. The PR context file has no directives aimed at the review lane.

Spend. None.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no blocking or advisory findings

This change only edits guidance. Every D5 answer must now add one `` line per finding under the classification table. The own-reply filter in review-discipline.md §1 and in `monitor.md` now spots a reply by that marker, and still accepts the older table pattern for replies posted before the marker. I read every hunk of all 4 changed files.

What I checked (read-only; I ran no scripts):

  • Readiness gate counts don't change. babysit_classify.py counts a classification row only when the line starts with | (CLASSIFY_ROW_RE, babysit_classify.py#L427). The |-free marker lines therefore add no classified rows and no phantom findings. The new text says the table is still required "because the readiness gate credits table rows only", which matches that code.
  • The pr-unblock line format exists. The **pr-unblock / address-feedback: <LABEL>, <state>** line that §2 names as that lane's label line appears in the pr-unblock tests, e.g. adjudicate-feedback.test.mjs#L216.
  • No other copy of the own-reply filter is left stale. The only other Finding | Classification table is the babysit iteration report template in babysit-prs/reference/loop.md. It is not a reply format.
  • The SKILL.md and monitor.md restatements agree with §2: marker required, table kept, old table accepted for earlier replies.
  • Path-scoped rules: skill-bodies-state-current-rules.md and cost-claims.md match the changed files. Neither is broken: no upstream detail is restated and no cost claim is made.
  • Changelog fragment: a patch bump for source-control is a reasonable level for a guidance-only change. No plugin.json or marketplace.json changed, so no manifest checks apply.

Closing issue: the PR body says Refs: #11805 and the PR context file has no closing-issue section. I had no issue acceptance criteria to check against, so #11805's criteria are unread, not met. The author says criterion 3 (a #7638 reader that parses the marker, with a test) is still open because that reader lives outside this repository. That is the author's claim; I did not verify it.

Author-claimed and unverified: the changelog-fragment and check-affected results in the PR body.

Pre-existing, not changed here (noted by the author too): _CLASSIFY_CELL matches only VALID|INCORRECT|UNCERTAIN, so an INTENTIONAL table row gets no readiness-gate credit (babysit_classify.py#L416). It sits outside this PR's lines and isn't counted as a finding.

No embedded instructions were found in the PR context file.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 4fa709ce29d6357f30586705f9fe5d7bea744bec. 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)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4fa709ce29d6357f30586705f9fe5d7bea744bec.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit aae9ecd Nov 1, 2026
50 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-11805-41269263452-1 branch November 1, 2026 04:08
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 1, survived 1, timeout 0, no coverage 0, invalid 0, not run 5.
Covered-code score 50%; mutation score 50%.

File Killed Survived Timeout No coverage Invalid Not run
plugins/planning/scripts/check-round-codes.sh 1 1 0 0 0 2
plugins/planning/surface/round.py 0 0 0 0 0 3

Surviving mutants

Location Operator Disposition Cause
plugins/planning/scripts/check-round-codes.sh:83 SBR unclassified unclassified

The run's summary has the full report.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit aae9ecdbe3d07bfc1a219b9e688092775fafb485; later checks count it verified from this comment.

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.

0 participants