agent-name.sh claude-* gate rejects coily codex-/openclaw- names, silently falls back #106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
scripts/agent-name.shaccepts the name fromcoily agent-nameonly when it matchesclaude-*(and is[a-z0-9-]-clean):So a coily-emitted
codex-…oropenclaw-…name is rejected and the script silently falls back to the claude-onlylocal_name(nowclaude-…-she-her). The prefix-swap that FEATURES and the AGENTS doctrine describe ("Codex and OpenClaw swap theclaude-prefix") was never actually wired through this gate.Impact today: none. Codex and OpenClaw run their own harnesses, not this Claude Code status-line / SessionStart hook, so the gate only ever sees
claude-names. Filed so the gap is tracked, not because it bites now.Fix sketch: widen the accept pattern to
claude-* | codex-* | openclaw-*(or validate the slug shape rather than the prefix), and teachlocal_nameto derive the prefix + pronoun slug from the actual agent rather than hardcodingclaude/she-her. Came out of the agent-pronouns work (#104, coilyco-bridge/coily#157).