---
name: multi-agent-review-issue
description: "Assess whether a GitHub issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack readiness, then (after confirm) post the gaps as an issue comment. Read-only on code. Use when deciding whether a GitHub issue is specified well enough to hand to development."
user-invocable: true
argument-hint: "[#N | repo#N | GitHub issue URL]  -  optional; with no argument, pick from open issues"
metadata:
  language: en
  not-for: review-jira
---

# multi-agent review-issue  -  GitHub issue readiness 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/.copilot/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

Grades an existing GitHub issue for pipeline-readiness and comments the gaps back onto it. No worktree, no branch, no code commits.

## Flow

Read `$HOME/.claude/multi-agent-refs/readiness-review.md` and execute the shared readiness flow with **provider = github**:

1. Resolve the item (`#N` / `repo#N` / GitHub issue URL); no argument -> pick from `gh issue list`, single-select.
2. Fetch + base maturity via `$HOME/.copilot/lib/issue-fetcher.sh` (`gh issue view`; reuse its `maturity`; no MCP).
3. Apply the readiness rubric (testable scope, acceptance criteria / DoD, repro for bugs, design reference for UI, API contract for backend, stack signal, dependencies).
4. Print the chat verdict (score + Blockers / Warnings / Gaps) using the maturity severity contract.
5. Confirm, then post the gaps as an issue comment via `channels/issue-comment.md` (`gh issue comment "$N" --repo "$org/$repo" --body-file <file>`). Autopilot auto-posts.

Verdict + comment body follow `outputLanguage`; comment tone rules (no AI attribution, no em-dash / section-sign, `Ref:` never `Closes/Fixes`). No label/assignment change, no creation, no auto-close.
