Skip to content

Inline comments

diffle lets you annotate a diff with inline comments while you review. Comments are the feedback you hand back to an agent — see Agent feedback.

Hover a line to reveal its comment bubble, or click the line number, then type your note. The comment anchors to that line.

Optionally tag the comment as a nit, issue, question, or praise so the agent knows how to weigh it. Press Ctrl+Enter (⌘+Enter on macOS) to save, or Esc to discard the draft.

To cover several lines, drag across the line numbers, or shift-click a second line number to extend the selection from the first. The comment anchors to the whole range.

For feedback that isn’t tied to a specific line — an overall note on a file — add a file-level comment from the file header.

Comments support threaded replies, so a discussion stays attached to its line.

Resolve a comment when it’s handled. Resolving keeps it on the record but drops it from returned feedback and from open-comment counts. Reopen a resolved comment any time.

A saved inline comment thread anchored to a line, with resolve, edit, reply, and delete actions

When a comment’s line or file leaves the current diff — because the code changed and you re-ran the diff — the comment isn’t lost. It stays saved but unanchored.

Preview Feedback gathers orphaned comments under a From earlier reviews section, where you can resolve or delete each one.

Comments are saved to durable Review Records under the data directory. They survive restarts and re-runs, so you can close diffle, come back, and pick up your review where you left off.