Skip to Content
Amaru
Amaru LightOperate

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 status lists 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 doctor checks the settings, Git, gh auth status and each agent CLI.

Startup and settings

SymptomFix
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 bothSet intake.labels, intake.assignee or both. Only a project with jira may leave intake out.
repo 'owner/name/' must be owner/nameDrop the trailing slash.
The project uses an agent that is not definedagent: in the project file must be a name under agents: in the daemon file.
Relative paths point to the wrong placestate_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

SymptomFix
Must have admin rights (HTTP 403) when labellingThe bot cannot label. It works without labels; unblock with amaru unblock.
Pushes fail to authenticateRun gh auth setup-git as the daemon user.
The pull request cannot be created from a forkThe fork must belong to the bot; use a classic token with public_repo.
Assigning the bot does nothingAssignment needs repository access; use intake.labels instead.
Review comments are ignoredCheck the logins in review.reviewers.

Agents

SymptomFix
The agent asks for permissionSet unattended args, for example --permission-mode bypassPermissions for Claude Code or --dangerously-bypass-approvals-and-sandbox for Codex.
agent X is not signed inSign the CLI in as the daemon user, on the web interface's Agents page or in a shell.
The agent did not report its resultRead amaru status --ticket <id>, then unblock.
A turn did not finish within the step timeoutRaise step_timeout.
No progress for the idle timeoutCheck the network, or raise idle_timeout for long silent builds.
The agent is stuck or loopingamaru guide it, or amaru skip-checks a check you trust.
Work is committed but there is no pull requestamaru publish <ticket>.
In progress but no agent runsIt waits for a worker slot. Mark CI-watching checks remote: true, or cancel the ticket holding the slot.

Containers

SymptomFix
Zombie gh or git processesRun 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 staleRebuild the image, or mount /config.
The disk fills upamaru 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.

On this page