Skip to content

agentctl stop/peek: 'Session not found' for currently-running session #177

Open

Description

@doink-kindo

Repro

agentctl list -a shows session 66a11241 as running, but:

$ agentctl stop 66a11241 --force
Session not found: 66a11241-3b36-4c09-a9e7-8694227824b3

$ agentctl peek 66a11241 -n 50
Session not found: 66a11241

$ agentctl status 66a11241 --json
{ "id": "66a11241-3b36-4c09-a9e7-8694227824b3", "status": "running", ... }

Both short ID and full UUID are rejected by stop/peek but accepted by status. Had to kill -9 the wrapper PID directly.

Impact

Cannot stop or inspect a stuck/idle session through normal CLI. Operators are forced to find and kill PIDs manually.

Adapter / version

  • adapter: opencode (ohm/moonshotai/Kimi-K2.6)
  • macOS arm64
  • agentctl version: $(agentctl --version)

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