Skip to content

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

Latest

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)