All posts

Docs2 min read

Pin review notes and hand them to an agent

Comment on a range of diff lines, then copy or send one composed message into a terminal agent — notes are session-only.

Review notes are local comments pinned to a range of diff lines. They turn “here’s what’s wrong with this diff” into a message an AI coding agent can act on, without you retyping paths and line numbers.

Write a note

  1. Drag across the lines you want in any diff — commit review, stacked review, or the working-changes inspector.
  2. Write the comment. A note can cover a single line or a contiguous range, and it captures the selected source alongside your text.

Notes anchor to a side and line reference (R20, L4, R18–R20), so they survive a diff refresh. Deletions belong to the old side; additions and context to the new side.

Hand off

The docked Hand to agent bar opens a dialog with every pending comment (including notes whose lines disappeared after a refresh), a composed message ordered by file then line then side, and an agent picker.

The composed message is editable. Once you type in it, GitLane stops regenerating it.

Action Result
Copy The message goes to your clipboard
Send The message is typed into the integrated terminal, launching the selected agent

Only comments from the surface that opened the dialog are handed off. The picker lists Settings → Terminal Agents, greying out commands that aren’t on PATH. If you haven’t enabled any, Copy still works.

Each note becomes a numbered block:

1. src/store/repo.ts — lines R18–R20
   Feedback: this refetches on every keystroke — debounce it

Good to know

Comments are never written to disk. They vanish when you close GitLane. The composed message is the artefact — copy it or send it before you move on.

These are not GitHub review comments. For those, use the pull-request view.

Full walkthrough: Review notes.

Installers: Download GitLane.