Skip to content

Bug: agentctl resume cannot find running session that agentctl status/list can see #169

Open

Description

@doink-kindo

What happened

agentctl resume fails with Session not found for resume for a running opencode session that is visible via both agentctl list -a and agentctl status.

What was expected

If a session is visible to list/status, agentctl resume should be able to target it (or clearly report that resume only works for stopped sessions).

How to reproduce

From macOS:

agentctl list -a
agentctl status bafb82a5 --json
agentctl resume bafb82a5 "test message"

Observed:

  • list -a shows running session bafb82a5
  • status bafb82a5 --json returns full session metadata including full UUID bafb82a5-ec60-4f98-b40a-ce7211e37544
  • resume bafb82a5 ... fails with:
    Session not found for resume: bafb82a5-ec60-4f98-b40a-ce7211e37544

Also reproduced with:

agentctl resume --adapter opencode bafb82a5 "test message"

Same failure.

Workaround

No clean workaround yet. In my case I had to avoid resuming the existing session and use other orchestration paths.

Environment

  • OpenClaw workspace: kindo
  • host OS: Darwin 25.4.0 (arm64)
  • node: v25.5.0
  • agentctl session adapter: opencode
  • model: ohm/moonshotai/Kimi-K2.6
  • observed on 2026-04-24

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions