Show HN: gavel: guided code review with your coding agent photostructure.com · 2...

@show

Show HN: gavel: guided code review with your coding agent photostructure.com · 2 points · 0 comments · HN thread

TL;DR gavel is an open-source, MIT-licensed local Git diff viewer that makes a coding agent (Claude Code or Codex) write a brief and inline explanations for its changes, then guides the human reviewer through the diff. Large changes are split into focused parts, with threaded questions and per-part approve/reject verdicts. The post is a Show HN with 2 points and no comments yet.

  • The agent writes a brief per review and inline 'tour guide' explanations linked through the diff, in a suggested reading order.
  • Large changes are split into focused parts, each with its own tab, brief and verdict; related refactors, tests and docs are grouped with the code they explain.
  • Reviewers ask questions or request changes in threads beside the code; the agent replies in the same thread.
  • Approve permits the agent to commit after comments are addressed and checks pass; Reject stops the agent to ask what to do instead.
  • Requires Node.js 22.20+, installed via npm; works with Claude Code and Codex through skills, and can be used from a phone with an access-token link over HTTPS.
  • Built as a fork of difit by yoshiko-pg; the author says gavel was used to review its own 350+ commits over three weeks.

Links in the post

  • photostructure/gavel on GitHub: Repository README: install steps, skill setup for Claude Code and Codex, CLI usage, privacy notes on update checks, and credit to difit.

Discussion No comments have been posted yet, so there is no discussion to summarize. The story has only its initial score of 2 points.

#codeReview #codingAgents #gitTools #openSource #claudeCode #codex