Skip to content

v0.9.3: version bump + README/docs/roadmap refresh - #40

Merged
akosidencio merged 2 commits into
mainfrom
docs/post-v0.9.3-positioning
Nov 22, 2026
Merged

akosidencio merged 2 commits into
mainfrom
docs/post-v0.9.3-positioning

Conversation

@akosidencio

Copy link
Copy Markdown
Member

Bumps the version to 0.9.3 and rewrites the public docs so every claim matches what v0.9.3 actually does. No runtime behaviour changes.

Merge and tag together: the README, docs/ci.md and the pre-commit example reference v0.9.3 (@v0.9.3, version: v0.9.3, VERSION=v0.9.3), which resolves only once the tag and release exist. After merging, main → dev needs a back-merge.

Commits

  • 2eb9532 chore(release): bump version to 0.9.3. Both crates, @diffmind/cli, the five platform packages and their optionalDependencies. The CHANGELOG heading is now [0.9.3] — 11-22-2026.
  • 83bbf98 docs: README rewrite, ROADMAP.md, docs/{usage,how-it-works,providers,ci}.md, docs/assets/review-pipeline.svg. Example comments in install.sh and .pre-commit-hooks.yaml updated (v0.9.0 → v0.9.3).

Positioning: before → after

  • Before: "Diffmind — local-first AI code review, in your terminal". The first screen led with philosophy (determinism, "the hard part of an automated reviewer…").
  • After: "Diffmind: local-first AI code review for git diffs". Tagline: Review the change. See what it touches. The first screen now covers what it is, why (repository-aware, local by default, a gate you can keep), and install + quickstart.

README changes

  • 800 → ~280 lines. Detail moved to four focused docs pages; nothing was dropped silently.
  • The example is a real captured run (v0.9.3, default 1.5B model, small fixture commit). It shows the deterministic tier catching the commented-out guard and the hardcoded password, and the model missing the real bug (len(token) >= 0). The README says so explicitly.
  • New pipeline diagram: original SVG, 3.6 KB, with <title>/<desc>/alt text and light and dark palettes. The flow was checked against the code first.
  • New Capabilities and limitations section.

Claims corrected

Was Now
"Set --fail-on for the tier you trust" --fail-on is a severity threshold over all findings (main.rs gate). Tier gating moved to the v0.10.0 roadmap
Same review "holds on other machines too" Repeatable per machine. Across hardware, wording or a line can differ
CPU "with Accelerate/BLAS everywhere else" Metal and Accelerate are macOS-only; Linux and Windows run plain CPU
Own server: code "never leaves your machine or your network" Only true if the server is local. Remote backends receive the diff and its context
diffmind index as a required quickstart step The first review builds the graph; index is optional
Graph freshness "checks file times" mtime + ctime + size + content hash (v0.9.3)
uses: …@v0.9.0 @v0.9.3 and version: v0.9.3. The version input defaults to latest, so the action ref alone does not pin the binary
"no bot account, no token, no secret" No secret beyond the built-in GITHUB_TOKEN
Unlabelled TUI and stats samples Labelled illustrative
"Other tools sell this index…", "many teams…" Removed (no evidence)

Newly documented limitations:

  • Triage can skip low-risk files on diffs of 6+ files without marking the review incomplete (--triage off).
  • Edits to .diffmind/rules/*.md and .gitattributes are filtered out of review.
  • A bad config.toml is ignored entirely, with a warning.
  • fail-on: none is accepted by the action only.
  • The action does not run on Windows runners.
  • The rules-only pre-commit hook is clamped to 64 tokens.
  • DM002 only checks within the same hunk.
  • Diffs over 1.5 MB after filtering are refused.

Providers

docs/providers.md has a capability matrix covering provider, transport, authentication, configuration and status:

  • Built-in local: default.
  • Ollama: supported.
  • OpenAI-compatible: protocol supported; individual servers are not tested by the project.
  • Hosted APIs (Anthropic, OpenAI): no built-in backend. They may work through openai-compatible, but that is unsupported.
  • claude-cli: planned.
  • OAuth: not supported.

The page also explains:

  • which provider is the default and when the internet is needed (install and model download only, for the default)
  • what remote backends receive
  • how API keys are handled (environment only, refused over cleartext HTTP to a non-local host)
  • the cost, latency and quality trade-offs

⚠️ Security note for the maintainer

A committed .diffmind/config.toml can select a remote [backend] and set api_key_env to any environment variable. Running the CLI or its git hooks in an untrusted clone can therefore send the code, plus that variable's value, to an https:// host. The action is not affected, because it pins --backend local.

This PR documents it as a user-facing caution (README limitations, providers.md) and lists a code fix in ROADMAP v0.9.4. If you would rather fix it before publicising, soften those lines before merging.

Roadmap

ROADMAP.md lists what has shipped, then proposes three milestones. None has a date.

  • v0.9.4: gate integrity (merge-queue base, generated-file markers, completeness accounting, repo-config backends) and first-run experience.
  • v0.10.0: deterministic-only gating, a public quality benchmark, recovering the ~12% CPU cost, learning from verdicts.
  • v0.11.0: opt-in hosted models (Anthropic, claude-cli), cost visibility, the local model triaging what the hosted one reads.

Out of scope: a hosted default, accounts.

Verification

  • Version and CLI: a debug build (cargo +1.98.0) reports diffmind 0.9.3. Every subcommand's --help works. Bad backend and missing model exit 2; download --verify and rules check exit 0.
  • Real review: the 1.5B review above exited 1 with 3 findings and JSON completeness.status = complete. The code graph was built automatically.
  • Installer: the release install.sh (latest = v0.9.2), run into a scratch dir, verified the checksum and installed.
  • Links: relative links and anchors 0 broken. External URLs return 200; npmjs blocks bots, so the package was checked with npm view. Code fences balance; the SVG passes xmllint.
  • Independent fact-check: a separate review pass against the code found 11 errors and 8 overclaims. All were verified in code and fixed.
  • Not run: no markdown linter exists in the repo, so none was added.

Not verified / remaining

  • Tag-dependent references (see top).
  • Metal inference, fork-PR behaviour, and installing v0.9.3 through the action (release condition 5).
  • CI timing figures come from v0.9.3 validation runs: a 2-unit review took ~45 s on Linux ARM64 and 2–6 min on x86_64/Windows. They are not a benchmark.
  • Product casing stays Diffmind / diffmind (not "DiffMind").

Repository metadata (not changed: maintainer decision)

Suggested description:

Local-first AI code review for git diffs. Reviews each change with its callers and definitions from a tree-sitter code graph, runs a local model by default (or Ollama / OpenAI-compatible), and gates CI with SARIF and stable exit codes. Rust CLI + GitHub Action.

Suggested topics: add ai-code-review, local-llm, github-actions, sarif, tree-sitter, code-graph, ollama, pre-commit, git-diff, developer-tools. Replace ai and diff with the more specific ai-code-review and git-diff.

Crates (diffmind, core-engine), the npm wrapper, its five platform packages
and the wrapper's optionalDependencies move from 0.9.2 to 0.9.3. The
CHANGELOG's Unreleased heading becomes [0.9.3] — 11-22-2026; adjust the date
if the tag lands later. No tag is created here.
The README is now a landing page (800 → ~280 lines): what Diffmind is, why,
install, quickstart, a real captured review, how it works, providers, CI,
limitations and a short roadmap. Detail moved to docs/usage.md,
docs/how-it-works.md, docs/providers.md and docs/ci.md, plus a small
accessible pipeline diagram in docs/assets/.

Every claim was checked against the code. Corrections include:
- --fail-on is a severity threshold over all findings; gating on the
  deterministic tier alone is not implemented (moved to the roadmap)
- reproducibility holds per machine, not across hardware
- Accelerate/Metal are macOS-only; Linux and Windows run plain CPU
- remote backends receive the diff and context; a committed config.toml
  can select one, so untrusted clones need care
- triage can skip low-risk files on 6+ file diffs without marking the
  review incomplete; --triage off reviews everything
- the code graph builds automatically; `diffmind index` is optional
- the action's version input defaults to "latest": pin @v0.9.3 and
  version: v0.9.3 together
- illustrative TUI and stats output is labelled as such; unsupported
  competitive and adoption claims removed

ROADMAP.md separates shipped work from proposed v0.9.4 / v0.10.0 / v0.11.0
milestones (no dates). The local model stays the default; OAuth is not
planned. install.sh and .pre-commit-hooks.yaml example comments move from
v0.9.0 to v0.9.3.
@akosidencio
akosidencio merged commit b8068cc into main Nov 22, 2026
24 checks passed
akosidencio added a commit that referenced this pull request Nov 22, 2026
Back-merge main into dev after v0.9.3 bump and docs (#39, #40)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant