Mandatory post-delegation gate: checks output completeness, verifies acceptance criteria compliance, flags regressions, produces PASS/FAIL verdict. Use when checking delegated work against acceptance criteria, running post-delegation gate, validating agent output before acceptance, verifying sub-agent completed its assignment, or running post-delegation QA check.
77
96%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
| Rule | Detail |
|---|---|
| Trigger | After every delegation — no exceptions |
| Reviewer | Single sub-agent; Economy tier (Standard for premium/security work) |
| Verdict | PASS or FAIL with structured feedback |
| Retry | ≤2 retries on FAIL; 3rd FAIL → panel review |
Issue + acceptance criteria, file diff, file partition, deterministic results (lint/test/build), agent self-report.
Single runSubagent. Context = acceptance criteria, diff, partition, deterministic results only — no session history, no delegation prompt.
runSubagent({ agentName: 'Reviewer', prompt: `Review against ACs:\n${criteria}\nDiff:\n${diff}\nGates: lint ✅ test ✅ build ✅` });VERDICT: PASS | FAIL
ISSUES:
- [severity:critical|major|minor] Description
FEEDBACK: Actionable feedback.
CONFIDENCE: low | medium | highAuto-PASS (skip reviewer): pure research/no code changes; docs-only .md changes; ≤10 lines across ≤2 non-sensitive files with all deterministic gates passing.
Sensitive override: Auth/middleware, DB migrations, RLS policies, security headers, CSP, env var schemas, CI/CD config always require review — even 1-line changes.
| Outcome | Action |
|---|---|
| PASS | Log review; continue |
| FAIL 1–2 | Log; re-delegate same agent: "Retry N/2 — address listed issues" |
| FAIL 3 | Log escalated: true; load panel-majority-vote skill |
| Panel BLOCK ×3 | Dispute in .opencastle/DISPUTES.md (see team-lead-reference § Dispute Protocol) |
See REFERENCE.md for full reviewer prompt template.
⛔ HARD GATE — Log the review before proceeding.
npx opencastle log review --skill <name> --outcome pass|fail --reviewer "Reviewer" --mechanism sub-agenton-post-delegate Gate 5 (after deterministic Gates 1–4), ~5–15% token overhead. Overnight: upgrade one tier, escalate after 2 FAILs, checkpoint before panel.
7a69a05
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.