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.
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| Key | Default | Meaning |
|---|---|---|
repo | required | owner/name of the repository. No trailing slash. |
base_branch | main | The branch that ticket branches start from and target. |
fork | none | owner/name of the bot's fork. See GitHub access. |
branch_prefix | amaru/ | Ticket branches are <prefix><issue>-<slug>. |
agent | required | A name from agents: in the daemon file. |
step_timeout | 45m | The longest one agent turn may run. |
idle_timeout | 30m | Stop 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_rounds | 3 | Times failing checks go back to the agent before the ticket blocks. |
jira | none | Take tickets from a Jira project. See Jira tickets. |
tickets_from | none | owner/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.
| Key | Default | Meaning |
|---|---|---|
labels | [] | An open issue with any of these labels is eligible. |
assignee | none | An 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_label | none | Issues with this label are analyzed instead of implemented. |
Checks
| Key | Default | Meaning |
|---|---|---|
name | required | A short name for logs and events. |
run | required | The shell command. |
timeout | 30m | The check fails when it runs longer. |
remote | false | The 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
| Key | Default | Meaning |
|---|---|---|
self | off | off, same_agent or other_agent. |
reviewer_agent | none | Needed when self is other_agent. |
respond | true | Act on review comments and change requests, and rebase conflicting pull requests. |
reviewers | [] | Only feedback from these logins reaches the agent. |
max_rounds | 5 | Review rounds before the ticket blocks. |
fix_ci | true | Treat failing CI check runs as feedback. |
reaction | thumbs_up | Emoji 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.
| Key | Default | Meaning |
|---|---|---|
url | required | The Jira server, for example https://issues.apache.org/jira. |
project | required | The project key, for example CAMEL. |
token_env | JIRA_TOKEN | The environment variable with a personal access token. Without one, issues are read anonymously and nothing is posted. |
user | none | Sign in with this user name and the token as its password, instead of a bearer token. |
jql | none | Matching open issues are picked up by amaru serve. |
comment | true | Comment on the issue when work starts, stops or has a pull request. Only with a token. |
Workspace
| Key | Default | Meaning |
|---|---|---|
keep_blocked | 7d | How 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
- Claim issues: how intake is used.
- Handle reviews and CI: the review keys in practice.
Daemon file
Reference for the Amaru Light daemon file, amaru.yaml, covering machine-wide settings, the agent CLIs, the web interface and the prompt guard keys.
Environment variables
Every environment variable Amaru Light, its agent CLIs and the prompt guard read, with what each one is for and where it is set.