Review orchestrate

From encero-systems/incan · View interactive version

Review orchestrate is an AI agent skill from the GitHub repository encero-systems/incan. Orchestrate a broad Incan review using specialized reviewer roles, parallel slice reports, and a canonical merged review report. Use when the user asks for delegated review, multi-agent review, or when a broad dirty worktree should be reviewed by specialized passes rather than one generic reviewer.

How to use this skill

Skill file

Review Orchestrate — Incan Compiler

Purpose

/review-orchestrate is the review control plane for broad worktrees.

It does not replace the reviewer roles. It:

Use this when:

For small local reviews, use /review instead.

This skill is only valid when it uses real subagents for reviewer slices. If the orchestrator stays single-agent and merely writes multiple slice reports itself, that run is non-compliant with review-orchestrate.

Reviewer roster

Core reviewer roles:

Cross-cutting orchestrator gates:

Reports

The slice reports are the primary review artifacts.

The canonical report is a thin merged index:

It is not a second full review document. The slice reports remain the detailed evidence.

Do not copy every per-file checklist from worker reports into the canonical report. Keep the detail in the slice

reports and let the canonical report point at it.

Worker slice reports:

Canonical merged report:

Workers do not write to the canonical report directly.

Every worker slice report must identify the worker that produced it, and the canonical report must record the worker set used for the run.

Workflow

  1. Derive review scope from the current dirty worktree.
  2. Decide which reviewer roles are needed. Use the lightest honest roster:
  1. Spawn real subagents for the reviewer slices. Do not perform the reviewer roles yourself except for final orchestration and merge.
  2. Use orchestrate-parallel-work when the user explicitly asked for subagents/delegation and the slices are worth parallelizing. For broad dirty-worktree review, that should be the default execution model of this skill.
  3. Give each reviewer explicit owned scope and forbid edits unless the user explicitly asked for review-and-fix behavior.
  4. Collect the slice reports from those worker agents.
  5. Merge them into .agents/state/review-report.md.
  6. Preserve reviewer findings by default. Do not prune aggressively at merge time just because the orchestrator is skeptical. High recall matters more than prematurely cleaning the queue.
  7. Merge duplicates aggressively. If multiple reviewers identify the same real issue, record it once with multiple sources.
  8. Do not require consensus for a finding. One well-grounded finding is enough to keep it open.
  9. Every merged finding must keep:
  1. Useful kind values include:
  1. A finding may also carry a merge disposition:

Do not drop a finding merely because it is unverified or contested; keep it visible with provenance.

  1. Record disagreement only when it is real and useful:
  1. Silence is not disagreement. “Reviewer A found an issue and reviewer B did not mention it” is not consensus and is not

disagreement by itself.

  1. Review the whole presented worktree. Do not arbitrarily narrow the review surface to the orchestrator's guess at the user's "real task". Findings about adjacent churn, stale docs, or quality regressions are fair game. Relevance and fixability are decided later by /fix or the human, not by suppressing the finding.
  2. Apply the boyscout_gate: ask whether touched code/docs ended at least as clean as they were.
  3. Mark the canonical report clean only when:

Canonical report merge shape

# Review Report

- branch: <branch>
- status: in_progress | clean | blocked

## Workers
- rust-prose: <agent-id or stable label>
- docs-claims: <agent-id or stable label>
- ...

## Scope
- reviewed worktree:
- reviewer roster:
- primary slice reports:
  - .agents/state/review-report.rust-prose.md
  - ...

## Activity
...

## Findings

- [ ] F1 | warning | rustdoc | rustdoc prose | loaves/oven/oven_model/src/project_lifecycle/version.rs:122
  roles: rust-prose
  sources:
    - .agents/state/review-report.rust-prose.md
  status: open
  summary: Manually chopped single-paragraph rustdoc.

- [ ] F2 | error | behavior | env dependency overlays are inspectable but not executable | loaves/toolchain/incan-cli/src/commands/lifecycle.rs:193
  roles: scope, architecture
  sources:
    - .agents/state/review-report.scope.md
    - .agents/state/review-report.architecture.md
  status: open
  summary: Env overlays resolve for display but do not enter command execution/dependency resolution.

## Disagreements

- none

## Clean Corroboration

- loaves/oven/oven_model/src/project_lifecycle/env.rs — rust-prose clean
- workspaces/docs-site/docs/tooling/tutorials/getting_started.md — docs-claims clean

Only record clean corroboration where the lack of findings materially matters:

- touched `.rs` files with prose comments,
- touched user-facing `.md`,
- docs/CLI/example claim surfaces,
- or files involved in a resolved disagreement.

Do not bloat the canonical report with routine clean restatements for every slice.

## Verification
- <command> — <result>

Disagreement policy

Risky file classes include:

Compliance rules

A review-orchestrate run is invalid if any of the following is true:

If subagents cannot be used, do not pretend this skill ran successfully. Fall back explicitly to /review and say that review-orchestrate could not be honored.

Findings ledger

When the canonical report's ## Findings section is non-empty at the end of a run, or when this run confirms findings from a prior run are now fixed, append one line per materially distinct finding (not per worker slice) to .agents/state/findings-ledger.md (a symlink into a private, non-git location — see AGENTS.md):

- YYYY-MM-DD | review-orchestrate | <one-line finding, e.g. "F2: env overlays inspectable but not executable"> | <what changed, or "pending">

Skip this for a run that closes with zero open findings. If .agents/state/findings-ledger.md doesn't exist, skip silently rather than creating it yourself.

Relationship to other skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.