fix(bmm): add missing project-context references to workflows (#1597)
* fix(bmm): add missing project-context references to workflows correct-course, retrospective, and sprint-status workflows were missing project_context entirely. quick-spec referenced it in step files but not in the initialization sequence. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(bmm): add explicit project-context load instructions to workflows Add Load project_context if exists action to instruction files for correct-course, retrospective, sprint-status, and sprint-planning. The workflow.yaml declarations alone do not cause the file to be loaded; the instruction files must explicitly reference it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0bf8e0edfb
commit
0659aac02c
|
|
@ -10,6 +10,7 @@
|
||||||
<workflow>
|
<workflow>
|
||||||
|
|
||||||
<step n="1" goal="Initialize Change Navigation">
|
<step n="1" goal="Initialize Change Navigation">
|
||||||
|
<action>Load {project_context} for coding standards and project-wide patterns (if exists)</action>
|
||||||
<action>Confirm change trigger and gather user description of the issue</action>
|
<action>Confirm change trigger and gather user description of the issue</action>
|
||||||
<action>Ask: "What specific issue or change has been identified that requires navigation?"</action>
|
<action>Ask: "What specific issue or change has been identified that requires navigation?"</action>
|
||||||
<action>Verify access to required project documents:</action>
|
<action>Verify access to required project documents:</action>
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ planning_artifacts: "{config_source}:planning_artifacts"
|
||||||
project_knowledge: "{config_source}:project_knowledge"
|
project_knowledge: "{config_source}:project_knowledge"
|
||||||
output_folder: "{implementation_artifacts}"
|
output_folder: "{implementation_artifacts}"
|
||||||
sprint_status: "{implementation_artifacts}/sprint-status.yaml"
|
sprint_status: "{implementation_artifacts}/sprint-status.yaml"
|
||||||
|
project_context: "**/project-context.md"
|
||||||
|
|
||||||
# Smart input file references - handles both whole docs and sharded docs
|
# Smart input file references - handles both whole docs and sharded docs
|
||||||
# Priority: Whole document first, then sharded version
|
# Priority: Whole document first, then sharded version
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ PARTY MODE PROTOCOL:
|
||||||
|
|
||||||
<step n="1" goal="Epic Discovery - Find Completed Epic with Priority Logic">
|
<step n="1" goal="Epic Discovery - Find Completed Epic with Priority Logic">
|
||||||
|
|
||||||
|
<action>Load {project_context} for project-wide patterns and conventions (if exists)</action>
|
||||||
<action>Explain to {user_name} the epic discovery process using natural dialogue</action>
|
<action>Explain to {user_name} the epic discovery process using natural dialogue</action>
|
||||||
|
|
||||||
<output>
|
<output>
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ document_output_language: "{config_source}:document_output_language"
|
||||||
date: system-generated
|
date: system-generated
|
||||||
planning_artifacts: "{config_source}:planning_artifacts"
|
planning_artifacts: "{config_source}:planning_artifacts"
|
||||||
implementation_artifacts: "{config_source}:implementation_artifacts"
|
implementation_artifacts: "{config_source}:implementation_artifacts"
|
||||||
|
project_context: "**/project-context.md"
|
||||||
|
|
||||||
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/retrospective"
|
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/retrospective"
|
||||||
template: false
|
template: false
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
<workflow>
|
<workflow>
|
||||||
|
|
||||||
<step n="1" goal="Parse epic files and extract all work items">
|
<step n="1" goal="Parse epic files and extract all work items">
|
||||||
|
<action>Load {project_context} for project-wide patterns and conventions (if exists)</action>
|
||||||
<action>Communicate in {communication_language} with {user_name}</action>
|
<action>Communicate in {communication_language} with {user_name}</action>
|
||||||
<action>Look for all files matching `{epics_pattern}` in {epics_location}</action>
|
<action>Look for all files matching `{epics_pattern}` in {epics_location}</action>
|
||||||
<action>Could be a single `epics.md` file or multiple `epic-1.md`, `epic-2.md` files</action>
|
<action>Could be a single `epics.md` file or multiple `epic-1.md`, `epic-2.md` files</action>
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step n="1" goal="Locate sprint status file">
|
<step n="1" goal="Locate sprint status file">
|
||||||
|
<action>Load {project_context} for project-wide patterns and conventions (if exists)</action>
|
||||||
<action>Try {sprint_status_file}</action>
|
<action>Try {sprint_status_file}</action>
|
||||||
<check if="file not found">
|
<check if="file not found">
|
||||||
<output>❌ sprint-status.yaml not found.
|
<output>❌ sprint-status.yaml not found.
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ document_output_language: "{config_source}:document_output_language"
|
||||||
date: system-generated
|
date: system-generated
|
||||||
implementation_artifacts: "{config_source}:implementation_artifacts"
|
implementation_artifacts: "{config_source}:implementation_artifacts"
|
||||||
planning_artifacts: "{config_source}:planning_artifacts"
|
planning_artifacts: "{config_source}:planning_artifacts"
|
||||||
|
project_context: "**/project-context.md"
|
||||||
|
|
||||||
# Workflow components
|
# Workflow components
|
||||||
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-status"
|
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-status"
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ Load and read full config from `{main_config}` and resolve:
|
||||||
- `project_name`, `output_folder`, `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)
|
||||||
- ✅ 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}`
|
||||||
|
|
||||||
### 2. First Step Execution
|
### 2. First Step Execution
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue