bmad-method 4.21.1 → 4.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.21.2](https://github.com/bmadcode/BMAD-METHOD/compare/v4.21.1...v4.21.2) (2025-06-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * improve create-doc task clarity for template execution ([86d5139](https://github.com/bmadcode/BMAD-METHOD/commit/86d5139aea7097cc5d4ee9da0f7d3e395ce0835e))
7
+
1
8
  ## [4.21.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.21.0...v4.21.1) (2025-06-30)
2
9
 
3
10
 
@@ -2,73 +2,70 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- - Generate documents from any specified template following embedded instructions from the perspective of the selected agent persona
5
+ Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
6
6
 
7
- ## Instructions
7
+ ## CRITICAL RULES
8
8
 
9
- ### 1. Identify Template and Context
9
+ 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
10
+ 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
11
+ 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
12
+ 4. **WAIT for user input** - At review points and after elicitation tasks
10
13
 
11
- - Determine which template to use (user-provided or list available for selection to user)
14
+ ## Execution Flow
12
15
 
13
- - Agent-specific templates are listed in the agent's dependencies under `templates`. For each template listed, consider it a document the agent can create. So if an agent has:
16
+ ### 1. Identify Template
14
17
 
15
- @{example}
16
- dependencies:
17
- templates: - prd-tmpl - architecture-tmpl
18
- @{/example}
18
+ - Load from `templates#*` or `{root}/templates directory`
19
+ - Agent-specific templates are listed in agent's dependencies
20
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
19
21
 
20
- You would offer to create "PRD" and "Architecture" documents when the user asks what you can help with.
22
+ ### 2. Ask Interaction Mode
21
23
 
22
- - Gather all relevant inputs, or ask for them, or else rely on user providing necessary details to complete the document
23
- - Understand the document purpose and target audience
24
-
25
- ### 2. Determine Interaction Mode
26
-
27
- Confirm with the user their preferred interaction style:
28
-
29
- - **Incremental:** Work through chunks of the document.
30
- - **YOLO Mode:** Draft complete document making reasonable assumptions in one shot. (Can be entered also after starting incremental by just typing /yolo)
24
+ > 1. **Incremental** - Section by section with reviews
25
+ > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
31
26
 
32
27
  ### 3. Execute Template
33
28
 
34
- - Load specified template from `templates#*` or the `{root}/templates directory`
35
- - Follow ALL embedded LLM instructions within the template
36
- - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
29
+ - Replace {{placeholders}} with real content
30
+ - Execute [[LLM:]] instructions as you encounter them
31
+ - Process <<REPEAT>> loops and ^^CONDITIONS^^
32
+ - Use @{examples} for guidance but never output them
37
33
 
38
- ### 4. Template Processing Rules
34
+ ### 4. Key Execution Patterns
39
35
 
40
- #### CRITICAL: Never display template markup, LLM instructions, or examples to users
36
+ **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
41
37
 
42
- - Replace all {{placeholders}} with actual content
43
- - Execute all [[LLM: instructions]] internally
44
- - Process `<<REPEAT>>` sections as needed
45
- - Evaluate ^^CONDITION^^ blocks and include only if applicable
46
- - Use @{examples} for guidance but never output them
38
+ - Draft the content
39
+ - Present it to user
40
+ - IMMEDIATELY execute the task
41
+ - Wait for completion before continuing
47
42
 
48
- ### 5. Content Generation
43
+ **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
49
44
 
50
- - **Incremental Mode**: Present each major section for review before proceeding
51
- - **YOLO Mode**: Generate all sections, then review complete document with user
52
- - Apply any elicitation protocols specified in template
53
- - Incorporate user feedback and iterate as needed
45
+ - Finish the section
46
+ - STOP and execute the task
47
+ - Wait for user input
54
48
 
55
- ### 6. Validation
49
+ ### 5. Validation & Final Presentation
56
50
 
57
- If template specifies a checklist:
51
+ - Run any specified checklists
52
+ - Present clean, formatted content only
53
+ - No truncation or summarization
54
+ - Begin directly with content (no preamble)
55
+ - Include any handoff prompts from template
58
56
 
59
- - Run the appropriate checklist against completed document
60
- - Document completion status for each item
61
- - Address any deficiencies found
62
- - Present validation summary to user
57
+ ## Common Mistakes to Avoid
63
58
 
64
- ### 7. Final Presentation
59
+ Skipping elicitation tasks
60
+ ❌ Showing template markup to users
61
+ ❌ Continuing past STOP signals
62
+ ❌ Combining multiple review points
65
63
 
66
- - Present clean, formatted content only
67
- - Ensure all sections are complete
68
- - DO NOT truncate or summarize content
69
- - Begin directly with document content (no preamble)
70
- - Include any handoff prompts specified in template
64
+ Execute ALL instructions in sequence
65
+ Present only clean, formatted content
66
+ Stop at every elicitation point
67
+ Wait for user confirmation when instructed
71
68
 
72
- ## Important Notes
69
+ ## Remember
73
70
 
74
- - Template markup is for AI processing only - never expose to users
71
+ Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmad-method",
3
- "version": "4.21.1",
3
+ "version": "4.21.2",
4
4
  "description": "Breakthrough Method of Agile AI-driven Development",
5
5
  "main": "tools/cli.js",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmad-method",
3
- "version": "4.21.1",
3
+ "version": "4.21.2",
4
4
  "description": "BMAD Method installer - AI-powered Agile development framework",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {