Native Tauri v2 Desktop App
Lightweight macOS & Windows app bundling a compiled diffgloss-engine sidecar. Drag any local Git repository folder onto the window to inspect diffs & commits with real-time SSE streaming.
gloss (noun) — an interlinear annotation illuminating a manuscript.
Drop any Git repository onto Diffgloss: your authoring coding agent
(codex / claude) explains its edits, while an independent Reviewer
audits every single changed line so every hunk is accounted for as
explained,
collapsed, or
unexplained.
12 export async function touchSession(session) {
13 const now = Date.now();
14- return session.expiresAt > now;
15+ if (session.expiresAt <= now) return false;
16+ session.expiresAt = now + SLIDING_TTL_MS;
17+ return true;
18 }
30 export function verifySession(session) {
31- if (session.revokedAt !== null) {
32- throw new Error("Session revoked");
33- }
34 return session.expiresAt > Date.now();
35 }
touchSession · L15–17
Rejects expired sessions early, then extends expiresAt by SLIDING_TTL_MS.
verifySession · L31–33
Revoked-session guard deleted despite intent saying "Do NOT weaken revoked checks."
Packaged with Tauri v2 and a standalone embedded diffgloss-engine sidecar (zero Node or Bun install needed). Real-time SSE progress streams each stage as it finishes.
Loads Working Tree immediately (or latest HEAD commit when clean), then streams Explain → Line Audit → Symmetric Proof.
Connects read-only to the agent that actually wrote the code — capturing real design intent without letting it touch your working tree.
Reads only the numbered +/- diff lines and Role A's claim. Catches silent omissions and contradictory explanations line by line.
Click any stage to inspect how Diffgloss combines sub-second AST preprocessing, Author CLI explanation, independent line auditing, and symmetric-proof review.
Switch real AI-authored diff scenarios, inspect Author CLI vs. Role-B Line Audit verdicts, click file:line citations, or toggle Self-Check mode.
Every mechanism in Diffgloss directly counters a documented failure mode of AI code review: unfaithful prose, silent omissions, comment fatigue, and author-anchoring bias.
Lightweight macOS & Windows app bundling a compiled diffgloss-engine sidecar. Drag any local Git repository folder onto the window to inspect diffs & commits with real-time SSE streaming.
Role A connects read-only to local Codex CLI or Claude Code CLI (or configurable API Model A). Cold-start Role B verifies every +/- line and highlights omissions in amber.
Checks exact line bounds & verbatim symbols (citations_valid) with 1x repair and honest demotion. Content-addressed .diffgloss/cache/ makes repeated repo reviews instant and free.
Lexer-aware scope tracking across TypeScript, JavaScript, Python, Go, Rust, Java & C++ splits oversized hunks along real function boundaries so sneaky edits cannot hide in big patches.
Parallel narrow specialists output both verified bugs and Ruled-Out Concerns with concrete code proof. Shaky self-dismissals are automatically escalated to cold verification.
10 one-click provider presets (DeepSeek, Claude, OpenAI, Gemini, OpenRouter, Ollama, Qwen, Kimi, GLM) saved locally with chmod 600, plus MCP stdio server, SARIF 2.1.0 & GitHub PR sync.
Tested across TypeScript, Python, Go, Rust, SQL migrations, GitHub Actions CI, React UI, leaked private keys, cross-file moves, nested classes, and SQL injection.
Install the native macOS/Windows app — or run straight from CLI with Node 20+ or Bun 1.2+.
# Or download prebuilt .dmg / .exe from GitHub Releases (v0.5.0)
git clone https://github.com/atomsprout/diffgloss.git
cd diffgloss/desktop
bun run build:all
# Launch native macOS app & drag any Git repo folder onto the window!
open src-tauri/target/release/bundle/macos/Diffgloss.app
# Install the CLI (Node 20+) — or: brew install atomsprout/tap/diffgloss
npm install -g diffgloss
# Launch zero-env-var local browser workbench (configure Role A & B in-page)
diffgloss ui
# Dual-role CLI: Author Agent (Codex/Claude) explains -> Independent Line Auditor checks every line
diffgloss explain main..HEAD --explainer-mode author_cli --audit --review --serve
# Enforce zero unexplained hunks in CI (exit code 2 on violation)
diffgloss validate .diffgloss/ledger.json --max-unexplained 0