---
description: "Review a written analysis document instead of a diff: resolve it from a path, a Confluence page or a Jira issue, run the deterministic gates first, then a parallel model review. Findings cite the Locked rule they break. Never edits the document. Use when an analysis needs judging before development starts."
description-tr: "Diff yerine yazılmış analiz dokümanını review eder: yol, Confluence sayfası veya Jira issue'sundan getirir, önce deterministik geçitleri koşar, sonra paralel model review. Bulgular ihlal edilen Locked kuralını gösterir. Dokümanı düzenlemez. Bir analizin geliştirme başlamadan önce değerlendirilmesi gerektiğinde kullanılır."
argument-hint: "[path | Confluence URL | pageId | JIRA-KEY] [--state <state.json>]  -  optional; with no argument, pick from recent analyses"
parameters: [{"name":"target","kind":"text"},{"name":"--state","kind":"path"}]
gui: form
destructive: false
confirm: none
---

# multi-agent review-analysis  -  analysis document review

**Access check, before anything else.** This command can write outside this machine, so a login the site closed is stopped here, before any question or write.

```bash
ACCESS_LINE=$(node "$HOME/.claude/scripts/usage-access.mjs"); ACCESS_RC=$?
```

`ACCESS_RC` 3: print `$ACCESS_LINE` as written and stop: no question, no write, attended or unattended. Any other exit continues (the check fails open). Contract: `$HOME/.claude/multi-agent-refs/features/usage-reporting.md` "The access check".

**Input**: $ARGUMENTS

`/multi-agent:review` judges a diff. This judges the document that diff was supposed to come from, before anyone writes the code it describes. No worktree, no branch, no commit, and the reviewed document is never edited in place.

## Gotchas

- Validator ERRORs are Blockers and WARNs are Important, unless the document states why the warned-about item is acceptable.
- Every rubric class is printed, with `none` when empty. A class missing from the verdict did not run; it is not a clean result.

## Flow

Read `$HOME/.claude/multi-agent-refs/analysis/review.md` and execute it:

1. **Resolve** the document from a local path, a Confluence URL or `pageId`, or a Jira key. With no argument, offer the recent analyses from `~/Desktop/multiAgentAnalysis/` and from each selected repo's `analysis/`, newest first.
2. **Deterministic gates first**: `validate-analysis-doc.mjs` on the document, and `build-references.mjs --check` when the run's state JSON is available (`--state`, or a fresh analysis). Their output is reported verbatim, before any model reads the document. A finding a script already proves does not need an opinion.
3. **Parallel model review** against the rubric (buildability, evidence, spine, altitude, admitted gaps, contradiction), CLI-aware: 3 models on Claude Code, 3 on Copilot CLI. With `review.personaWalk.enabled` (off by default), a persona walk runs beside them, and `persona-walk-anchors.mjs` drops every finding whose anchor is not in the document.
4. **Triage** into Blocker / Important / Suggestion, dropping duplicates and anything the document answers elsewhere, on `$(bash "$HOME/.claude/lib/model-dispatch.sh" subagent --persona triage --default fable)`: Fable while the rung is on, Opus while it is off (this command has no Phase 0 to resolve it).
5. **Report**, naming the profile it judged against and, explicitly, what was NOT checked.
6. **Output** on request only: chat (default), Confluence comment, Jira comment, or a `-review.md` beside the document.

## Why it cites Locked decisions

The analysis flow already declares 37 Locked decisions and two deterministic validators. A reviewer that says "I would have written this differently" gives the author nothing to act on; one that says "Locked 33: the Confluence page is in the evidence record but not in Section 21" gives them a fix and a reason. Findings that map to no rule are still allowed, but they are marked as judgement, not dressed up as a violation.

## What it never does

- Edits the reviewed document. The document belongs to its author; a reviewer who rewrites it has removed the choice to disagree. `/multi-agent:analysis-resolve` is the command that folds answers back in.
- Touches a Jira description or a Confluence page body. Comments only.
- Chains into a dev run, creates a branch, or commits.
