mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-06 16:31:12 +08:00
- Introduced quality gates documentation outlining scoring dimensions and per-phase criteria. - Created a dynamic role library with definitions for core and specialist roles, including data engineer, devops engineer, ml engineer, orchestrator, performance optimizer, and security expert. - Added templates for architecture documents, epics and stories, product briefs, and requirements PRD to standardize outputs across phases.
2.0 KiB
2.0 KiB
Changelog
v2.1 - Architecture Fix (2026-03-05)
Fixed
- Critical: Removed subagent calls from worker role-specs
- Workers now correctly use CLI tools instead of attempting Agent() spawn
- Removed subagents directory (workers cannot use it)
- Updated SKILL.md to clarify architectural constraints
Changed
- Multi-perspective critique: Now uses parallel CLI calls
- Codebase exploration: Now uses
ccw cli --tool gemini - Document generation: Now uses
ccw cli --tool gemini --mode write
Impact
- No functional change for users
- Implementation now architecturally correct
- Workers will no longer fail with "Unknown skill: Agent"
Files Modified
SKILL.md: Replaced "Subagent Registry" with "CLI Tool Usage in Workers"role-specs/analyst.md: Removedsubagents: [discuss], replaced discuss subagent call with parallel CLI callsrole-specs/writer.md: Removedsubagents: [discuss], replaced discuss subagent call with parallel CLI callsrole-specs/reviewer.md: Removedsubagents: [discuss], replaced discuss subagent call with parallel CLI callsrole-specs/planner.md: Updated complexity routing table to reference CLI explorationrole-specs/architect.md: Removedsubagents: [explore]subagents/: Directory removed
Technical Details
Why Workers Cannot Spawn Subagents:
When a worker attempts Agent(), it fails with "Unknown skill: Agent". Only the Coordinator (main conversation context) can spawn agents.
Worker Capabilities:
- ✅ Built-in tools: Read, Write, Edit, Bash, Grep, Glob
- ✅ CLI tools:
ccw cli --tool gemini/codex/qwen - ❌ Agent spawn: Cannot call
Agent()to spawn subagents
Multi-Perspective Critique Implementation:
Workers now use parallel CLI calls with run_in_background: true:
Bash(`ccw cli -p "..." --tool gemini --mode analysis`, { run_in_background: true })
Bash(`ccw cli -p "..." --tool codex --mode analysis`, { run_in_background: true })
Bash(`ccw cli -p "..." --tool claude --mode analysis`, { run_in_background: true })