Fleet never-sleeps: auto-trust workdir for fleet-launched agent sessions (factory orchestrator stalled at 'trust this folder?' gate) #644
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Toward an always-on fleet: a single interactive prompt must never be able to silently halt a fleet-launched agent.
Observed (dragon-lin, 2026-06-23)
The mosaic-factory orchestrator (claude) session was stuck at Claude Code's
Do you trust the files in this folder?gate. It never started work — 0.0% ctx, heartbeat watchdog still "ok", but zero progress. It only cleared when the 0.0.41 reseed relaunched the session. coder0/coder1/reviewer (pi) were fine; the trust gate is claude-runtime-specific.Impact
This is a textbook "fleet asleep" failure: the watchdog reports healthy (process up, heartbeating) while the agent is indefinitely blocked on a TTY prompt. No work, no error, no alert.
Proposed fix
Fleet-launched (non-interactive) agent sessions should never hit the trust gate:
--dangerously-skip-permissions-style bypass inmosaic-agent@), and/orRelated
Part of the "fleet that never sleeps" reliability set alongside #642 (stale-framework silent drift) and F1 premature-stop auto-continuation (
mosaic coord continue/run, see ORCHESTRATOR-PROTOCOL.md).