review

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package review manages reviewer session lifecycle for PR review.

It spawns a new tmux window running a coding agent configured as a PR reviewer, builds the review prompt from config templates, and handles re-review requests by sending updated instructions to the existing window. Reviewers run in the worker plane using the team's worker_model.

Plane: worker

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestReReview

func RequestReReview(sessionName string, full bool, coderComment string, cfg *config.Config) error

RequestReReview sends a re-review message to the existing reviewer window. If full is true, requests a full re-review of all PR changes. If full is false, requests a delta re-review of only new changes. coderComment, if non-empty, is best-effort written to a temp file. If write succeeds, its path is included in the message so the reviewer can read the coder's triage update.

func ResolveSessionName

func ResolveSessionName() (string, error)

ResolveSessionName returns the name of the current tmux session.

func SpawnReviewer

func SpawnReviewer(sessionName string, ctx *pr.Context, cfg *config.Config) error

SpawnReviewer creates a new tmux window configured as a PR reviewer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL