Skip to content

Bug: agentctl launch truncates pending session IDs to non-unique 'pending-' #71

Closed

Description

@c-h-

What happened

Running agentctl launch can print:

Launched session pending- (PID: 69460)

The session ID is truncated to pending-, which is not unique and looks like a regression.

Expected

Launch output should show a unique, actionable session identifier (full ID or unambiguous short form).

Repro

agentctl launch claude-code -p "test pending id repro" --cwd /Users/ms/personal/agentctl

Observed output included Launched session pending- (PID: ...).

Suspected cause

src/cli.ts launch path uses session.id.slice(0, 8). For pending-<pid>, first 8 chars are always pending-.

Environment

  • agentctl 1.5.0
  • macOS Darwin 25.2.0 arm64
  • daemon mode enabled
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