Skip to content

Agent instructions as comments on diffs #153

Open

Description

@joelmoss
No description provided.

Activity

  1. joelmoss commented on Oct 7, 2026

    @joelmoss
    OwnerAuthor

    Prior art: Orca ships this as "Annotate AI Diff" (stablyai/orca, docs/site/content/docs/review/annotate-ai-diff.mdx).

    How Orca does it

    • Hover any diff line and a + appears in the gutter; click it (or press c on the line) and type a note. Notes support markdown; Cmd-Enter saves, Esc cancels.
    • Notes are pinned to their line and follow it if the diff shifts.
    • Send to agent builds ONE prompt from all notes, each anchored to its line, then opens a "Send notes to" menu listing the worktree's agents. You can also start a new agent from that menu. A keyboard shortcut for sending exists but is unbound by default.
    • After the agent revises, the notes stay put so you can check each fix. Resolve collapses a thread, and unresolved notes go out again with the next Send.
    • Orca's reason for batching: "Sending comments one at a time causes the agent to swing back and forth."

    Where it fits in Workroom


    🤖 Left by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions