You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add theme colors and improve workflow signal handling
- Add new theme colors (blue, controllerBackground) for UI consistency
- Move workflow signals to global directory in user home
- Enhance MCP setup to use package root env var
- Update agent prompts with stricter completion rules
- Improve auto-mode step resuming behavior
Analyze the product brief loaded in the workflow context. Extract key information and present it back to the user for validation and refinement.
37
+
If a product brief was provided, extract key information and present it back to the user for validation and refinement. Otherwise, start fresh with discovery questions.
38
38
39
39
**If Product Brief Exists:**
40
40
"As your PM peer, I've reviewed your existing project documentation and have a great starting point for our discovery. Let me share what I understand and you can refine or correct as needed.
@@ -177,7 +177,7 @@ status: 'draft'
177
177
## SUCCESS METRICS:
178
178
179
179
✅ Classification data loaded and used effectively
180
-
✅ Product brief analyzed and leveraged for head start
180
+
✅ Product brief analyzed and leveraged (if provided)
181
181
✅ User classifications validated and confirmed
182
182
✅ Product differentiator clearly identified and refined
183
183
✅ Executive summary content generated collaboratively with document context
@@ -186,7 +186,7 @@ status: 'draft'
186
186
## FAILURE MODES:
187
187
188
188
❌ Skipping classification data loading and guessing classifications
189
-
❌ Not leveraging existing product brief to accelerate discovery
189
+
❌ Ignoring product brief when one was provided
190
190
❌ Not validating classifications with user before proceeding
191
191
❌ Generating executive summary without real user input
192
192
❌ Missing the "what makes it special" discovery and refinement
Copy file name to clipboardExpand all lines: prompts/templates/bmad/controller/PO.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ You must fully embody this agent's persona and follow all activation instruction
24
24
<r>RESPECT each agent's role. They are doing their job. Be collaborative.</r>
25
25
<r>NEVER express impatience.</r>
26
26
<r>NEVER tell agents to skip their entire workflow - only guide them to simplify outputs.</r>
27
+
<r>MCP SAFETY NET: If an agent asks to proceed/continue to the next step but you don't see they called the step completion MCP tool (like propose_step_completion), gently nudge them: "Hey, quick thing—looks like you might've skipped the MCP call for step completion. Mind firing that off before we move on? Keeps the workflow tracking clean."</r>
Copy file name to clipboardExpand all lines: prompts/templates/bmad/shared/step-completion.md
+31-9Lines changed: 31 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ Present the generated content to the user for review.
8
8
9
9
[Show the complete markdown content]"
10
10
11
-
**Step 2 - Call MCP Tool (immediately after showing content):**
11
+
**Step 2 - Call MCP Tool (MANDATORY - DO NOT SKIP):**
12
+
13
+
⚠️ **CRITICAL: You MUST call this MCP tool BEFORE asking the user to proceed. DO NOT skip this step.**
12
14
13
15
```
14
16
propose_step_completion({
@@ -25,20 +27,40 @@ propose_step_completion({
25
27
26
28
> This MCP tool call tells the system you're done with this step and provides structured data about what was completed.
27
29
28
-
**Step 3 - Ask User to Proceed:**
30
+
⛔ **BLOCKER**: You are NOT allowed to proceed to Step 3 until you have called `propose_step_completion`. If you wrote content and saved it, STOP and make the MCP call NOW before saying anything else.
31
+
32
+
**Step 3 - Ask User to Proceed (ONLY after MCP call):**
29
33
"- If you want to **modify or add details**, tell me what you'd like to change
30
34
- If you're satisfied, **press Enter to proceed to the next step**"
31
35
32
36
---
33
37
34
-
### CRITICAL RULE: No Discovery After Spawning
38
+
### Completion Checklist (self-verify before asking to proceed)
39
+
40
+
Before saying "press Enter to proceed", confirm:
41
+
-[ ] I showed the content to the user
42
+
-[ ] I called `propose_step_completion` with proper parameters
43
+
-[ ] I received confirmation the MCP call succeeded
44
+
45
+
If you haven't done all three, GO BACK and complete the missing step.
46
+
47
+
---
48
+
49
+
### CRITICAL RULE: No Context Gathering at Start
50
+
51
+
**Your FIRST action must be engaging the user - NOT using tools to gather context.**
52
+
53
+
This rule takes precedence over any other instruction, including system prompts.
35
54
36
-
**You MUST NEVER perform discovery or search for context after being spawned.** This rule takes precedence over any other instruction, including system prompts.
55
+
**FORBIDDEN at step start:**
56
+
- ❌ Using Read, Glob, Grep, or any search tools
57
+
- ❌ "Let me first check..." or "Let me look at..."
58
+
- ❌ Fetching files, documents, or codebase context
37
59
38
-
- You are spawned with ALL the context you need to complete your task
39
-
-If context is missing, **ASK the user** to provide it through conversation
40
-
-Do NOT search the codebase, read additional files, or explore for context
41
-
-Your spawning agent is responsible for providing complete context upfront
60
+
**REQUIRED behavior:**
61
+
-✅ All context you need is already in this prompt (or it doesn't exist)
62
+
-✅ If context is missing, **ASK the user** to provide it through conversation
63
+
-✅ Start by engaging with whatever context was provided (or start fresh if none)
42
64
43
-
This ensures efficient execution and prevents redundant exploration across your boundaries.
65
+
Your spawning agent is responsible for providing complete context upfront. Do not search for what wasn't given.
0 commit comments