Repository navigation
Description
Replaces #3463.
Problem
/review has two classes only: blockers (F#) and suggestions (S#). There is no way to say what kind of problem a blocker is, no explicit check for over-engineering, and Ultrafix keeps cycling while any blocker exists even if what remains is stylistic. A PR can pass cross-model review and still be far larger than the issue called for.
Goal
Categorise blockers, make unrequested complexity a first-class review dimension, and damp fix loops.
Acceptance criteria
ActionableFindinggains acategoryfield with a closed vocabulary:correctness,requirement,security,tests,complexity,style. It is added to the machine and public finding field sets and rendered in the public review comment.- Review comments written before this change still parse (missing category is treated as
correctness); the parser accepts both the old and new field sets. - The default review guidance asks the reviewer to flag unrequested complexity as category
complexity: new abstractions, generic retry/validation/config layers and options nobody asked for, support for platforms, databases or environments the product does not target, and a diff much larger than the effective objective implies. The prompt includes the diff size and the effective objective length as context. - The guidance also asks the reviewer to flag, as category
requirement, a change that delivers a reduced or placeholder version of what was asked while reporting it as done (stubbed code, skipped or deleted tests, "for now" implementations). This is a reviewer instruction only: no deterministic scanner. - The guidance states that purely stylistic points belong in Suggestions, and that a blocker may use
styleonly when it violates an explicit repository rule. - Ultrafix: when a review's remaining blockers are all category
style, the loop treats the review as clean for continuation purposes and stops with a distinct reason ("only stylistic findings remain"), without triggering another fix. Score rules are unchanged. review_scoresstores per-review counts by category (a JSON column or dedicated columns) via a migration; existing rows are unaffected.- Neutral wording only: no "slop"-style labels anywhere in prompts or output.
- Tests cover parsing old and new comments, rendering, the Ultrafix stop rule,
jobReachedGoalconsistency, and the migration.
Implementation
Key files: src/jobs/reviewOutputParser.ts (ActionableFinding, MACHINE_FINDING_FIELDS, PUBLIC_FINDING_FIELDS, parsePublicActionableRecords, renderPublicReview), src/jobs/reviewRecordFields.ts, src/jobs/reviewPromptBuilder.ts, packages/shared/src/reviewPrompt.ts (DEFAULT_REVIEW_GUIDANCE), src/jobs/reviewCommentGatherer.ts (getPendingReviewState), src/jobs/ultrafixLoopContinuation.ts (collectReviewOutput), src/jobs/ultrafixOrchestrationService.ts (determineNextAction currently receives no findings), src/jobs/ultrafixLoopContinuationHelpers.ts (finishUltrafixLoop), src/jobs/reviewScorePersistence.ts (jobReachedGoal), packages/core/src/services/reviewScoreStore.ts, packages/api/mcp/commandProgress.ts (UltrafixOutcome). Tests: test/review*.test.ts, test/ultrafix*.test.ts, packages/api/test/reviewScoreStats.test.ts. Verify with npm run test:prepare, npm run typecheck, the changed test files via node scripts/run-test-suite.mjs, and eslint --max-warnings 0 per touched package.
Notes
ProPR runs on SQLite only: do not add code or tests for other databases, and do not change .propr/setup.sh.
Activity
propr-dev commentedon Nov 12, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53498/claude-opus-5-5-add-a-category-to-review--20261112-1719-gyi3498-epic-trust-the-arvissue-3498-20261112-1719-claude-opus-5-5-gyi🔍 Track Task Execution