Repository navigation
diffotator 2.0 — walkthrough mode
diffotator 2.0 — review a change as a walkthrough
Big changes are hard to review because a file list has no shape. diffotator now opens every review on a walkthrough.
What's new
- Home page — What this change does (summary, key changes, decisions, the one place to look hardest) beside Know this first (the domain background, linked to the docs it came from).
- The map — the change grouped into blocks by behaviour, drawn with React Flow and laid out by ELK, so arrows route around boxes. Blocks hold sub-blocks or files; files hold their tests. Labelled arrows between blocks, dashed arrows for file-to-file calls, and hovering a box lights its own arrows.
- Drill in like a website — blocks, files, commits and domain docs open in the same spot, with a breadcrumb, ← Back and browser Back.
- Keyboard first —
←↑→↓move between boxes,⏎opens,1–9jump,⌫/Escback,j/kwalk files in walkthrough order (tests right after their file),⇧Tfile ↔ tests,/or⌘Kgo to any file,⇧CClassic,?for all keys. - Classic — the full git client is one click away.
/diffotator <MR or PR link>— checks the change out into a temporary worktree, reads the diff, the ticket and your repo's own docs, writes the walkthrough, and opens it. On someone else's change it never edits their branch:question:comments are answered in chat, the rest come back as draft review comments posted only when you say so.- No walkthrough? The map groups the change by folder.
- Stronger diff and syntax colours in both views.
Upgrade
cd diffotator && git pull
cp claude/diffotator.md ~/.claude/commands/diffotator.mdStill no npm install: React, React Flow and ELK ship prebuilt in web/vendor/.
Under the hood
--walkthrough <path>andGET /api/walkthrough; the walkthrough is repaired against the scope's changed files so every file appears exactly once.- Hardening from review: block ids can no longer hang the server, term sources must stay inside the repo, and
/api/filerefuses paths outside it.
