Troubleshooting
See what the Amaru Light daemon is doing, then fix common errors with settings, claiming, GitHub permissions, agent CLIs and containers.
Start by finding out what the daemon did, then look up the message you see. In the commands below,
amaru stands for the binary with your daemon file, for example amaru -c amaru.yaml.
See what the daemon does
- The log. One line per state change, repository sync, agent turn, agent command and check
result, on stderr (
podman logs -f <container>in a container). - The tickets.
amaru statuslists recent tickets with their state and the reason a ticket is blocked;amaru status --ticket <id>shows every event of one ticket. - The issue. The bot comments when it starts an issue and when it needs you.
- The setup.
amaru doctorchecks the settings, Git,gh auth statusand each agent CLI.
Startup and settings
| Symptom | Fix |
|---|---|
unknown field ... | The settings are checked strictly; the message names the key and the file. A v1 configuration always fails this way. |
intake needs labels, an assignee, or both | Set intake.labels, intake.assignee or both. Only a project with jira may leave intake out. |
repo 'owner/name/' must be owner/name | Drop the trailing slash. |
| The project uses an agent that is not defined | agent: in the project file must be a name under agents: in the daemon file. |
| Relative paths point to the wrong place | state_dir and projects are relative to the daemon file. |
Claiming work
owner/name#42 already has an unfinished ticket: look it up with amaru status; if it is
BLOCKED, run amaru unblock <id>.
GitHub
| Symptom | Fix |
|---|---|
Must have admin rights (HTTP 403) when labelling | The bot cannot label. It works without labels; unblock with amaru unblock. |
| Pushes fail to authenticate | Run gh auth setup-git as the daemon user. |
| The pull request cannot be created from a fork | The fork must belong to the bot; use a classic token with public_repo. |
| Assigning the bot does nothing | Assignment needs repository access; use intake.labels instead. |
| Review comments are ignored | Check the logins in review.reviewers. |
Agents
| Symptom | Fix |
|---|---|
| The agent asks for permission | Set unattended args, for example --permission-mode bypassPermissions for Claude Code or --dangerously-bypass-approvals-and-sandbox for Codex. |
agent X is not signed in | Sign the CLI in as the daemon user, on the web interface's Agents page or in a shell. |
| The agent did not report its result | Read amaru status --ticket <id>, then unblock. |
| A turn did not finish within the step timeout | Raise step_timeout. |
| No progress for the idle timeout | Check the network, or raise idle_timeout for long silent builds. |
| The agent is stuck or looping | amaru guide it, or amaru skip-checks a check you trust. |
| Work is committed but there is no pull request | amaru publish <ticket>. |
| In progress but no agent runs | It waits for a worker slot. Mark CI-watching checks remote: true, or cancel the ticket holding the slot. |
Containers
| Symptom | Fix |
|---|---|
Zombie gh or git processes | Run with --init, or update to a newer image. |
| Where is the code? | <state_dir>/repos/<owner>/<name>/, with the mirror clone and the worktrees. |
| Settings in the image are stale | Rebuild the image, or mount /config. |
| The disk fills up | amaru clean [--dry-run] [--blocked], or the web interface's Disk page. |
Based on docs/troubleshooting.md.
Next steps
- CLI: every command used above.
- Steer tickets: guiding, unblocking and publishing.
Prompt guard
How the Amaru Light prompt guard screens issue text and review feedback with a local injection classifier, what happens to flagged text, and its settings.
Reference
Reference material for Amaru Light, including every CLI command, the daemon and project files, environment variables, the result file and its terms.