From 536c484c7dd73a62a0f3209eea1006866ae1772c Mon Sep 17 00:00:00 2001 From: sidtheone Date: Sat, 28 Feb 2026 13:52:30 +0100 Subject: [PATCH] fix: use explicit variable reference in interaction_style RULE Change all 34 RULE directives from bare "When interaction_style is" to explicit "Check your stored {interaction_style} session variable from activation step 2" with a fallback default to structured mode. Addresses cynical review finding that LLMs struggle with implicit natural-language conditionals and need explicit variable lookup instructions plus failure mode handling. Co-Authored-By: Claude Opus 4.6 --- src/utility/agent-components/activation-rules.txt | 2 +- tools/cli/installers/lib/ide/codex.js | 1 + .../cli/installers/lib/ide/templates/agent-command-template.md | 2 +- tools/cli/installers/lib/ide/templates/combined/antigravity.md | 2 +- tools/cli/installers/lib/ide/templates/combined/claude-agent.md | 2 +- tools/cli/installers/lib/ide/templates/combined/claude-task.md | 2 +- tools/cli/installers/lib/ide/templates/combined/claude-tool.md | 2 +- .../lib/ide/templates/combined/claude-workflow-yaml.md | 2 +- .../installers/lib/ide/templates/combined/claude-workflow.md | 2 +- .../cli/installers/lib/ide/templates/combined/default-agent.md | 2 +- tools/cli/installers/lib/ide/templates/combined/default-task.md | 2 +- tools/cli/installers/lib/ide/templates/combined/default-tool.md | 2 +- .../lib/ide/templates/combined/default-workflow-yaml.md | 2 +- .../installers/lib/ide/templates/combined/default-workflow.md | 2 +- .../cli/installers/lib/ide/templates/combined/gemini-agent.toml | 2 +- .../cli/installers/lib/ide/templates/combined/gemini-task.toml | 2 +- .../cli/installers/lib/ide/templates/combined/gemini-tool.toml | 2 +- .../lib/ide/templates/combined/gemini-workflow-yaml.toml | 2 +- .../installers/lib/ide/templates/combined/gemini-workflow.toml | 2 +- tools/cli/installers/lib/ide/templates/combined/kiro-agent.md | 2 +- tools/cli/installers/lib/ide/templates/combined/kiro-task.md | 2 +- tools/cli/installers/lib/ide/templates/combined/kiro-tool.md | 2 +- .../installers/lib/ide/templates/combined/kiro-workflow-yaml.md | 2 +- .../cli/installers/lib/ide/templates/combined/kiro-workflow.md | 2 +- .../cli/installers/lib/ide/templates/combined/opencode-agent.md | 2 +- .../cli/installers/lib/ide/templates/combined/opencode-task.md | 2 +- .../cli/installers/lib/ide/templates/combined/opencode-tool.md | 2 +- .../lib/ide/templates/combined/opencode-workflow-yaml.md | 2 +- .../installers/lib/ide/templates/combined/opencode-workflow.md | 2 +- tools/cli/installers/lib/ide/templates/combined/rovodev.md | 2 +- tools/cli/installers/lib/ide/templates/combined/trae.md | 2 +- .../installers/lib/ide/templates/combined/windsurf-workflow.md | 2 +- .../installers/lib/ide/templates/workflow-command-template.md | 2 +- tools/cli/installers/lib/ide/templates/workflow-commander.md | 2 +- 34 files changed, 34 insertions(+), 33 deletions(-) diff --git a/src/utility/agent-components/activation-rules.txt b/src/utility/agent-components/activation-rules.txt index 1c4e610f6..e14766619 100644 --- a/src/utility/agent-components/activation-rules.txt +++ b/src/utility/agent-components/activation-rules.txt @@ -1,6 +1,6 @@ ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style. - When {interaction_style} is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. + Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Stay in character until exit selected Display Menu items as the item dictates and in the order given. Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml diff --git a/tools/cli/installers/lib/ide/codex.js b/tools/cli/installers/lib/ide/codex.js index abee979fd..bf7445e31 100644 --- a/tools/cli/installers/lib/ide/codex.js +++ b/tools/cli/installers/lib/ide/codex.js @@ -416,6 +416,7 @@ class CodexSetup extends BaseIdeSetup { const skillContent = `---\n${fm}\n---\n` + "\nYou must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.\n" + + '\nRULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `ask_user_question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode.\n' + '\n\n' + `1. LOAD the FULL agent file from @${agentPath}\n` + '2. READ its entire contents - this contains the complete agent persona, menu, and instructions\n' + 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 d9ab8f151..efdf63fa6 100644 --- a/tools/cli/installers/lib/ide/templates/agent-command-template.md +++ b/tools/cli/installers/lib/ide/templates/agent-command-template.md @@ -5,7 +5,7 @@ description: '{{description}}' You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 1. LOAD the FULL agent file from @_bmad/{{module}}/agents/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/antigravity.md b/tools/cli/installers/lib/ide/templates/combined/antigravity.md index 4de528691..be74195fc 100644 --- a/tools/cli/installers/lib/ide/templates/combined/antigravity.md +++ b/tools/cli/installers/lib/ide/templates/combined/antigravity.md @@ -7,4 +7,4 @@ Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_p Follow all instructions in the workflow file exactly as written. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. diff --git a/tools/cli/installers/lib/ide/templates/combined/claude-agent.md b/tools/cli/installers/lib/ide/templates/combined/claude-agent.md index 858d41276..ff5dd90a7 100644 --- a/tools/cli/installers/lib/ide/templates/combined/claude-agent.md +++ b/tools/cli/installers/lib/ide/templates/combined/claude-agent.md @@ -5,7 +5,7 @@ description: '{{description}}' You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/claude-task.md b/tools/cli/installers/lib/ide/templates/combined/claude-task.md index 80cfb07cf..e165713e3 100644 --- a/tools/cli/installers/lib/ide/templates/combined/claude-task.md +++ b/tools/cli/installers/lib/ide/templates/combined/claude-task.md @@ -5,7 +5,7 @@ description: '{{description}}' # {{name}} -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/claude-tool.md b/tools/cli/installers/lib/ide/templates/combined/claude-tool.md index bbd4637ae..21c0a787f 100644 --- a/tools/cli/installers/lib/ide/templates/combined/claude-tool.md +++ b/tools/cli/installers/lib/ide/templates/combined/claude-tool.md @@ -5,7 +5,7 @@ description: '{{description}}' # {{name}} -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Read the entire tool file at: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/claude-workflow-yaml.md b/tools/cli/installers/lib/ide/templates/combined/claude-workflow-yaml.md index 9345f5462..bf2011a22 100644 --- a/tools/cli/installers/lib/ide/templates/combined/claude-workflow-yaml.md +++ b/tools/cli/installers/lib/ide/templates/combined/claude-workflow-yaml.md @@ -3,7 +3,7 @@ name: '{{name}}' description: '{{description}}' --- -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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/claude-workflow.md b/tools/cli/installers/lib/ide/templates/combined/claude-workflow.md index 375d7c261..94ce30143 100644 --- a/tools/cli/installers/lib/ide/templates/combined/claude-workflow.md +++ b/tools/cli/installers/lib/ide/templates/combined/claude-workflow.md @@ -3,6 +3,6 @@ name: '{{name}}' description: '{{description}}' --- -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `AskUserQuestion` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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/combined/default-agent.md b/tools/cli/installers/lib/ide/templates/combined/default-agent.md index f01d2457f..19e7b8fc4 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-agent.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-agent.md @@ -5,7 +5,7 @@ description: '{{description}}' You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/default-task.md b/tools/cli/installers/lib/ide/templates/combined/default-task.md index ee9511287..8950cd0e7 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-task.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-task.md @@ -5,7 +5,7 @@ description: '{{description}}' # {{name}} -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/default-tool.md b/tools/cli/installers/lib/ide/templates/combined/default-tool.md index 6383f36c6..e9ddd7d41 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-tool.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-tool.md @@ -5,7 +5,7 @@ description: '{{description}}' # {{name}} -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Read the entire tool file at: {project-root}/{{bmadFolderName}}/{{path}} 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 e33120f9f..1a5c27391 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 @@ -3,7 +3,7 @@ name: '{{name}}' description: '{{description}}' --- -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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 75872d421..360cff1d9 100644 --- a/tools/cli/installers/lib/ide/templates/combined/default-workflow.md +++ b/tools/cli/installers/lib/ide/templates/combined/default-workflow.md @@ -3,6 +3,6 @@ name: '{{name}}' description: '{{description}}' --- -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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/combined/gemini-agent.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml index bfe2a1459..6e09ba186 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-agent.toml @@ -8,7 +8,7 @@ PRE-FLIGHT CHECKLIST: 3. [ ] CONFIRM: The user's name from config is {user_name}. 4. [ ] CONFIRM: interaction_style is set to "{interaction_style}". -RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Only after all checks are complete, greet the user by name and display the menu. Acknowledge this checklist is complete in your first response. diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml index 56f8ec16e..8a6092366 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-task.toml @@ -7,7 +7,7 @@ TASK INSTRUCTIONS: 2. READ its entire contents 3. FOLLOW every instruction precisely as specified -RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. TASK FILE: {project-root}/{{bmadFolderName}}/{{path}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml index 68819aef4..b550822b0 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-tool.toml @@ -7,7 +7,7 @@ TOOL INSTRUCTIONS: 2. READ its entire contents 3. FOLLOW every instruction precisely as specified -RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml index d16373560..d725ddafd 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow-yaml.toml @@ -12,7 +12,7 @@ CRITICAL: This is a structured YAML workflow. Follow these steps precisely: 3. EXECUTE each step in order 4. VALIDATE outputs before proceeding to next step -RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml index ec95c3508..d8d810146 100644 --- a/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml +++ b/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.toml @@ -10,7 +10,7 @@ WORKFLOW INSTRUCTIONS: 3. FOLLOW every step precisely as specified 4. DO NOT skip or modify any steps -RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}} """ diff --git a/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md b/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md index 407afe03b..2d127dad4 100644 --- a/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md +++ b/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md @@ -6,7 +6,7 @@ inclusion: manual You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 1. LOAD the FULL agent file from #[[file:{{bmadFolderName}}/{{path}}]] diff --git a/tools/cli/installers/lib/ide/templates/combined/kiro-task.md b/tools/cli/installers/lib/ide/templates/combined/kiro-task.md index 925f6c802..472841d57 100644 --- a/tools/cli/installers/lib/ide/templates/combined/kiro-task.md +++ b/tools/cli/installers/lib/ide/templates/combined/kiro-task.md @@ -8,4 +8,4 @@ Read the entire task file at: #[[file:{{bmadFolderName}}/{{path}}]] Follow all instructions in the task file exactly as written. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. diff --git a/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md b/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md index 3182b0fe3..1cadd2947 100644 --- a/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md +++ b/tools/cli/installers/lib/ide/templates/combined/kiro-tool.md @@ -8,4 +8,4 @@ Read the entire tool file at: #[[file:{{bmadFolderName}}/{{path}}]] Follow all instructions in the tool file exactly as written. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. diff --git a/tools/cli/installers/lib/ide/templates/combined/kiro-workflow-yaml.md b/tools/cli/installers/lib/ide/templates/combined/kiro-workflow-yaml.md index 3c71cc6c0..91b1715d8 100644 --- a/tools/cli/installers/lib/ide/templates/combined/kiro-workflow-yaml.md +++ b/tools/cli/installers/lib/ide/templates/combined/kiro-workflow-yaml.md @@ -4,7 +4,7 @@ inclusion: manual # {{name}} -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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/kiro-workflow.md b/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md index 977a98850..6bcc16ff2 100644 --- a/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md +++ b/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md @@ -4,6 +4,6 @@ inclusion: manual # {{name}} -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL #[[file:{{bmadFolderName}}/{{path}}]], READ its entire contents and follow its directions exactly! diff --git a/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md b/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md index 1db56ac69..c8d36b2d7 100644 --- a/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md +++ b/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md @@ -5,7 +5,7 @@ description: '{{description}}' You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command. -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/opencode-task.md b/tools/cli/installers/lib/ide/templates/combined/opencode-task.md index 4fa6f2fd6..c59b4e587 100644 --- a/tools/cli/installers/lib/ide/templates/combined/opencode-task.md +++ b/tools/cli/installers/lib/ide/templates/combined/opencode-task.md @@ -10,6 +10,6 @@ TASK INSTRUCTIONS: 2. READ its entire contents 3. FOLLOW every instruction precisely as specified -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. TASK FILE: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md b/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md index 89a12d26c..ec2796005 100644 --- a/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md +++ b/tools/cli/installers/lib/ide/templates/combined/opencode-tool.md @@ -10,6 +10,6 @@ TOOL INSTRUCTIONS: 2. READ its entire contents 3. FOLLOW every instruction precisely as specified -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md b/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md index e56138b05..e1b3d3f30 100644 --- a/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md +++ b/tools/cli/installers/lib/ide/templates/combined/opencode-workflow-yaml.md @@ -13,6 +13,6 @@ WORKFLOW INSTRUCTIONS: 3. FOLLOW every step precisely as specified 4. DO NOT skip or modify any steps -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md b/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md index e56138b05..e1b3d3f30 100644 --- a/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md +++ b/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md @@ -13,6 +13,6 @@ WORKFLOW INSTRUCTIONS: 3. FOLLOW every step precisely as specified 4. DO NOT skip or modify any steps -RULE: When interaction_style is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST call the `question` tool unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/rovodev.md b/tools/cli/installers/lib/ide/templates/combined/rovodev.md index 99bc77f32..8d546a7ca 100644 --- a/tools/cli/installers/lib/ide/templates/combined/rovodev.md +++ b/tools/cli/installers/lib/ide/templates/combined/rovodev.md @@ -4,7 +4,7 @@ --- -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_path}} diff --git a/tools/cli/installers/lib/ide/templates/combined/trae.md b/tools/cli/installers/lib/ide/templates/combined/trae.md index 4f3ad39ac..278efa6fb 100644 --- a/tools/cli/installers/lib/ide/templates/combined/trae.md +++ b/tools/cli/installers/lib/ide/templates/combined/trae.md @@ -8,4 +8,4 @@ Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_p Follow all instructions in the workflow file exactly as written. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. diff --git a/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md b/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md index a17f975fc..f9429fcac 100644 --- a/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md +++ b/tools/cli/installers/lib/ide/templates/combined/windsurf-workflow.md @@ -9,4 +9,4 @@ Read the entire workflow file at {project-root}/{{bmadFolderName}}/{{workflow_pa Follow all instructions in the workflow file exactly as written. -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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 aef45f48b..374bdbfec 100644 --- a/tools/cli/installers/lib/ide/templates/workflow-command-template.md +++ b/tools/cli/installers/lib/ide/templates/workflow-command-template.md @@ -2,7 +2,7 @@ description: '{{description}}' --- -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. 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 2b4416492..48c57b2d0 100644 --- a/tools/cli/installers/lib/ide/templates/workflow-commander.md +++ b/tools/cli/installers/lib/ide/templates/workflow-commander.md @@ -2,6 +2,6 @@ description: '{{description}}' --- -RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. +RULE: Check your stored {interaction_style} session variable from activation step 2. When its value is "structured", EVERY question to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input. If you cannot determine {interaction_style}, default to structured mode. IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{{workflow_path}}, READ its entire contents and follow its directions exactly!