-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ComposeAgent crashes: unquoted {PRINCIPAL.NAME} YAML key in Traits.yaml #1012
Copy link
Copy link
Open
Description
Bug
ComposeAgent.ts crashes on every invocation with:
YAMLParseError: Map comment with trailing content at line 175, column 5
code: "IMPOSSIBLE"
Root Cause
In Releases/v4.0.3/.claude/skills/Agents/Data/Traits.yaml, line 175:
{PRINCIPAL.NAME}:
voice_id: "onwK4e9ZLuTAKqWW03F9"{PRINCIPAL.NAME} is unquoted. YAML interprets {} as flow mapping syntax, so the parser sees an inline map followed by a trailing : — which is invalid.
Fix
Quote the key:
"{PRINCIPAL.NAME}":
voice_id: "onwK4e9ZLuTAKqWW03F9"One-character fix. No other unquoted {PRINCIPAL.NAME} keys exist in the YAML files.
Reproduction
bun run ~/.claude/skills/Agents/Tools/ComposeAgent.ts --traits "technical,analytical,thorough" --task "any task"Crashes 100% of the time on a clean v4.0.3 install.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels