Run a strict maintainer review in a new pi coding agent branch.
Adds a /review command that starts a new branch from the current conversation and asks pi to review the available work. The review includes user and assistant conversation messages from the current branch, with thinking and tool calls removed.
The reviewer focuses on concrete, high-confidence issues in correctness, security, performance, operability, and maintainability. If nothing material stands out, it reports looks good.
pi install npm:pi-reviewOr try it temporarily:
pi -e npm:pi-review/review
Add optional focus text:
/review focus on release safety and backward compatibility
- Waits for the current agent turn to finish if needed
- Extracts user and assistant text from the active branch
- Switches thinking level to
highfor the review turn - Creates a new branch from the current conversation
- Sends a maintainer-style review prompt with optional focus text
- Restores your previous thinking level when the review turn ends
Findings are sorted by priority:
[P0]severe breakage, data loss, or security issue[P1]likely user-facing breakage or major regression[P2]limited-scope correctness, performance, or maintainability issue[P3]minor but real issue
Each finding includes location, summary, affected behavior/invariant/code path, and a specific recommendation.
MIT
