fix: respect new chat boundaries in Phase 4 handoffs
BMAD workflows require fresh chats between agent changes to prevent context pollution. Removed cross-agent handoffs that would suggest continuing in the same chat: - create-story no longer hands off to dev-story (different agent) - code-review no longer hands off to create-story (different agent) - dev-story → code-review retained (same DEV agent)
This commit is contained in:
parent
a493151d8b
commit
ce1ae65c3f
|
|
@ -103,7 +103,8 @@ const workflowPromptsConfig = {
|
||||||
|
|
||||||
// ═══════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
// Phase 4 - Implementation: The "Keep Going" Cycle
|
// Phase 4 - Implementation: The "Keep Going" Cycle
|
||||||
// SM → create-story → DEV → dev-story → code-review → (create-story | retrospective)
|
// New chat → SM → create-story → New chat → DEV → dev-story → code-review
|
||||||
|
// Each step should be a NEW CHAT to maximize context capacity
|
||||||
// ═══════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
{
|
{
|
||||||
name: 'create-story',
|
name: 'create-story',
|
||||||
|
|
@ -111,7 +112,7 @@ const workflowPromptsConfig = {
|
||||||
shortcut: 'CS',
|
shortcut: 'CS',
|
||||||
description: '[CS] Create developer-ready story from epic',
|
description: '[CS] Create developer-ready story from epic',
|
||||||
prompt: '*create-story',
|
prompt: '*create-story',
|
||||||
handoffs: ['dev-story'], // After story creation: implement it
|
handoffs: [], // No handoff - user starts new chat with DEV agent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'dev-story',
|
name: 'dev-story',
|
||||||
|
|
@ -119,7 +120,7 @@ const workflowPromptsConfig = {
|
||||||
shortcut: 'DS',
|
shortcut: 'DS',
|
||||||
description: '[DS] Implement the current story',
|
description: '[DS] Implement the current story',
|
||||||
prompt: '*dev-story',
|
prompt: '*dev-story',
|
||||||
handoffs: ['code-review'], // After implementation: review
|
handoffs: ['code-review'], // Same agent, can stay in chat
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'code-review',
|
name: 'code-review',
|
||||||
|
|
@ -127,7 +128,7 @@ const workflowPromptsConfig = {
|
||||||
shortcut: 'CR',
|
shortcut: 'CR',
|
||||||
description: '[CR] Perform code review on implementation',
|
description: '[CR] Perform code review on implementation',
|
||||||
prompt: '*code-review',
|
prompt: '*code-review',
|
||||||
handoffs: ['create-story', 'retrospective'], // After review: next story or retro
|
handoffs: [], // No handoff - user starts new chat for next story
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'retrospective',
|
name: 'retrospective',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue