PR #1139 added <available_agent_types> sections to execute-phase.md and plan-phase.md to prevent /clear from causing silent fallback to general-purpose. However, 14 other workflows and 2 commands that also spawn named GSD agents were missed, leaving them vulnerable to the same regression after /clear. Added <available_agent_types> listing to: research-phase, quick, audit-milestone, diagnose-issues, discuss-phase-assumptions, execute-plan, map-codebase, new-milestone, new-project, ui-phase, ui-review, validate-phase, verify-work (workflows) and debug, research-phase (commands). Added regression test that enforces every workflow/command spawning named subagent_type must have a matching <available_agent_types> section listing all spawned types. Fixes #1357 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 KiB
18 KiB