Monorepo PRs (and agent sessions) touch many teams. ** ownerdiff** maps changed paths onto
CODEOWNERS
and groups by owner. No network. No LLM.
go install github.com/SybilGambleyyu/ownerdiff/cmd/ownerdiff@v0.3.0
ownerdiff origin/main...HEAD
ownerdiff -format markdown main..HEAD
ownerdiff HEAD~5 -owner @platform # one team's slice
ownerdiff HEAD~5 -only-unowned # CODEOWNERS gaps
ownerdiff HEAD~5 -fail-unowned # CI: exit 2 if unowned
v0.3 adds -owner
and -only-unowned
filters so a platform team can review only their paths, or an audit can list unowned files without the rest of the noise.
One-shot install with the rest of the kit:
curl -fsSL https://raw.githubusercontent.com/SybilGambleyyu/review-kit/main/install.sh | bash
gitdigest origin/main...HEAD -summary
ownerdiff origin/main...HEAD
lockglance -git origin/main...HEAD -summary
source & further reading
dev.to — original article
Why I Built a Zero-AI Review Monitor with Regex, FastAPI, HTMX, and PostgreSQL
We gave 406 AI agents two camps and let them choose
I Audited 77.5k-Star free-claude-code (1,310 Files): Solid Proxy, Inflated Free-Token Math, and a Default 0.0.0.0:8082 Trap