Review a PR
Roll up change risk for a working tree or branch before you merge.
Aggregate blast radius, safe-delete hints, and test impact across a diff.
prism review
prism review --base origin/main
prism review --base origin/main --fail-on highWith no arguments, review covers the working tree (including untracked files).
In CI, always pass --base.
What you get back
A single review of every changed path: risk bands, high-impact files, and
signals worth a second look before merge. Combined with
prism cycles --fail-on any it is the usual PR gate.
Checkout needs full history (fetch-depth: 0) when comparing against a base
branch.
When this is wrong
- Shallow clones hide git-derived signals — see known limitations.
- Exit code
1means the gate fired (finding at or above--fail-on), not that Prism crashed. Exit3is a tool failure. - Review is structural risk, not correctness or security CVEs.