diff --git a/src/bmm/workflows/4-implementation/create-story/instructions.xml b/src/bmm/workflows/4-implementation/create-story/instructions.xml index fe543108f..279585a7a 100644 --- a/src/bmm/workflows/4-implementation/create-story/instructions.xml +++ b/src/bmm/workflows/4-implementation/create-story/instructions.xml @@ -31,8 +31,7 @@ HALT Override output_folder to {project-root}/_bmad-output/{project_suffix} - Set {default_output_file} = {output_folder}/{story_key}.md - Output "Monorepo context detected. Output redirected to: {default_output_file}" + Output "Monorepo context detected. Output folder redirected to: {output_folder}" @@ -277,48 +276,52 @@ 📝 CREATE ULTIMATE STORY FILE - The developer's master implementation guide! + + Set {target_story_file} = {output_folder}/{story_key}.md + Output "Generating story file at: {target_story_file}" + Initialize from template.md: - {default_output_file} - story_header + {target_story_file} + story_header story_requirements + file="{target_story_file}">story_requirements - - developer_context_section **DEV AGENT GUARDRAILS:** + + developer_context_section **DEV AGENT GUARDRAILS:** technical_requirements - architecture_compliance + architecture_compliance library_framework_requirements - + file="{target_story_file}">library_framework_requirements + file_structure_requirements - testing_requirements + testing_requirements - previous_story_intelligence + previous_story_intelligence - git_intelligence_summary + git_intelligence_summary - latest_tech_information + latest_tech_information project_context_reference + file="{target_story_file}">project_context_reference - + story_completion_status diff --git a/src/bmm/workflows/4-implementation/dev-story/instructions.xml b/src/bmm/workflows/4-implementation/dev-story/instructions.xml index b36935782..4767e9624 100644 --- a/src/bmm/workflows/4-implementation/dev-story/instructions.xml +++ b/src/bmm/workflows/4-implementation/dev-story/instructions.xml @@ -25,6 +25,10 @@ 🚫 Error: Project context must only contain alphanumeric characters, dots, dashes, or underscores. HALT + + 🚫 Error: Project context name is too long (max 100 characters). + HALT + Override output_folder to {project-root}/_bmad-output/{project_suffix} diff --git a/src/bmm/workflows/4-implementation/retrospective/instructions.md b/src/bmm/workflows/4-implementation/retrospective/instructions.md index 6fa97edca..fd1f7d52e 100644 --- a/src/bmm/workflows/4-implementation/retrospective/instructions.md +++ b/src/bmm/workflows/4-implementation/retrospective/instructions.md @@ -11,6 +11,9 @@ Load and read full config from {main_config} and resolve basic variables. 1. Check if `{project-root}/_bmad/.current_project` exists. 2. If it exists, read its content as `{project_suffix}` and override output folder: - `output_folder`: `{project-root}/_bmad-output/{project_suffix}` +3. Re-derive dependent path variables to reflect the new `output_folder`: + - `implementation_artifacts`: `{output_folder}/implementation` + - `planning_artifacts`: `{output_folder}/planning` Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level} Generate all documents in {document_output_language}