refactor: simplify RULE wording with free-form escape clause
Replace emphatic "EVERY...MUST...Do NOT...No exceptions" phrasing with clearer natural language that includes an explicit free-form override. Research shows single clear sentences with conditional logic outperform stacked absolute directives for LLM compliance. New wording: "questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input." Also extracts RULE from step 4 in gemini-task.toml to standalone. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a04810f8ec
commit
dc6c1a1b45
|
|
@ -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.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from @_bmad/{{module}}/agents/{{path}}
|
1. LOAD the FULL agent file from @_bmad/{{module}}/agents/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ description: '{{description}}'
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}}
|
Read the entire task file at: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@ Read the entire tool file at: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
||||||
Follow all instructions in the tool file exactly as written.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,6 @@ name: '{{name}}'
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly!
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{project-root}/{{bmadFolderName}}/{{path}}, READ its entire contents and follow its directions exactly!
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ PRE-FLIGHT CHECKLIST:
|
||||||
3. [ ] CONFIRM: The user's name from config is {user_name}.
|
3. [ ] CONFIRM: The user's name from config is {user_name}.
|
||||||
4. [ ] CONFIRM: interaction_style is set to "{interaction_style}".
|
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. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
Only after all checks are complete, greet the user by name and display the menu.
|
Only after all checks are complete, greet the user by name and display the menu.
|
||||||
Acknowledge this checklist is complete in your first response.
|
Acknowledge this checklist is complete in your first response.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@ TASK INSTRUCTIONS:
|
||||||
1. LOAD the task file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the task file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
4. RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool. Do NOT write questions as plain text. No exceptions.
|
|
||||||
|
RULE: When interaction_style is "structured", questions to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ TOOL INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST call the ask_user tool. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ CRITICAL: This is a structured YAML workflow. Follow these steps precisely:
|
||||||
3. EXECUTE each step in order
|
3. EXECUTE each step in order
|
||||||
4. VALIDATE outputs before proceeding to next step
|
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. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ WORKFLOW INSTRUCTIONS:
|
||||||
3. FOLLOW every step precisely as specified
|
3. FOLLOW every step precisely as specified
|
||||||
4. DO NOT skip or modify any steps
|
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. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the ask_user tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from #[[file:{{bmadFolderName}}/{{path}}]]
|
1. LOAD the FULL agent file from #[[file:{{bmadFolderName}}/{{path}}]]
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ Read the entire task file at: #[[file:{{bmadFolderName}}/{{path}}]]
|
||||||
|
|
||||||
Follow all instructions in the task file exactly as written.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ Read the entire tool file at: #[[file:{{bmadFolderName}}/{{path}}]]
|
||||||
|
|
||||||
Follow all instructions in the tool file exactly as written.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ inclusion: manual
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,6 @@ inclusion: manual
|
||||||
|
|
||||||
# {{name}}
|
# {{name}}
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL #[[file:{{bmadFolderName}}/{{path}}]], READ its entire contents and follow its directions exactly!
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL #[[file:{{bmadFolderName}}/{{path}}]], READ its entire contents and follow its directions exactly!
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the question tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
<agent-activation CRITICAL="TRUE">
|
<agent-activation CRITICAL="TRUE">
|
||||||
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
1. LOAD the FULL agent file from {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@ TASK INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST call the question tool. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the question tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TASK FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@ TOOL INSTRUCTIONS:
|
||||||
2. READ its entire contents
|
2. READ its entire contents
|
||||||
3. FOLLOW every instruction precisely as specified
|
3. FOLLOW every instruction precisely as specified
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST call the question tool. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the question tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
TOOL FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,6 @@ WORKFLOW INSTRUCTIONS:
|
||||||
3. FOLLOW every step precisely as specified
|
3. FOLLOW every step precisely as specified
|
||||||
4. DO NOT skip or modify any steps
|
4. DO NOT skip or modify any steps
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST call the question tool. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the question tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,6 @@ WORKFLOW INSTRUCTIONS:
|
||||||
3. FOLLOW every step precisely as specified
|
3. FOLLOW every step precisely as specified
|
||||||
4. DO NOT skip or modify any steps
|
4. DO NOT skip or modify any steps
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST call the question tool. Do NOT write questions as plain text. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST call the question tool unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
WORKFLOW FILE: {project-root}/{{bmadFolderName}}/{{path}}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
Read the entire workflow file at: {project-root}/{{bmadFolderName}}/{{workflow_path}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
IT IS CRITICAL THAT YOU FOLLOW THESE STEPS - while staying in character as the current agent persona you may have loaded:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
description: '{{description}}'
|
description: '{{description}}'
|
||||||
---
|
---
|
||||||
|
|
||||||
RULE: When interaction_style is "structured", EVERY question to the user MUST use structured options with a numbered list. Do NOT ask open-ended inline questions. No exceptions.
|
RULE: When interaction_style is "structured", questions to the user MUST use structured options with a numbered list unless the workflow or user explicitly requests free-form input.
|
||||||
|
|
||||||
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{{workflow_path}}, READ its entire contents and follow its directions exactly!
|
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{{workflow_path}}, READ its entire contents and follow its directions exactly!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue