Skip to content

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

Closed

Description

@kyle-sexton

Refs: #7638

Summary

Answers to review-lane findings drift from the D5 reply format, so a reader cannot tell how a finding was answered. The template is | # | Finding | Classification | Evidence | Reacted | (plugins/source-control/reference/review-discipline.md:78-87), and §1 identifies an own reply by that header (:43). Recent merged PRs answer findings in three other shapes:

None of the three carries a marker. The pr-unblock lane uses its own fixed line, **pr-unblock / address-feedback: <LABEL>, <state>** (.github/scripts/pr-unblock/publish-feedback.mjs:133-139).

Impact

The #7638 precision series counts unlabeled answers in their own answered-unlabeled bucket rather than guessing a label, so every unlabeled reply shrinks the measured denominator. A repost whose reply says only "same disposition" is likewise linked only by text heuristics.

Fix

Give every D5 answer one machine-readable line that states the label: reuse the pr-unblock line shape, or add a marker such as <!-- d5 label=<LABEL> lane=<lane> -->, and update §1's own-reply filter to match it. Accept the old table as a fallback. Change the operator-side guidance only; the series already reads all four shapes.

Acceptance criteria

Related

#7638, #7642.

Activity

  1. added
    needs-triage
    on Nov 1, 2026
  2. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    I understood this as a request to give every D5 finding answer one machine-readable label line, to have §1's own-reply filter recognize it, and to have the #7638 reader parse it with a test.

    PR #11812 merged with Refs:, and the repo now seems to have much of this. review-discipline.md §1 and §2 use a <!-- d5 finding= marker, monitor.md filters on it, and review-precision.mjs reads D5 labels. I did not check whether the reader test exists or whether each acceptance item is fully met. Someone needs to compare what #11812 left against the three acceptance criteria. If all three are met, the issue can be closed. If not, please post a **Decision recorded.** comment naming the remaining items.

    No likely duplicates found.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Nov 1, 2026
  4. added
    status: ready
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Nov 1, 2026
  5. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor
    No description provided.
  6. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor
    No description provided.
  7. melodic-automation-lanes commented on Nov 1, 2026

    @melodic-automation-lanes
    Contributor

    The lanes App's pull request #11812 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.

  8. removed
    status: ready
    agent-ready
    on Nov 1, 2026
  9. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  10. added
    status: ready
    status: confirmed
    and removed
    status: ready
    on Nov 1, 2026
  11. melodic-automation-lanes commented on Nov 1, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: merged pull request #11812 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  12. melodic-automation-lanes commented on Nov 1, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: admission moved the issue to status: confirmed; its comment says why.

  13. kyle-sexton commented on Nov 1, 2026

    @kyle-sexton
    MemberAuthor

    Delivered: closing as completed. Nothing is left: #11812, #11836 and #11915 on main meet all three acceptance criteria.

    Issue Triage session finding on evidence, answering the admission comment's question: what did #11812 leave?

    1. Does review-discipline D5 name one required label line for every answer, inline or issue-level, with the label vocabulary, INTENTIONAL included? Yes. §2 requires one <!-- d5 finding=<#> label=<LABEL> lane=<lane> --> line per finding "for every answer, inline or issue-level, including the answer to a reposted finding". The label field takes VALID, VALID-defer, INCORRECT, UNCERTAIN or INTENTIONAL. The template shows one marker line per row, and an INTENTIONAL row is among them.
      Basis: plugins/source-control/reference/review-discipline.md:97-100 (the rule), :106-107 (the label values), :88-91 (the template's marker lines), at origin/main; landed in aae9ecd (fix(source-control): give every D5 finding answer one machine-readable label line #11812).

    2. Does §1's own-reply filter recognize the marker? Yes. §1 counts a comment as an own reply "when a line in it opens with the D5 label marker <!-- d5 finding=", and still accepts the old classification table for replies posted before the marker existed. The pull-request monitor's rescan filter says the same.
      Basis: plugins/source-control/reference/review-discipline.md:42-44; plugins/source-control/skills/pull-request/reference/monitor.md:461.

    3. Does the feat(review): measure review-lane precision from how findings were answered #7638 reader parse the new form, with a test? Yes. feat(harness-ops): add a review-lane precision series to morning-brief #11836 added the D5-table read that takes the reviewer login from the marker's lane= field (:156-172; test :282-295). feat(harness-ops): split review-lane precision by who answered each finding #11915 (ee21b37) added the user-marked author kind for an answer with a marker line (:70, :73-77; tests :183-192 and :219-246). D5 never allows a marker without its table (review-discipline.md:100, "The marker goes beside the table and never replaces it"), so a table-plus-marker test covers every valid answer shape. The Issue Triage session also checked answers whose only label is the marker: the origin/main reader labels them correctly (VALID, INCORRECT, INTENTIONAL, UNCERTAIN, and VALID-defer with a forward link), because the label word in the marker matches the reader's general label pattern; the reader does not parse the marker's label= field.
      Basis: plugins/harness-ops/skills/morning-brief/scripts/review-precision.mjs:70 (D5_MARKER), :73-77 (author kind), :100-108 (label pattern), :138-148 (replyText), :156-172 (the marker's lane= read); review-precision.test.mjs:183-192 (a marker line marks the answer user-marked), :219-246 (the per-author split), :282-295 (lane from the marker); a local probe calling answerBucket on origin/main's review-precision.mjs with five marker-only bodies (one per label) printed valid-fixed, incorrect, intentional, uncertain, valid-follow-up.

    Not a criterion, recorded for the reader: when a reply's prose or table states a label that differs from its marker, the reader takes the table or prose label, so the marker does not win. D5 requires the table and the marker to state the same label, so this case is an authoring error, not a reader gap. The same probe shows the behavior (valid-fixed for a VALID table row with an INCORRECT marker). No change is proposed.

  14. kyle-sexton commented on Nov 1, 2026

    @kyle-sexton
    MemberAuthor

    Closing as completed: #11812, #11836 and #11915 delivered all three criteria (evidence in the comment above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: confirmed

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions