-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Description
Summary
The tasks-parallel-analysis.md rule file defines (P) markers for identifying parallel-capable tasks, but spec-impl command does not utilize these markers for actual parallel execution.
This issue applies to Claude Code Subagents mode:
npx cc-sdd@latest --claude-agent # Claude Code SubagentsCurrent Behavior
tasks-parallel-analysis.mdprovides rules for marking tasks with(P)(e.g.,- [ ] 2.1 (P) Build background worker)spec-tasksgenerates tasks with(P)markers when parallel criteria are metspec-implexecutes all tasks sequentially, ignoring(P)markers
Expected Behavior
When executing multiple tasks without --sequential flag:
- Tasks marked with
(P)should be executed in parallel (multiple subagent invocations in a single message) - Tasks without
(P)should continue to execute sequentially to respect dependencies
Proposed Implementation
- Add
--sequentialflag tospec-implcommand - Detect
(P)markers in selected tasks fromtasks.md - When
--sequentialis NOT provided:- Group
(P)marked tasks and invoke multiplespec-tdd-impl-agentsubagents in parallel - Execute non-
(P)tasks sequentially
- Group
- When
--sequentialis provided:- Execute all tasks sequentially (ignore
(P)markers)
- Execute all tasks sequentially (ignore
Example Usage
# Parallel execution for (P) marked tasks (default)
/kiro:spec-impl my-feature 1,2,3
# Force sequential execution
/kiro:spec-impl my-feature 1,2,3 --sequentialRelated Files
docs/settings/rules/tasks-parallel-analysis.md- Defines(P)marking conventions.claude/commands/kiro/spec-impl.md- Command implementation (needs update)
Metadata
Metadata
Assignees
Labels
No labels