Skip to content

Commit 3d2bebc

Browse files
Maxclaude
andcommitted
Remove auto-chain handoffs from all pipeline phases
Each speckit phase (specify, plan, tasks, implement) previously had `handoffs` with `send: true`, causing the entire pipeline to fire as one unstoppable chain. This creates critical issues in automated/headless environments: - Session contamination when phases inherit stale context from prior runs - Zombie processes from auto-chained phases that survive process kills - Wrong-issue execution when environment is reused across issues - Loss of orchestrator control between phases (no verify step possible) Fix: remove all handoff frontmatter so each phase completes its work, reports what it did, and stops. The caller decides when to advance. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 189ac56 commit 3d2bebc

4 files changed

Lines changed: 0 additions & 31 deletions

File tree

templates/commands/implement.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
---
22
description: Execute tasks from tasks.md
3-
handoffs:
4-
- label: Analyze
5-
agent: speckit.analyze
6-
prompt: Check implementation consistency
7-
send: true
83
---
94

105
**INPUT**: `$ARGUMENTS`

templates/commands/plan.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
---
22
description: Create technical implementation plan from specification
3-
handoffs:
4-
- label: Tasks
5-
agent: speckit.tasks
6-
prompt: Generate task list
7-
send: true
8-
- label: Checklist
9-
agent: speckit.checklist
10-
prompt: Validate plan quality
113
---
124

135
**INPUT**: `$ARGUMENTS`

templates/commands/specify.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
---
22
description: Create feature specification from GitHub issue
3-
handoffs:
4-
- label: Plan
5-
agent: speckit.plan
6-
prompt: Create technical plan
7-
send: true
8-
- label: Clarify
9-
agent: speckit.clarify
10-
prompt: Resolve open questions
11-
send: true
123
---
134

145
**INPUT**: `$ARGUMENTS`

templates/commands/tasks.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
---
22
description: Generate actionable task list from plan
3-
handoffs:
4-
- label: Implement
5-
agent: speckit.implement
6-
prompt: Execute tasks
7-
send: true
8-
- label: Analyze
9-
agent: speckit.analyze
10-
prompt: Check consistency
11-
send: true
123
---
134

145
**INPUT**: `$ARGUMENTS`

0 commit comments

Comments
 (0)