-
Notifications
You must be signed in to change notification settings - Fork 4
Worker sub-agents fail to start: 'Agent did not signal readiness within 10.0s' and empty Claude transcript #1012
Description
Summary
When using create_working_agent.sh (which wraps mng create --env ROLE=working --type worker) to spawn a worker sub-agent, the command consistently fails with:
imbue.mng.errors.AgentStartError: Failed to start agent <name>: Agent did not signal readiness within 10.0s. This may indicate a trust dialog appeared or Claude Code failed to start.
The agent process is created and reaches WAITING state with waiting_reason: END_OF_TURN, but the Claude Code transcript is completely empty — meaning Claude never actually ran.
Steps to Reproduce
- From a running
claude-mindagent (mind type), runcreate_working_agent.sh <name> <message-file> mng createis invoked with--env ROLE=working --type worker --message-file ...- The command times out after 10s with the
AgentStartError - Inspecting the created agent: state is
WAITING,plugin.claude.waiting_reason = "END_OF_TURN", butlogs/claude_transcript/events.jsonlis 0 bytes
Expected Behavior
The worker agent should start Claude Code, process the initial message, and signal readiness. The transcript should contain the agent's work.
Actual Behavior
- Claude Code never executes (empty transcript)
- Agent reaches
WAITING/END_OF_TURNwithout doing any work mng createtimes out waiting for the readiness signal
Environment
- Host:
huge-bumblebee-of-fruition(local provider) - Mind agent:
product_manager(agent-771572cfe4a04fc58fe8a52044a93c9f), typeclaude-mind, stateRUNNING - Failed worker agents:
setup-target-repo(agent-48f256e6b051489682d62b64b965b24d), typeworker, now archived/STOPPEDsetup-github-repo(agent-f00e4801b41d4606b52ee31947575a81), typeworker, stateWAITING
- Date: 2026-03-27 ~00:59–01:00 UTC
Additional Context
This occurred during first-run onboarding when attempting to delegate the "set up target GitHub repo" task. Both attempts with different agent names failed identically. The mind agent itself is running fine; only worker sub-agents fail to start.
The error message suggests "a trust dialog appeared" — it's possible Claude Code is prompting for permission approval when launched as a sub-agent, which would block the readiness signal. The --dangerously-skip-permissions flag is present in the command, but may not be taking effect in this context.