Skip to content

address-review: keep a PR to its brief; P2s fix-or-defer to one roll-up issue - #122

Merged
allenhutchison merged 1 commit into
mainfrom
claude/project-thread-og3e71
Nov 7, 2026
Merged

allenhutchison merged 1 commit into
mainfrom
claude/project-thread-og3e71

Conversation

@allenhutchison

Copy link
Copy Markdown
Collaborator

Requested by Allen · project thread

Human overview

The review loop now keeps a PR inside its brief, which is its linked issue plus its stated scope. P0 and P1 findings still block. P2s are the agent's call: it can fix one or defer it. From round 2 on, only P0s and P1s get fixed in the PR. Everything deferred goes into one roll-up issue per PR. Before this, the loop fixed every valid finding, and each fix gave the next round something new to review, so small PRs grew 1.4 to 3 times (pepper#6035 went from 358 lines to about 1,000). This implements Allen's three decisions of 2026-11-07.

AI reviewer

What the diff does (plugins/repo-ops/skills/address-review/SKILL.md, prose only)

  • New section, "Keep the PR to its brief":
    • P0/P1 block.
    • P2s are fix-or-defer every round, with criteria for each.
    • From round 2, P2s default to follow-ups. The one exception is a one-line correction to a line that round already changed.
    • A behaviour choice the brief does not make goes to the maintainer.
    • A finding that contradicts the linked issue's acceptance criteria is disputed, quoting the criterion.
    • The roll-up issue is titled Review follow-ups from #<PR>, with one checklist line per finding. Later deferrals are appended to it, and it is recorded in the ledger as follow-ups: <N>.
  • Triage table: the "Out of scope" row now points at the roll-up issue, and there is a new "Contradicts the brief" row.
  • In the first-line stage-1 table, vr-findings now says fix P0/P1s and the chosen P2s, and defer the rest.
  • The ledger example gains a follow-ups key.

Invariants: Deferred: #N is already a valid answer on final-gate threads (the existing filter accepts it with an issue reference), so deferring never holds the first-line hand-off. Severity is never lowered by this skill.

Companion changes: a foreman PR (linked issue in the VR pack; VR stops re-raising P2s answered Deferred:/Declined:), a review-memory prompt PR (the brief's acceptance criteria count as scope rules), and a vycari design-doc amendment.

Verification: scripts/test-address-review-first-line.sh passed 24/24, and scripts/check-links.py is clean.


Generated by Claude Code

…up issue

The loop fixed every valid finding, P2s included, and every fix is new code the
next round reviews. Small PRs grew 1.4-3x (Vycari pepper#6035: 358 -> ~1,000
lines) until a person redirected them.

- P0/P1 block; P2s are the agent's call to fix or defer, every round.
- From round 2, only P0/P1 are fixed in the PR; later P2s default to follow-ups.
- Findings that contradict the linked issue's acceptance criteria are disputed.
- Behaviour choices the brief does not make go to the maintainer.
- All deferrals go to one roll-up issue per PR, tracked in the ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QNDeh6Ai7WgSvQvTZVEHdg
@allenhutchison allenhutchison added the greptile:skip Skip Greptile automatic review for this PR only label Nov 7, 2026
@allenhutchison allenhutchison self-assigned this Nov 7, 2026
@allenhutchison
allenhutchison marked this pull request as ready for review November 7, 2026 17:45
@allenhutchison
allenhutchison merged commit ec89945 into main Nov 7, 2026
1 check passed
@allenhutchison
allenhutchison deleted the claude/project-thread-og3e71 branch November 7, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

greptile:skip Skip Greptile automatic review for this PR only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants