Axon Shaft docs

/ask

Ask a question about the pull request's code and get an answer that cites file:line, without any change to the code.

/ask <question>

Runs the project's Reply automation. The model reads the pull request's head commit and answers where the question was asked. It can't edit, commit or push.

Who and where

  • Someone with write access to the repo.
  • A question on a line of the diff is answered in that line's thread. A question in the Conversation tab or in a review's body gets a comment on the pull request.
  • On an issue it ends with not_a_pull_request.

What the model reads

The question and the line it's on, the pull request's title, body, commits and diff after the skip globs, and the comments of people inside the repo. It reads the checkout with the same read-only tools and limits as a review. See What runs in CI.

On auto, it runs on sonnet at medium effort, with a limit of 30 turns unless the account sets one.

The reply

The answer cites file:line for its claims. It ends with the same footer as the summary comment, and is cut at 20,000 characters. The run's page on the dashboard keeps the answer, the model and the tokens. A reply has no verdict.

The sample below is an illustration of the shape, not a real run, answering /ask does the retry in fetchUser ever give up?. A real reply also has the footer line, which opens into a table.

Yes. fetchUser in src/api/user.ts:14 retries 3 times with RETRY_DELAY_MS between tries (src/api/user.ts:6), then throws the last error. The caller in src/screens/profile.tsx:41 catches it and shows the error state, so the screen doesn't hang.

When the model's session fails, the failure's card is posted where the question was asked, and the step fails. See Failure, notice and skip codes.

Last updated on