Urgent.News

What's breaking now, across thousands of outlets.

Tech

hutch: local code reviews in emacs for the mildly disenfranchised

Local code reviews in Emacs have gained popularity, especially for those who still value human oversight over AI-generated suggestions. The tool, called Hutch, aims to integrate LLMs and coding harnesses into text buffers within Magit's commit-push workflow. It operates on three scopes: staged changes, un-pushed changes, and changes between the current branch and working branch.

By default, it focuses on staged changes, but users can customize it as needed. Hutch provides a progress bar in a new buffer to track the review process. Each finding is categorized as a suggestion, comment, or LGTM, with suggestions displaying a patch diff. Users can apply suggestions or mark them for bulk application. Hutch's interface closely resembles Magit, Magit-induced, and keyboard-driven.

The tool's unique selling point is its ability to handle patch diffs more accurately than plain comments, especially when dealing with older or cheaper models that may struggle with unique search blocks.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at kitallis.in →

More in Tech

More from Tuesday 6 October →