Compare commits

..

No commits in common. "096305f63ecdd822221ad50ccb679c82a6cf363b" and "79648dfde2cf819c2d4754c1b55d230ba81fb1b7" have entirely different histories.

12 changed files with 48 additions and 49 deletions

View File

@ -49,7 +49,7 @@ This is a COMPETITION to create the **ULTIMATE story context** that makes LLM de
### **Required Inputs:** ### **Required Inputs:**
- **Story file**: The story file to review and improve - **Story file**: The story file to review and improve
- **Workflow variables**: From workflow.md (implementation_artifacts, epics_file, etc.) - **Workflow variables**: From workflow.md (story_dir, output_folder, epics_file, etc.)
- **Source documents**: Epics, architecture, etc. (discovered or provided) - **Source documents**: Epics, architecture, etc. (discovered or provided)
- **Validation framework**: `validate-workflow.md` (handles checklist execution) - **Validation framework**: `validate-workflow.md` (handles checklist execution)
@ -65,7 +65,7 @@ You will systematically re-do the entire story creation process, but with a crit
2. **Load the story file**: `{story_file_path}` (provided by user or discovered) 2. **Load the story file**: `{story_file_path}` (provided by user or discovered)
3. **Load validation framework**: `{project-root}/_bmad/core/tasks/validate-workflow.md` 3. **Load validation framework**: `{project-root}/_bmad/core/tasks/validate-workflow.md`
4. **Extract metadata**: epic_num, story_num, story_key, story_title from story file 4. **Extract metadata**: epic_num, story_num, story_key, story_title from story file
5. **Resolve all workflow variables**: implementation_artifacts, epics_file, architecture_file, etc. 5. **Resolve all workflow variables**: story_dir, output_folder, epics_file, architecture_file, etc.
6. **Understand current status**: What story implementation guidance is currently provided? 6. **Understand current status**: What story implementation guidance is currently provided?
**Note:** If running in fresh context, user should provide the story file path being reviewed. If running from create-story workflow, the validation framework will automatically discover the checklist and story file. **Note:** If running in fresh context, user should provide the story file path being reviewed. If running from create-story workflow, the validation framework will automatically discover the checklist and story file.

View File

@ -192,8 +192,7 @@
(As a, I want, so that) - Detailed acceptance criteria (already BDD formatted) - Technical requirements specific to this story - (As a, I want, so that) - Detailed acceptance criteria (already BDD formatted) - Technical requirements specific to this story -
Business context and value - Success criteria <!-- Previous story analysis for context continuity --> Business context and value - Success criteria <!-- Previous story analysis for context continuity -->
<check if="story_num > 1"> <check if="story_num > 1">
<action>Find {{previous_story_num}}: scan {implementation_artifacts} for the story file in epic {{epic_num}} with the highest story number less than {{story_num}}</action> <action>Load previous story file: {{story_dir}}/{{epic_num}}-{{previous_story_num}}-*.md</action> **PREVIOUS STORY INTELLIGENCE:** -
<action>Load previous story file: {implementation_artifacts}/{{epic_num}}-{{previous_story_num}}-*.md</action> **PREVIOUS STORY INTELLIGENCE:** -
Dev notes and learnings from previous story - Review feedback and corrections needed - Files that were created/modified and their Dev notes and learnings from previous story - Review feedback and corrections needed - Files that were created/modified and their
patterns - Testing approaches that worked/didn't work - Problems encountered and solutions found - Code patterns established <action>Extract patterns - Testing approaches that worked/didn't work - Problems encountered and solutions found - Code patterns established <action>Extract
all learnings that could impact current story implementation</action> all learnings that could impact current story implementation</action>

View File

@ -81,7 +81,7 @@ Bob (Scrum Master): "I'm having trouble detecting the completed epic from {sprin
<check if="{{epic_number}} still not determined"> <check if="{{epic_number}} still not determined">
<action>PRIORITY 3: Fallback to stories folder</action> <action>PRIORITY 3: Fallback to stories folder</action>
<action>Scan {implementation_artifacts} for highest numbered story files</action> <action>Scan {story_directory} for highest numbered story files</action>
<action>Extract epic numbers from story filenames (pattern: epic-X-Y-story-name.md)</action> <action>Extract epic numbers from story filenames (pattern: epic-X-Y-story-name.md)</action>
<action>Set {{detected_epic}} = highest epic number found</action> <action>Set {{detected_epic}} = highest epic number found</action>
@ -171,7 +171,7 @@ Bob (Scrum Master): "Before we start the team discussion, let me review all the
Charlie (Senior Dev): "Good idea - those dev notes always have gold in them." Charlie (Senior Dev): "Good idea - those dev notes always have gold in them."
</output> </output>
<action>For each story in epic {{epic_number}}, read the complete story file from {implementation_artifacts}/{{epic_number}}-{{story_num}}-*.md</action> <action>For each story in epic {{epic_number}}, read the complete story file from {story_directory}/{{epic_number}}-{{story_num}}-\*.md</action>
<action>Extract and analyze from each story:</action> <action>Extract and analyze from each story:</action>
@ -262,14 +262,14 @@ Bob (Scrum Master): "We'll get to all of it. But first, let me load the previous
<action>Calculate previous epic number: {{prev_epic_num}} = {{epic_number}} - 1</action> <action>Calculate previous epic number: {{prev_epic_num}} = {{epic_number}} - 1</action>
<check if="{{prev_epic_num}} >= 1"> <check if="{{prev_epic_num}} >= 1">
<action>Search for previous retrospectives using pattern: {implementation_artifacts}/epic-{{prev_epic_num}}-retro-*.md</action> <action>Search for previous retrospective using pattern: {retrospectives_folder}/epic-{{prev_epic_num}}-retro-*.md</action>
<check if="previous retrospectives found"> <check if="previous retro found">
<output> <output>
Bob (Scrum Master): "I found our retrospectives from Epic {{prev_epic_num}}. Let me see what we committed to back then..." Bob (Scrum Master): "I found our retrospective from Epic {{prev_epic_num}}. Let me see what we committed to back then..."
</output> </output>
<action>Read the previous retrospectives</action> <action>Read the complete previous retrospective file</action>
<action>Extract key elements:</action> <action>Extract key elements:</action>
- **Action items committed**: What did the team agree to improve? - **Action items committed**: What did the team agree to improve?
@ -366,7 +366,7 @@ Alice (Product Owner): "Good thinking - helps us connect what we learned to what
<action>Attempt to load next epic using selective loading strategy:</action> <action>Attempt to load next epic using selective loading strategy:</action>
**Try sharded first (more specific):** **Try sharded first (more specific):**
<action>Check if file exists: {planning_artifacts}/epic*/epic-{{next_epic_num}}.md</action> <action>Check if file exists: {planning_artifacts}/epic\*/epic-{{next_epic_num}}.md</action>
<check if="sharded epic file found"> <check if="sharded epic file found">
<action>Load {planning_artifacts}/*epic*/epic-{{next_epic_num}}.md</action> <action>Load {planning_artifacts}/*epic*/epic-{{next_epic_num}}.md</action>
@ -375,7 +375,7 @@ Alice (Product Owner): "Good thinking - helps us connect what we learned to what
**Fallback to whole document:** **Fallback to whole document:**
<check if="sharded epic not found"> <check if="sharded epic not found">
<action>Check if file exists: {planning_artifacts}/epic*.md</action> <action>Check if file exists: {planning_artifacts}/epic\*.md</action>
<check if="whole epic file found"> <check if="whole epic file found">
<action>Load entire epics document</action> <action>Load entire epics document</action>
@ -1303,7 +1303,7 @@ Bob (Scrum Master): "See you all when prep work is done. Meeting adjourned!"
<step n="11" goal="Save Retrospective and Update Sprint Status"> <step n="11" goal="Save Retrospective and Update Sprint Status">
<action>Ensure retrospectives folder exists: {implementation_artifacts}</action> <action>Ensure retrospectives folder exists: {retrospectives_folder}</action>
<action>Create folder if it doesn't exist</action> <action>Create folder if it doesn't exist</action>
<action>Generate comprehensive retrospective summary document including:</action> <action>Generate comprehensive retrospective summary document including:</action>
@ -1323,11 +1323,11 @@ Bob (Scrum Master): "See you all when prep work is done. Meeting adjourned!"
- Commitments and next steps - Commitments and next steps
<action>Format retrospective document as readable markdown with clear sections</action> <action>Format retrospective document as readable markdown with clear sections</action>
<action>Set filename: {implementation_artifacts}/epic-{{epic_number}}-retro-{date}.md</action> <action>Set filename: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md</action>
<action>Save retrospective document</action> <action>Save retrospective document</action>
<output> <output>
✅ Retrospective document saved: {implementation_artifacts}/epic-{{epic_number}}-retro-{date}.md ✅ Retrospective document saved: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
</output> </output>
<action>Update {sprint_status_file} to mark retrospective as completed</action> <action>Update {sprint_status_file} to mark retrospective as completed</action>
@ -1366,7 +1366,7 @@ Retrospective document was saved successfully, but {sprint_status_file} may need
- Epic {{epic_number}}: {{epic_title}} reviewed - Epic {{epic_number}}: {{epic_title}} reviewed
- Retrospective Status: completed - Retrospective Status: completed
- Retrospective saved: {implementation_artifacts}/epic-{{epic_number}}-retro-{date}.md - Retrospective saved: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
**Commitments Made:** **Commitments Made:**
@ -1376,7 +1376,7 @@ Retrospective document was saved successfully, but {sprint_status_file} may need
**Next Steps:** **Next Steps:**
1. **Review retrospective summary**: {implementation_artifacts}/epic-{{epic_number}}-retro-{date}.md 1. **Review retrospective summary**: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
2. **Execute preparation sprint** (Est: {{prep_days}} days) 2. **Execute preparation sprint** (Est: {{prep_days}} days)
- Complete {{critical_count}} critical path items - Complete {{critical_count}} critical path items

View File

@ -28,7 +28,7 @@ This uses **step-file architecture** for focused execution:
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve: Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
- `user_name`, `communication_language`, `user_skill_level` - `user_name`, `communication_language`, `user_skill_level`
- `planning_artifacts`, `implementation_artifacts` - `output_folder`, `planning_artifacts`, `implementation_artifacts`
- `date` as system-generated current datetime - `date` as system-generated current datetime
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}` - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`

View File

@ -76,7 +76,7 @@ a) **Before asking detailed questions, do a rapid scan to understand the landsca
b) **Check for existing context docs:** b) **Check for existing context docs:**
- Check `{implementation_artifacts}` and `{planning_artifacts}`for planning documents (PRD, architecture, epics, research) - Check `{output_folder}` and `{planning_artifacts}`for planning documents (PRD, architecture, epics, research)
- Check for `**/project-context.md` - if it exists, skim for patterns and conventions - Check for `**/project-context.md` - if it exists, skim for patterns and conventions
- Check for any existing stories or specs related to user's request - Check for any existing stories or specs related to user's request

View File

@ -68,7 +68,7 @@ This uses **step-file architecture** for disciplined execution:
Load and read full config from `{main_config}` and resolve: Load and read full config from `{main_config}` and resolve:
- `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name` - `project_name`, `output_folder`, `planning_artifacts`, `implementation_artifacts`, `user_name`
- `communication_language`, `document_output_language`, `user_skill_level` - `communication_language`, `document_output_language`, `user_skill_level`
- `date` as system-generated current datetime - `date` as system-generated current datetime
- `project_context` = `**/project-context.md` (load if exists) - `project_context` = `**/project-context.md` (load if exists)

View File

@ -91,7 +91,7 @@
<step n="2" goal="Check for resumability and determine workflow mode"> <step n="2" goal="Check for resumability and determine workflow mode">
<critical>SMART LOADING STRATEGY: Check state file FIRST before loading any CSV files</critical> <critical>SMART LOADING STRATEGY: Check state file FIRST before loading any CSV files</critical>
<action>Check for existing state file at: {project_knowledge}/project-scan-report.json</action> <action>Check for existing state file at: {output_folder}/project-scan-report.json</action>
<action>Set resume_mode = false</action> <action>Set resume_mode = false</action>
<check if="project-scan-report.json exists"> <check if="project-scan-report.json exists">
@ -108,13 +108,13 @@
<check if="state_age_hours >= 24"> <check if="state_age_hours >= 24">
<action>Display: "Found old state file (>24 hours). Starting fresh scan."</action> <action>Display: "Found old state file (>24 hours). Starting fresh scan."</action>
<action>Attempt to create archive directory: {project_knowledge}/.archive/</action> <action>Attempt to create archive directory: {output_folder}/.archive/</action>
<check if="archive directory creation failed"> <check if="archive directory creation failed">
<output>Failed to create archive directory at {project_knowledge}/.archive/. Keeping existing state and exiting to avoid data loss.</output> <output>Failed to create archive directory at {output_folder}/.archive/. Keeping existing state and exiting to avoid data loss.</output>
<action>Set resume_mode = true</action> <action>Set resume_mode = true</action>
<action>Exit workflow</action> <action>Exit workflow</action>
</check> </check>
<action>Attempt to archive old state file to: {project_knowledge}/.archive/project-scan-report-{{timestamp}}.json</action> <action>Attempt to archive old state file to: {output_folder}/.archive/project-scan-report-{{timestamp}}.json</action>
<check if="archive move failed"> <check if="archive move failed">
<output>Failed to archive old state file. Keeping existing state and exiting to avoid data loss.</output> <output>Failed to archive old state file. Keeping existing state and exiting to avoid data loss.</output>
<action>Set resume_mode = true</action> <action>Set resume_mode = true</action>
@ -202,13 +202,13 @@ Your choice [1/2/3]:
</check> </check>
<check if="user selects 2"> <check if="user selects 2">
<action>Attempt to create archive directory: {project_knowledge}/.archive/</action> <action>Attempt to create archive directory: {output_folder}/.archive/</action>
<check if="archive directory creation failed"> <check if="archive directory creation failed">
<output>Failed to create archive directory. Keeping existing state and exiting to avoid data loss.</output> <output>Failed to create archive directory. Keeping existing state and exiting to avoid data loss.</output>
<action>Set resume_mode = true</action> <action>Set resume_mode = true</action>
<action>Exit workflow</action> <action>Exit workflow</action>
</check> </check>
<action>Attempt to move old state file to: {project_knowledge}/.archive/project-scan-report-{{timestamp}}.json</action> <action>Attempt to move old state file to: {output_folder}/.archive/project-scan-report-{{timestamp}}.json</action>
<check if="archive move failed"> <check if="archive move failed">
<output>Failed to archive old state file. Keeping existing state and exiting to avoid data loss.</output> <output>Failed to archive old state file. Keeping existing state and exiting to avoid data loss.</output>
<action>Set resume_mode = true</action> <action>Set resume_mode = true</action>
@ -241,7 +241,7 @@ Your choice [1/2/3]:
</step> </step>
<step n="3" goal="Check for existing documentation and determine workflow mode" if="resume_mode == false"> <step n="3" goal="Check for existing documentation and determine workflow mode" if="resume_mode == false">
<action>Check if {project_knowledge}/index.md exists</action> <action>Check if {output_folder}/index.md exists</action>
<check if="index.md exists"> <check if="index.md exists">
<action>Read existing index.md to extract metadata (date, project structure, parts count)</action> <action>Read existing index.md to extract metadata (date, project structure, parts count)</action>
@ -339,7 +339,7 @@ Your choice [1/2/3]:
- Mode: {{workflow_mode}} - Mode: {{workflow_mode}}
- Scan Level: {{scan_level}} - Scan Level: {{scan_level}}
- Output: {project_knowledge}/index.md and related files - Output: {output_folder}/index.md and related files
</output> </output>
<check if="status_file_found == true AND status_update_success == true"> <check if="status_file_found == true AND status_update_success == true">

View File

@ -45,9 +45,9 @@
"type": "string", "type": "string",
"description": "Absolute path to project root directory" "description": "Absolute path to project root directory"
}, },
"project_knowledge": { "output_folder": {
"type": "string", "type": "string",
"description": "Absolute path to project knowledge folder" "description": "Absolute path to output folder"
}, },
"completed_steps": { "completed_steps": {
"type": "array", "type": "array",

View File

@ -194,7 +194,7 @@ This will read EVERY file in this area. Proceed? [y/n]
<action>Load complete deep-dive template from: {installed_path}/templates/deep-dive-template.md</action> <action>Load complete deep-dive template from: {installed_path}/templates/deep-dive-template.md</action>
<action>Fill template with all collected data from steps 13b-13d</action> <action>Fill template with all collected data from steps 13b-13d</action>
<action>Write filled template to: {project_knowledge}/deep-dive-{{sanitized_target_name}}.md</action> <action>Write filled template to: {output_folder}/deep-dive-{{sanitized_target_name}}.md</action>
<action>Validate deep-dive document completeness</action> <action>Validate deep-dive document completeness</action>
<template-output>deep_dive_documentation</template-output> <template-output>deep_dive_documentation</template-output>
@ -241,7 +241,7 @@ Detailed exhaustive analysis of specific areas:
## Deep-Dive Documentation Complete! ✓ ## Deep-Dive Documentation Complete! ✓
**Generated:** {project_knowledge}/deep-dive-{{target_name}}.md **Generated:** {output_folder}/deep-dive-{{target_name}}.md
**Files Analyzed:** {{file_count}} **Files Analyzed:** {{file_count}}
**Lines of Code Scanned:** {{total_loc}} **Lines of Code Scanned:** {{total_loc}}
**Time Taken:** ~{{duration}} **Time Taken:** ~{{duration}}
@ -255,7 +255,7 @@ Detailed exhaustive analysis of specific areas:
- Related code and reuse opportunities - Related code and reuse opportunities
- Implementation guidance - Implementation guidance
**Index Updated:** {project_knowledge}/index.md now includes link to this deep-dive **Index Updated:** {output_folder}/index.md now includes link to this deep-dive
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
</action> </action>
@ -278,7 +278,7 @@ Your choice [1/2]:
All deep-dive documentation complete! All deep-dive documentation complete!
**Master Index:** {project_knowledge}/index.md **Master Index:** {output_folder}/index.md
**Deep-Dives Generated:** {{deep_dive_count}} **Deep-Dives Generated:** {{deep_dive_count}}
These comprehensive docs are now ready for: These comprehensive docs are now ready for:

View File

@ -8,7 +8,7 @@ parent_workflow: "{project-root}/_bmad/bmm/workflows/document-project/workflow.m
# Critical variables inherited from parent # Critical variables inherited from parent
config_source: "{project-root}/_bmad/bmm/config.yaml" config_source: "{project-root}/_bmad/bmm/config.yaml"
project_knowledge: "{config_source}:project_knowledge" output_folder: "{config_source}:output_folder"
user_name: "{config_source}:user_name" user_name: "{config_source}:user_name"
date: system-generated date: system-generated

View File

@ -43,7 +43,7 @@ This workflow uses a single comprehensive CSV file to intelligently document you
</step> </step>
<step n="0.6" goal="Check for existing documentation and determine workflow mode"> <step n="0.6" goal="Check for existing documentation and determine workflow mode">
<action>Check if {project_knowledge}/index.md exists</action> <action>Check if {output_folder}/index.md exists</action>
<check if="index.md exists"> <check if="index.md exists">
<action>Read existing index.md to extract metadata (date, project structure, parts count)</action> <action>Read existing index.md to extract metadata (date, project structure, parts count)</action>
@ -127,7 +127,7 @@ Your choice [1/2/3] (default: 1):
<action>Display: "Using Exhaustive Scan (reading all source files)"</action> <action>Display: "Using Exhaustive Scan (reading all source files)"</action>
</action> </action>
<action>Initialize state file: {project_knowledge}/project-scan-report.json</action> <action>Initialize state file: {output_folder}/project-scan-report.json</action>
<critical>Every time you touch the state file, record: step id, human-readable summary (what you actually did), precise timestamp, and any outputs written. Vague phrases are unacceptable.</critical> <critical>Every time you touch the state file, record: step id, human-readable summary (what you actually did), precise timestamp, and any outputs written. Vague phrases are unacceptable.</critical>
<action>Write initial state: <action>Write initial state:
{ {
@ -136,7 +136,7 @@ Your choice [1/2/3] (default: 1):
"mode": "{{workflow_mode}}", "mode": "{{workflow_mode}}",
"scan_level": "{{scan_level}}", "scan_level": "{{scan_level}}",
"project_root": "{{project_root_path}}", "project_root": "{{project_root_path}}",
"project_knowledge": "{{project_knowledge}}", "output_folder": "{{output_folder}}",
"completed_steps": [], "completed_steps": [],
"current_step": "step_1", "current_step": "step_1",
"findings": {}, "findings": {},
@ -325,7 +325,7 @@ findings.batches_completed: [
</check> </check>
<action>Build API contracts catalog</action> <action>Build API contracts catalog</action>
<action>IMMEDIATELY write to: {project_knowledge}/api-contracts-{part_id}.md</action> <action>IMMEDIATELY write to: {output_folder}/api-contracts-{part_id}.md</action>
<action>Validate document has all required sections</action> <action>Validate document has all required sections</action>
<action>Update state file with output generated</action> <action>Update state file with output generated</action>
<action>PURGE detailed API data, keep only: "{{api_count}} endpoints documented"</action> <action>PURGE detailed API data, keep only: "{{api_count}} endpoints documented"</action>
@ -346,7 +346,7 @@ findings.batches_completed: [
</check> </check>
<action>Build database schema documentation</action> <action>Build database schema documentation</action>
<action>IMMEDIATELY write to: {project_knowledge}/data-models-{part_id}.md</action> <action>IMMEDIATELY write to: {output_folder}/data-models-{part_id}.md</action>
<action>Validate document completeness</action> <action>Validate document completeness</action>
<action>Update state file with output generated</action> <action>Update state file with output generated</action>
<action>PURGE detailed schema data, keep only: "{{table_count}} tables documented"</action> <action>PURGE detailed schema data, keep only: "{{table_count}} tables documented"</action>
@ -805,7 +805,7 @@ When a document SHOULD be generated but wasn't (due to quick scan, missing data,
<step n="11" goal="Validate and review generated documentation" if="workflow_mode != deep_dive"> <step n="11" goal="Validate and review generated documentation" if="workflow_mode != deep_dive">
<action>Show summary of all generated files: <action>Show summary of all generated files:
Generated in {{project_knowledge}}/: Generated in {{output_folder}}/:
{{file_list_with_sizes}} {{file_list_with_sizes}}
</action> </action>
@ -823,7 +823,7 @@ Generated in {{project_knowledge}}/:
3. Extract document metadata from each match for user selection 3. Extract document metadata from each match for user selection
</critical> </critical>
<action>Read {project_knowledge}/index.md</action> <action>Read {output_folder}/index.md</action>
<action>Scan for incomplete documentation markers: <action>Scan for incomplete documentation markers:
Step 1: Search for exact pattern "_(To be generated)_" (case-sensitive) Step 1: Search for exact pattern "_(To be generated)_" (case-sensitive)
@ -1065,9 +1065,9 @@ Enter number(s) separated by commas (e.g., "1,3,5"), or type 'all':
## Project Documentation Complete! ✓ ## Project Documentation Complete! ✓
**Location:** {{project_knowledge}}/ **Location:** {{output_folder}}/
**Master Index:** {{project_knowledge}}/index.md **Master Index:** {{output_folder}}/index.md
👆 This is your primary entry point for AI-assisted development 👆 This is your primary entry point for AI-assisted development
**Generated Documentation:** **Generated Documentation:**
@ -1076,9 +1076,9 @@ Enter number(s) separated by commas (e.g., "1,3,5"), or type 'all':
**Next Steps:** **Next Steps:**
1. Review the index.md to familiarize yourself with the documentation structure 1. Review the index.md to familiarize yourself with the documentation structure
2. When creating a brownfield PRD, point the PRD workflow to: {{project_knowledge}}/index.md 2. When creating a brownfield PRD, point the PRD workflow to: {{output_folder}}/index.md
3. For UI-only features: Reference {{project_knowledge}}/architecture-{{ui_part_id}}.md 3. For UI-only features: Reference {{output_folder}}/architecture-{{ui_part_id}}.md
4. For API-only features: Reference {{project_knowledge}}/architecture-{{api_part_id}}.md 4. For API-only features: Reference {{output_folder}}/architecture-{{api_part_id}}.md
5. For full-stack features: Reference both part architectures + integration-architecture.md 5. For full-stack features: Reference both part architectures + integration-architecture.md
**Verification Recap:** **Verification Recap:**
@ -1101,6 +1101,6 @@ When ready to plan new features, run the PRD workflow and provide this index as
- Write final state file - Write final state file
</action> </action>
<action>Display: "State file saved: {{project_knowledge}}/project-scan-report.json"</action> <action>Display: "State file saved: {{output_folder}}/project-scan-report.json"</action>
</workflow> </workflow>

View File

@ -8,7 +8,7 @@ parent_workflow: "{project-root}/_bmad/bmm/workflows/document-project/workflow.m
# Critical variables inherited from parent # Critical variables inherited from parent
config_source: "{project-root}/_bmad/bmm/config.yaml" config_source: "{project-root}/_bmad/bmm/config.yaml"
project_knowledge: "{config_source}:project_knowledge" output_folder: "{config_source}:output_folder"
user_name: "{config_source}:user_name" user_name: "{config_source}:user_name"
date: system-generated date: system-generated