frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Vdiff – CLI to help you review AI-generated code

1•fforbeck•1h ago
Hey, you probably already saw that reviewing AI-generated code is a nightmare and quickly becomes a bottleneck. Everyone is using AI agents to write code fast, but the hard part is reviewing a bazillion lines.

I was thinking about building something that would guide me during development and during PR reviews. Something that would give me signals based on facts, risks, and evidence. Not just one LLM reviewing the code it generated. The initial idea was to add a deterministic review layer and combine that with LLM reasoning, and use that to find gaps in code and point me to the most important places, so I don't need to read line by line.

I ended up building a tool called vdiff, and it is working very well for me, and I'm constantly improving it. It is a CLI that analyzes your git diffs and gives you a structured report: what changed, what's risky, and what's missing. It uses tree-sitter for AST diffs and an LLM on top, so you get actual evidence for each finding, not just vibes.

Some of the output signals: - Tells you if it's safe to merge, with a risk score - Lists what's wrong, how confident it is, and shows the evidence - Dependency graph for blast radius analysis - Review memory (tracks resolved/reopened findings across sessions) - You can point it at a spec or PRD, and it checks if the changes actually match - Structural metrics (acyclicity, depth, equality, graph)

It runs locally; I didn't want the tool publishing the code to a third-party server, so your code never leaves your machine. BYOK (bring your own LLM key) - you interact directly with the provider.

If you want to give it a try:

  npm i -g @4bk/vdiff     # install globally
  pip install graphifyy   # required to generate the knowledge graph
  cd your-project         # go to a git repo
  vdiff init              # set up provider, API key, build knowledge graph
  vdiff -v                # analyze staged changes
Would love to hear if this is something helpful for you as well, and what kind of signals you'd want to see. I usually run it before each commit on a feature branch, and then on CI to verify the feature branch against main.

Any feedback is very welcome, and if it is crap, well, then just say it.

Cheers

How Oregon's Data Center Boom Is Supercharging a Water Crisis

https://waterwatch.org/how-oregons-data-center-boom-is-supercharging-a-water-crisis/
1•therobots927•28s ago•0 comments

Palantir Comes to Campus

https://nymag.com/intelligencer/article/palantir-yale-conference-ai.html
1•jbegley•1m ago•0 comments

Shitpostmodernism: Understanding the Slopgeneration

https://www.spikeartmagazine.com/articles/essay-shitpostmodernism
1•thinkingemote•1m ago•0 comments

AI Agents Are the Mass-Produced Cars of Software

https://telegraphic.substack.com/p/ai-agents-are-the-mass-produced-cars
1•telegrahi•1m ago•0 comments

Opioid maker Purdue Pharma shuts down as part of $7.4B deal

https://www.usatoday.com/story/news/nation/2026/05/01/purdue-pharma-shuts-down-opioid-crisis-oxyc...
1•geox•3m ago•0 comments

Disneyland Now Uses Face Recognition on Visitors

https://www.wired.com/story/security-news-this-week-disneyland-now-uses-face-recognition-on-visit...
2•Brajeshwar•7m ago•0 comments

Digital Ecosystems: Interactive Multi-Agent Neural Cellular Automata

https://pub.sakana.ai/digital-ecosystem/
1•jarmitage•9m ago•0 comments

How are Life-Size Figures Created at hololive production?

https://coveredge.cover-corp.com/en/list/4759
1•ai_slop_hater•10m ago•0 comments

Vibecoded my dream game, GeoGuesser for guns, now its helping with student bills

https://gunguesser.com
4•salad_vr•10m ago•5 comments

The Railway and the Balloon

https://netwars.pelicancrossing.net/2026/05/01/the-railway-and-the-balloon/
1•ColinWright•14m ago•0 comments

Floating Armoury

https://en.wikipedia.org/wiki/Floating_armoury
1•jjmarr•16m ago•0 comments

Customizing Claude Code spinner verbs

https://www.augmentedswe.com/p/customizing-claude-code-spinner-verbs
1•wordsaboutcode•16m ago•0 comments

Back end-for-Front end: The most secure architecture for browser-based apps

https://fusionauth.io/blog/backend-for-frontend-security-architecture
2•mooreds•21m ago•0 comments

Voyager and the Art of Graceful Degradation

https://www.flyingbarron.com/2026/04/voyager-and-art-of-graceful-degradation.html
1•mooreds•21m ago•0 comments

Did I photograph the Aurora or was it something else? (2016)

https://wp.lancs.ac.uk/aurorawatchuk/2016/03/16/did-i-photgraph-the-aurora-or-was-it-something-else/
1•susam•23m ago•0 comments

Upcoming Blender Development Fund and AI Policies

https://www.blender.org/news/upcoming-blender-development-fund-and-ai-policies/
2•sensanaty•24m ago•0 comments

The Annoying Usefulness of Emacs [video]

https://www.youtube.com/watch?v=DMbrNhx2zWQ
2•susam•25m ago•0 comments

The Sky Tonight

https://theskylive.com/guide
2•susam•26m ago•0 comments

New US phone network for Christians to block porn and gender-related content

https://www.technologyreview.com/2026/05/01/1136739/a-new-t-mobile-network-for-christians-aims-to...
5•thinkingemote•29m ago•2 comments

Making Your Writing Work Harder for You

https://training.kalzumeus.com/newsletters/archive/content-marketing-strategy
2•eigenBasis•31m ago•0 comments

Show HN: TradingAgents without the API bill – run multi agents in Claude Code

https://github.com/lucemia/trading-agents-plugin
1•lucemia51•36m ago•0 comments

Stop Supplying. Start Owning

https://allensthoughts.com/2026/05/01/stop-supplying-start-owning/
2•herbertl•37m ago•0 comments

Uber wants to turn its drivers into a sensor grid for AV companies

https://techcrunch.com/2026/05/01/uber-wants-to-turn-its-millions-of-drivers-into-a-sensor-grid-f...
3•nickvec•37m ago•0 comments

Zugzwang

https://en.wikipedia.org/wiki/Zugzwang
24•Qem•41m ago•4 comments

If Claude writes the code, what makes me still a developer?

https://betweentheprompts.com/if-claude-writes-the-code/
4•scastiel•44m ago•0 comments

Santa Cruz restaurant changes logo after flurry of negative reviews for AI art

https://www.sfgate.com/food/article/santa-cruz-restaurant-ai-21955920.php
5•randycupertino•45m ago•3 comments

LLMs consistently pick resumes they generate over ones by humans or other models

https://arxiv.org/abs/2509.00462
83•laurex•47m ago•48 comments

Domination: A contrarian view of AI risk (2024)

https://matthewbutterick.com/chron/domination.html
2•vermilingua•57m ago•0 comments

I moved my blog from Jekyll to Emacs Lisp

https://martinsos.com/posts/my-blog-in-elisp
2•Martinsos•59m ago•1 comments

The History of Lipstick

https://www.saturdayeveningpost.com/2026/04/common-threads-the-history-of-lipstick/
2•ohjeez•59m ago•0 comments