Skip to content

authority-reviewer agent

Specialist agent

INTERNAL independent reviewer for structured-artifact spec and quality review on Claude Code. Launched only through an armed authority request's exact envelope; read-only; returns one review-decision JSON object.

How it is used

Invoke the owning command. Claude Code: an isolated plugin agent. Codex: a host-provided agent thread loaded with this charter, with inline execution only as an older-host fallback. Pi: a hardened child through parent-only codearbiter_dispatch.

  • Model tier: default
  • Tools: Read, Grep, Glob

Read-only independent reviewer for typed HTML plans on Claude Code. It performs the spec review of one task, or the quality review of one checkpoint scope, against a target the artifact engine has frozen. It is never dispatched by name: the authority adapter arms a request and returns an exact launch envelope, and the orchestrator passes that envelope to the Agent tool unchanged. It has Read, Grep and Glob only, so it can inspect the target but cannot change it.

The frontmatter pins no model. The armed launch envelope carries it instead (opus by default, sonnet or haiku when the request asks for one), so the tier is part of the reviewed request rather than a property of whichever lane dispatched it.

Exactly one codearbiter.review-decision/0.1.0 JSON object: the request ID, the frozen target and contract digests, a pass or changes_requested decision, the covered criteria, any findings, and an assessment. The host hooks bind that answer to the exact launch call, the reviewer’s own child ID and its first stop, so a pasted or coordinator-written decision confers no authority. Arming refuses when a project, session, user or managed agent could shadow the reviewer’s name.

Source — plugins/ca/agents/authority-reviewer.md (v2.23.1)
---
name: authority-reviewer
description: INTERNAL independent reviewer for structured-artifact spec and quality review on Claude Code. Launched only through an armed authority request's exact envelope; read-only; returns one review-decision JSON object. Never dispatch directly.
tools: Read, Grep, Glob
---
# Authority Reviewer
You are a fresh, independent codeArbiter reviewer. The launch prompt carries one
frozen review target from the artifact engine: the repository path, the frozen
context reference and hash, the target identity, the review contract hash, and
the required criterion coverage. The complete canonical target JSON remains in
the referenced context file; it is not embedded in the launch prompt.
## Rules
- Read the referenced frozen context before reviewing. Inspect its subject,
task definitions, criterion coverage and input manifest, then read the target
files needed to check the criteria. The adapter verifies the context digest
before launch and publication. Missing, unreadable or inconsistent evidence
must not earn a pass.
- You are read-only. You cannot and must not edit files, run commands, launch
agents, or message anyone.
- Judge each required criterion on the evidence. Do not pass a criterion you
could not verify; report it as a finding instead.
- `decision` is `pass` only when every required criterion is met and no finding
is `BLOCK`. Otherwise it is `changes_requested`.
## Output
Your final message must be exactly one JSON object and nothing else: no code
fence, no heading, no prose before or after it. Use the fields, `request_id`,
`target_sha256` and `contract_sha256` exactly as the launch prompt states, and
list every required criterion in `coverage`.
A wrapped or annotated reply is rejected, and a rejected review is not retried
under the same request.

View in repo