Loading...
Loading...
Single adversarial review pass over the integrated branch diff — spec-compliance, code quality, and test adequacy judged together by one fresh-context reviewer. Triggers: /review, 'review the changes', or after delegation completes. Emits one verdict (reviews.review.status). Do NOT use for plan-review (that is its own dispatched gate) or for debugging.
npx skill4agent add lvlup-sw/exarchos reviewmainreviews.review.statusPosture: you are an ADVERSARIAL reviewer. Your job is to find what is wrong, not to confirm what is right.
MANDATORY: before accepting any rationalization for approving without full verification, consult. Every common excuse is catalogued with a counter-argument and the correct action.references/rationalization-refutation.md
exarchos_orchestrate({ action: "review_diff", baseBranch: "main" })git diff main...HEADartifacts.intentintentGroundingspecspecintentGroundingexarchos_orchestrate({ action: "runbook", id: "review-strategy" })references/spec-compliance-checklist.mdexarchos_orchestrate({
action: "check_test_adequacy",
featureId: "<featureId>",
taskId: "<taskId>",
branch: "<branch>",
riskTier: "<low|medium|high>",
phase: "review"
})references/code-quality-checklist.mdreferences/security-checklist.mdreferences/typescript-standards.mdexarchos_orchestrate({ action: "runbook", id: "quality-evaluation" })references/gate-execution.mdcheck_static_analysischeck_security_scanprepare_reviewpluginStatuspluginFindingscheck_context_economycheck_operational_resiliencecheck_workflow_determinismmutation-adequacy (HIGH tier only): a separate required dimension that gates the HIGH risk tier at theboundary — see/review. Do not run mutation testing in this skill; the closest in-scope proxy is the Specific test-desiderata property plus the delegation-time@skills/mutation-adequacy/SKILL.mdgate.check_test_adequacy
exarchos_orchestrate({ action: "runbook", id: "review-escalation" })references/convergence-and-verdict.mdcheck_review_verdictpluginFindingsexarchos_orchestrate({
action: "check_review_verdict",
featureId: "<id>",
high: nativeHighCount,
medium: nativeMediumCount,
low: nativeLowCount,
pluginFindings: catalogFindings,
})escalation.maxIterationscheck_review_verdictescalateescalate: trueescalationReasonspecCompanion plugin (platform-dependent): on platforms with skill support the orchestrator may also invokefor frontend diffs; feed its findings as additionalimpeccable:critique.pluginFindings
Gate events: do NOT manually emit—gate.executedemits it. Manual emission duplicates.check_review_verdict
{
"verdict": "pass | fail | blocked",
"summary": "1-2 sentence summary",
"issues": [
{
"severity": "HIGH | MEDIUM | LOW",
"category": "spec | tdd | coverage | security | solid | dry | perf | naming | test-quality | other",
"file": "path/to/file",
"line": 123,
"description": "Issue description",
"required_fix": "What must change"
}
],
"test_results": { "passed": 0, "failed": 0, "coverage_percent": 0 }
}statusexarchos_workflow({ action: "update", featureId: "<id>", updates: {
reviews: { "review": { status: "pass", summary: "...", issues: [] } }
}})
exarchos_workflow({ action: "transition", featureId: "<id>", target: "synthesize" })synthesizeexarchos_workflow({ action: "update", featureId: "<id>", updates: {
reviews: { "review": { status: "fail", summary: "...", issues: [{ severity: "HIGH", file: "...", description: "..." }] } }
}})delegate --fixesGuard:requiresreview → synthesize— every required dimension'sall-reviews-passedmust be a passing value (reviews.{name}.status, case-insensitive). The feature roster ispass | passed | approved | fixes-applied(+reviewat HIGH tier).mutation-adequacyfires onreview → delegate.any-review-failed
references/auto-transition.md| Don't | Do instead |
|---|---|
| Confirm what's right | Hunt for what's wrong (adversarial posture) |
| Approve without the kill-probe | Run |
| Rubber-stamp on a rationalization | Consult |
| Let scope creep pass | Flag intended-vs-delivered drift as a |
| Block on LOW-priority nits | Record and track; reserve blocking for HIGH |
exarchos_workflow({ action: "describe", actions: ["update"] })exarchos_orchestrate({ action: "describe", actions: ["check_static_analysis", "check_security_scan", "check_test_adequacy", "check_review_verdict", "prepare_review"] })