Skip to Content
Amaru
Amaru LightReference

Project file

Reference for an Amaru Light project file, covering the repository, intake, agent, checks, review loop, Jira and the workspace retention settings.

One project file per repository, listed under projects: in the daemon file.

project.yaml
repo: owner/name
base_branch: main
fork: my-bot/name
branch_prefix: amaru/

intake:
  labels: [amaru]
  assignee: my-bot
  skip_labels: [amaru:hold, needs-human]
  priority_labels: [priority:high]

agent: codex
step_timeout: 45m
idle_timeout: 30m

checks:
  - name: check
    run: make check
    timeout: 30m
max_fix_rounds: 3

review:
  self: off
  respond: true
  reviewers: [owner]
  max_rounds: 5
  fix_ci: true
  reaction: thumbs_up

workspace:
  keep_blocked: 7d
KeyDefaultMeaning
reporequiredowner/name of the repository. No trailing slash.
base_branchmainThe branch that ticket branches start from and target.
forknoneowner/name of the bot's fork. See GitHub access.
branch_prefixamaru/Ticket branches are <prefix><issue>-<slug>.
agentrequiredA name from agents: in the daemon file.
step_timeout45mThe longest one agent turn may run.
idle_timeout30mStop an agent turn that makes no progress for this long; 0 turns it off.
checks[]Commands run after each agent turn, through sh -c in the worktree.
max_fix_rounds3Times failing checks go back to the agent before the ticket blocks.
jiranoneTake tickets from a Jira project. See Jira tickets.
tickets_fromnoneowner/name of another repository whose labelled issues and pull requests become test-writing tickets.

Intake

A project needs labels, assignee or both, unless it has jira: then it may leave intake out and claim issues by hand only.

KeyDefaultMeaning
labels[]An open issue with any of these labels is eligible.
assigneenoneAn open issue assigned to this login is eligible.
skip_labels[amaru:hold, needs-human]Never started. Setting it replaces the default.
priority_labels[]Go first, in the order listed.
analyze_labelnoneIssues with this label are analyzed instead of implemented.

Checks

KeyDefaultMeaning
namerequiredA short name for logs and events.
runrequiredThe shell command.
timeout30mThe check fails when it runs longer.
remotefalseThe check waits on work done elsewhere, such as a CI run. When every check is remote, the ticket gives up its worker slot meanwhile.

Review

KeyDefaultMeaning
selfoffoff, same_agent or other_agent.
reviewer_agentnoneNeeded when self is other_agent.
respondtrueAct on review comments and change requests, and rebase conflicting pull requests.
reviewers[]Only feedback from these logins reaches the agent.
max_rounds5Review rounds before the ticket blocks.
fix_citrueTreat failing CI check runs as feedback.
reactionthumbs_upEmoji put on picked-up feedback, or off.

Jira

Take the tickets from a Jira project while the code stays in repo; see Jira tickets. Cannot be combined with tickets_from.

KeyDefaultMeaning
urlrequiredThe Jira server, for example https://issues.apache.org/jira.
projectrequiredThe project key, for example CAMEL.
token_envJIRA_TOKENThe environment variable with a personal access token. Without one, issues are read anonymously and nothing is posted.
usernoneSign in with this user name and the token as its password, instead of a bearer token.
jqlnoneMatching open issues are picked up by amaru serve.
commenttrueComment on the issue when work starts, stops or has a pull request. Only with a token.

Workspace

KeyDefaultMeaning
keep_blocked7dHow long a blocked ticket's worktree is kept: a duration, 0 or forever.

Prompts

The prompts are compiled into the binary. To change one, copy it from prompts/ into a prompts/ directory next to the daemon file, keeping its file name.

Based on docs/configuration.md, examples/project.yaml.

Next steps

On this page