Skip to content

Latest commit

 

History

History
151 lines (96 loc) · 5.49 KB

File metadata and controls

151 lines (96 loc) · 5.49 KB

intentdiff launch kit

Use this page when announcing intentdiff on Hacker News, Reddit, X/Twitter, Mastodon, LinkedIn, Discord, Slack, and AI/devtool communities.

One-liner

intentdiff is a structure-aware Git diff for code review that collapses formatting noise and highlights moved code, probable renames, import reorders, and meaningful edits.

Short pitch

Normal diffs show changed text. intentdiff tries to show review intent.

If a PR reformats a file, moves a function, renames a variable, and changes one literal, reviewers should not have to read 500 noisy changed lines to find the one meaningful edit. intentdiff classifies the diff into events like formatting_only, moved_unchanged, probable_rename, import_reorder, and literal_changed.

It is local-first, deterministic, open source, and does not use AI or network calls for core analysis.

Hacker News

Title options:

Show HN: intentdiff – a structure-aware Git diff for noisy code reviews
Show HN: I built a Git diff that separates formatting, moves, renames, and real edits
Show HN: intentdiff – review what changed, not what got reformatted

Post body:

I built intentdiff, a Rust CLI that tries to make noisy code reviews easier.

The idea is simple: normal diffs show changed text, but reviewers often need to know intent. Was this code actually edited, merely reformatted, moved unchanged, renamed, or only import-sorted?

intentdiff classifies changes into events like formatting_only, moved_unchanged, moved_modified, probable_rename, import_reorder, literal_changed, operator_changed, and unknown.

It is deterministic and local-first: no network, no telemetry, no LLM required. JSON output is designed for CI and AI coding agents that need structured change summaries.

Install:
  cargo install intentdiff --locked
  npm install -g intentdiff

Repo:
  https://github.com/harivilasp/intentdiff

It is v0.1, so the parser/matching is intentionally conservative. It does not claim runtime behavioral equivalence.

Reddit

Suggested subreddits:

  • r/rust
  • r/programming
  • r/git
  • r/devtools
  • r/coding

Post:

I released intentdiff, a Rust CLI for reducing noisy code-review diffs.

It classifies changes as formatting-only, import reorder, moved unchanged, moved modified, probable rename, literal/operator/control-flow changes, binary/generated changes, or unknown.

The goal is not to be a prettier diff. It is to help reviewers and AI coding agents answer: what actually changed, and what should be reviewed first?

Install:
cargo install intentdiff --locked

GitHub:
https://github.com/harivilasp/intentdiff

Would appreciate feedback on fixtures where normal diffs are painful.

X / Twitter

Released intentdiff v0.1.

A structure-aware Git diff for noisy code reviews:
• collapses formatting noise
• detects moved code
• flags probable renames
• classifies import reorders
• highlights meaningful edits
• outputs deterministic JSON for CI/AI agents

cargo install intentdiff --locked
https://github.com/harivilasp/intentdiff

Mastodon / Bluesky

I released intentdiff, an open-source Rust CLI for noisy code reviews.

Instead of only showing changed text, it classifies review events:
formatting_only, moved_unchanged, moved_modified, probable_rename, import_reorder, literal_changed, operator_changed, textual_change, unknown.

It is local-first: no network, no telemetry, no LLM required.

https://github.com/harivilasp/intentdiff

LinkedIn

I released intentdiff, an open-source Rust CLI for code review.

Modern diffs are often noisy: auto-formatting, import sorting, moved functions, renamed variables, and one real logic edit all appear as changed text.

intentdiff tries to separate those concerns. It classifies changes as formatting-only, moved unchanged, moved modified, probable rename, import reorder, and meaningful edits. It also emits deterministic JSON for CI systems and AI coding agents.

The goal is better review triage: help humans and agents inspect the changes that matter first.

GitHub: https://github.com/harivilasp/intentdiff
Install: cargo install intentdiff --locked

Discord / Slack

I built `intentdiff`, a Rust CLI that makes noisy code-review diffs easier to understand.

It separates formatting-only edits, moved code, probable renames, import reorders, and real meaningful edits.

Install:
`cargo install intentdiff --locked`

Repo:
https://github.com/harivilasp/intentdiff

Comment reply for “Is this just Difftastic?”

Different goal. Difftastic is excellent for syntax-aware diff display. intentdiff is classification-first: it emits explicit review events like formatting_only, moved_unchanged, probable_rename, import_reorder, literal_changed, and unknown, with deterministic JSON/SARIF/HTML from the same model.

It is less mature than Difftastic as a syntax differ today, but it is aimed at review triage and AI/CI consumption rather than being primarily a terminal hunk renderer.

Comment reply for “Does it prove no behavior changed?”

No. It intentionally does not claim runtime behavioral equivalence. The wording is conservative: “No syntax-level change detected” or “Formatting-only under selected rules.” Runtime behavior can depend on language semantics, build flags, imports, macros, environment, and external systems.

Keywords

Git diff, code review, semantic diff, structural diff, AI coding agents, Codex, Claude Code, deterministic JSON, formatting noise, moved code, probable rename, Rust CLI.