Reviewer Agent
The Reviewer agent role, multi-criteria scoring, and revision control.
The Reviewer Agent (◆)
The Reviewer acts as the senior software engineering lead on the pipeline. It evaluates the combined output of the Planner, Coder, and Tester before any code is committed.
Evaluation Criteria & Scoring
The Reviewer scores the change across 4 core dimensions on a scale from 1 to 10:
- Correctness (1–10): Does the code accurately satisfy all requirements without introducing regressions?
- Code Quality (1–10): Is the code idiomatic, clean, maintainable, and conformant with the project’s conventions?
- Test Coverage (1–10): Are edge cases, error conditions, and happy paths adequately verified?
- Spec Adherence (1–10): Did the Coder follow the constraints defined in the
TaskSpec?
Verdicts & Revision Loops
The Reviewer issues one of three verdicts in its ReviewVerdict artifact:
Approved: The code meets quality and correctness thresholds. NIKI commits the branch and writesreport.md.RevisionNeeded: Issues were discovered. The Reviewer provides specific actionable feedback and kicks off revision round $N+1$ back to the Coder (up togeneral.max_revision_rounds).Rejected: Fundamental architectural flaw or irreparable defect. The task terminates with a descriptive audit report.
[agents.reviewer]
provider = "anthropic"
model = "claude-sonnet-4-20250514"
max_tokens = 8192
temperature = 0.1