Repository navigation
Description
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.
deferis 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 -
deferrequires 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:tasksscenarios 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 5packages/agent/src/skill_pipeline.rs- the seed table; no new row is needed.claude/commands/pragmatic-code-review.mdand.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
- The local agent does not follow the task procedures (eval:tasks fails 4 of 5 scenarios) #3784 (routing of the task procedures)
- Move this project's standards and process into skills attached to the project #3730 (this repository's standards move into skills; the severity and skip policy overlaps)
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
Review procedures: severity tiers, delta re-review, re-review note an…