Abridge a code diff into a reading diff.
Humans need to review agent-written code in critical systems. But models are good now. You don't need to review for style or nil-checks or imports. You need to review concepts, algorithm choices, architecture.
So meat uses a model to reduce a diff to the important parts. It shows you the meat.
Install with:
go install meat.dev/cmd/meat@latest
Sign in with ChatGPT to use the Codex allowance included with your plan:
meat login
The browser flow stores a refreshable credential in ~/.meat/auth.json. On a
remote or headless machine, use meat login --device-code instead. The file
contains access and refresh tokens; do not share or commit it.
You can instead set OPENAI_API_KEY for usage-based API access. Explicit
OPENAI_API_KEY or OPENAI_BASE_URL settings override a saved ChatGPT login.
Run with meat to review the latest commit.
It takes git-looking parameters to pick commits to review.
It takes a while to process a commit for reading.
So I suggest you have an agent build meat into your devtools so that
it pre-processes it.