Skip to content

hcoord agent spawn fails lineage with identity_conflict because the spawned pane has no name #236

Closed

Description

@yansfil

What happened

hcoord agent spawn --parent here --kind claude --name <name> --intent <key> --repo <repo> --branch <branch> --path <path> -- <claude flags> "<prompt>" created the worktree and the Herdr workspace and started Claude on its prompt, then failed:

hcoord: identity_conflict: spawn pane hosts a different execution; no binding was changed

The spawned pane's agent has no name (herdr pane list reports name: null), and inspectSpawnedAgent (plugins/hcoord/src/hcoord/herdr.ts:193) requires found.agent.name === record.name.
Renaming the pane with herdr agent rename <pane> <name> and rerunning the identical command with the same --intent then printed "lineage": {"status": "written"} without starting anything new.
This happened on all nine spawns on 2026-09-28.

What you expected

The first spawn call names the pane it creates, or passes the name to herdr agent start in a form Herdr keeps, so the lineage is written without a manual rename and retry.

Steps to reproduce

  1. From a named pane with a reported Claude session, run the spawn above with --kind claude.
  2. Read herdr pane list --workspace <new workspace>: the new pane's agent has no name, and the command exits with identity_conflict.

Versions

  • hcoord: the installed ~/.hcoord/bin/hcoord (plugin source plugins/hcoord at 25a2eba)
  • Herdr: 0.9.1
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions