You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A setup-required bot with a missing agent auto-fires a doomed turn #22
Activating a bot that owes this machine setup immediately auto-sends the setup prompt (ui/app/components/app-shell.tsx:387-408) — by design, since the setup thread is meant to be an implementation detail.
If that bot's agent is not installed, the auto-send hits the guard at src/server.ts:252-257 and fails instantly:
400 {"error":"<Bot> runs on codex, which is not installed on this machine",
"agentUnavailable":"codex"}
The user lands on a bot that appears to start working and then immediately errors, with no obvious next step.
Severity
Low — recoverable and the error message is accurate. The way out is to edit the bot's agent, which is allowed (bot-form.tsx:504 gates only new bots), but nothing points there.
Suggested fix
Skip the auto-send when the bot's agent is unavailable and show the "agent not installed" state instead, with a link into the bot editor.
Note
The agentUnavailable field the server returns is currently unused by the client — the UI only renders the message string (ui/app/components/chat.tsx:1097-1103). It is there to be branched on.
Activity