Skip to content

Proportionality in the review loop: severity tiers, delta re-review and a re-review recommendation #3795

Closed

Description

@malibio

Overview

The built-in Reviewing a Task and Addressing Review Findings procedures are strict about structure (two passes, a decision per finding, evidence under every item) but have no notion of proportion. A style nit costs the same ceremony as a data-integrity bug, a re-review always re-reads everything, and defer has no criteria. This repository's own review loop (/pragmatic-code-review, /address-review) already handles all three; the product's procedures should carry the same ideas.

Problem Statement

  • Findings carry a source and a confidence but no severity, so neither the reviewer nor the implementer can tell what blocks a merge from what is optional.
  • Every finding must receive a decision before the task can leave review, so a suggestion costs the same as a defect.
  • A task returned to review is re-read in full; nothing limits the second pass to what changed since the first.
  • The implementer's step always ends in "back to review" with no statement of how much has to be re-read.
  • defer is not defined: nothing says when a finding is small enough that it should be fixed now instead of left.
  • The standards pass reads naming, test strategy and review rules, but nothing in either pass looks at security, performance or needless complexity in the change itself.

Proposed Solution

  • Severity. Each finding states critical, important or suggestion, and one line naming the engineering principle behind it.
  • Suggestions are cheap. A suggestion is recorded but needs no decision and does not hold the task in review, provided the rules allow it to be represented that way (see Implementation Details).
  • A third read of the change itself. Security where input crosses a boundary, performance with its scale named or marked unknown, and simplification that preserves behaviour. Its findings are kept apart from the spec and standards findings by their source.
  • Delta re-review. A task sent back is reviewed against the commits since the last review and the previous findings only, and the reviewer says which earlier findings are now met.
  • Re-review recommendation. When the implementer sends the task back, a note says which findings changed behaviour and how deep the re-review should be. The reviewer decides; the task still returns to in_review.
  • Defer criteria. A finding is decided defer only with a size note. One whose context is already loaded, that is small and needs no new investigation, is fixed now.

Documentation

  • ADR-092 delivery procedures table - Reviewing a Task and Addressing Review Findings rows record what was adapted and what changed; both rows change
  • ADR-094 - the rules stay seeded Plays; a Play that reads findings must still hold
  • seeded-nodes.md - the procedure skills list
  • issue-workflow.md "Scope Discovered Mid-Implementation" - the fix-now rule that defer criteria are taken from
  • Updates: the two ADR-092 table rows

Architecture Impact

Extends ADR-092's delivery procedures; no new type, field or relationship. If a suggestion cannot be recorded without a decision under the current finding Play, that is an ADR-094 change to the Play and must say so in the same pull request. A companion nodespace-docs edit to the ADR-092 table rows is required; no new ADR.

Acceptance Criteria

  • A finding written by Reviewing a Task states a severity and a one-line principle
  • A suggestion-tier finding does not block the move out of review and needs no decision
  • Reviewing a Task reads the change for security, performance and simplification, with findings kept apart by source
  • A re-review is scoped to the commits since the last review and names which earlier findings are met
  • Addressing Review Findings ends with a note stating which findings changed behaviour and the recommended re-review depth, and the task still returns to in_review
  • defer requires a size note, and the fix-now criteria are stated in the procedure
  • The ADR-092 rows and seeded-nodes.md describe the changed procedures
  • Skill-retrieval confusion matrix and the eval:tasks scenarios show no regression
  • Code passes bun run quality:fix

Technical Specifications

Reference Files

  • packages/agent/src/seeds/skills/reviewing-a-task.md - steps 4 to 8 (the two passes, findings, decisions)
  • packages/agent/src/seeds/skills/addressing-review-findings.md - steps 2 and 5
  • packages/agent/src/skill_pipeline.rs - the seed table; no new row is needed
  • .claude/commands/pragmatic-code-review.md and .claude/commands/address-review.md - the behaviour being carried over (severity tiers, re-review mode, skip reasons, re-review rubric)

Implementation Details

  • Check how the seeded Plays read a finding (a checkbox whose text opens with Finding) before choosing how a suggestion is written; do not add a type or field for it.
  • Keep each procedure's attribution line and add this repository's review commands to it as a source of ideas, not a licence line.
  • Model-facing text changes: the prompt snapshot test fails until the golden is regenerated; review its diff.

Related Issues

Non-Goals

  • Letting the implementer skip a finding: the reviewer stays the only decider until that is settled
  • Changing task statuses or adding a review state
  • Posting reviews to GitHub; the procedures record on the task

Activity

  1. added
    enhancement
    on Oct 13, 2026
  2. added a commit that references this issue on Oct 13, 2026
    685bfd2
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

    backendenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions