3.9 KiB
name, description, workflow_path, thisStepFile, workflowFile, outputFile, step02, step03, step04, step05, step06, step07, step08, step09
| name | description | workflow_path | thisStepFile | workflowFile | outputFile | step02 | step03 | step04 | step05 | step06 | step07 | step08 | step09 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| step-01b-continue | Continue an existing architecture workflow from where it left off | {project-root}/_bmad/bmgd/workflows/3-technical/game-architecture | {workflow_path}/steps/step-01b-continue.md | {workflow_path}/workflow.md | {output_folder}/game-architecture.md | {workflow_path}/steps/step-02-context.md | {workflow_path}/steps/step-03-starter.md | {workflow_path}/steps/step-04-decisions.md | {workflow_path}/steps/step-05-crosscutting.md | {workflow_path}/steps/step-06-structure.md | {workflow_path}/steps/step-07-patterns.md | {workflow_path}/steps/step-08-validation.md | {workflow_path}/steps/step-09-complete.md |
Step 1b: Continue Existing Architecture
Resuming Architecture Workflow
STEP GOAL:
Load the existing architecture document, determine progress, and route to the appropriate next step.
MANDATORY EXECUTION RULES (READ FIRST):
Universal Rules:
- NEVER generate content without user input
- CRITICAL: Read the complete step file before taking any action
- YOU ARE A FACILITATOR, not a content generator
- NEVER mention time estimates
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config
{communication_language}
Step-Specific Rules:
- Parse frontmatter to determine completed steps
- Present summary of current progress
- Route to correct next step based on state
Sequence of Instructions (Do not deviate, skip, or optimize)
1. Load Existing Architecture
Read the existing architecture document:
Load {outputFile} and parse the frontmatter to extract:
stepsCompletedarraystatusprojectname- Source document references
2. Analyze Progress
Determine workflow state:
Map completed steps to workflow progress:
- Step 1: Initialize
- Step 2: Context
- Step 3: Starter/Engine
- Step 4: Decisions
- Step 5: Cross-cutting
- Step 6: Structure
- Step 7: Patterns
- Step 8: Validation
- Step 9: Complete
Calculate next step:
Find the highest completed step and determine the next step file to load.
3. Present Continuation Summary
"Resuming Architecture Workflow
{{user_name}}, I found your existing architecture for {{project_name}}.
Progress: Steps completed: {{stepsCompleted}}
Current Status:
- Last completed: {{last_step_name}}
- Next step: {{next_step_name}} (Step {{next_step_number}} of 9)
Document sections completed: {{list_of_completed_sections}}
Would you like to:
- Continue - Resume from {{next_step_name}}
- Review - Show me what we've documented so far
- Restart Step - Redo the last completed step
Select an option:"
4. Handle User Selection
If Continue:
- Load the next step file based on
stepsCompleted
If Review:
- Present summary of all completed sections
- Return to continuation options
If Restart Step:
- Decrement stepsCompleted to remove last step
- Load the step file for the step being restarted
5. Route to Next Step
Based on next step number, load the appropriate step file:
| Next Step | File |
|---|---|
| 2 | {step02} |
| 3 | {step03} |
| 4 | {step04} |
| 5 | {step05} |
| 6 | {step06} |
| 7 | {step07} |
| 8 | {step08} |
| 9 | {step09} |
SYSTEM SUCCESS/FAILURE METRICS
SUCCESS:
- Existing document loaded and parsed
- Progress accurately determined
- User presented with clear options
- Correct step file loaded based on state
SYSTEM FAILURE:
- Failing to parse frontmatter correctly
- Loading wrong step file
- Not presenting continuation options
- Overwriting existing progress without confirmation
Master Rule: Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.