> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arakun.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Leave a review draft

> Let an agent review a pull request and save its review as a draft in Arakun's GitHub tab. Nothing is posted until you post it.

An agent can review a pull request for you and leave a draft. The draft sends nothing. You post it, edit it or discard it in the GitHub tab.

```sh theme={"dark"}
arakun github draft o/r#12 --verdict approve --head <sha> \
  --body-file - --agent Claude < review.md
```

**--verdict** `approve | request-changes | comment` *required*

What the review says.

**--body-file** `file | -` *required*

The review's text: a file, or `-` for stdin.

**--head** `sha`

The commit the agent read. An approval needs it.

**--agent** `name`

Who wrote it.

Drafts are kept in `github/drafts/`, next to Arakun's state file.

## Safety

> [!TIP]
>
> **Nothing goes out without you**
>
> Posting a draft asks a second time. An approval goes out only for the commit the agent read. After new commits, the draft can only be posted as a comment.
>
> When an agent passes a file outside its workspace, or runs the command on one line with other commands, Arakun asks you first.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.