Files
Claude-Code-Workflow/.claude/skills/team-lifecycle-v2/CHANGELOG.md
catlog22 bf057a927b Add quality gates, role library, and templates for team lifecycle v3
- 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.
2026-03-05 10:20:42 +08:00

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: Removed subagents: [discuss], replaced discuss subagent call with parallel CLI calls
  • role-specs/writer.md: Removed subagents: [discuss], replaced discuss subagent call with parallel CLI calls
  • role-specs/reviewer.md: Removed subagents: [discuss], replaced discuss subagent call with parallel CLI calls
  • role-specs/planner.md: Updated complexity routing table to reference CLI exploration
  • role-specs/architect.md: Removed subagents: [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 })