Files
Codeman/.changeset/msgskill-cross-session.md
T
Codeman maintainer 64b33eb630 feat: pass --name to local claude spawns so workers carry their session names as peer names
Version-gated fail-closed at 2.1.224 (the cross-session-messaging release,
flag presence verified against that binary): an unknown or older CLI yields
a spawn command byte-identical to before, because claude aborts startup on
an unknown option and that would kill every session spawn. The value is
allowlist-sanitized ahead of the double-quoted interpolation, and only the
local command carries the flag; docker/remote builders never see it since
their CLI is not the probed binary. Verified E2E on an isolated instance:
cmdline shows --name, ListAgents lists the session name, replies arrive
tagged from-name.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 13:23:24 +02:00

1.6 KiB

aicodeman
aicodeman
minor

Cross-session messaging integration, two halves. Workers now carry their Codeman session names as messaging peer names: local claude spawns pass --name <session name> when the installed CLI is 2.1.224+ (the cross-session-messaging release). The gate is fail-closed, since an older claude aborts startup on an unknown option: an unknown or older version yields a spawn command byte-identical to before, the value is allowlist-sanitized before shell interpolation, and docker/remote spawns never carry the flag (their CLI is not the probed binary). Verified end to end on an isolated instance: the worker lists as its session name in ListAgents, and its replies arrive tagged from-name="<session name>".

The Codeman agent skill teaches cross-session messaging: drive claude workers over ListAgents/SendMessage where available, map rows to Codeman sessions via the tmux codeman-<id8> column, deliver multi-line exactly-once task messages (including mid-turn steering), collect results as latched replies instead of polling, and fall back to the HTTP recipes whenever the feature is absent (version, feature flag, telemetry-disabling env vars, Docker/remote cases, non-claude modes). Adds reference/messaging.md (ships automatically, the installer enumerates reference/*.md), fan-out Flow 5 in reference/recipes.md, troubleshooting rows in reference/endpoints.md, and safety rules for the shared peer namespace (message only workers you created, no permission laundering in either direction). All mechanics verified live against claude-cli 2.1.226.