Skip to content

Give Pre-Existing Findings Listed in a Pull Request Body a Reader: a Ledger Filled at Promotion #4487

Backlog

Description

@ptr727

pr-review-conduct outcome 4, which drive-pr repeats, sends a pre-existing finding that is not a stated-failure correctness defect, a canonical-unit finding or a dropped finding to one place. That place is a line in the pull request body under Pre-existing findings, not filed, with no issue. That is deliberate and cheap: from 2026-10-16 to 10-23, 108 of 329 non-handoff issues filed across four fleet repositories carried pre-existing. But no seat and no script ever reads that heading again, so after the merge the line is a write-only record.

Evidence from the 2026-11-25 away burndown

That run left 8 such lines across #4457, #4465, #4469, #4479, #4480, #4481, #4484 and #4485. A re-triage found that most did not belong under the heading:

So the gap is twofold. The heading has no reader, and the routing to it is easy to get wrong.

Proposal

  1. One standing ledger issue per repository (Ledger: Pre-existing Findings Listed in Pull Request Bodies and Not Filed #4486 for the hub). Each line is a checkbox naming the file, the class and the source pull request. This adds one issue in total rather than one per finding, so the cost argument outcome 4 states still holds.
  2. The promotion seat fills it. Assembling a promotion body already reads every merged pull request body in origin/main..origin/develop for its Closes on promotion: line. Collecting the Pre-existing findings, not filed lines in the same pass costs no extra read. The seat posts them to the ledger once per promotion. It ticks a line whose file the promoted range fixed, and routes a misfiled line to the bullet it belongs under: a canonical unit to its tracker, and a stated-failure defect to its own issue.
  3. Workers carry ledger lines in reach. A burndown group, or any drive, whose predicted file set includes a file named on the ledger carries that line in its brief. It fixes the line in the pull request already open, which outcome 4's in-reach bullet already permits for a file the diff touches, and ticks it there. The ledger is never ranked as a group, so it never takes a lane.

Surfaces

  • .agents/skills/pr-review-conduct/SKILL.md outcome 4 "Any other" bullet, and the paragraph after it: name the ledger.
  • .agents/skills/drive-pr/SKILL.md, where it repeats that heading.
  • .agents/skills/backlog-burndown/SKILL.md "Assembling the Promotion Body" (the harvest step), "Ranking" (the ledger is not ranked), and "Dispatching a Worker" (the brief carries in-reach lines).
  • Optionally scripts/pr_review.py or a sibling: one subcommand that prints a range's not filed lines, so the harvest is a read rather than judgment.

These are carried skill sources, so scripts/build_dist.py regenerates .github/skills/ and .claude-plugin/ in the same change.

Activity

  1. added
    enhancement
    skills
    on Nov 26, 2026
  2. ptr727 commented on Nov 26, 2026

    @ptr727
    OwnerAuthor

    Filed from the re-triage above: the GH_HOST pin is #4489, and the three per-unit trackers are #4490 (repo-worktree), #4491 (upstream-contribution-workflow) and #4492 (release-publish-mechanics.md). The ledger is #4486.

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

    enhancementskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions