workflow phase 4 only has single sprint planning item in it now

This commit is contained in:
Brian Madison 2025-10-25 10:44:46 -05:00
parent cf13e81dd5
commit 994f251687
14 changed files with 33 additions and 494 deletions

View File

@ -70,8 +70,6 @@ PROJECT_LEVEL: 2
FIELD_TYPE: greenfield
CURRENT_PHASE: 2-Planning
CURRENT_WORKFLOW: prd
TODO_STORY: story-1.2.md
IN_PROGRESS_STORY: story-1.1.md
NEXT_ACTION: Continue PRD
NEXT_COMMAND: prd
NEXT_AGENT: pm
@ -79,9 +77,9 @@ NEXT_AGENT: pm
Any agent can instantly grep what they need:
- SM: `grep 'TODO_STORY:' status.md`
- DEV: `grep 'IN_PROGRESS_STORY:' status.md`
- Any: `grep 'NEXT_ACTION:' status.md`
- Any: `grep 'CURRENT_PHASE:' status.md`
- Any: `grep 'NEXT_COMMAND:' status.md`
## Project Levels
@ -140,7 +138,7 @@ The init workflow intelligently detects:
```
Agent: workflow-status
Result: "TODO: story-1.2.md, Next: create-story"
Result: "Current: Phase 2 - Planning, Next: prd (pm agent)"
```
### New Project Setup
@ -208,12 +206,17 @@ Instead of complex if/else logic:
Other workflows read the status to coordinate:
- `create-story` reads TODO_STORY
- `dev-story` reads IN_PROGRESS_STORY
- Any workflow can check CURRENT_PHASE
- Workflows can verify prerequisites are complete
- All agents can ask "what should I do?"
The status file is the single source of truth for project state and the hub that keeps all agents synchronized.
**Phase 4 (Implementation):**
- workflow-status only tracks sprint-planning completion
- After sprint-planning, all story/epic tracking happens in the sprint plan output file
- Phase 4 workflows do NOT read/write workflow-status (except sprint-planning for prerequisite verification)
The status file is the single source of truth for Phases 1-3 and the hub that keeps all agents synchronized.
## Benefits

View File

@ -154,15 +154,6 @@ Is that correct? (y/n or tell me what's different)</ask>
<template-output>phase_2_complete</template-output>
<template-output>phase_3_complete</template-output>
<template-output>phase_4_complete</template-output>
<template-output>ordered_story_list = "[]"</template-output>
<template-output>todo_story</template-output>
<template-output>todo_title</template-output>
<template-output>in_progress_story</template-output>
<template-output>in_progress_title</template-output>
<template-output>completed_story_list = "[]"</template-output>
<template-output>backlog_count</template-output>
<template-output>done_count</template-output>
<template-output>total_stories</template-output>
<ask>Ready to create your workflow status file? (y/n)</ask>

View File

@ -77,13 +77,6 @@ Parse these fields:
**Phase:** {{CURRENT_PHASE}}
**Current Workflow:** {{CURRENT_WORKFLOW}}
{{#if CURRENT_PHASE == "4-Implementation"}}
**Development Queue:**
- TODO: {{TODO_STORY}} - {{TODO_TITLE}}
- IN PROGRESS: {{IN_PROGRESS_STORY}} - {{IN_PROGRESS_TITLE}}
{{/if}}
## 🎯 Your Options
{{#if CURRENT_WORKFLOW != "complete"}}

View File

@ -44,32 +44,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
note: "Include existing code context"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
story_naming: "story-<short-title>.md"
story_example: "story-fix-auth-bug.md"
max_stories: 1
brownfield_note: "Ensure changes align with existing patterns"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -48,37 +48,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
story_loop: "for_each_story"
workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
note: "Include existing code context"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
story_naming: "story-<short-title>.md"
story_example: "story-add-auth.md, story-update-dashboard.md"
max_stories: 10
brownfield_note: "Ensure changes align with existing patterns and architecture"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -66,41 +66,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
story_loop: "for_each_story"
workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
note: "Include existing code context"
- id: "validate-story-context"
optional: true
agent: "sm"
command: "validate-story-context"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
story_naming: "story-<short-title>.md"
story_example: "story-user-dashboard.md, story-api-integration.md"
max_stories: 15
brownfield_note: "Balance new features with existing system stability"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -85,64 +85,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
epic_loop: "for_each_epic"
epic_iteration:
setup_workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
note: "Must respect existing patterns"
story_loop: "for_each_story_in_epic"
story_workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
note: "Heavy emphasis on existing code context"
- id: "validate-story-context"
optional: true
agent: "sm"
command: "validate-story-context"
note: "Ensure no breaking changes"
- id: "story-ready"
optional: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
note: "Check integration points"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
completion_workflows:
- id: "integration-test"
required: true
agent: "dev"
command: "integration-test"
- id: "retrospective"
required: true
agent: "sm"
command: "retrospective"
story_naming: "story-<epic>.<story>.md"
brownfield_note: "All changes must integrate seamlessly with existing system"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -79,68 +79,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
epic_loop: "for_each_epic"
epic_iteration:
setup_workflows:
- id: "tech-spec"
required: true
agent: "sm"
command: "tech-spec"
note: "JIT per epic - creates stories considering existing code"
story_loop: "for_each_story_in_epic"
story_workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
note: "Extensive existing code context required"
- id: "validate-story-context"
optional: true
agent: "sm"
command: "validate-story-context"
- id: "story-ready"
optional: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
note: "Rigorous review for enterprise changes"
- id: "integration-test"
optional: true
agent: "dev"
command: "integration-test"
note: "Test integration with existing systems"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
completion_workflows:
- id: "retrospective"
required: true
agent: "sm"
command: "retrospective"
note: "Critical for enterprise-scale learning"
story_naming: "story-<epic>.<story>.md"
story_example: "story-1.1.md, story-2.3.md"
epic_structure: "JIT tech-specs per epic create stories"
enterprise_note: "Maintain system stability while implementing major changes"
brownfield_note: "Extensive regression testing and backward compatibility required"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -62,72 +62,12 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
note: "Implementation varies by game complexity"
level_based_implementation:
level_0_1:
story_loop: "for_each_story"
workflows:
- id: "create-story"
required: true
agent: "sm"
- id: "story-context"
required: true
agent: "sm"
- id: "dev-story"
required: true
agent: "dev"
- id: "story-done"
required: true
agent: "dev"
level_2_4:
feature_loop: "for_each_feature"
feature_workflows:
- id: "tech-spec"
optional: true
agent: "architect"
note: "Per major feature"
story_loop: "for_each_story_in_feature"
story_workflows:
- id: "create-story"
required: true
agent: "sm"
- id: "story-context"
required: true
agent: "sm"
- id: "validate-story-context"
optional: true
agent: "sm"
- id: "dev-story"
required: true
agent: "dev"
- id: "review-story"
recommended: true
agent: "dev"
- id: "story-done"
required: true
agent: "dev"
feature_completion:
- id: "playtest"
required: true
agent: "game-designer"
command: "playtest"
- id: "retrospective"
optional: true
agent: "sm"
story_naming:
level_0_1: "story-<feature>.md"
level_2_4: "story-<feature>.<n>.md"
story_examples:
- "story-player-movement.md"
- "story-inventory-1.md"
- "story-combat-system-3.md"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"
special_considerations:
- "Iterative playtesting throughout development"

View File

@ -37,30 +37,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
story_naming: "story-<short-title>.md"
story_example: "story-fix-login.md"
max_stories: 1
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -41,39 +41,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
story_loop: "for_each_story"
workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
- id: "story-ready"
optional: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
story_naming: "story-<title>-<n>.md"
story_example: "story-oauth-integration-1.md"
max_stories: 3
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -70,49 +70,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
story_loop: "for_each_story"
workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
- id: "validate-story-context"
optional: true
agent: "sm"
command: "validate-story-context"
- id: "story-ready"
optional: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
epic_completion:
- id: "retrospective"
optional: true
agent: "sm"
command: "retrospective"
note: "After each epic completes"
story_naming: "story-<epic>.<story>.md"
story_example: "story-1.1.md, story-2.3.md"
epic_structure: "Numbered epics with numbered stories"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -65,58 +65,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
epic_loop: "for_each_epic"
epic_iteration:
setup_workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
note: "JIT per epic - creates stories for that epic"
story_loop: "for_each_story_in_epic"
story_workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
- id: "validate-story-context"
optional: true
agent: "sm"
command: "validate-story-context"
- id: "story-ready"
optional: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
completion_workflows:
- id: "retrospective"
recommended: true
agent: "sm"
command: "retrospective"
story_naming: "story-<epic>.<story>.md"
story_example: "story-1.1.md, story-2.3.md"
epic_structure: "JIT tech-specs per epic create stories"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"

View File

@ -67,60 +67,9 @@ phases:
- phase: 4
name: "Implementation"
required: true
phase_initialization:
workflows:
- id: "sprint-planning"
required: true
agent: "sm"
command: "sprint-planning"
note: "Initialize sprint tracking - run once when entering Phase 4"
epic_loop: "for_each_epic"
epic_iteration:
setup_workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
note: "JIT per epic - creates stories for that epic"
story_loop: "for_each_story_in_epic"
story_workflows:
- id: "create-story"
required: true
agent: "sm"
command: "create-story"
- id: "story-context"
required: true
agent: "sm"
command: "story-context"
- id: "validate-story-context"
optional: true
agent: "sm"
command: "validate-story-context"
- id: "story-ready"
optional: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
optional: true
agent: "dev"
command: "review-story"
- id: "story-done"
required: true
agent: "dev"
command: "story-done"
completion_workflows:
- id: "retrospective"
required: true
agent: "sm"
command: "retrospective"
note: "Critical for enterprise-scale learning"
story_naming: "story-<epic>.<story>.md"
story_example: "story-1.1.md, story-2.3.md"
epic_structure: "JIT tech-specs per epic create stories"
enterprise_note: "Rigorous validation and reviews required at scale"
note: "Creates sprint plan with all stories - subsequent work tracked in sprint plan output, not workflow-status"