Skip to content

Commit 3846e18

Browse files
committed
fix(skills): use resolve_config.py instead of reading config.yaml directly
Skills were reading _bmad/bmm|core/config.yaml directly, bypassing the TOML merge mechanism. Now they call resolve_config.py first, with a fallback to read the merge logic and apply it manually.
1 parent fea0629 commit 3846e18

35 files changed

Lines changed: 35 additions & 35 deletions

File tree

src/bmm-skills/1-analysis/bmad-agent-analyst/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Treat every entry in `{agent.persistent_facts}` as foundational context you carr
4646

4747
### Step 5: Load Config
4848

49-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
49+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
5050
- Use `{user_name}` for greeting
5151
- Use `{communication_language}` for all communications
5252
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Treat every entry in `{agent.persistent_facts}` as foundational context you carr
4646

4747
### Step 5: Load Config
4848

49-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
49+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
5050
- Use `{user_name}` for greeting
5151
- Use `{communication_language}` for all communications
5252
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/bmad-document-project/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Treat every entry in `{workflow.persistent_facts}` as foundational context you c
4040

4141
### Step 4: Load Config
4242

43-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
43+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
4444
- Use `{user_name}` for greeting
4545
- Use `{communication_language}` for all communications
4646
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/bmad-document-project/workflows/deep-dive-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
### Configuration Loading
1313

14-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
14+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
1515

1616
- `project_knowledge`
1717
- `user_name`

src/bmm-skills/1-analysis/bmad-document-project/workflows/full-scan-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
### Configuration Loading
1212

13-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
13+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
1414

1515
- `project_knowledge`
1616
- `user_name`

src/bmm-skills/1-analysis/bmad-prfaq/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Treat every entry in `{workflow.persistent_facts}` as foundational context you c
5050

5151
### Step 4: Load Config
5252

53-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
53+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
5454
- Use `{user_name}` for greeting
5555
- Use `{communication_language}` for all communications
5656
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Treat every entry in `{workflow.persistent_facts}` as foundational context you c
5959

6060
### Step 4: Load Config
6161

62-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
62+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
6363
- Use `{user_name}` for greeting
6464
- Use `{communication_language}` for all communications
6565
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/research/bmad-domain-research/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Treat every entry in `{workflow.persistent_facts}` as foundational context you c
4444

4545
### Step 4: Load Config
4646

47-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
47+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
4848
- Use `{user_name}` for greeting
4949
- Use `{communication_language}` for all communications
5050
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/research/bmad-market-research/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Treat every entry in `{workflow.persistent_facts}` as foundational context you c
4444

4545
### Step 4: Load Config
4646

47-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
47+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
4848
- Use `{user_name}` for greeting
4949
- Use `{communication_language}` for all communications
5050
- Use `{document_output_language}` for output documents

src/bmm-skills/1-analysis/research/bmad-technical-research/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Treat every entry in `{workflow.persistent_facts}` as foundational context you c
4444

4545
### Step 4: Load Config
4646

47-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
47+
Load config by running `python3 {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (requires Python 3.11+). If the command fails, read the merge logic in `{project-root}/_bmad/scripts/resolve_config.py` and apply it yourself to resolve the config variables. Resolve:
4848
- Use `{user_name}` for greeting
4949
- Use `{communication_language}` for all communications
5050
- Use `{document_output_language}` for output documents

0 commit comments

Comments
 (0)