Reviews without leaving the dashboard
A review in Puppet Master is a conversation with the session that wrote the code, over a diff of work that does not have to be committed yet.
Ask for one
Section titled “Ask for one”The usual way is to ask the session:
get me a review open for what you just did
The agent calls the tool itself, hands you a URL, and then stops and waits for your first comment. The review opens as a tab beside the session’s terminals, and you read and answer it there.
That is the whole of the usual path. pm review exists and opens the same
reviews the dashboard shows, which is useful in a script and rarely otherwise.
A review names its session
Section titled “A review names its session”A review is bound to a session from the moment it opens, because the session is what will answer the comments. Commenting on a line is not leaving a note for yourself — it goes to the agent that wrote the line, which edits the file and replies in the thread.
The worktree is always explicit
Section titled “The worktree is always explicit”The agent states the tree it means, as an absolute path, and Puppet Master does not infer one. A session’s launch directory is fixed when it spawns and the agent may have moved or created a worktree since, so guessing would silently review the wrong tree.
The base is a resolved commit, not a branch name. A branch name is refused, because a review has to keep meaning what it meant after the branch moves.
What it reads
Section titled “What it reads”Leave the head off and the review covers the working tree against the base. That is the part no hosting service offers: you are reading a change before it is a commit, let alone a pull request.
It also means the diff updates underneath you. The edits the agent makes answering your comment appear in the same diff you are reading, because the review reads the tree rather than a snapshot of it.
Threads follow the code
Section titled “Threads follow the code”When a thread reaches the agent it carries the comment’s current line and an excerpt of today’s code, and the agent is told to trust that over the line the comment was originally written against. Comments do not rot when the lines move, which is the thing that makes reviewing a moving tree bearable at all.
Threads on one file are handed out one at a time, so an agent can work across separate files without tripping over itself.
The agent can refuse
Section titled “The agent can refuse”A reply can come back marked not addressed, with the reasoning in the body. That is a first-class outcome, not an error: you asked for a change, the agent looked, and it thinks the change is wrong. It will say why, and usually offer the version of the change it would make instead.
Take that seriously or argue with it. It is a conversation.
Narrowing and splitting
Section titled “Narrowing and splitting”| Flag | What it does |
|---|---|
--path <spec> |
Limit the review to matching paths. Each filter becomes its own review, which is how a large branch becomes several readable ones |
--file <path> |
Review exactly these paths, skipping enumeration. Useful for a file git would not list |
--label <name> |
What to call it wherever a person sees it. Name it for the work, not the range |
--reset |
Discard the existing threads and history for this target and start again |
Reviewing something that is not code
Section titled “Reviewing something that is not code”A review can be pointed at a single document, read against an empty baseline, with no repository involved at all. A design note, a draft, a proposal — the same threads, the same replies, the same agent on the other end.
When it is done
Section titled “When it is done”pm review finish closes it. The review outlives the session that opened it, so
the threads and the decisions in them stay readable afterwards.