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
agentctl launch opencode|codex sessions silently die ~45s after start; direct CLI invocation works #172
agentctl launch opencode --model ohm/moonshotai/Kimi-K2.6 and agentctl launch codex --model openai/gpt-5.4 both report status: stopped within 30-50s of launch with no useful output. peek <id> returns "Session not found" immediately after. Direct invocation of opencode run --model ohm/moonshotai/Kimi-K2.6 "..." from the same worktree, with the same model, works correctly and produces normal output.
Repro (2026-05-04 PDT)
Worktree at HEAD with node_modules present.
agentctl launch opencode --model ohm/moonshotai/Kimi-K2.6 --cwd <worktree> -p "<task>" — returns session id, exits, then agentctl status <id> reports stopped within ~50s. peek <id> → "Session not found."
agentctl launch codex --model openai/gpt-5.4 --cwd <worktree> -p "Say HI" — same fast-stop pattern, codex rollout JSONL written but only contains task_started → task_complete with last_agent_message: null and no token_count event.
opencode run --model ohm/moonshotai/Kimi-K2.6 "Say HI" from the same shell, same cwd → returns "HI" normally and runs full task to completion.
Expected
agentctl launch for opencode/codex should produce a long-lived session that matches what the underlying CLI does when invoked directly.
Impact
PR review fix-up loops fail silently. Had to bypass agentctl and launch opencode run directly via nohup to land the round 3 fixes on PR UsableMachines/mono#9954.
Activity