diff --git a/src/bmm/workflows/0-context/set-project/workflow.md b/src/bmm/workflows/0-context/set-project/workflow.md index 8424c18b0..738d8c0ca 100644 --- a/src/bmm/workflows/0-context/set-project/workflow.md +++ b/src/bmm/workflows/0-context/set-project/workflow.md @@ -24,11 +24,11 @@ Load and read full config from {main_config} and resolve basic variables. 2. **Wait for Input.** 3. **Process Input:** - **Case: CLEAR**: - - Delete file: `_bmad/.current_project` + - Delete file: `{project-root}/_bmad/.current_project` - Output: "✅ Project context cleared. Artifacts will go to root `_bmad-output/`." - **Case: Path Provided**: - **Sanitize:** Remove leading `/` or `_bmad-output/` if present in the input. - - Write file: `_bmad/.current_project` with content `` + - Write file: `{project-root}/_bmad/.current_project` with content `` - Output: "✅ Project context set to: ``. Artifacts will go to `_bmad-output//`." ### 3. Verification diff --git a/src/bmm/workflows/1-analysis/create-product-brief/workflow.md b/src/bmm/workflows/1-analysis/create-product-brief/workflow.md index 58bff4d44..c5764d4ff 100644 --- a/src/bmm/workflows/1-analysis/create-product-brief/workflow.md +++ b/src/bmm/workflows/1-analysis/create-product-brief/workflow.md @@ -52,7 +52,7 @@ This uses **step-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/1-analysis/research/workflow-domain-research.md b/src/bmm/workflows/1-analysis/research/workflow-domain-research.md index 453afa496..58cf01f4e 100644 --- a/src/bmm/workflows/1-analysis/research/workflow-domain-research.md +++ b/src/bmm/workflows/1-analysis/research/workflow-domain-research.md @@ -21,7 +21,7 @@ main_config: '{project-root}/_bmad/bmm/config.yaml' Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/1-analysis/research/workflow-technical-research.md b/src/bmm/workflows/1-analysis/research/workflow-technical-research.md index 9b03fbe54..6e03f7af1 100644 --- a/src/bmm/workflows/1-analysis/research/workflow-technical-research.md +++ b/src/bmm/workflows/1-analysis/research/workflow-technical-research.md @@ -21,7 +21,7 @@ main_config: '{project-root}/_bmad/bmm/config.yaml' Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md b/src/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md index 6c846d7ea..8b50a309d 100644 --- a/src/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +++ b/src/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md @@ -51,7 +51,7 @@ This uses **step-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md b/src/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md index 3ba6b3c2f..ada593f90 100644 --- a/src/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +++ b/src/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md @@ -51,7 +51,7 @@ This uses **step-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` - `project_name`, `output_folder`, `planning_artifacts`, `user_name` diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md b/src/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md index 03045b967..8e09bb612 100644 --- a/src/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +++ b/src/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md @@ -51,7 +51,7 @@ This uses **step-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/3-solutioning/create-architecture/workflow.md b/src/bmm/workflows/3-solutioning/create-architecture/workflow.md index 201c04cac..ceff8cb7e 100644 --- a/src/bmm/workflows/3-solutioning/create-architecture/workflow.md +++ b/src/bmm/workflows/3-solutioning/create-architecture/workflow.md @@ -30,7 +30,7 @@ This uses **micro-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md b/src/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md index 389eb6b7e..3d42212ec 100644 --- a/src/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +++ b/src/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md @@ -51,7 +51,7 @@ This uses **step-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/bmm/workflows/4-implementation/code-review/instructions.xml b/src/bmm/workflows/4-implementation/code-review/instructions.xml index 4be776b58..19902a093 100644 --- a/src/bmm/workflows/4-implementation/code-review/instructions.xml +++ b/src/bmm/workflows/4-implementation/code-review/instructions.xml @@ -16,7 +16,7 @@ - + Read content as project_suffix 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 b824096ca..6fa97edca 100644 --- a/src/bmm/workflows/4-implementation/retrospective/instructions.md +++ b/src/bmm/workflows/4-implementation/retrospective/instructions.md @@ -8,7 +8,7 @@ Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` diff --git a/src/bmm/workflows/4-implementation/sprint-planning/instructions.md b/src/bmm/workflows/4-implementation/sprint-planning/instructions.md index 666125a42..2fbd0c1da 100644 --- a/src/bmm/workflows/4-implementation/sprint-planning/instructions.md +++ b/src/bmm/workflows/4-implementation/sprint-planning/instructions.md @@ -9,7 +9,7 @@ Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` diff --git a/src/bmm/workflows/4-implementation/sprint-status/instructions.md b/src/bmm/workflows/4-implementation/sprint-status/instructions.md index 1ba831de4..fc589a22a 100644 --- a/src/bmm/workflows/4-implementation/sprint-status/instructions.md +++ b/src/bmm/workflows/4-implementation/sprint-status/instructions.md @@ -7,7 +7,7 @@ Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` You MUST have already loaded and processed: {project-root}/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml diff --git a/src/bmm/workflows/document-project/instructions.md b/src/bmm/workflows/document-project/instructions.md index a81289012..35fcc290d 100644 --- a/src/bmm/workflows/document-project/instructions.md +++ b/src/bmm/workflows/document-project/instructions.md @@ -84,7 +84,7 @@ Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` diff --git a/src/bmm/workflows/document-project/workflows/deep-dive-instructions.md b/src/bmm/workflows/document-project/workflows/deep-dive-instructions.md index 85b9e2887..d0d1dd6d4 100644 --- a/src/bmm/workflows/document-project/workflows/deep-dive-instructions.md +++ b/src/bmm/workflows/document-project/workflows/deep-dive-instructions.md @@ -255,7 +255,7 @@ Detailed exhaustive analysis of specific areas: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` - Related code and reuse opportunities diff --git a/src/bmm/workflows/document-project/workflows/full-scan-instructions.md b/src/bmm/workflows/document-project/workflows/full-scan-instructions.md index b55ac3b77..e43435bd2 100644 --- a/src/bmm/workflows/document-project/workflows/full-scan-instructions.md +++ b/src/bmm/workflows/document-project/workflows/full-scan-instructions.md @@ -100,7 +100,7 @@ Your choice [1/2/3]: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` json, etc.) diff --git a/src/bmm/workflows/generate-project-context/workflow.md b/src/bmm/workflows/generate-project-context/workflow.md index 05644360b..88b8e8270 100644 --- a/src/bmm/workflows/generate-project-context/workflow.md +++ b/src/bmm/workflows/generate-project-context/workflow.md @@ -30,7 +30,7 @@ This uses **micro-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` diff --git a/src/bmm/workflows/qa/automate/instructions.md b/src/bmm/workflows/qa/automate/instructions.md index dd0c91877..91ee2f771 100644 --- a/src/bmm/workflows/qa/automate/instructions.md +++ b/src/bmm/workflows/qa/automate/instructions.md @@ -23,7 +23,7 @@ Check project for existing test framework: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project exists`. +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}` diff --git a/src/core/workflows/brainstorming/workflow.md b/src/core/workflows/brainstorming/workflow.md index e6aab4c14..f93ceb6d2 100644 --- a/src/core/workflows/brainstorming/workflow.md +++ b/src/core/workflows/brainstorming/workflow.md @@ -37,7 +37,7 @@ This uses **micro-file architecture** for disciplined execution: Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}` diff --git a/src/core/workflows/party-mode/workflow.md b/src/core/workflows/party-mode/workflow.md index f30e0d7df..da61fb165 100644 --- a/src/core/workflows/party-mode/workflow.md +++ b/src/core/workflows/party-mode/workflow.md @@ -30,7 +30,7 @@ This uses **micro-file architecture** with **sequential conversation orchestrati Load and read full config from {main_config} and resolve basic variables. **Monorepo Context Check:** -1. Check if `_bmad/.current_project` exists. +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}`