agency -d behaves differently to agency when starting agents—agents never make it past the initial startup phase.
Steps to reproduce:
- Startup Smith using
agency -d
- Start an agent with
smithctl start {AgentName}
- The logs for that agent don’t go past
Transition [state]: :checked -> :starting
- Running
smithctl list -la shows the agent as starting with pid 0 and a date of 1970/01/01 10:00:00
- The
starting agent remains in that state indefinitely and doesn’t time out.
When starting an agent with agency running in the foreground, this problem doesn’t happen.