Skip to content

Review-E

Review-E reviews every pull request independently. It is structurally separate from Dev-E — the agent that produces a thing cannot approve that thing.

Current State

Review-E runs as a rig-agent-runtime pod in the GCP k3s cluster (invotek-k3s), dispatched push-based via the assignments:review-e Valkey stream. It auto-reviews PRs within seconds. (Historical: it originally ran on RPi4-02 via agent-runner and migrated into the cluster in the 2026-05-20 consolidation, superseding the earlier "stays on dedicated hardware" decision.)

How It Works in the Rig

  1. Dev-E creates a PR → GitHub triggers request-review.yml workflow
  2. Review-E receives notification via Discord or GitHub webhook
  3. Review-E reads the PR diff, issue context, and repo conventions
  4. Review-E either approves or requests changes
  5. If approved → auto-merge proceeds (unless human-gated)
  6. If changes requested → Dev-E iterates with --continue

Events

Review-E doesn't directly emit to the Event Store in Phase 1. Instead:

  • GitHub review events (approve/request changes) are read by rig-conductor
  • rig-conductor emits REVIEW_PASSED or detects changes-requested state
  • Dev-E monitors its PR and sees review comments via gh CLI

Phase 2+: Review-E could emit events directly to the Event Store for richer audit trail.

Separation Principle

Agent Can Do Cannot Do
Dev-E Write code, create PR Approve its own PR
Review-E Review code, approve/reject Write implementation code
Conductor Assign work, escalate Write code or review code

This prevents a single agent from both creating and approving code, which would defeat the purpose of review.

Integration Points

System How
GitHub Reads PR diffs, posts review comments, approves/rejects
Discord Receives PR notifications in #review-e
Copilot Copilot also reviews — both reviews must pass for auto-merge

Infrastructure

Property Value
Host RPi4-02 (100.77.12.75 via Tailscale)
Runtime agent-runner (Node.js)
GitHub Account review-e-dashecorp (being migrated to GitHub App review-e-bot)
Discord Channel #review-e (1477787408773943488)
Discord Bot ID <@1477785888095473798>