mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
The install directory is now configurable, with a few minute issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<activation critical="MANDATORY">
|
||||
<init>
|
||||
<step n="1">Load persona from this current file containing this activation you are reading now</step>
|
||||
<step n="2">Override with {project-root}/bmad/_cfg/agents/{agent-filename} if exists (replace, not merge)</step>
|
||||
<step n="2">Override with {project-root}/{bmad_folder}/_cfg/agents/{agent-filename} if exists (replace, not merge)</step>
|
||||
<step n="3">Execute critical-actions section if present in current agent XML</step>
|
||||
<step n="4">Show greeting + numbered list of ALL commands IN ORDER from current agent's cmds section</step>
|
||||
<step n="5">CRITICAL HALT. AWAIT user input. NEVER continue without it.</step>
|
||||
@@ -12,7 +12,7 @@
|
||||
<handlers>
|
||||
<handler type="run-workflow">
|
||||
When command has: run-workflow="path/to/x.yaml" You MUST:
|
||||
1. CRITICAL: Always LOAD {project-root}/bmad/core/tasks/workflow.xml
|
||||
1. CRITICAL: Always LOAD {project-root}/{bmad_folder}/core/tasks/workflow.xml
|
||||
2. READ its entire contents - the is the CORE OS for EXECUTING modules
|
||||
3. Pass the yaml path as 'workflow-config' parameter to those instructions
|
||||
4. Follow workflow.xml instructions EXACTLY as written
|
||||
@@ -20,7 +20,7 @@
|
||||
</handler>
|
||||
<handler type="validate-workflow">
|
||||
When command has: validate-workflow="path/to/workflow.yaml" You MUST:
|
||||
1. You MUST LOAD the file at: {project-root}/bmad/core/tasks/validate-workflow.xml
|
||||
1. You MUST LOAD the file at: {project-root}/{bmad_folder}/core/tasks/validate-workflow.xml
|
||||
2. READ its entire contents and EXECUTE all instructions in that file
|
||||
3. Pass the workflow, and also check the workflow location for a checklist.md to pass as the checklist
|
||||
4. The workflow should try to identify the file to validate based on checklist context or else you will ask the user to specify
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
<bundled-files critical="MANDATORY">
|
||||
<access-method>
|
||||
All dependencies are bundled within this XML file as <file> elements with CDATA content.
|
||||
When you need to access a file path like "bmad/core/tasks/workflow.xml":
|
||||
1. Find the <file id="bmad/core/tasks/workflow.xml"> element in this document
|
||||
When you need to access a file path like "{bmad_folder}/core/tasks/workflow.xml":
|
||||
1. Find the <file id="{bmad_folder}/core/tasks/workflow.xml"> element in this document
|
||||
2. Extract the content from within the CDATA section
|
||||
3. Use that content as if you read it from the filesystem
|
||||
</access-method>
|
||||
<rules>
|
||||
<rule>NEVER attempt to read files from filesystem - all files are bundled in this XML</rule>
|
||||
<rule>File paths starting with "bmad/" or "{project-root}/bmad/" refer to <file id="..."> elements</rule>
|
||||
<rule>File paths starting with "{bmad_folder}/" or "{project-root}/{bmad_folder}/" refer to <file id="..."> elements</rule>
|
||||
<rule>When instructions reference a file path, locate the corresponding <file> element by matching the id attribute</rule>
|
||||
<rule>YAML files are bundled with only their web_bundle section content (flattened to root level)</rule>
|
||||
</rules>
|
||||
@@ -25,7 +25,7 @@
|
||||
<handlers>
|
||||
<handler type="run-workflow">
|
||||
When command has: run-workflow="path/to/x.yaml" You MUST:
|
||||
1. CRITICAL: Locate <file id="bmad/core/tasks/workflow.xml"> in this XML bundle
|
||||
1. CRITICAL: Locate <file id="{bmad_folder}/core/tasks/workflow.xml"> in this XML bundle
|
||||
2. Extract and READ its CDATA content - this is the CORE OS for EXECUTING workflows
|
||||
3. Locate <file id="path/to/x.yaml"> for the workflow config
|
||||
4. Pass the yaml content as 'workflow-config' parameter to workflow.xml instructions
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<step n="1">Load persona from this current agent file (already in context)</step>
|
||||
<step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
|
||||
- Load and read {project-root}/bmad/{{module}}/config.yaml NOW
|
||||
- Load and read {project-root}/{bmad_folder}/{{module}}/config.yaml NOW
|
||||
- Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
|
||||
- VERIFY: If config not loaded, STOP and report error to user
|
||||
- DO NOT PROCEED to step 3 until config is successfully loaded and variables stored</step>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<handler type="validate-workflow">
|
||||
When command has: validate-workflow="path/to/workflow.yaml"
|
||||
1. You MUST LOAD the file at: {project-root}/bmad/core/tasks/validate-workflow.xml
|
||||
1. You MUST LOAD the file at: {project-root}/{bmad_folder}/core/tasks/validate-workflow.xml
|
||||
2. READ its entire contents and EXECUTE all instructions in that file
|
||||
3. Pass the workflow, and also check the workflow yaml validation property to find and load the validation schema to pass as the checklist
|
||||
4. The workflow should try to identify the file to validate based on checklist context or else you will ask the user to specify
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<handler type="workflow">
|
||||
When menu item has: workflow="path/to/workflow.yaml"
|
||||
1. CRITICAL: Always LOAD {project-root}/bmad/core/tasks/workflow.xml
|
||||
1. CRITICAL: Always LOAD {project-root}/{bmad_folder}/core/tasks/workflow.xml
|
||||
2. Read the complete file - this is the CORE OS for executing BMAD workflows
|
||||
3. Pass the yaml path as 'workflow-config' parameter to those instructions
|
||||
4. Execute workflow.xml instructions precisely following all steps
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
<bundled-files critical="MANDATORY">
|
||||
<access-method>
|
||||
All dependencies are bundled within this XML file as <file> elements with CDATA content.
|
||||
When you need to access a file path like "bmad/core/tasks/workflow.xml":
|
||||
1. Find the <file id="bmad/core/tasks/workflow.xml"> element in this document
|
||||
When you need to access a file path like "{bmad_folder}/core/tasks/workflow.xml":
|
||||
1. Find the <file id="{bmad_folder}/core/tasks/workflow.xml"> element in this document
|
||||
2. Extract the content from within the CDATA section
|
||||
3. Use that content as if you read it from the filesystem
|
||||
</access-method>
|
||||
<rules>
|
||||
<rule>NEVER attempt to read files from filesystem - all files are bundled in this XML</rule>
|
||||
<rule>File paths starting with "bmad/" or "{project-root}/bmad/" refer to <file id="..."> elements</rule>
|
||||
<rule>File paths starting with "{bmad_folder}/" or "{project-root}/{bmad_folder}/" refer to <file id="..."> elements</rule>
|
||||
<rule>When instructions reference a file path, locate the corresponding <file> element by matching the id attribute</rule>
|
||||
<rule>YAML files are bundled with only their web_bundle section content (flattened to root level)</rule>
|
||||
</rules>
|
||||
|
||||
Reference in New Issue
Block a user