A branch, staged in chapters
Narrative code review in your terminal.
revue turns a branch’s diff into ordered, narrated chapters — a prologue, the acts, and the judgment calls that need a human — rendered entirely in your terminal. No server, no browser, no database.
Four commands, in order. Each one reads the last one’s output — a review is a pipeline, not a session.
revue prep — freeze the scopePrep pins your Git changes into an immutable run: the patch, both snapshots, the numbered hunks. Nothing shifts underneath the review — not even a rebase.
revue-chapters — the agent writes the programmeThe bundled skill has your coding agent read the run’s hunks, cluster them into narrated chapters, write the prologue, and flag the judgment calls only a human can make.
revue show — take your seatThe interactive reviewer: chapters in order, threads anchored to exact lines,
copy path:line or a GitHub permalink, an optional semantic view — all from
the keyboard.
revue export — leave with a recordThe reviewed run renders as deterministic Markdown — narrative, threads, and progress — ready for a PR description or an agent’s next pass.
Vim/less conventions throughout: ]c between chapters, tab between
files, y to copy a selection, ? for the full map.
Review threads anchor to exact lines and round-trip through a public JSON interface, so your agent addresses feedback against the same pinned scope.
Pierre-powered patch view with side-aware highlights, plus an optional read-only Difftastic semantic view for structural changes.
Contrast-aware palettes derived from bundled editor themes — switch with
t, previewed live.
A run is a folder you can inspect, diff, and delete. State and threads are plain JSON beside the pinned patch.
Runs never leave your machine. The only network access is the GitHub permalink you choose to copy.
Requires Bun ≥ 1.3.
# clone and install
git clone https://github.com/mtford90/revue && cd revue
bun install
# tour the bundled sample run — no repository needed
bun run revue show examples/sample-run
# then stage your own branch
RUN=$(bun run revue prep)
bun run revue skill install # give your agent the chapters skill
bun run revue show "$RUN"
revue combines ideas from MIT projects without taking on their application shells.