Hacker News

Show HN: gavel: guided code review with your coding agent

4 points by mceachen ago | 2 comments
Howdy!

I've been working on an open-source tool that helps lighten the burden of reviewing what your coding agents write. You still see all the lines of code, but the agents write a "tour guide" that links you through the local PR, and as you have questions or comments, you chat with your agent in the context of the code, in a threaded conversation.

I called it "gavel" (you make your agents build a case that you judge). Hope you find it as useful as I do!

https://github.com/photostructure/gavel

poetril |next [-]

I'll check it out. I currently use plannotator[0], and pretty happy with it. Glad to see others people are working in this space.

[0]: https://plannotator.ai/

mceachen |root |parent [-]

Neat. It looks a bit more like agent swarm management from the README?

gavel is designed more for sanity checking before commits, or discussing larger technical project plans where you have multiple issues raised concurrently.

I really haven't had much luck with "do a big thing, go for it" prompts. I think it's way too easy, at least for me, for human/robot disconnect to happen, where I *think* we're on the same page, and then it builds something quite wrong.

To overcome that, I've been using "technical project plans" to drive agents -- https://photostructure.com/coding/claude-code-tpp/ -- the agent produces a doc that I can read and vet and edit, and _then_ they can go cook. I use gavel to discuss the TPP before they cook, if it's tricky.

nacernoubir |next |previous [-]

[flagged]

AntonioJBergo |previous [-]

[flagged]