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 resume silently no-ops when target session is not actively running (returns 'Resumed session <id>' but doesn't actually resume) #184
$ agentctl status 5d7d6876
ID 5d7d6876
Status stopped
Adapter claude-code
Model claude-opus-4-7
$ agentctl resume 5d7d6876 "<message>"
Resumed session 5d7d6876
$ agentctl list -a | grep 5d7d6876
# (no rows — agent is NOT in running list)
Expected
Either:
Resume actually re-launches the stopped session (relaunching the underlying claude-code process and feeding the message), OR
Returns a non-zero exit code with a clear error: "cannot resume — session X has exited; relaunch with agentctl launch"
Actual
Returns Resumed session <id> exit-0 but the underlying process is not relaunched, so the operator believes work is in progress when in fact nothing is happening. Caught when peeking at the session 15 minutes later and seeing it was still parked at its 'stopped to ask question' checkpoint.
Workaround
Use agentctl launch ... --force against the worktree instead. Lose the previous transcript context.
Impact
Operator/agent loses time believing a resumed session is making progress when it isn't. Especially bad when the resume call is fired from a parent coordinator that then assumes the child is running and doesn't recheck status.
Suggested fix
Either:
Make resume actually re-launch the underlying process if it's exited (preserve session id + transcript, spawn a new claude-code process with the new message appended)
Or make resume fail loudly when the session has exited, with a clear hint to use agentctl launch --force for a fresh start
Activity