[Feature]: Explicit task dependency declarations in tasks.md to enable parallel execution
Problem Statement
The default tasks-template.md lists tasks sequentially with no dependency metadata. Agents cannot determine which tasks are independent and safe to run concurrently.
Proposed Solution
Add three constructs to the tasks template:
1. (depends on ...) suffix on each task
- [ ] T001 Create project structure
- [ ] T002 Initialize project with dependencies (depends on T001)
- [ ] T003 Configure linting tools (depends on T001)
Tasks with no dependencies omit the suffix. This is required for any task that depends on another.
2. Dependency DAG section at the bottom of tasks.md
## Dependencies & Execution Order
Wave 1: T001 (no deps)
Wave 2: T002, T003 (T001 done → parallel)
Wave 3: T004, T005, T006 (T002 done → parallel agents)
...
Alternatives Considered
No response
Component
Spec templates (BDD, Testing Strategy, etc.)
AI Agent (if applicable)
None
Use Cases
No response
Acceptance Criteria
No response
Additional Context
Why
/implementcan schedule tasks optimally instead of strict sequential execution/taskstoissuescan generate GitHub Issues with "blocked by" references
@wakita181009 for my specify I state "TDD" with details about coverage, workflow, and absolutly required tests. Then my plan and tasks have TDD intermingled. The plan is in phases each of which has any prerequisite, like: **Prerequisites**: Phase 1 design complete and committed and this dependency is also recorded into the tasks.
The plan/task phases are grouped into user stories and then tasks into task groups that are parallelizable within a user story. Each task is either parallel [P] or individual in dependency order. i.e., specify and plan commands can be prompted to have spec/plan/tasks set up for iterative loops.
This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed due to inactivity (90 days total). If you believe this issue is still relevant, please reopen it or create a new issue.