relay-review
Relay Review
Independent PR review against the Done Criteria contract and scoring rubric. Use scripts/review-runner.js so round count, reviewer invocation, PR comments, and manifest transitions stay script-managed.
Context Isolation
Reviews MUST run in a fresh context — no prior planning, dispatch, or conversation history. This prevents planning bias from influencing the verdict.
| Platform | Mechanism | How |
|---|---|---|
| Claude Code | context: fork frontmatter |
Automatic — this SKILL.md's frontmatter triggers it |
| Codex (reviewer adapter) | --ephemeral --sandbox read-only |
Automatic — invoke-reviewer-codex.js passes these flags |
| Claude (reviewer adapter) | --bare --no-session-persistence |
Automatic — invoke-reviewer-claude.js passes these flags |
| Codex (manual inline review) | Start a new session | Manual — do not continue from the dispatch session |
| Other / Fallback | Prefix prompt | Prepend: "You are reviewing code you did NOT write. You have no context about why it was written this way." |
Standard path: run review-runner.js --reviewer codex or --reviewer claude. In that path, isolation is already enforced by the adapter scripts. The manual "start a new session" rule applies only to inline reviews outside review-runner.
Setup: Establish the anchor
More from sungjunlee/dev-relay
relay-merge
Merge a reviewed PR, clean up worktree/branch, and close GitHub issues. Use after relay-review returns LGTM.
17relay-dispatch
Dispatch implementation tasks via worktree isolation. Use when delegating work to an executor, running background dispatches, or parallelizing independent tasks.
17relay
Execute the full relay cycle — plan, dispatch, review, merge. Use when implementing a GitHub issue or task through autonomous executor dispatch. Integrates with dev-backlog sprint files.
16relay-plan
Synthesize task intent, explicit AC when present, repo signals, and task risk into a scored rubric for autonomous iteration. Always used before relay-dispatch — rubric depth scales with task size.
16relay-intake
Shape a raw request into one-or-more relay-ready leaf contracts with frozen Done Criteria snapshots. Use before relay-plan when the task is ambiguous, oversized, or missing a stable review anchor.
10