Skip to content

pm_review

Vanguard
Some actions: Sovereign

The pm_review tool orchestrates task review workflows. Reviews are how completed work gets evaluated before it ships — you start a review on a task, assign reviewer agents, launch them against the work, publish findings, and optionally record lightweight review scores. Auditor workflows and audit score runs live in pm_audit.

Actions

start, list, delete, update_assignment, comment, comment_list, comment_delete, verify_ready, publish, get_prompt, launch_reviewer, statuses, score_record, score_list, help

Sovereign-only actions

The following actions require the Sovereign tier — they are not available at Vanguard:

  • launch_reviewer — launches an agent session

start

Start a review for a task.

Parameters

FieldTypeRequiredNotes
taskKeystringYes
reviewerHandlestringConditionalSingle reviewer handle (preferred). Required if reviewerHandles is omitted.
reviewerHandlesstring[]ConditionalMulti-reviewer alternative. Required if reviewerHandle is omitted.
requestedByHandlestringNoWho requested the review (defaults to actor)
summarystringNoWhat’s being reviewed
actorHandlestringYesActor handle

Example

pm_review {
  action: "start",
  taskKey: "MYAPI-42",
  reviewerHandle: "sigrid",
  actorHandle: "@alice",
  requestedByHandle: "alice",
  summary: "Rate limiting implementation ready for review"
}

list

List reviews for a task.

Parameters

FieldTypeRequired
taskKeystringYes
reviewerHandlestringNo
statusstringNo

delete

Delete a review.

Parameters

FieldTypeRequired
taskKeystringYes
reviewIdstringYes
actorHandlestringNo

update_assignment

Update reviewer assignment status.

Parameters

FieldTypeRequired
reviewIdstringYes
assignmentIdstringYes
statusstringYes
feedbackstringNo
actorHandlestringNo

comment / comment_list / comment_delete

Manage review comments. Comments can be threaded via parentCommentId.

comment

FieldTypeRequiredNotes
taskKeystringYes
bodystringYes
reviewIdstringNo
assignmentIdstringNo
parentCommentIdstringNoFor threaded replies
actorHandlestringNo

comment_list

FieldTypeRequired
taskKeystringYes
reviewIdstringNo
assignmentIdstringNo

comment_delete

FieldTypeRequired
taskKeystringYes
commentIdstringYes
actorHandlestringNo

verify_ready

Check if a task can transition to verified. The current implementation verifies that all task reviews have reached an approved status; it does not independently inspect score records.

Parameters

FieldTypeRequired
taskKeystringYes

publish

Publish a review — combines comment, status, and score in one operation.

Recommendations are intentionally narrow: use only ready, changes_requested, or reject. Do not send older recommendation labels or status-like values.

Parameters

FieldTypeRequiredNotes
taskKeystringYes
bodystringYesReview comment body
scoredHandlestringYesHandle of agent being scored
scorenumberYesScore 0–100
reviewIdstringNoReview to publish to (auto-detected if omitted)
assignmentIdstringNoRequires reviewId
statusstringNoDesired status (inferred from body/recommendation)
recommendationstringNoready, reject, or changes_requested
feedbackstringNoAdditional feedback text
notesstringNoNotes for the score
actorHandlestringNo

Example

pm_review {
  action: "publish",
  taskKey: "MYAPI-42",
  body: "Implementation looks clean. Tests cover edge cases well.",
  scoredHandle: "claude-coder",
  score: 92,
  recommendation: "ready"
}

get_prompt

Fetch review prompts for a reviewer.

Parameters

FieldTypeRequiredNotes
taskKeystringYes
reviewerHandlestringConditionalRequired if multiple reviewers

launch_reviewer

Launch a reviewer agent session attached to an existing worktree.

Parameters

FieldTypeRequiredNotes
clientRequestIdstringYesIdempotency key
actorstringYesActor string (e.g., "@pm")
taskKeystringYes
sourceSessionUlidstringYesSession whose worktree is being reviewed
agentId / agentHandlestringNoSpecific reviewer
providerstringNoProvider override
launcherConfigKeystringNoPreset override
promptstringNoInitial user message override (skill mode)
systemPromptstringNoSystem prompt override
configobjectNoLauncher config overrides
rolestringNoRole (default reviewer)
capabilityKeysstring[]No
additionalInstructionsstringNo
maxRuntimeSecondsnumberNo
runbooleanNoRun immediately (default true)

Example

pm_review {
  action: "launch_reviewer",
  clientRequestId: "01HXYZ...",
  actor: "@skadi",
  taskKey: "MYAPI-42",
  sourceSessionUlid: "01HABC...",
  agentHandle: "sigrid",
  launcherConfigKey: "reviewer-claude"
}

statuses

List available review statuses. Takes no parameters.

pm_review { action: "statuses" }

score_record

Record a lightweight review score that stays attached to the task review record. This is different from audit score runs in pm_audit.

Parameters

FieldTypeRequired
taskKeystringYes
scoredHandlestringYes
scorenumberYes
reviewIdstringNo
assignmentIdstringNo
notesstringNo
actorHandlestringNo

score_list

List lightweight review scores for a task.

Parameters

FieldTypeRequired
taskKeystringYes
reviewIdstringNo
assignmentIdstringNo

help

pm_review { action: "help" }

help returns structured, read-only guidance for review lifecycle automation.

FieldContents
actionsCurrent accepted action names, including update_assignment, comment_delete, launch_reviewer, score_record, score_list, and help
whenToUseGuidance for review creation, listing, assignment updates, comments, publishing, verification checks, reviewer launches, and lightweight scores
examplesRepresentative calls for listing reviews, publishing a ready recommendation, and checking verify_ready
cautionsGuardrails such as not moving executor tasks directly to verified, resuming reviewer sessions before launching duplicates, and including actor metadata
compatibilityNotes that help is additive and review comments preserve task-thread context

Use this payload when agents need to decide whether to resume review work, publish a recommendation, or check the verification gate.

Related