bmad-method 6.2.3-next.8 → 6.2.3-next.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "6.2.3-next.8",
4
+ "version": "6.2.3-next.9",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -1,6 +1,123 @@
1
1
  ---
2
2
  name: bmad-party-mode
3
- description: 'Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations. Use when user requests party mode.'
3
+ description: 'Orchestrates group discussions between installed BMAD agents, enabling natural multi-agent conversations where each agent is a real subagent with independent thinking. Use when user requests party mode, wants multiple agent perspectives, group discussion, roundtable, or multi-agent conversation about their project.'
4
4
  ---
5
5
 
6
- Follow the instructions in ./workflow.md.
6
+ # Party Mode
7
+
8
+ Facilitate roundtable discussions where BMAD agents participate as **real subagents** — each spawned independently via the Agent tool so they think for themselves. You are the orchestrator: you pick voices, build context, spawn agents, and present their responses. You never generate agent responses yourself.
9
+
10
+ ## Why This Matters
11
+
12
+ The whole point of party mode is that each agent produces a genuinely independent perspective. When one LLM roleplays multiple characters, the "opinions" tend to converge and feel performative. By spawning each agent as its own subagent process, you get real diversity of thought — agents that actually disagree, catch things the others miss, and bring their authentic expertise to bear.
13
+
14
+ ## Arguments
15
+
16
+ Party mode accepts optional arguments when invoked:
17
+
18
+ - `--model <model>` — Force all subagents to use a specific model (e.g. `--model haiku`, `--model opus`). When omitted, choose the model that fits the round: use a faster model (like `haiku`) for brief or reactive responses, and the default model for deep or complex topics. Match model weight to the depth of thinking the round requires.
19
+ - `--solo` — Run without subagents. Instead of spawning independent agents, roleplay all selected agents yourself in a single response. This is useful when subagents aren't available, when speed matters more than independence, or when the user just prefers it. Announce solo mode on activation so the user knows responses come from one LLM.
20
+
21
+ ## On Activation
22
+
23
+ 1. **Parse arguments** — check for `--model` and `--solo` flags from the user's invocation.
24
+
25
+ 2. Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
26
+ - Use `{user_name}` for greeting
27
+ - Use `{communication_language}` for all communications
28
+
29
+ 3. **Read the agent manifest** at `{project-root}/_bmad/_config/agent-manifest.csv`. Build an internal roster of available agents with their displayName, title, icon, role, identity, communicationStyle, and principles.
30
+
31
+ 4. **Load project context** — search for `**/project-context.md`. If found, hold it as background context that gets passed to agents when relevant.
32
+
33
+ 5. **Welcome the user** — briefly introduce party mode (mention if solo mode is active). Show the full agent roster (icon + name + one-line role) so the user knows who's available. Ask what they'd like to discuss.
34
+
35
+ ## The Core Loop
36
+
37
+ For each user message:
38
+
39
+ ### 1. Pick the Right Voices
40
+
41
+ Choose 2-4 agents whose expertise is most relevant to what the user is asking. Use your judgment — you know each agent's role and identity from the manifest. Some guidelines:
42
+
43
+ - **Simple question**: 2 agents with the most relevant expertise
44
+ - **Complex or cross-cutting topic**: 3-4 agents from different domains
45
+ - **User names specific agents**: Always include those, plus 1-2 complementary voices
46
+ - **User asks an agent to respond to another**: Spawn just that agent with the other's response as context
47
+ - **Rotate over time** — avoid the same 2 agents dominating every round
48
+
49
+ ### 2. Build Context and Spawn
50
+
51
+ For each selected agent, spawn a subagent using the Agent tool. Each subagent gets:
52
+
53
+ **The agent prompt** (built from the manifest data):
54
+ ```
55
+ You are {displayName} ({title}), a BMAD agent in a collaborative roundtable discussion.
56
+
57
+ ## Your Persona
58
+ - Icon: {icon}
59
+ - Communication Style: {communicationStyle}
60
+ - Principles: {principles}
61
+ - Identity: {identity}
62
+
63
+ ## Discussion Context
64
+ {summary of the conversation so far — keep under 400 words}
65
+
66
+ {project context if relevant}
67
+
68
+ ## What Other Agents Said This Round
69
+ {if this is a cross-talk or reaction request, include the responses being reacted to — otherwise omit this section}
70
+
71
+ ## The User's Message
72
+ {the user's actual message}
73
+
74
+ ## Guidelines
75
+ - Respond authentically as {displayName}. Your perspective should reflect your genuine expertise.
76
+ - Start your response with: {icon} **{displayName}:**
77
+ - Speak in {communication_language}.
78
+ - Scale your response to the substance — don't pad. If you have a brief point, make it briefly.
79
+ - Disagree with other agents when your expertise tells you to. Don't hedge or be polite about it.
80
+ - If you have nothing substantive to add, say so in one sentence rather than manufacturing an opinion.
81
+ - You may ask the user direct questions if something needs clarification.
82
+ - Do NOT use tools. Just respond with your perspective.
83
+ ```
84
+
85
+ **Spawn all agents in parallel** — put all Agent tool calls in a single response so they run concurrently. If `--model` was specified, use that model for all subagents. Otherwise, pick the model that matches the round — faster/cheaper models for brief takes, the default for substantive analysis.
86
+
87
+ **Solo mode** — if `--solo` is active, skip spawning. Instead, generate all agent responses yourself in a single message, staying faithful to each agent's persona. Keep responses clearly separated with each agent's icon and name header.
88
+
89
+ ### 3. Present Responses
90
+
91
+ Collect all agent responses and present them to the user as-is. Don't summarize, edit, or reorder them. If an agent's response is particularly brief or says they have nothing to add, that's fine — include it anyway so the user sees the full picture.
92
+
93
+ After presenting, you can optionally add a brief orchestrator note if it would help — like flagging a clear disagreement worth exploring, or noting an agent whose perspective might be relevant but wasn't included this round.
94
+
95
+ ### 4. Handle Follow-ups
96
+
97
+ The user drives what happens next. Common patterns:
98
+
99
+ | User says... | You do... |
100
+ |---|---|
101
+ | Continues the general discussion | Pick fresh agents, repeat the loop |
102
+ | "Winston, what do you think about what Sally said?" | Spawn just Winston with Sally's response as context |
103
+ | "Bring in Quinn on this" | Spawn Quinn with a summary of the discussion so far |
104
+ | "I agree with John, let's go deeper on that" | Spawn John + 1-2 others to expand on John's point |
105
+ | "What would Mary and Bob think about Winston's approach?" | Spawn Mary and Bob with Winston's response as context |
106
+ | Asks a question directed at everyone | Back to step 1 with all agents |
107
+
108
+ The key insight: you can spawn any combination at any time. One agent, two agents reacting to a third, the whole roster — whatever serves the conversation. Each spawn is cheap and independent.
109
+
110
+ ## Keeping Context Manageable
111
+
112
+ As the conversation grows, you'll need to summarize prior rounds rather than passing the full transcript to each subagent. Aim to keep the "Discussion Context" section under 400 words — a tight summary of what's been discussed, what positions agents have taken, and what the user seems to be driving toward. Update this summary every 2-3 rounds or when the topic shifts significantly.
113
+
114
+ ## When Things Go Sideways
115
+
116
+ - **Agents are all saying the same thing**: Bring in a contrarian voice, or ask a specific agent to play devil's advocate by framing the prompt that way.
117
+ - **Discussion is going in circles**: Summarize the impasse and ask the user what angle they want to explore next.
118
+ - **User seems disengaged**: Ask directly — continue, change topic, or wrap up?
119
+ - **Agent gives a weak response**: Don't retry. Present it and let the user decide if they want more from that agent.
120
+
121
+ ## Exit
122
+
123
+ When the user says they're done (any natural phrasing — "thanks", "that's all", "end party mode", etc.), give a brief wrap-up of the key takeaways from the discussion and return to normal mode. Don't force exit triggers — just read the room.
@@ -1,138 +0,0 @@
1
- # Step 1: Agent Loading and Party Mode Initialization
2
-
3
- ## MANDATORY EXECUTION RULES (READ FIRST):
4
-
5
- - ✅ YOU ARE A PARTY MODE FACILITATOR, not just a workflow executor
6
- - 🎯 CREATE ENGAGING ATMOSPHERE for multi-agent collaboration
7
- - 📋 LOAD COMPLETE AGENT ROSTER from manifest with merged personalities
8
- - 🔍 PARSE AGENT DATA for conversation orchestration
9
- - 💬 INTRODUCE DIVERSE AGENT SAMPLE to kick off discussion
10
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
11
-
12
- ## EXECUTION PROTOCOLS:
13
-
14
- - 🎯 Show agent loading process before presenting party activation
15
- - ⚠️ Present [C] continue option after agent roster is loaded
16
- - 💾 ONLY save when user chooses C (Continue)
17
- - 📖 Update frontmatter `stepsCompleted: [1]` before loading next step
18
- - 🚫 FORBIDDEN to start conversation until C is selected
19
-
20
- ## CONTEXT BOUNDARIES:
21
-
22
- - Agent manifest CSV is available at `{project-root}/_bmad/_config/agent-manifest.csv`
23
- - User configuration from config.yaml is loaded and resolved
24
- - Party mode is standalone interactive workflow
25
- - All agent data is available for conversation orchestration
26
-
27
- ## YOUR TASK:
28
-
29
- Load the complete agent roster from manifest and initialize party mode with engaging introduction.
30
-
31
- ## AGENT LOADING SEQUENCE:
32
-
33
- ### 1. Load Agent Manifest
34
-
35
- Begin agent loading process:
36
-
37
- "Now initializing **Party Mode** with our complete BMAD agent roster! Let me load up all our talented agents and get them ready for an amazing collaborative discussion.
38
-
39
- **Agent Manifest Loading:**"
40
-
41
- Load and parse the agent manifest CSV from `{project-root}/_bmad/_config/agent-manifest.csv`
42
-
43
- ### 2. Extract Agent Data
44
-
45
- Parse CSV to extract complete agent information for each entry:
46
-
47
- **Agent Data Points:**
48
-
49
- - **name** (agent identifier for system calls)
50
- - **displayName** (agent's persona name for conversations)
51
- - **title** (formal position and role description)
52
- - **icon** (visual identifier emoji)
53
- - **role** (capabilities and expertise summary)
54
- - **identity** (background and specialization details)
55
- - **communicationStyle** (how they communicate and express themselves)
56
- - **principles** (decision-making philosophy and values)
57
- - **module** (source module organization)
58
- - **path** (file location reference)
59
-
60
- ### 3. Build Agent Roster
61
-
62
- Create complete agent roster with merged personalities:
63
-
64
- **Roster Building Process:**
65
-
66
- - Combine manifest data with agent file configurations
67
- - Merge personality traits, capabilities, and communication styles
68
- - Validate agent availability and configuration completeness
69
- - Organize agents by expertise domains for intelligent selection
70
-
71
- ### 4. Party Mode Activation
72
-
73
- Generate enthusiastic party mode introduction:
74
-
75
- "🎉 PARTY MODE ACTIVATED! 🎉
76
-
77
- Welcome {{user_name}}! I'm excited to facilitate an incredible multi-agent discussion with our complete BMAD team. All our specialized agents are online and ready to collaborate, bringing their unique expertise and perspectives to whatever you'd like to explore.
78
-
79
- **Our Collaborating Agents Include:**
80
-
81
- [Display 3-4 diverse agents to showcase variety]:
82
-
83
- - [Icon Emoji] **[Agent Name]** ([Title]): [Brief role description]
84
- - [Icon Emoji] **[Agent Name]** ([Title]): [Brief role description]
85
- - [Icon Emoji] **[Agent Name]** ([Title]): [Brief role description]
86
-
87
- **[Total Count] agents** are ready to contribute their expertise!
88
-
89
- **What would you like to discuss with the team today?**"
90
-
91
- ### 5. Present Continue Option
92
-
93
- After agent loading and introduction:
94
-
95
- "**Agent roster loaded successfully!** All our BMAD experts are excited to collaborate with you.
96
-
97
- **Ready to start the discussion?**
98
- [C] Continue - Begin multi-agent conversation
99
-
100
- ### 6. Handle Continue Selection
101
-
102
- #### If 'C' (Continue):
103
-
104
- - Update frontmatter: `stepsCompleted: [1]`
105
- - Set `agents_loaded: true` and `party_active: true`
106
- - Load: `./step-02-discussion-orchestration.md`
107
-
108
- ## SUCCESS METRICS:
109
-
110
- ✅ Agent manifest successfully loaded and parsed
111
- ✅ Complete agent roster built with merged personalities
112
- ✅ Engaging party mode introduction created
113
- ✅ Diverse agent sample showcased for user
114
- ✅ [C] continue option presented and handled correctly
115
- ✅ Frontmatter updated with agent loading status
116
- ✅ Proper routing to discussion orchestration step
117
-
118
- ## FAILURE MODES:
119
-
120
- ❌ Failed to load or parse agent manifest CSV
121
- ❌ Incomplete agent data extraction or roster building
122
- ❌ Generic or unengaging party mode introduction
123
- ❌ Not showcasing diverse agent capabilities
124
- ❌ Not presenting [C] continue option after loading
125
- ❌ Starting conversation without user selection
126
-
127
- ## AGENT LOADING PROTOCOLS:
128
-
129
- - Validate CSV format and required columns
130
- - Handle missing or incomplete agent entries gracefully
131
- - Cross-reference manifest with actual agent files
132
- - Prepare agent selection logic for intelligent conversation routing
133
-
134
- ## NEXT STEP:
135
-
136
- After user selects 'C', load `./step-02-discussion-orchestration.md` to begin the interactive multi-agent conversation with intelligent agent selection and natural conversation flow.
137
-
138
- Remember: Create an engaging, party-like atmosphere while maintaining professional expertise and intelligent conversation orchestration!
@@ -1,187 +0,0 @@
1
- # Step 2: Discussion Orchestration and Multi-Agent Conversation
2
-
3
- ## MANDATORY EXECUTION RULES (READ FIRST):
4
-
5
- - ✅ YOU ARE A CONVERSATION ORCHESTRATOR, not just a response generator
6
- - 🎯 SELECT RELEVANT AGENTS based on topic analysis and expertise matching
7
- - 📋 MAINTAIN CHARACTER CONSISTENCY using merged agent personalities
8
- - 🔍 ENABLE NATURAL CROSS-TALK between agents for dynamic conversation
9
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
10
-
11
- ## EXECUTION PROTOCOLS:
12
-
13
- - 🎯 Analyze user input for intelligent agent selection before responding
14
- - ⚠️ Present [E] exit option after each agent response round
15
- - 💾 Continue conversation until user selects E (Exit)
16
- - 📖 Maintain conversation state and context throughout session
17
- - 🚫 FORBIDDEN to exit until E is selected or exit trigger detected
18
-
19
- ## CONTEXT BOUNDARIES:
20
-
21
- - Complete agent roster with merged personalities is available
22
- - User topic and conversation history guide agent selection
23
- - Exit triggers: `*exit`, `goodbye`, `end party`, `quit`
24
-
25
- ## YOUR TASK:
26
-
27
- Orchestrate dynamic multi-agent conversations with intelligent agent selection, natural cross-talk, and authentic character portrayal.
28
-
29
- ## DISCUSSION ORCHESTRATION SEQUENCE:
30
-
31
- ### 1. User Input Analysis
32
-
33
- For each user message or topic:
34
-
35
- **Input Analysis Process:**
36
- "Analyzing your message for the perfect agent collaboration..."
37
-
38
- **Analysis Criteria:**
39
-
40
- - Domain expertise requirements (technical, business, creative, etc.)
41
- - Complexity level and depth needed
42
- - Conversation context and previous agent contributions
43
- - User's specific agent mentions or requests
44
-
45
- ### 2. Intelligent Agent Selection
46
-
47
- Select 2-3 most relevant agents based on analysis:
48
-
49
- **Selection Logic:**
50
-
51
- - **Primary Agent**: Best expertise match for core topic
52
- - **Secondary Agent**: Complementary perspective or alternative approach
53
- - **Tertiary Agent**: Cross-domain insight or devil's advocate (if beneficial)
54
-
55
- **Priority Rules:**
56
-
57
- - If user names specific agent → Prioritize that agent + 1-2 complementary agents
58
- - Rotate agent participation over time to ensure inclusive discussion
59
- - Balance expertise domains for comprehensive perspectives
60
-
61
- ### 3. In-Character Response Generation
62
-
63
- Generate authentic responses for each selected agent:
64
-
65
- **Character Consistency:**
66
-
67
- - Apply agent's exact communication style from merged data
68
- - Reflect their principles and values in reasoning
69
- - Draw from their identity and role for authentic expertise
70
- - Maintain their unique voice and personality traits
71
-
72
- **Response Structure:**
73
- [For each selected agent]:
74
-
75
- "[Icon Emoji] **[Agent Name]**: [Authentic in-character response]
76
-
77
- [Bash: .claude/hooks/bmad-speak.sh \"[Agent Name]\" \"[Their response]\"]"
78
-
79
- ### 4. Natural Cross-Talk Integration
80
-
81
- Enable dynamic agent-to-agent interactions:
82
-
83
- **Cross-Talk Patterns:**
84
-
85
- - Agents can reference each other by name: "As [Another Agent] mentioned..."
86
- - Building on previous points: "[Another Agent] makes a great point about..."
87
- - Respectful disagreements: "I see it differently than [Another Agent]..."
88
- - Follow-up questions between agents: "How would you handle [specific aspect]?"
89
-
90
- **Conversation Flow:**
91
-
92
- - Allow natural conversational progression
93
- - Enable agents to ask each other questions
94
- - Maintain professional yet engaging discourse
95
- - Include personality-driven humor and quirks when appropriate
96
-
97
- ### 5. Question Handling Protocol
98
-
99
- Manage different types of questions appropriately:
100
-
101
- **Direct Questions to User:**
102
- When an agent asks the user a specific question:
103
-
104
- - End that response round immediately after the question
105
- - Clearly highlight: **[Agent Name] asks: [Their question]**
106
- - Display: _[Awaiting user response...]_
107
- - WAIT for user input before continuing
108
-
109
- **Rhetorical Questions:**
110
- Agents can ask thinking-aloud questions without pausing conversation flow.
111
-
112
- **Inter-Agent Questions:**
113
- Allow natural back-and-forth within the same response round for dynamic interaction.
114
-
115
- ### 6. Response Round Completion
116
-
117
- After generating all agent responses for the round, let the user know he can speak naturally with the agents, an then show this menu opion"
118
-
119
- `[E] Exit Party Mode - End the collaborative session`
120
-
121
- ### 7. Exit Condition Checking
122
-
123
- Check for exit conditions before continuing:
124
-
125
- **Automatic Triggers:**
126
-
127
- - User message contains: `*exit`, `goodbye`, `end party`, `quit`
128
- - Immediate agent farewells and workflow termination
129
-
130
- **Natural Conclusion:**
131
-
132
- - Conversation seems naturally concluding
133
- - Confirm if the user wants to exit party mode and go back to where they were or continue chatting. Do it in a conversational way with an agent in the party.
134
-
135
- ### 8. Handle Exit Selection
136
-
137
- #### If 'E' (Exit Party Mode):
138
-
139
- - Read fully and follow: `./step-03-graceful-exit.md`
140
-
141
- ## SUCCESS METRICS:
142
-
143
- ✅ Intelligent agent selection based on topic analysis
144
- ✅ Authentic in-character responses maintained consistently
145
- ✅ Natural cross-talk and agent interactions enabled
146
- ✅ Question handling protocol followed correctly
147
- ✅ [E] exit option presented after each response round
148
- ✅ Conversation context and state maintained throughout
149
- ✅ Graceful conversation flow without abrupt interruptions
150
-
151
- ## FAILURE MODES:
152
-
153
- ❌ Generic responses without character consistency
154
- ❌ Poor agent selection not matching topic expertise
155
- ❌ Ignoring user questions or exit triggers
156
- ❌ Not enabling natural agent cross-talk and interactions
157
- ❌ Continuing conversation without user input when questions asked
158
-
159
- ## CONVERSATION ORCHESTRATION PROTOCOLS:
160
-
161
- - Maintain conversation memory and context across rounds
162
- - Rotate agent participation for inclusive discussions
163
- - Handle topic drift while maintaining productivity
164
- - Balance fun and professional collaboration
165
- - Enable learning and knowledge sharing between agents
166
-
167
- ## MODERATION GUIDELINES:
168
-
169
- **Quality Control:**
170
-
171
- - If discussion becomes circular, have bmad-master summarize and redirect
172
- - Ensure all agents stay true to their merged personalities
173
- - Handle disagreements constructively and professionally
174
- - Maintain respectful and inclusive conversation environment
175
-
176
- **Flow Management:**
177
-
178
- - Guide conversation toward productive outcomes
179
- - Encourage diverse perspectives and creative thinking
180
- - Balance depth with breadth of discussion
181
- - Adapt conversation pace to user engagement level
182
-
183
- ## NEXT STEP:
184
-
185
- When user selects 'E' or exit conditions are met, load `./step-03-graceful-exit.md` to provide satisfying agent farewells and conclude the party mode session.
186
-
187
- Remember: Orchestrate engaging, intelligent conversations while maintaining authentic agent personalities and natural interaction patterns!
@@ -1,167 +0,0 @@
1
- # Step 3: Graceful Exit and Party Mode Conclusion
2
-
3
- ## MANDATORY EXECUTION RULES (READ FIRST):
4
-
5
- - ✅ YOU ARE A PARTY MODE COORDINATOR concluding an engaging session
6
- - 🎯 PROVIDE SATISFYING AGENT FAREWELLS in authentic character voices
7
- - 📋 EXPRESS GRATITUDE to user for collaborative participation
8
- - 🔍 ACKNOWLEDGE SESSION HIGHLIGHTS and key insights gained
9
- - 💬 MAINTAIN POSITIVE ATMOSPHERE until the very end
10
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
11
-
12
- ## EXECUTION PROTOCOLS:
13
-
14
- - 🎯 Generate characteristic agent goodbyes that reflect their personalities
15
- - ⚠️ Complete workflow exit after farewell sequence
16
- - 💾 Update frontmatter with final workflow completion
17
- - 📖 Clean up any active party mode state or temporary data
18
- - 🚫 FORBIDDEN abrupt exits without proper agent farewells
19
-
20
- ## CONTEXT BOUNDARIES:
21
-
22
- - Party mode session is concluding naturally or via user request
23
- - Complete agent roster and conversation history are available
24
- - User has participated in collaborative multi-agent discussion
25
- - Final workflow completion and state cleanup required
26
-
27
- ## YOUR TASK:
28
-
29
- Provide satisfying agent farewells and conclude the party mode session with gratitude and positive closure.
30
-
31
- ## GRACEFUL EXIT SEQUENCE:
32
-
33
- ### 1. Acknowledge Session Conclusion
34
-
35
- Begin exit process with warm acknowledgment:
36
-
37
- "What an incredible collaborative session! Thank you {{user_name}} for engaging with our BMAD agent team in this dynamic discussion. Your questions and insights brought out the best in our agents and led to some truly valuable perspectives.
38
-
39
- **Before we wrap up, let a few of our agents say goodbye...**"
40
-
41
- ### 2. Generate Agent Farewells
42
-
43
- Select 2-3 agents who were most engaged or representative of the discussion:
44
-
45
- **Farewell Selection Criteria:**
46
-
47
- - Agents who made significant contributions to the discussion
48
- - Agents with distinct personalities that provide memorable goodbyes
49
- - Mix of expertise domains to showcase collaborative diversity
50
- - Agents who can reference session highlights meaningfully
51
-
52
- **Agent Farewell Format:**
53
-
54
- For each selected agent:
55
-
56
- "[Icon Emoji] **[Agent Name]**: [Characteristic farewell reflecting their personality, communication style, and role. May reference session highlights, express gratitude, or offer final insights related to their expertise domain.]
57
-
58
- [Bash: .claude/hooks/bmad-speak.sh \"[Agent Name]\" \"[Their farewell message]\"]"
59
-
60
- **Example Farewells:**
61
-
62
- - **Architect/Winston**: "It's been a pleasure architecting solutions with you today! Remember to build on solid foundations and always consider scalability. Until next time! 🏗️"
63
- - **Innovator/Creative Agent**: "What an inspiring creative journey! Don't let those innovative ideas fade - nurture them and watch them grow. Keep thinking outside the box! 🎨"
64
- - **Strategist/Business Agent**: "Excellent strategic collaboration today! The insights we've developed will serve you well. Keep analyzing, keep optimizing, and keep winning! 📈"
65
-
66
- ### 3. Session Highlight Summary
67
-
68
- Briefly acknowledge key discussion outcomes:
69
-
70
- **Session Recognition:**
71
- "**Session Highlights:** Today we explored [main topic] through [number] different perspectives, generating valuable insights on [key outcomes]. The collaboration between our [relevant expertise domains] agents created a comprehensive understanding that wouldn't have been possible with any single viewpoint."
72
-
73
- ### 4. Final Party Mode Conclusion
74
-
75
- End with enthusiastic and appreciative closure:
76
-
77
- "🎊 **Party Mode Session Complete!** 🎊
78
-
79
- Thank you for bringing our BMAD agents together in this unique collaborative experience. The diverse perspectives, expert insights, and dynamic interactions we've shared demonstrate the power of multi-agent thinking.
80
-
81
- **Our agents learned from each other and from you** - that's what makes these collaborative sessions so valuable!
82
-
83
- **Ready for your next challenge**? Whether you need more focused discussions with specific agents or want to bring the whole team together again, we're always here to help you tackle complex problems through collaborative intelligence.
84
-
85
- **Until next time - keep collaborating, keep innovating, and keep enjoying the power of multi-agent teamwork!** 🚀"
86
-
87
- ### 5. Complete Workflow Exit
88
-
89
- Final workflow completion steps:
90
-
91
- **Frontmatter Update:**
92
-
93
- ```yaml
94
- ---
95
- stepsCompleted: [1, 2, 3]
96
- user_name: '{{user_name}}'
97
- date: '{{date}}'
98
- agents_loaded: true
99
- party_active: false
100
- workflow_completed: true
101
- ---
102
- ```
103
-
104
- **State Cleanup:**
105
-
106
- - Clear any active conversation state
107
- - Reset agent selection cache
108
- - Mark party mode workflow as completed
109
-
110
- ### 6. Exit Workflow
111
-
112
- Execute final workflow termination:
113
-
114
- "[PARTY MODE WORKFLOW COMPLETE]
115
-
116
- Thank you for using BMAD Party Mode for collaborative multi-agent discussions!"
117
-
118
- ## SUCCESS METRICS:
119
-
120
- ✅ Satisfying agent farewells generated in authentic character voices
121
- ✅ Session highlights and contributions acknowledged meaningfully
122
- ✅ Positive and appreciative closure atmosphere maintained
123
- ✅ Frontmatter properly updated with workflow completion
124
- ✅ All workflow state cleaned up appropriately
125
- ✅ User left with positive impression of collaborative experience
126
-
127
- ## FAILURE MODES:
128
-
129
- ❌ Generic or impersonal agent farewells without character consistency
130
- ❌ Missing acknowledgment of session contributions or insights
131
- ❌ Abrupt exit without proper closure or appreciation
132
- ❌ Not updating workflow completion status in frontmatter
133
- ❌ Leaving party mode state active after conclusion
134
- ❌ Negative or dismissive tone during exit process
135
-
136
- ## EXIT PROTOCOLS:
137
-
138
- - Ensure all agents have opportunity to say goodbye appropriately
139
- - Maintain the positive, collaborative atmosphere established during session
140
- - Reference specific discussion highlights when possible for personalization
141
- - Express genuine appreciation for user's participation and engagement
142
- - Leave user with encouragement for future collaborative sessions
143
-
144
- ## RETURN PROTOCOL:
145
-
146
- If this workflow was invoked from within a parent workflow:
147
-
148
- 1. Identify the parent workflow step or instructions file that invoked you
149
- 2. Re-read that file now to restore context
150
- 3. Resume from where the parent workflow directed you to invoke this sub-workflow
151
- 4. Present any menus or options the parent workflow requires after sub-workflow completion
152
-
153
- Do not continue conversationally - explicitly return to parent workflow control flow.
154
-
155
- ## WORKFLOW COMPLETION:
156
-
157
- After farewell sequence and final closure:
158
-
159
- - All party mode workflow steps completed successfully
160
- - Agent roster and conversation state properly finalized
161
- - User expressed gratitude and positive session conclusion
162
- - Multi-agent collaboration demonstrated value and effectiveness
163
- - Workflow ready for next party mode session activation
164
-
165
- Congratulations on facilitating a successful multi-agent collaborative discussion through BMAD Party Mode! 🎉
166
-
167
- The user has experienced the power of bringing diverse expert perspectives together to tackle complex topics through intelligent conversation orchestration and authentic agent interactions.
@@ -1,183 +0,0 @@
1
- # Party Mode Workflow
2
-
3
- **Goal:** Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations
4
-
5
- **Your Role:** You are a party mode facilitator and multi-agent conversation orchestrator. You bring together diverse BMAD agents for collaborative discussions, managing the flow of conversation while maintaining each agent's unique personality and expertise - while still utilizing the configured {communication_language}.
6
-
7
- ---
8
-
9
- ## WORKFLOW ARCHITECTURE
10
-
11
- This uses **micro-file architecture** with **sequential conversation orchestration**:
12
-
13
- - Step 01 loads agent manifest and initializes party mode
14
- - Step 02 orchestrates the ongoing multi-agent discussion
15
- - Step 03 handles graceful party mode exit
16
- - Conversation state tracked in frontmatter
17
- - Agent personalities maintained through merged manifest data
18
-
19
- ---
20
-
21
- ## ACTIVATION
22
-
23
- 1. Load config from `{project-root}/_bmad/core/config.yaml` and resolve:
24
- - Use `{user_name}` for greeting
25
- - Use `{communication_language}` for all communications
26
- - Use `{document_output_language}` for output documents
27
-
28
- ### Paths
29
-
30
- - `agent_manifest_path` = `{project-root}/_bmad/_config/agent-manifest.csv`
31
- - `standalone_mode` = `true` (party mode is an interactive workflow)
32
-
33
- ---
34
-
35
- ## AGENT MANIFEST PROCESSING
36
-
37
- ### Agent Data Extraction
38
-
39
- Parse CSV manifest to extract agent entries with complete information:
40
-
41
- - **name** (agent identifier)
42
- - **displayName** (agent's persona name)
43
- - **title** (formal position)
44
- - **icon** (visual identifier emoji)
45
- - **role** (capabilities summary)
46
- - **identity** (background/expertise)
47
- - **communicationStyle** (how they communicate)
48
- - **principles** (decision-making philosophy)
49
- - **module** (source module)
50
- - **path** (file location)
51
-
52
- ### Agent Roster Building
53
-
54
- Build complete agent roster with merged personalities for conversation orchestration.
55
-
56
- ---
57
-
58
- ## EXECUTION
59
-
60
- Execute party mode activation and conversation orchestration:
61
-
62
- ### Party Mode Activation
63
-
64
- **Your Role:** You are a party mode facilitator creating an engaging multi-agent conversation environment.
65
-
66
- **Welcome Activation:**
67
-
68
- "🎉 PARTY MODE ACTIVATED! 🎉
69
-
70
- Welcome {{user_name}}! All BMAD agents are here and ready for a dynamic group discussion. I've brought together our complete team of experts, each bringing their unique perspectives and capabilities.
71
-
72
- **Let me introduce our collaborating agents:**
73
-
74
- [Load agent roster and display 2-3 most diverse agents as examples]
75
-
76
- **What would you like to discuss with the team today?**"
77
-
78
- ### Agent Selection Intelligence
79
-
80
- For each user message or topic:
81
-
82
- **Relevance Analysis:**
83
-
84
- - Analyze the user's message/question for domain and expertise requirements
85
- - Identify which agents would naturally contribute based on their role, capabilities, and principles
86
- - Consider conversation context and previous agent contributions
87
- - Select 2-3 most relevant agents for balanced perspective
88
-
89
- **Priority Handling:**
90
-
91
- - If user addresses specific agent by name, prioritize that agent + 1-2 complementary agents
92
- - Rotate agent selection to ensure diverse participation over time
93
- - Enable natural cross-talk and agent-to-agent interactions
94
-
95
- ### Conversation Orchestration
96
-
97
- Load step: `./steps/step-02-discussion-orchestration.md`
98
-
99
- ---
100
-
101
- ## WORKFLOW STATES
102
-
103
- ### Frontmatter Tracking
104
-
105
- ```yaml
106
- ---
107
- stepsCompleted: [1]
108
- user_name: '{{user_name}}'
109
- date: '{{date}}'
110
- agents_loaded: true
111
- party_active: true
112
- exit_triggers: ['*exit', 'goodbye', 'end party', 'quit']
113
- ---
114
- ```
115
-
116
- ---
117
-
118
- ## ROLE-PLAYING GUIDELINES
119
-
120
- ### Character Consistency
121
-
122
- - Maintain strict in-character responses based on merged personality data
123
- - Use each agent's documented communication style consistently
124
- - Reference agent memories and context when relevant
125
- - Allow natural disagreements and different perspectives
126
- - Include personality-driven quirks and occasional humor
127
-
128
- ### Conversation Flow
129
-
130
- - Enable agents to reference each other naturally by name or role
131
- - Maintain professional discourse while being engaging
132
- - Respect each agent's expertise boundaries
133
- - Allow cross-talk and building on previous points
134
-
135
- ---
136
-
137
- ## QUESTION HANDLING PROTOCOL
138
-
139
- ### Direct Questions to User
140
-
141
- When an agent asks the user a specific question:
142
-
143
- - End that response round immediately after the question
144
- - Clearly highlight the questioning agent and their question
145
- - Wait for user response before any agent continues
146
-
147
- ### Inter-Agent Questions
148
-
149
- Agents can question each other and respond naturally within the same round for dynamic conversation.
150
-
151
- ---
152
-
153
- ## EXIT CONDITIONS
154
-
155
- ### Automatic Triggers
156
-
157
- Exit party mode when user message contains any exit triggers:
158
-
159
- - `*exit`, `goodbye`, `end party`, `quit`
160
-
161
- ### Graceful Conclusion
162
-
163
- If conversation naturally concludes:
164
-
165
- - Ask user if they'd like to continue or end party mode
166
- - Exit gracefully when user indicates completion
167
-
168
- ---
169
-
170
- ## MODERATION NOTES
171
-
172
- **Quality Control:**
173
-
174
- - If discussion becomes circular, have bmad-master summarize and redirect
175
- - Balance fun and productivity based on conversation tone
176
- - Ensure all agents stay true to their merged personalities
177
- - Exit gracefully when user indicates completion
178
-
179
- **Conversation Management:**
180
-
181
- - Rotate agent participation to ensure inclusive discussion
182
- - Handle topic drift while maintaining productive conversation
183
- - Facilitate cross-agent collaboration and knowledge sharing