workflow references to moved workflow status workflow

This commit is contained in:
Brian Madison
2025-10-17 22:34:21 -05:00
parent af8e296e6f
commit b54bb9e47d
82 changed files with 55487 additions and 624 deletions

View File

@@ -0,0 +1,69 @@
# Brownfield Level 0 - Single Atomic Change in Existing Codebase
# One change to existing system
project_type: "software"
level: 0
field_type: "brownfield"
description: "Single atomic change to existing codebase"
phases:
- phase: 0
name: "Documentation"
conditional: "if_undocumented"
workflows:
- id: "document-project"
required: true
agent: "analyst"
command: "document-project"
output: "Codebase documentation"
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
output: "Creates single story file"
note: "Must understand existing patterns"
- phase: 3
name: "Solutioning"
skip: true
- phase: 4
name: "Implementation"
required: true
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-approved"
required: true
agent: "dev"
command: "story-approved"
story_naming: "story-<short-title>.md"
story_example: "story-fix-auth-bug.md"
max_stories: 1
brownfield_note: "Ensure changes align with existing patterns"

View File

@@ -0,0 +1,77 @@
# Brownfield Level 1 - Small Feature in Existing Codebase
# 1-10 stories adding to existing system
project_type: "software"
level: 1
field_type: "brownfield"
description: "Small feature addition to existing codebase"
phases:
- phase: 0
name: "Documentation"
conditional: "if_undocumented"
workflows:
- id: "document-project"
required: true
agent: "analyst"
command: "document-project"
output: "Codebase documentation"
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
optional: true
agent: "analyst"
command: "research"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
output: "Creates story files for feature"
note: "Must integrate with existing architecture"
- phase: 3
name: "Solutioning"
skip: true
- phase: 4
name: "Implementation"
required: true
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-approved"
required: true
agent: "dev"
command: "story-approved"
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"

View File

@@ -0,0 +1,95 @@
# Brownfield Level 2 - Medium Project in Existing Codebase
# 5-15 stories, multiple features added to existing system
project_type: "software"
level: 2
field_type: "brownfield"
description: "Medium project adding multiple features to existing codebase"
phases:
- phase: 0
name: "Documentation"
conditional: "if_undocumented"
workflows:
- id: "document-project"
required: true
agent: "analyst"
command: "document-project"
output: "Codebase documentation"
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
optional: true
agent: "analyst"
command: "research"
- id: "product-brief"
optional: true
agent: "analyst"
command: "product-brief"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "prd"
recommended: true
agent: "pm"
command: "prd"
output: "Focused PRD for new features"
note: "Must consider existing system constraints"
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
output: "Creates multiple story files"
note: "Integrate with existing patterns"
- id: "ux-spec"
conditional: "if_has_ui"
agent: "pm"
command: "ux-spec"
- phase: 3
name: "Solutioning"
skip: true
- phase: 4
name: "Implementation"
required: true
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"
recommended: true
agent: "dev"
command: "review-story"
- id: "story-approved"
required: true
agent: "dev"
command: "story-approved"
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"

View File

@@ -0,0 +1,135 @@
# Brownfield Level 3 - Complex Integration with Existing System
# Major feature addition requiring architectural integration
project_type: "software"
level: 3
field_type: "brownfield"
description: "Complex integration with existing system architecture"
phases:
- phase: 0
name: "Documentation"
conditional: "if_undocumented"
workflows:
- id: "document-project"
required: true
agent: "analyst"
command: "document-project"
output: "Comprehensive codebase documentation"
- phase: 1
name: "Analysis"
recommended: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
recommended: true
agent: "analyst"
command: "research"
note: "Research existing architecture patterns"
- id: "product-brief"
recommended: true
agent: "analyst"
command: "product-brief"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "prd"
required: true
agent: "pm"
command: "prd"
output: "Requirements with integration points"
- id: "ux-spec"
conditional: "if_has_ui"
agent: "pm"
command: "ux-spec"
note: "Must align with existing UI patterns"
- phase: 3
name: "Solutioning"
required: true
workflows:
- id: "architecture-review"
required: true
agent: "architect"
command: "architecture-review"
note: "Review existing architecture first"
- id: "integration-planning"
required: true
agent: "architect"
command: "integration-planning"
output: "Integration strategy document"
- id: "solution-architecture"
required: true
agent: "architect"
command: "solution-architecture"
note: "Extension of existing architecture"
- id: "assess-project-ready"
required: true
agent: "sm"
command: "assess-project-ready"
- phase: 4
name: "Implementation"
required: true
epic_loop: "for_each_epic"
epic_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"
required: true
agent: "sm"
command: "validate-story-context"
note: "Ensure no breaking changes"
- id: "story-ready"
recommended: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
required: true
agent: "dev"
command: "review-story"
note: "Check integration points"
- id: "correct-course"
conditional: "if_review_fails"
agent: "dev"
command: "correct-course"
- id: "story-approved"
required: true
agent: "dev"
command: "story-approved"
epic_completion:
- id: "integration-test"
required: true
agent: "dev"
command: "integration-test"
- id: "retrospective"
required: true
agent: "pm"
command: "retrospective"
story_naming: "story-<epic>.<story>.md"
brownfield_note: "All changes must integrate seamlessly with existing system"

View File

@@ -0,0 +1,147 @@
# Brownfield Level 4 - Enterprise Scale Changes to Existing System
# 40+ stories, major expansion of existing enterprise system
project_type: "software"
level: 4
field_type: "brownfield"
description: "Enterprise scale expansion of existing system"
phases:
- phase: 0
name: "Documentation"
conditional: "if_undocumented"
workflows:
- id: "document-project"
required: true
agent: "analyst"
command: "document-project"
output: "Comprehensive codebase documentation"
note: "Critical for enterprise-scale changes"
- phase: 1
name: "Analysis"
required: true
workflows:
- id: "brainstorm-project"
recommended: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
required: true
agent: "analyst"
command: "research"
note: "Research existing system architecture deeply"
- id: "product-brief"
required: true
agent: "analyst"
command: "product-brief"
note: "Strategic brief for major expansion"
- id: "impact-assessment"
recommended: true
agent: "analyst"
command: "impact-assessment"
note: "Assess impact on existing systems"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "prd"
required: true
agent: "pm"
command: "prd"
output: "Comprehensive PRD considering existing system"
- id: "ux-spec"
required: true
agent: "pm"
command: "ux-spec"
note: "Multiple UI/UX specifications"
- id: "product-spec"
recommended: true
agent: "pm"
command: "product-spec"
note: "Detailed specifications for expansion"
- id: "migration-plan"
conditional: "if_breaking_changes"
agent: "architect"
command: "migration-plan"
- phase: 3
name: "Solutioning"
required: true
workflows:
- id: "solution-architecture"
required: true
agent: "architect"
command: "solution-architecture"
output: "Architecture for system expansion"
note: "Must maintain backward compatibility"
- id: "assess-project-ready"
required: true
agent: "sm"
command: "assess-project-ready"
note: "Critical validation before major changes"
- phase: 4
name: "Implementation"
required: true
epic_loop: "for_each_epic"
epic_workflows:
- id: "tech-spec"
required: true
agent: "architect"
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"
required: true
agent: "sm"
command: "validate-story-context"
- id: "story-ready"
required: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
required: true
agent: "dev"
command: "review-story"
note: "Rigorous review for enterprise changes"
- id: "correct-course"
conditional: "if_review_fails"
agent: "dev"
command: "correct-course"
- id: "integration-test"
required: true
agent: "dev"
command: "integration-test"
note: "Test integration with existing systems"
- id: "story-approved"
required: true
agent: "dev"
command: "story-approved"
epic_completion:
- id: "retrospective"
required: true
agent: "pm"
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"

View File

@@ -0,0 +1,125 @@
# Game Design - All Levels
# Game development follows a different path than software
project_type: "game"
level: "all"
field_type: "any"
description: "Game development workflow - applies to all complexity levels"
phases:
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-game"
optional: true
agent: "game-designer"
command: "brainstorm-game"
- id: "research"
optional: true
agent: "analyst"
command: "research"
note: "Market research, competitive analysis"
- id: "game-brief"
recommended: true
agent: "game-designer"
command: "game-brief"
output: "Game concept and vision document"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "gdd"
required: true
agent: "pm"
command: "gdd"
output: "Game Design Document with features and mechanics"
- id: "tech-spec"
conditional: "if_level_0_1"
agent: "architect"
command: "tech-spec"
note: "For simpler games, jump to implementation"
- phase: 3
name: "Solutioning"
conditional: "if_level_3_4"
workflows:
- id: "solution-architecture"
required: true
agent: "architect"
command: "solution-architecture"
note: "Engine architecture, networking, systems"
- id: "assess-project-ready"
required: true
agent: "sm"
command: "assess-project-ready"
- phase: 4
name: "Implementation"
required: true
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-approved"
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-approved"
required: true
agent: "dev"
feature_completion:
- id: "playtest"
required: true
agent: "game-designer"
command: "playtest"
- id: "retrospective"
optional: true
agent: "pm"
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"
special_considerations:
- "Iterative playtesting throughout development"
- "Art and audio pipelines run parallel to code"
- "Balance and tuning as ongoing process"

View File

@@ -0,0 +1,60 @@
# Greenfield Level 0 - Single Atomic Change
# The simplest possible workflow - one change, one story
project_type: "software"
level: 0
field_type: "greenfield"
description: "Single atomic change - bug fix, tiny feature, one story"
phases:
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "product-brief"
optional: true
agent: "analyst"
command: "product-brief"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
output: "Creates single story file"
- phase: 3
name: "Solutioning"
skip: true
- phase: 4
name: "Implementation"
required: true
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-approved"
required: true
agent: "dev"
command: "story-approved"
story_naming: "story-<short-title>.md"
story_example: "story-fix-login.md"
max_stories: 1

View File

@@ -0,0 +1,73 @@
# Greenfield Level 1 - Small Feature
# Coherent feature with 2-3 stories in a single epic
project_type: "software"
level: 1
field_type: "greenfield"
description: "Small coherent feature - 2-3 stories, single epic"
phases:
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
optional: true
agent: "analyst"
command: "research"
- id: "product-brief"
optional: true
agent: "analyst"
command: "product-brief"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "tech-spec"
required: true
agent: "architect"
command: "tech-spec"
output: "Creates 2-3 story files"
- phase: 3
name: "Solutioning"
skip: true
- phase: 4
name: "Implementation"
required: true
loop_type: "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-approved"
required: true
agent: "dev"
command: "story-approved"
story_naming: "story-<title>-<n>.md"
story_example: "story-oauth-integration-1.md"
max_stories: 3

View File

@@ -0,0 +1,93 @@
# Greenfield Level 2 - Medium Project
# Multiple epics with 10+ stories total
project_type: "software"
level: 2
field_type: "greenfield"
description: "Medium project - multiple epics, 10+ stories"
phases:
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
optional: true
agent: "analyst"
command: "research"
note: "Can have multiple research docs"
- id: "product-brief"
recommended: true
agent: "analyst"
command: "product-brief"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "prd"
required: true
agent: "pm"
command: "prd"
output: "Creates epics.md and story list"
- id: "ux-spec"
conditional: "if_has_ui"
agent: "pm"
command: "ux-spec"
- id: "tech-spec"
optional: true
agent: "architect"
command: "tech-spec"
note: "Lightweight technical planning"
- phase: 3
name: "Solutioning"
skip: true
- phase: 4
name: "Implementation"
required: true
loop_type: "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-approved"
required: true
agent: "dev"
command: "story-approved"
epic_completion:
- id: "retrospective"
optional: true
agent: "pm"
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"

View File

@@ -0,0 +1,109 @@
# Greenfield Level 3 - Complex System
# Subsystems, integrations, architectural decisions required
project_type: "software"
level: 3
field_type: "greenfield"
description: "Complex system - subsystems, integrations, architectural decisions"
phases:
- phase: 1
name: "Analysis"
optional: true
workflows:
- id: "brainstorm-project"
optional: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
optional: true
agent: "analyst"
command: "research"
note: "Multiple research areas likely"
- id: "product-brief"
recommended: true
agent: "analyst"
command: "product-brief"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "prd"
required: true
agent: "pm"
command: "prd"
output: "High-level requirements and epic definitions"
- id: "ux-spec"
conditional: "if_has_ui"
agent: "pm"
command: "ux-spec"
- phase: 3
name: "Solutioning"
required: true
workflows:
- id: "solution-architecture"
required: true
agent: "architect"
command: "solution-architecture"
output: "System-wide architecture document"
- id: "assess-project-ready"
required: true
agent: "sm"
command: "assess-project-ready"
note: "Validate architecture before implementation"
- phase: 4
name: "Implementation"
required: true
epic_loop: "for_each_epic"
epic_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"
recommended: 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"
recommended: true
agent: "dev"
command: "review-story"
- id: "correct-course"
conditional: "if_review_fails"
agent: "dev"
command: "correct-course"
- id: "story-approved"
required: true
agent: "dev"
command: "story-approved"
epic_completion:
- id: "retrospective"
recommended: true
agent: "pm"
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"

View File

@@ -0,0 +1,118 @@
# Greenfield Level 4 - Enterprise Scale
# Multiple products, enterprise architecture, 40+ stories
project_type: "software"
level: 4
field_type: "greenfield"
description: "Enterprise scale - multiple products, enterprise architecture"
phases:
- phase: 1
name: "Analysis"
required: true
workflows:
- id: "brainstorm-project"
recommended: true
agent: "analyst"
command: "brainstorm-project"
- id: "research"
required: true
agent: "analyst"
command: "research"
note: "Extensive research across multiple domains"
- id: "product-brief"
required: true
agent: "analyst"
command: "product-brief"
note: "Strategic brief for enterprise scope"
- phase: 2
name: "Planning"
required: true
workflows:
- id: "prd"
required: true
agent: "pm"
command: "prd"
output: "Comprehensive product requirements document"
- id: "ux-spec"
required: true
agent: "pm"
command: "ux-spec"
note: "Multiple UI/UX specifications needed"
- id: "product-spec"
recommended: true
agent: "pm"
command: "product-spec"
note: "Detailed product specifications"
- phase: 3
name: "Solutioning"
required: true
workflows:
- id: "solution-architecture"
required: true
agent: "architect"
command: "solution-architecture"
output: "Enterprise architecture documentation"
- id: "assess-project-ready"
required: true
agent: "sm"
command: "assess-project-ready"
note: "Critical validation before enterprise implementation"
- phase: 4
name: "Implementation"
required: true
epic_loop: "for_each_epic"
epic_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"
required: true
agent: "sm"
command: "validate-story-context"
- id: "story-ready"
recommended: true
agent: "sm"
command: "story-ready"
- id: "dev-story"
required: true
agent: "dev"
command: "dev-story"
- id: "review-story"
required: true
agent: "dev"
command: "review-story"
- id: "correct-course"
conditional: "if_review_fails"
agent: "dev"
command: "correct-course"
- id: "story-approved"
required: true
agent: "dev"
command: "story-approved"
epic_completion:
- id: "retrospective"
required: true
agent: "pm"
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"