Skip to content

/ticket:review

Codex: $ticket-review · Antigravity / Gemini CLI / Copilot: /ticket-review

Prints a read-only verification checklist for a ticket sitting in the review stage. This command never mutates anything — it exists purely to hand you a consistent, fixed-shape guide for manual verification.

Precondition: the review role must be configured — otherwise the command is unavailable.

Flow

flowchart TD
    Start(["/ticket:review [id]"]) --> HasId{"ID given?"}
    HasId -->|yes| CheckStage{"ticket is in<br/>review stage?"}
    CheckStage -->|no| Elsewhere(["Report its actual location, stop"])
    CheckStage -->|yes| Read

    HasId -->|no| AutoPick["Auto-pick the OLDEST ticket<br/>in review — no gate,<br/>auto-pick is the contract"]
    AutoPick --> AnyInReview{"anything in review?"}
    AnyInReview -->|no| Empty(["Nothing to review"])
    AnyInReview -->|yes| Read

    Read["read_artifact(id) —<br/>fields, '## Acceptance criteria',<br/>'## Evidence'"] --> Print["Print fixed-shape guide:<br/>build/test commands ·<br/>acceptance criteria ·<br/>verification checklist (golden path) ·<br/>edge cases · regression watch"]
    Print --> Pointer(["Points to /ticket:close<br/>or /ticket:reject"])

Reads / writes

  • Reads: read_artifact, list_artifacts — nothing else.
  • Writes: nothing. This command is pure output.

Exit states

Outcome Result
Guide printed Success — you verify manually, then close or reject
Command unavailable No review role configured for this project
Nothing to review Review stage is empty
Ticket elsewhere Reports its actual stage, stops

See also