Local code review without letting the diff leave the machine
GraduatedAn attempt to have a model review my own diff before anyone else sees it; it became a provider-agnostic Go CLI, and then CommitBrief.
- Started
- April 2026 — Ongoing
Technologies
This experiment became a product:
CommitBriefWhat I tried
The question: can a code change get a structured “second pair of eyes” before it reaches another human (or future me), without leaving the terminal — and without the diff leaving the machine, the only outbound call going to the LLM provider you chose?
What came out of it
One command covered every scope: the staged diff, a single commit, the working
tree, or a PR-style three-dot range. Provider dependency moved behind a
Provider interface, with Anthropic, OpenAI, Gemini and Ollama implementing
the same contract. Project rules are customisable through COMMITBRIEF.md, and
output comes as coloured cards, markdown, or a strict JSON schema.
Where it ended up
The experiment phase closed: CommitBrief now has its own domain, signed binaries and a versioning contract. Details live in the portfolio.