From 53220420a5c382fa0822f28975e216bc15443c70 Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Sat, 31 Jan 2026 16:25:31 -0700 Subject: [PATCH 1/5] fix: add disable-model-invocation to all generated slash commands (#1501) Prevents Claude from auto-invoking BMad skills without explicit user request. Adds disable-model-invocation: true frontmatter to all command templates and inline generators for Claude Code and Codex. Co-authored-by: Brian --- tools/cli/installers/lib/ide/_config-driven.js | 2 ++ tools/cli/installers/lib/ide/codex.js | 1 + .../installers/lib/ide/shared/task-tool-command-generator.js | 1 + .../cli/installers/lib/ide/templates/agent-command-template.md | 1 + .../cli/installers/lib/ide/templates/combined/default-agent.md | 1 + .../lib/ide/templates/combined/default-workflow-yaml.md | 1 + .../installers/lib/ide/templates/combined/default-workflow.md | 1 + .../installers/lib/ide/templates/workflow-command-template.md | 1 + tools/cli/installers/lib/ide/templates/workflow-commander.md | 1 + 9 files changed, 10 insertions(+) diff --git a/tools/cli/installers/lib/ide/_config-driven.js b/tools/cli/installers/lib/ide/_config-driven.js index 022bff7b..87be7300 100644 --- a/tools/cli/installers/lib/ide/_config-driven.js +++ b/tools/cli/installers/lib/ide/_config-driven.js @@ -283,6 +283,7 @@ class ConfigDrivenIdeSetup extends BaseIdeSetup { return `--- name: '{{name}}' description: '{{description}}' +disable-model-invocation: true --- You must fully embody this agent's persona and follow all activation instructions exactly as specified. @@ -297,6 +298,7 @@ You must fully embody this agent's persona and follow all activation instruction return `--- name: '{{name}}' description: '{{description}}' +disable-model-invocation: true --- # {{name}} diff --git a/tools/cli/installers/lib/ide/codex.js b/tools/cli/installers/lib/ide/codex.js index 60250a39..5cd503e2 100644 --- a/tools/cli/installers/lib/ide/codex.js +++ b/tools/cli/installers/lib/ide/codex.js @@ -411,6 +411,7 @@ class CodexSetup extends BaseIdeSetup { const launcherContent = `--- name: '${agentName}' description: '${agentName} agent' +disable-model-invocation: true --- You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. diff --git a/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js b/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js index 6b90de9f..a0c4bcf8 100644 --- a/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +++ b/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js @@ -72,6 +72,7 @@ class TaskToolCommandGenerator { return `--- description: '${description.replaceAll("'", "''")}' +disable-model-invocation: true --- # ${item.displayName || item.name} diff --git a/tools/cli/installers/lib/ide/templates/agent-command-template.md b/tools/cli/installers/lib/ide/templates/agent-command-template.md index 89713631..90e176a0 100644 --- a/tools/cli/installers/lib/ide/templates/agent-command-template.md +++ b/tools/cli/installers/lib/ide/templates/agent-command-template.md @@ -1,6 +1,7 @@ --- name: '{{name}}' description: '{{description}}' +disable-model-invocation: true --- You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. diff --git a/tools/cli/installers/lib/ide/templates/combined/default-agent.md b/tools/cli/installers/lib/ide/templates/combined/default-agent.md index f8ad9380..17a0be4b 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-agent.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-agent.md @@ -1,6 +1,7 @@ --- name: '{{name}}' description: '{{description}}' +disable-model-invocation: true --- You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. diff --git a/tools/cli/installers/lib/ide/templates/combined/default-workflow-yaml.md b/tools/cli/installers/lib/ide/templates/combined/default-workflow-yaml.md index eca90437..2a5e49b8 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-workflow-yaml.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-workflow-yaml.md @@ -1,6 +1,7 @@ --- name: '{{name}}' description: '{{description}}' +disable-model-invocation: true --- IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded: diff --git a/tools/cli/installers/lib/ide/templates/combined/default-workflow.md b/tools/cli/installers/lib/ide/templates/combined/default-workflow.md index afb0dea5..8c4fa818 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-workflow.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-workflow.md @@ -1,6 +1,7 @@ --- name: '{{name}}' description: '{{description}}' +disable-model-invocation: true --- IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly! diff --git a/tools/cli/installers/lib/ide/templates/workflow-command-template.md b/tools/cli/installers/lib/ide/templates/workflow-command-template.md index 5c9e436c..472c1553 100644 --- a/tools/cli/installers/lib/ide/templates/workflow-command-template.md +++ b/tools/cli/installers/lib/ide/templates/workflow-command-template.md @@ -1,5 +1,6 @@ --- description: '{{description}}' +disable-model-invocation: true --- IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded: diff --git a/tools/cli/installers/lib/ide/templates/workflow-commander.md b/tools/cli/installers/lib/ide/templates/workflow-commander.md index 3645c1a2..d49c8319 100644 --- a/tools/cli/installers/lib/ide/templates/workflow-commander.md +++ b/tools/cli/installers/lib/ide/templates/workflow-commander.md @@ -1,5 +1,6 @@ --- description: '{{description}}' +disable-model-invocation: true --- IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{{workflow_path}}, READ its entire contents and follow its directions exactly! From 7fcfd4c1b8321e83e2bf5eb607be0fd90be546e9 Mon Sep 17 00:00:00 2001 From: Michael Pursifull Date: Sat, 31 Jan 2026 17:26:41 -0600 Subject: [PATCH 2/5] fix: correct party-mode workflow file extension in workflow.xml (#1499) The party-mode workflow reference uses .yaml extension but the actual file is workflow.md. This broken reference has been present since alpha.17. Fixes #1212 Co-authored-by: Brian --- src/core/tasks/workflow.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tasks/workflow.xml b/src/core/tasks/workflow.xml index 137b6dd5..fcf6f96b 100644 --- a/src/core/tasks/workflow.xml +++ b/src/core/tasks/workflow.xml @@ -81,7 +81,7 @@ Continue to next step - Start the party-mode workflow {project-root}/_bmad/core/workflows/party-mode/workflow.yaml + Start the party-mode workflow {project-root}/_bmad/core/workflows/party-mode/workflow.md From 8c59fb96a7b71f856683aa60a28210ae7b5f62d2 Mon Sep 17 00:00:00 2001 From: Ramiz Date: Sun, 1 Feb 2026 00:27:57 +0100 Subject: [PATCH 3/5] Enable sidecar for tech writer agent (#1487) fix Pagie hasSidecar --- src/bmm/agents/tech-writer/tech-writer.agent.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmm/agents/tech-writer/tech-writer.agent.yaml b/src/bmm/agents/tech-writer/tech-writer.agent.yaml index d1bb7e91..43f376c1 100644 --- a/src/bmm/agents/tech-writer/tech-writer.agent.yaml +++ b/src/bmm/agents/tech-writer/tech-writer.agent.yaml @@ -7,7 +7,7 @@ agent: title: Technical Writer icon: 📚 module: bmm - hasSidecar: false + hasSidecar: true persona: role: Technical Documentation Specialist + Knowledge Curator From 7afe018f82b401d741f84ccec5f40603d1d08e6d Mon Sep 17 00:00:00 2001 From: Michael Pursifull Date: Sat, 31 Jan 2026 19:27:17 -0600 Subject: [PATCH 4/5] fix: correct relative path to validation workflow in step-e-04-complete (#1498) The validationWorkflow reference uses ./steps-v/step-v-01-discovery.md but steps-v/ is a sibling of steps-e/, not a child. Corrected to ../steps-v/step-v-01-discovery.md. Fixes #1496 Co-authored-by: Brian --- .../2-plan-workflows/create-prd/steps-e/step-e-04-complete.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md b/src/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md index 733f1a52..5d681fee 100644 --- a/src/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +++ b/src/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md @@ -4,7 +4,7 @@ description: 'Complete & Validate - Present options for next steps including ful # File references (ONLY variables used in this step) prdFile: '{prd_file_path}' -validationWorkflow: './steps-v/step-v-01-discovery.md' +validationWorkflow: '../steps-v/step-v-01-discovery.md' --- # Step E-4: Complete & Validate From 0a7329ff235b82f1485dd04f836788e62aab225c Mon Sep 17 00:00:00 2001 From: Michael Pursifull Date: Sat, 31 Jan 2026 19:27:48 -0600 Subject: [PATCH 5/5] fix: correct relative path to prd-purpose.md in step-11-polish (#1497) The purposeFile reference uses ./data/prd-purpose.md but data/ is a sibling of steps-c/, not a child. Corrected to ../data/prd-purpose.md. Fixes #1495 --- .../2-plan-workflows/create-prd/steps-c/step-11-polish.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md b/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md index 23200915..70bf198c 100644 --- a/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +++ b/src/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md @@ -5,7 +5,7 @@ description: 'Optimize and polish the complete PRD document for flow, coherence, # File References nextStepFile: './step-12-complete.md' outputFile: '{planning_artifacts}/prd.md' -purposeFile: './data/prd-purpose.md' +purposeFile: '../data/prd-purpose.md' # Task References advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'