Skip to content

Releases

Diffgloss v0.5.0 — Parallel LLM Pipeline, Prompt Caching & Revision-Accurate Reviews

Choose a tag to compare

@github-actions github-actions released this 03 Dec 06:48

What's New in v0.5.0

Faster, Cheaper LLM Pipeline

  • Parallel LLM stages: explainer batches, citation repairs, the semantic judge, line audits and finding verification run with bounded concurrency (max_concurrency, default 4). Results are applied in order, so ledgers, finding ids and group order stay deterministic. Local author CLI mode (claude / codex) stays sequential.
  • Budget-safe concurrency: in-flight calls reserve their estimated cost, so parallel calls never jointly overshoot budget_usd.
  • Prompt caching that actually hits: repo rules and declared intent are sent once as a cacheable shared prefix (Anthropic cache_control; prefix caching on OpenAI-compatible APIs). Anthropic cache read/write tokens are now counted correctly in cost totals.
  • One repair call per batch for hunks that fail mechanical citation checks.
  • Judge verdicts cached: re-runs on an unchanged diff skip judge calls and keep earlier demotions. The cache prunes itself (30-day idle cutoff, 5000-entry cap).

More Accurate, More Resilient Reviews

  • Revision-accurate context: AST scopes, enclosing symbols and git grep call sites are read from the reviewed commit, range or index instead of the current checkout, so symbols and line numbers no longer drift when reviewing older commits.
  • Failed batches no longer abort a run: a failing batch is retried once, then its hunks are marked unexplained with the reason while the rest of the run is kept. A run where every call fails still surfaces the error (e.g. a wrong API key).
  • Cached hunks keep their semantic group instead of landing in "Remaining unexplained changes".
  • Smarter retries: honors Retry-After, jittered exponential backoff, retries only 408/409/425/429/5xx.
  • Current model pricing for Claude (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.x), OpenAI, Gemini and DeepSeek in --dry-run estimates and the budget cap.
  • Golden eval in the desktop engine: the compiled sidecar (diffgloss-engine eval) now embeds the 12 golden cases instead of failing with ENOENT.

Prebuilt Installers Attached Below (Zero Node/Bun Required)

  • macOS Apple Silicon (M1–M4): Diffgloss_0.5.0_aarch64.dmg
  • macOS Intel (x86_64): Diffgloss_0.5.0_x64.dmg
  • Windows x64: Diffgloss_0.5.0_x64-setup.exe (NSIS) & Diffgloss_0.5.0_x64_en-US.msi

Verification

  • tsc --noEmit: 0 errors · bun test: 52/52 passed (222 assertions) · 12-Case Golden Eval: 12/12 passed (Node build and compiled sidecar)

Diffgloss v0.3.3 — Parallel LLM Pipeline, Prompt Caching & Revision-Accurate Reviews

Choose a tag to compare

@github-actions github-actions released this 03 Dec 06:27

What's New in v0.3.3

Faster, Cheaper LLM Pipeline

  • Parallel LLM stages: explainer batches, citation repairs, the semantic judge, line audits and finding verification now run with bounded concurrency (max_concurrency, default 4). Results are still applied in order, so ledgers, finding ids and group order are deterministic. Local author CLI mode (claude / codex) stays sequential.
  • Budget-safe concurrency: in-flight calls reserve their estimated cost, so parallel calls can never jointly overshoot budget_usd.
  • Prompt caching that actually hits: repo rules and declared intent are sent once as a cacheable shared prefix (Anthropic cache_control; prefix caching on OpenAI-compatible APIs) instead of being repeated in every batch. Anthropic cache read/write tokens are now counted correctly in cost totals.
  • One repair call per batch: hunks that fail mechanical citation checks are repaired together instead of one call each.
  • Judge verdicts cached: semantic-judge results are stored in the hunk cache, so re-runs on an unchanged diff skip judge calls and keep earlier demotions. The cache is pruned automatically (30-day idle cutoff, 5000-entry cap).

More Accurate Reviews

  • Revision-accurate context: AST scopes, enclosing symbols and git grep call sites are read from the reviewed revision (commit, range or index) instead of whatever is currently checked out, so symbols and line numbers no longer drift when reviewing older commits.
  • Failed batches no longer abort a run: a batch that fails is retried once, then its hunks are honestly marked unexplained with the reason, and the other batches are kept. A run where every call fails still surfaces the error (e.g. a wrong API key).
  • Cached hunks keep their semantic group instead of landing in "Remaining unexplained changes".
  • Smarter retries: honors Retry-After, uses jittered exponential backoff, and retries only 408/409/425/429/5xx.
  • Current model pricing for Claude (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.x), OpenAI, Gemini and DeepSeek for --dry-run estimates and the budget cap.

Prebuilt Installers Attached Below (Zero Node/Bun Required)

  • macOS Apple Silicon (M1–M4): Diffgloss_0.3.3_aarch64.dmg
  • macOS Intel (x86_64): Diffgloss_0.3.3_x64.dmg
  • Windows x64: Diffgloss_0.3.3_x64-setup.exe (NSIS) & Diffgloss_0.3.3_x64_en-US.msi

Verification

  • tsc --noEmit: 0 errors · bun test: 51/51 passed (218 assertions) · 12-Case Golden Eval: 12/12 passed

Diffgloss v0.3.2 — Sunny Morning Edition (macOS & Windows Native Desktop App)

Choose a tag to compare

@github-actions github-actions released this 01 Dec 18:16

What's New in v0.3.2

Sunny, Uplifting Theme Across Desktop App, Workbench UI & Website

  • Default Sunny Morning Light Mode: Clean sunlit cream (#fffdf8) canvas with radiant sunrise gold, tangerine, warm coral, bright clear sky, and fresh spring mint accents — zero dark green, dark blue, or dark purple.
  • Warm Golden-Hour Dark Mode: 1-click ☾ Dark / ☀ Light toggle persisted in localStorage, using warm espresso surfaces (#171412) with vibrant sunrise highlights.
  • Matching Desktop Splash Screen: Native Diffgloss.app opens straight into a sunlit sunrise splash screen before loading the workbench.

Included from v0.3.x

  • Native Folder & File Drag-and-Drop: Drag any Git repository folder (or any file inside it) onto Diffgloss.app to inspect Working Tree or latest HEAD commit.
  • Dual-Role Author-Explains → Independent Line Auditor: Auto-detects local Codex CLI and Claude Code CLI (including when launched from macOS Finder via enriched PATH), with 1-click toggle to API Model A and cold-start line-by-line auditing across Unified & Split views.
  • Content-Addressed Hunk Cache & Real-Time SSE Streaming.

Prebuilt Installers Attached Below (Zero Node/Bun Required)

  • macOS Apple Silicon (M1–M4): Diffgloss_0.3.2_aarch64.dmg
  • macOS Intel (x86_64): Diffgloss_0.3.2_x64.dmg
  • Windows x64: Diffgloss_0.3.2_x64-setup.exe (NSIS) & Diffgloss_0.3.2_x64_en-US.msi

Verification

  • tsc --noEmit: 0 errors · bun test: 31/31 passed (124 assertions) · 12-Case Golden Eval: 12/12 passed

Diffgloss v0.3.1 — Finder PATH Auto-Discovery, Warm Editorial Workbench & Cross-Platform Installers

Choose a tag to compare

@github-actions github-actions released this 24 Nov 22:13

What's Improved in v0.3.1

Desktop App & OS Integration Hardening (macOS & Windows)

  • macOS Finder PATH Auto-Discovery: Both the Rust Tauri launcher and AuthorCliLLMClient enrich PATH (~/.local/bin, /opt/homebrew/bin, /usr/local/bin, ~/.bun/bin, ~/.cargo/bin, ~/.npm-global/bin, ~/.volta/bin) so double-clicking Diffgloss.app from Finder reliably discovers local Codex CLI and Claude Code CLI without terminal launch.
  • Drop Any File or Folder Inside a Repo: Dropping a single file (e.g., package.json) or subfolder onto Diffgloss.app automatically resolves its Git repository root, with clear status feedback for invalid paths.
  • Silent Subprocesses on Windows: Added windowsHide: true across Git & CLI adapters so Windows never flashes console windows.

Workbench UI Polish

  • Warm Editorial Dark & Light Modes: Unified workbench palette with warm charcoal obsidian (#0f0f10) and archival ivory (#faf8f4) + burnished amber/copper, emerald & teal accents (zero harsh blue/purple).
  • Split-Diff Line Audit Highlighting: Role-B Line Auditor omitted_lines are now highlighted in amber across both Unified and Side-by-Side Split diff views.
  • Toolbar Action & SSE Parsing: Upgraded top toolbar primary button to ▶ Explain & Audit, fixed regex escaping in SSE frame parsing, and added continuous CI (.github/workflows/ci.yml).

Prebuilt Installers Attached Below (Zero Dependencies)

  • macOS Apple Silicon (M1–M4): Diffgloss_0.3.1_aarch64.dmg
  • macOS Intel (x86_64): Diffgloss_0.3.1_x64.dmg
  • Windows x64: Diffgloss_0.3.1_x64-setup.exe (NSIS) & Diffgloss_0.3.1_x64_en-US.msi

Verification

  • tsc --noEmit (strict erasableSyntaxOnly): 0 errors
  • bun test: 31/31 passed (124 assertions)
  • 12-case Multi-Language Golden Eval: 12/12 passed (100% coverage invariant, 100% citation validity, 0 false collapses)

Diffgloss v0.3.0 — Native Desktop App (macOS & Windows) + Dual-Role Line Auditor

Choose a tag to compare

@github-actions github-actions released this 24 Nov 21:56

What's New in v0.3.0

Native Desktop App (Tauri v2 · macOS & Windows)

  • Zero-dependency desktop installers: bundles a standalone diffgloss-engine sidecar — no Node.js or Bun installation required.
  • Native Folder Drag & Drop: drag any local Git repository folder onto the Diffgloss window to inspect Working Tree changes (or automatically load the latest HEAD commit when the working tree is clean).
  • Prebuilt Installers Attached Below:
    • macOS Apple Silicon (M1–M4): Diffgloss_0.3.0_aarch64.dmg
    • macOS Intel (x86_64): Diffgloss_0.3.0_x64.dmg
    • Windows x64: Diffgloss_0.3.0_x64-setup.exe (NSIS) & Diffgloss_0.3.0_x64_en-US.msi

Dual-Role Architecture: Author Explains → Independent Line Auditor

  • Role A (Explainer, Default: Author's Coding Agent): auto-detects installed Codex CLI (codex exec -s read-only) and Claude Code CLI (claude -p --permission-mode plan --fork-session) with automatic fallback & 1-click toggle to API Model A.
  • Role B (Independent Cold-Start Line Auditor): checks every single +/- changed line of every hunk against Role A's explanation, outputting verified, omission_detected (highlighted in amber in the diff viewer), or contradicted (auto-demoted to unexplained).
  • Content-Addressed Hunk Cache: caches explanations per hunk_id + patch + intent + explainer + model in .diffgloss/cache/ for instant repeat reviews.
  • Real-Time SSE Streaming: POST /api/explain-stream streams live Explain → Line Audit → Symmetric Proof progress directly to the workbench UI.

Verification

  • tsc --noEmit (strict erasableSyntaxOnly): 0 errors
  • bun test: 28/28 passed (111 assertions)
  • 12-case Multi-Language Golden Eval: 12/12 passed (100% coverage invariant, 100% citation validity, 0 false mechanical collapses)

Diffgloss v0.2.0 — Explainability-First Code Review Ledger

Choose a tag to compare

@everettjf everettjf released this 24 Nov 17:36

Highlights

  • Explainability Coverage Ledger (diffgloss.explanation/v0): enforces total = explained + collapsed + unexplained across every hunk and multi-language AST-split sub-hunk (TS/JS, Python, Go, Rust, Java, C++).
  • Interactive Browser Workbench (diffgloss ui):
    • 📂 Repo / Commit Picker: switch any local git repo, inspect Working Tree / Staged / Branch Ranges, or click any commit in history (auto-loads commit message as Declared Intent).
    • ⚙ In-Page Model Configuration: 10 one-click presets (DeepSeek, Anthropic Claude, OpenAI, Google Gemini, OpenRouter, Ollama, Qwen, Kimi, Zhipu GLM, Custom OpenAI-Compatible), saved locally to ~/.config/diffgloss/settings.json (chmod 600), with live Test Connection and ▶ Run Explain Now.
    • Unified / Side-by-Side diff toggle, clickable file:line citation highlights, Self-Check reveal mode, keyboard shortcuts (j/k/s///u), and live Q&A answer persistence.
  • Blind-First Explanation & Symmetric-Proof Review:
    • Mechanical file:line & symbol verification with auto-repair and honest demotion.
    • Cold-start semantic grounding judge & isolated parallel bug specialists outputting both verified findings and Ruled-Out Concerns with code proof.
  • 4-Tier Provenance & Redaction: write-time Claude Code hooks (PostToolUse + Stop gate), automatic local Claude Code / Codex session discovery, Git AI notes / Agent Trace / Entire support, forked read-only session resume, and automatic secret redaction.
  • Ecosystem & CI Interop: SARIF 2.1.0 import/export, reviewdog rdjsonl, Markdown reports, sticky GitHub PR sync (pr-comment), MCP stdio server (diffgloss mcp), Agent Skill (skills/diffgloss/SKILL.md), and GitHub Actions workflow.
  • Verified Quality: 25 unit/integration tests passing, tsc --noEmit 0 errors, and 12/12 multi-language golden evals passing on both offline mock and live DeepSeek API (100% coverage invariant, 100% citation validity, 0 false mechanical collapses).