> For the complete documentation index, see [llms.txt](https://docs.aviator.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aviator.co/verify/how-to-guides/recording-decisions.md).

# Record decisions with /aviator:decisions

`/aviator:decisions` reads your agent session, drafts the calls behind your PR as [decisions](https://docs.aviator.co/verify/concepts/decisions.md), and records them on its review once you confirm.

### Before you start

* Install the Aviator CLI (v0.0.29 or later) and the Aviator skill. See [Before you start](https://docs.aviator.co/verify/how-to-guides/working-with-decisions.md#before-you-start).
* The branch needs a review. Run `/verify-submit` first if it doesn't have one.

### Run it

`/verify-submit` does this for you. It shows you the draft decisions along with the acceptance criteria, and records them on the new review once you confirm. The PR doesn't need to be open.

After more work, run this in the same agent session that did the work:

```
/aviator:decisions
```

It only knows what's in that conversation, so run it before you close the session. It shows you the drafts, with any comment credited to you in full, and records nothing until you confirm, since anyone with access to the review can read them and they can't be deleted. It then shows you what it recorded, grouped by branch, and names anything left open.

You can also ask your agent in plain words, such as "record the decisions behind this PR".

### What gets recorded

The skill looks for things a reviewer could ask "why?" about, and that the session answered:

| What happened in the session                     | Type                       | Outcome         |
| ------------------------------------------------ | -------------------------- | --------------- |
| Picked one approach over another                 | `choice`                   | `decided`       |
| Kept behavior that looks wrong but is deliberate | `possible_bug` or `choice` | `intended`      |
| Saw a risk and shipped it anyway                 | `risk`                     | `accepted_risk` |
| Found a bug in the change and fixed it           | `possible_bug`             | `fixed`         |
| Left something for a later PR                    | any                        | `follow_up`     |
| Raised a concern that turned out wrong           | any                        | `withdrawn`     |
| Asked a question the user answered               | `question`                 | `decided`       |
| Still unresolved                                 | any                        | left open       |

It leaves out what the diff already says, dead ends that left no trace, typos and lint fixes, secrets, personal data, customer names, and anything already recorded on the review. A fixed bug only earns a place if a reviewer would wonder about the fix, or if the same mistake is easy to make again.

Expect a handful per run, and few of them left open. A reviewer should be able to get through the list in a minute.

### Who gets credit

Each decision and comment is credited to whoever made that call. See [Identity](https://docs.aviator.co/verify/concepts/decisions.md#identity) for what this means.

| In the session                                                | Recorded as                                                   |
| ------------------------------------------------------------- | ------------------------------------------------------------- |
| You picked between options the agent laid out                 | Settled as `person`, with the agent's side as its own comment |
| You told the agent to keep some behavior                      | Settled as `person`                                           |
| The agent picked an approach, and you saw it and said nothing | Settled as `coding_agent`                                     |
| A reviewer subagent objected                                  | A comment as `review_agent`                                   |
| Your agent is reviewing someone else's PR                     | Its entries as `review_agent`                                 |
| A question nobody answered                                    | Left open, credited to whoever raised it                      |

`person` entries land under your account, and the skill never writes your name. Agent entries carry the model, the harness, and the skills that shaped that call.

If the agent picked something you'd want on record as your call, say so in the session before running the skill, and it's credited to you.

### The comment thread

Comments show how the session reached the call: what was proposed, what pushed back, what changed direction. Each one traces to something actually said or shown in the session, and the skill doesn't invent turns or objections.

Comments are written in the author's voice, in first person. Your words are reworded to the point a reviewer cares about and are never quoted. The agent's private reasoning stays out.

A simple call needs no comment, or one naming the alternative and why it lost. A call that went back and forth usually gets three to six.

### Stacked PRs

Each PR has its own review, and reviewers only see that review's decisions. The skill finds the review for each branch the session worked on, and puts each decision on the branch whose diff holds the code it's about. A decision that spans several branches goes on the one closest to trunk.

A branch with no review has nowhere to record yet. The skill tells you, suggests `/verify-submit` for it, and records the others.

### Later in the session

* **You settle an open decision.** Tell the agent your call and why, and it records it as you right away.
* **A comment has a wrong detail.** The agent can edit a comment it recorded.
* **You changed your mind.** The agent reopens the decision or adds a comment. It doesn't rewrite what was recorded.
* **More work landed.** Run `/aviator:decisions` again. It reads what's recorded and adds only what's new.

### See also

* [Work with decisions](https://docs.aviator.co/verify/how-to-guides/working-with-decisions.md)
* [Concepts: Decisions](https://docs.aviator.co/verify/concepts/decisions.md)
* [Aviator agent plugins](https://github.com/aviator-co/agent-plugins)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aviator.co/verify/how-to-guides/recording-decisions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
