convoke-agents 2.3.1 → 3.0.0
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 +35 -0
- package/INSTALLATION.md +109 -86
- package/README.md +236 -104
- package/UPDATE-GUIDE.md +63 -23
- package/_bmad/bme/_enhance/config.yaml +8 -0
- package/_bmad/bme/_enhance/extensions/bmm-pm.yaml +9 -0
- package/_bmad/bme/_enhance/guides/.gitkeep +0 -0
- package/_bmad/bme/_enhance/guides/ENHANCE-GUIDE.md +252 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/SKILL.md +6 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/.gitkeep +0 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-01-init.md +106 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-02-gather.md +136 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-03-score.md +146 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-04-prioritize.md +181 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/.gitkeep +0 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/step-r-01-load.md +120 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/step-r-02-rescore.md +141 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/step-r-03-update.md +154 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/.gitkeep +0 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-01-ingest.md +86 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-02-extract.md +169 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-03-score.md +147 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-04-update.md +155 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/backlog-format-spec.md +219 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/rice-scoring-guide.md +154 -0
- package/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md +88 -0
- package/_bmad/bme/_gyre/README.md +100 -0
- package/_bmad/bme/_gyre/agents/.gitkeep +0 -0
- package/_bmad/bme/_gyre/agents/model-curator.md +128 -0
- package/_bmad/bme/_gyre/agents/readiness-analyst.md +127 -0
- package/_bmad/bme/_gyre/agents/review-coach.md +130 -0
- package/_bmad/bme/_gyre/agents/stack-detective.md +125 -0
- package/_bmad/bme/_gyre/compass-routing-reference.md +168 -0
- package/_bmad/bme/_gyre/config.yaml +22 -0
- package/_bmad/bme/_gyre/contracts/.gitkeep +0 -0
- package/_bmad/bme/_gyre/contracts/gc1-stack-profile.md +152 -0
- package/_bmad/bme/_gyre/contracts/gc2-capabilities-manifest.md +189 -0
- package/_bmad/bme/_gyre/contracts/gc3-findings-report.md +197 -0
- package/_bmad/bme/_gyre/contracts/gc4-feedback-loop.md +209 -0
- package/_bmad/bme/_gyre/guides/ATLAS-USER-GUIDE.md +177 -0
- package/_bmad/bme/_gyre/guides/COACH-USER-GUIDE.md +172 -0
- package/_bmad/bme/_gyre/guides/LENS-USER-GUIDE.md +181 -0
- package/_bmad/bme/_gyre/guides/SCOUT-USER-GUIDE.md +158 -0
- package/_bmad/bme/_gyre/workflows/.gitkeep +0 -0
- package/_bmad/bme/_gyre/workflows/accuracy-validation/steps/step-01-select-repos.md +55 -0
- package/_bmad/bme/_gyre/workflows/accuracy-validation/steps/step-02-run-validation.md +78 -0
- package/_bmad/bme/_gyre/workflows/accuracy-validation/steps/step-03-score-results.md +143 -0
- package/_bmad/bme/_gyre/workflows/accuracy-validation/workflow.md +41 -0
- package/_bmad/bme/_gyre/workflows/delta-report/steps/step-01-load-history.md +63 -0
- package/_bmad/bme/_gyre/workflows/delta-report/steps/step-02-compute-delta.md +72 -0
- package/_bmad/bme/_gyre/workflows/delta-report/steps/step-03-present-delta.md +143 -0
- package/_bmad/bme/_gyre/workflows/delta-report/workflow.md +34 -0
- package/_bmad/bme/_gyre/workflows/full-analysis/steps/step-01-initialize.md +68 -0
- package/_bmad/bme/_gyre/workflows/full-analysis/steps/step-02-detect-stack.md +49 -0
- package/_bmad/bme/_gyre/workflows/full-analysis/steps/step-03-generate-model.md +52 -0
- package/_bmad/bme/_gyre/workflows/full-analysis/steps/step-04-analyze-gaps.md +42 -0
- package/_bmad/bme/_gyre/workflows/full-analysis/steps/step-05-review-findings.md +128 -0
- package/_bmad/bme/_gyre/workflows/full-analysis/workflow.md +39 -0
- package/_bmad/bme/_gyre/workflows/gap-analysis/steps/step-01-load-manifest.md +70 -0
- package/_bmad/bme/_gyre/workflows/gap-analysis/steps/step-02-observability-analysis.md +110 -0
- package/_bmad/bme/_gyre/workflows/gap-analysis/steps/step-03-deployment-analysis.md +87 -0
- package/_bmad/bme/_gyre/workflows/gap-analysis/steps/step-04-cross-domain-correlation.md +105 -0
- package/_bmad/bme/_gyre/workflows/gap-analysis/steps/step-05-present-findings.md +172 -0
- package/_bmad/bme/_gyre/workflows/gap-analysis/workflow.md +38 -0
- package/_bmad/bme/_gyre/workflows/model-generation/steps/step-01-load-profile.md +74 -0
- package/_bmad/bme/_gyre/workflows/model-generation/steps/step-02-generate-capabilities.md +116 -0
- package/_bmad/bme/_gyre/workflows/model-generation/steps/step-03-web-enrichment.md +89 -0
- package/_bmad/bme/_gyre/workflows/model-generation/steps/step-04-write-manifest.md +122 -0
- package/_bmad/bme/_gyre/workflows/model-generation/workflow.md +40 -0
- package/_bmad/bme/_gyre/workflows/model-review/steps/step-01-load-context.md +86 -0
- package/_bmad/bme/_gyre/workflows/model-review/steps/step-02-walkthrough.md +116 -0
- package/_bmad/bme/_gyre/workflows/model-review/steps/step-03-apply-amendments.md +92 -0
- package/_bmad/bme/_gyre/workflows/model-review/steps/step-04-capture-feedback.md +107 -0
- package/_bmad/bme/_gyre/workflows/model-review/steps/step-05-summary.md +60 -0
- package/_bmad/bme/_gyre/workflows/model-review/workflow.md +41 -0
- package/_bmad/bme/_gyre/workflows/stack-detection/steps/step-01-scan-filesystem.md +176 -0
- package/_bmad/bme/_gyre/workflows/stack-detection/steps/step-02-classify-stack.md +111 -0
- package/_bmad/bme/_gyre/workflows/stack-detection/steps/step-03-guard-questions.md +117 -0
- package/_bmad/bme/_gyre/workflows/stack-detection/workflow.md +42 -0
- package/_bmad/bme/_vortex/config.yaml +1 -1
- package/package.json +7 -2
- package/scripts/archive.js +304 -0
- package/scripts/convoke-doctor.js +146 -132
- package/scripts/docs-audit.js +21 -5
- package/scripts/install-gyre-agents.js +140 -0
- package/scripts/install-vortex-agents.js +0 -0
- package/scripts/update/lib/agent-registry.js +70 -0
- package/scripts/update/lib/refresh-installation.js +290 -29
- package/scripts/update/lib/validator.js +281 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Extension descriptor for John PM agent
|
|
2
|
+
# v1: Documentation-only — describes the patch-based menu item added by the installer
|
|
3
|
+
# v3: Will be read dynamically by agents via <extensions> tag (future BMAD Method proposal)
|
|
4
|
+
|
|
5
|
+
target_agent: bmm/pm
|
|
6
|
+
menu_items:
|
|
7
|
+
- cmd: "IB or fuzzy match on initiatives-backlog"
|
|
8
|
+
exec: "{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md"
|
|
9
|
+
label: "[IB] 📦 Initiatives Backlog (Convoke Enhance)"
|
|
File without changes
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
# Enhance Module — Pattern Guide for Module Authors
|
|
2
|
+
|
|
3
|
+
Create new enhancement workflows for existing BMAD agents by following the patterns established in the initiatives-backlog workflow. This guide covers directory layout, step file architecture, agent menu patching, config registration, and verification.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Directory Structure
|
|
8
|
+
|
|
9
|
+
Every enhancement workflow lives under `_bmad/bme/_enhance/workflows/[name]/`:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
_bmad/bme/_enhance/
|
|
13
|
+
├── config.yaml # Module config — register all workflows here
|
|
14
|
+
├── extensions/
|
|
15
|
+
│ └── bmm-[agent].yaml # Extension descriptor (v1: docs-only)
|
|
16
|
+
├── workflows/
|
|
17
|
+
│ └── [workflow-name]/
|
|
18
|
+
│ ├── workflow.md # Entry point — mode menu + dispatch
|
|
19
|
+
│ ├── SKILL.md # Skill wrapper (auto-generated by installer)
|
|
20
|
+
│ ├── steps-[mode]/ # One folder per mode
|
|
21
|
+
│ │ ├── step-[mode]-01-[name].md
|
|
22
|
+
│ │ ├── step-[mode]-02-[name].md
|
|
23
|
+
│ │ └── ...
|
|
24
|
+
│ └── templates/ # Reference docs loaded by steps at runtime
|
|
25
|
+
│ ├── [template-1].md
|
|
26
|
+
│ └── [template-2].md
|
|
27
|
+
└── guides/
|
|
28
|
+
└── ENHANCE-GUIDE.md # This file
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Canonical example:** `workflows/initiatives-backlog/` — tri-modal workflow (Triage/Review/Create) with 11 step files across 3 mode folders and 2 templates.
|
|
32
|
+
|
|
33
|
+
**Naming conventions:**
|
|
34
|
+
- Workflow folders: kebab-case (`initiatives-backlog`, `sprint-health`)
|
|
35
|
+
- Step folders: `steps-[mode-letter]/` (e.g., `steps-t/`, `steps-r/`, `steps-c/`)
|
|
36
|
+
- Step files: `step-[mode]-[NN]-[name].md` (e.g., `step-t-01-ingest.md`)
|
|
37
|
+
- Templates: descriptive kebab-case (e.g., `rice-scoring-guide.md`, `backlog-format-spec.md`)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Workflow Entry Point
|
|
42
|
+
|
|
43
|
+
`workflow.md` is the entry point loaded when the user selects the enhancement from the agent menu. It should:
|
|
44
|
+
|
|
45
|
+
1. **Load config** from `_bmad/bme/_enhance/config.yaml`
|
|
46
|
+
2. **Present a mode menu** (if multi-modal) or proceed directly (if single-mode)
|
|
47
|
+
3. **Dispatch to the first step file** based on user selection
|
|
48
|
+
4. **Define return-to-menu convention** — final steps reload `workflow.md` to re-present the menu
|
|
49
|
+
|
|
50
|
+
See `workflows/initiatives-backlog/workflow.md` for the canonical entry point pattern.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Step File Architecture
|
|
55
|
+
|
|
56
|
+
Every step file follows the BMAD standard structure:
|
|
57
|
+
|
|
58
|
+
```markdown
|
|
59
|
+
---
|
|
60
|
+
name: 'step-[mode]-[NN]-[name]'
|
|
61
|
+
description: '[one-line description]'
|
|
62
|
+
nextStepFile: '{project-root}/_bmad/bme/_enhance/workflows/[name]/steps-[mode]/step-[mode]-[NN+1]-[name].md'
|
|
63
|
+
outputFile: '{planning_artifacts}/[output-file].md'
|
|
64
|
+
templateFile: '{project-root}/_bmad/bme/_enhance/workflows/[name]/templates/[template].md'
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
# Step N: [Title]
|
|
68
|
+
|
|
69
|
+
## STEP GOAL:
|
|
70
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
71
|
+
### Universal Rules:
|
|
72
|
+
### Role Reinforcement:
|
|
73
|
+
### Step-Specific Rules:
|
|
74
|
+
## EXECUTION PROTOCOLS:
|
|
75
|
+
## CONTEXT BOUNDARIES:
|
|
76
|
+
## MANDATORY SEQUENCE
|
|
77
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Frontmatter Fields
|
|
81
|
+
|
|
82
|
+
| Field | Required | Description |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| `name` | Yes | Step identifier |
|
|
85
|
+
| `description` | Yes | One-line purpose |
|
|
86
|
+
| `nextStepFile` | Steps 1–(N-1) | Full path to next step in chain |
|
|
87
|
+
| `outputFile` | If writing output | Path to artifact file (uses `{planning_artifacts}` variable) |
|
|
88
|
+
| `templateFile` | If loading reference | Path to template loaded during execution |
|
|
89
|
+
| `workflowFile` | Final step + cancel paths | Path to `workflow.md` for return-to-menu |
|
|
90
|
+
| `advancedElicitationTask` | Interactive steps | Path to Advanced Elicitation workflow |
|
|
91
|
+
| `partyModeWorkflow` | Interactive steps | Path to Party Mode workflow |
|
|
92
|
+
|
|
93
|
+
### Step Types
|
|
94
|
+
|
|
95
|
+
| Type | Menu | Use Case | Example |
|
|
96
|
+
|---|---|---|---|
|
|
97
|
+
| **Type 4** (Standard) | A, P, C + custom commands | Interactive steps with user decisions | `step-t-03-score.md` |
|
|
98
|
+
| **Type 5** (Simple) | C only | Non-interactive load/setup steps | `step-t-01-ingest.md` |
|
|
99
|
+
| **Type 10** (Final) | None (auto-return) | Last step — writes output, returns to menu | `step-t-04-update.md` |
|
|
100
|
+
|
|
101
|
+
**Final step convention:** No `nextStepFile`. Has `workflowFile` instead. After completion summary, loads and executes `{workflowFile}` to return to the mode menu.
|
|
102
|
+
|
|
103
|
+
### Step Chaining
|
|
104
|
+
|
|
105
|
+
Steps form a sequential chain within each mode:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
workflow.md → step-[mode]-01 → step-[mode]-02 → ... → step-[mode]-NN → workflow.md
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Each step hardcodes the full path to the next step in its menu handling logic (consistent with the `nextStepFile` frontmatter). The final step reloads `workflow.md` via `{workflowFile}`.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Templates
|
|
116
|
+
|
|
117
|
+
Templates are pure markdown reference documents loaded by steps at runtime. They contain no template variables or runtime logic.
|
|
118
|
+
|
|
119
|
+
- **Audience separation:** Create separate templates for different purposes (e.g., one for scoring methodology, one for file format specification)
|
|
120
|
+
- **Installer-managed:** `templates/` is overwritten on update. Users should not customize template files directly — customizations belong in the target project's output folder
|
|
121
|
+
- **Round-trip parseability:** If a template defines a file format, the workflow must be able to reload its own output
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Agent Menu Patching
|
|
126
|
+
|
|
127
|
+
The installer adds an `<item>` tag to the target agent's menu:
|
|
128
|
+
|
|
129
|
+
```xml
|
|
130
|
+
<item cmd="IB or fuzzy match on initiatives-backlog"
|
|
131
|
+
exec="{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md">
|
|
132
|
+
[IB] 📦 Initiatives Backlog (Convoke Enhance)
|
|
133
|
+
</item>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**Conventions:**
|
|
137
|
+
- `cmd`: Short code + fuzzy match phrase (e.g., `"SH or fuzzy match on sprint-health"`)
|
|
138
|
+
- `exec`: Full path using `{project-root}/_bmad/...` form
|
|
139
|
+
- Display label: `[CODE] 📦 [Name] (Convoke Enhance)` — the 📦 prefix and "(Convoke Enhance)" suffix identify enhanced menu items
|
|
140
|
+
- The installer inserts the tag before `</menu>` in the target agent file
|
|
141
|
+
|
|
142
|
+
**Max 2-3 items per agent.** More than that creates menu bloat and dilutes the agent's focus. If you need more capabilities, consider whether they belong as modes within an existing workflow rather than separate workflows.
|
|
143
|
+
|
|
144
|
+
### Extension Descriptor
|
|
145
|
+
|
|
146
|
+
Create `extensions/bmm-[agent].yaml` to document the menu patch:
|
|
147
|
+
|
|
148
|
+
```yaml
|
|
149
|
+
# v1: Documentation-only — describes the patch added by the installer
|
|
150
|
+
# v3: Will be read dynamically by agents via <extensions> tag (future BMAD Method proposal)
|
|
151
|
+
|
|
152
|
+
target_agent: bmm/pm
|
|
153
|
+
menu_items:
|
|
154
|
+
- cmd: "IB or fuzzy match on initiatives-backlog"
|
|
155
|
+
exec: "{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md"
|
|
156
|
+
label: "[IB] 📦 Initiatives Backlog (Convoke Enhance)"
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Config Registration
|
|
162
|
+
|
|
163
|
+
Register every workflow in `_bmad/bme/_enhance/config.yaml`:
|
|
164
|
+
|
|
165
|
+
```yaml
|
|
166
|
+
name: enhance
|
|
167
|
+
version: 1.0.0
|
|
168
|
+
description: "Enhance module — capability upgrades for existing BMAD agents"
|
|
169
|
+
workflows:
|
|
170
|
+
- name: initiatives-backlog
|
|
171
|
+
entry: workflows/initiatives-backlog/workflow.md
|
|
172
|
+
target_agent: bmm/agents/pm.md
|
|
173
|
+
menu_patch_name: "initiatives-backlog"
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Required fields per workflow:**
|
|
177
|
+
|
|
178
|
+
| Field | Description | Example |
|
|
179
|
+
|---|---|---|
|
|
180
|
+
| `name` | Workflow identifier (matches folder name) | `initiatives-backlog` |
|
|
181
|
+
| `entry` | Entry point path relative to `_enhance/` | `workflows/initiatives-backlog/workflow.md` |
|
|
182
|
+
| `target_agent` | Agent file path relative to `_bmad/` | `bmm/agents/pm.md` |
|
|
183
|
+
| `menu_patch_name` | Name attribute for installer detection/dedup | `"initiatives-backlog"` |
|
|
184
|
+
|
|
185
|
+
### Adding a Second Workflow — Example
|
|
186
|
+
|
|
187
|
+
A "Sprint Health Check" enhancement for the SM agent:
|
|
188
|
+
|
|
189
|
+
```yaml
|
|
190
|
+
workflows:
|
|
191
|
+
- name: initiatives-backlog
|
|
192
|
+
entry: workflows/initiatives-backlog/workflow.md
|
|
193
|
+
target_agent: bmm/agents/pm.md
|
|
194
|
+
menu_patch_name: "initiatives-backlog"
|
|
195
|
+
- name: sprint-health
|
|
196
|
+
entry: workflows/sprint-health/workflow.md
|
|
197
|
+
target_agent: bmm/agents/sm.md
|
|
198
|
+
menu_patch_name: "sprint-health"
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
This requires creating:
|
|
202
|
+
- `workflows/sprint-health/workflow.md` + step files + templates
|
|
203
|
+
- `extensions/bmm-sm.yaml` (extension descriptor)
|
|
204
|
+
- Menu item: `[SH] 📦 Sprint Health Check (Convoke Enhance)` in `sm.md`
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Verification Integration
|
|
209
|
+
|
|
210
|
+
`verifyInstallation()` runs a 6-point check for the Enhance module (see `scripts/update/lib/validator.js` → `validateEnhanceModule()`):
|
|
211
|
+
|
|
212
|
+
| # | Check | What It Validates |
|
|
213
|
+
|---|---|---|
|
|
214
|
+
| 1 | Directory exists | `_bmad/bme/_enhance/` is present |
|
|
215
|
+
| 2 | Entry point resolves | Each `workflows[].entry` file exists on disk |
|
|
216
|
+
| 3 | Menu patch present | Target agent file contains `<item>` with matching `name` attribute |
|
|
217
|
+
| 4 | Config valid | `config.yaml` has required fields (`name`, `version`, `workflows[]`) |
|
|
218
|
+
| 5 | Filesystem consistency | Workflow directory exists for each registered workflow name |
|
|
219
|
+
| 6 | Skill wrapper exists | `.claude/skills/bmad-enhance-{name}/SKILL.md` is present |
|
|
220
|
+
|
|
221
|
+
If the Enhance directory doesn't exist, all checks pass (Enhance is optional). If it exists, all 6 checks must pass.
|
|
222
|
+
|
|
223
|
+
### Skill Wrapper
|
|
224
|
+
|
|
225
|
+
The installer generates a skill wrapper at `.claude/skills/bmad-enhance-{workflow-name}/SKILL.md`:
|
|
226
|
+
|
|
227
|
+
```yaml
|
|
228
|
+
---
|
|
229
|
+
name: bmad-enhance-{workflow-name}
|
|
230
|
+
description: '[One-line description of what the workflow does]'
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/_bmad/bme/_enhance/workflows/{workflow-name}/workflow.md, READ its entire contents and follow its directions exactly!
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
The installer also appends entries to `workflow-manifest.csv` and `skill-manifest.csv` (using `canonicalId` column for dedup).
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## Quick Verification Checklist
|
|
241
|
+
|
|
242
|
+
Minimum files to create/update for a valid new workflow:
|
|
243
|
+
|
|
244
|
+
- [ ] `_bmad/bme/_enhance/workflows/{name}/workflow.md` — entry point
|
|
245
|
+
- [ ] `_bmad/bme/_enhance/workflows/{name}/steps-*/step-*-*.md` — step files
|
|
246
|
+
- [ ] `_bmad/bme/_enhance/workflows/{name}/templates/*.md` — templates (if needed)
|
|
247
|
+
- [ ] `_bmad/bme/_enhance/config.yaml` — add workflow entry
|
|
248
|
+
- [ ] `_bmad/bme/_enhance/extensions/bmm-{agent}.yaml` — extension descriptor
|
|
249
|
+
- [ ] `.claude/skills/bmad-enhance-{name}/SKILL.md` — skill wrapper (installer creates this)
|
|
250
|
+
- [ ] `workflow-manifest.csv` + `skill-manifest.csv` — manifest entries (installer creates these)
|
|
251
|
+
|
|
252
|
+
Run `verifyInstallation()` after setup — all 6 checks should pass.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-enhance-initiatives-backlog
|
|
3
|
+
description: 'Manage RICE initiatives backlog — triage review findings, rescore existing items, or bootstrap new backlogs. Use when the user says triage findings or manage backlog.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md, READ its entire contents and follow its directions exactly!
|
|
File without changes
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-c-01-init'
|
|
3
|
+
description: 'Check for existing backlog, warn on overwrite, initialize new backlog using format spec'
|
|
4
|
+
nextStepFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-02-gather.md'
|
|
5
|
+
outputFile: '{planning_artifacts}/initiatives-backlog.md'
|
|
6
|
+
templateFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/backlog-format-spec.md'
|
|
7
|
+
workflowFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 1: Initialization & Existing File Guard
|
|
11
|
+
|
|
12
|
+
## STEP GOAL:
|
|
13
|
+
|
|
14
|
+
Check whether a backlog file already exists at the output location, warn the user if so, and initialize a new backlog session using the backlog format specification.
|
|
15
|
+
|
|
16
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
17
|
+
|
|
18
|
+
### Universal Rules:
|
|
19
|
+
- 🛑 NEVER generate content without user input at overwrite prompt
|
|
20
|
+
- 📖 CRITICAL: Read this complete step file before taking action
|
|
21
|
+
- 🔄 CRITICAL: When loading next step with 'C', read the entire file
|
|
22
|
+
- 📋 YOU ARE AN INITIALIZATION SPECIALIST setting up a new backlog
|
|
23
|
+
|
|
24
|
+
### Role Reinforcement:
|
|
25
|
+
- ✅ You are an **initialization specialist** — your job is to guard against accidental overwrites and prepare the session
|
|
26
|
+
- ✅ Do not gather initiatives, score items, or write the backlog file — those are later steps
|
|
27
|
+
- ✅ The user must explicitly confirm before any existing file is overwritten
|
|
28
|
+
|
|
29
|
+
### Step-Specific Rules:
|
|
30
|
+
- 🎯 Focus ONLY on existing file detection, overwrite confirmation, and session setup
|
|
31
|
+
- 🚫 FORBIDDEN to gather initiatives (that is step-c-02's job)
|
|
32
|
+
- 🚫 FORBIDDEN to score items (that is step-c-03's job)
|
|
33
|
+
- 🚫 FORBIDDEN to write the backlog file (that is step-c-04's job)
|
|
34
|
+
- 💬 Approach: check file, warn if needed, confirm readiness, move on
|
|
35
|
+
|
|
36
|
+
## EXECUTION PROTOCOLS:
|
|
37
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
38
|
+
- 📖 Load `{templateFile}` (backlog-format-spec.md) for structural reference — the format spec defines the file structure that step-c-04 will generate
|
|
39
|
+
|
|
40
|
+
## CONTEXT BOUNDARIES:
|
|
41
|
+
- Available context: Enhance config (loaded by workflow.md), existing backlog file (if present), backlog format spec template
|
|
42
|
+
- Focus: File existence check and session initialization only
|
|
43
|
+
- Limits: Do NOT gather, score, or write anything
|
|
44
|
+
- Dependencies: workflow.md C dispatch (Create mode selected)
|
|
45
|
+
|
|
46
|
+
## MANDATORY SEQUENCE
|
|
47
|
+
|
|
48
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
|
|
49
|
+
|
|
50
|
+
### 0. Check for Existing Backlog File
|
|
51
|
+
|
|
52
|
+
Check if a backlog file exists at `{outputFile}`.
|
|
53
|
+
|
|
54
|
+
- **If found:** Display:
|
|
55
|
+
|
|
56
|
+
> **⚠️ Existing backlog detected at `{outputFile}`.**
|
|
57
|
+
>
|
|
58
|
+
> Create mode will generate a **new** backlog file, replacing the existing one. All current backlog data will be lost.
|
|
59
|
+
>
|
|
60
|
+
> **[Y] Yes, overwrite and create new backlog**
|
|
61
|
+
> **[X] Cancel and return to mode selection**
|
|
62
|
+
|
|
63
|
+
**ALWAYS halt and wait for user input.**
|
|
64
|
+
|
|
65
|
+
- IF Y: Continue to step 1.
|
|
66
|
+
- IF X: Display "Cancelling Create mode." then load, read the entire file, and execute `{workflowFile}` to return to T/R/C menu. **Do NOT proceed further.**
|
|
67
|
+
- IF any other input: Display "Please select **Y** or **X**." then redisplay the prompt.
|
|
68
|
+
|
|
69
|
+
- **If NOT found:** Continue to step 1 silently.
|
|
70
|
+
|
|
71
|
+
### 1. Load Backlog Format Specification
|
|
72
|
+
|
|
73
|
+
Load `{templateFile}` (backlog-format-spec.md) and internalize:
|
|
74
|
+
- **Section hierarchy** — All 7 required H2 sections and their order
|
|
75
|
+
- **Table formats** — Category table (10 columns), Prioritized View (6 columns), Exploration Candidates (4 columns)
|
|
76
|
+
- **Category names** — Existing convention (Documentation & Onboarding, Update & Migration System, etc.)
|
|
77
|
+
- **Item ID format** — Category prefix letter + sequential number
|
|
78
|
+
- **Provenance format** — "Added from Create mode, [date]"
|
|
79
|
+
- **Changelog format** — Table with Date and Change columns, newest first
|
|
80
|
+
|
|
81
|
+
### 2. Confirm Session Ready
|
|
82
|
+
|
|
83
|
+
Display:
|
|
84
|
+
|
|
85
|
+
> **Create Mode — New Backlog Initialized**
|
|
86
|
+
>
|
|
87
|
+
> A new RICE-scored backlog will be created at `{outputFile}`.
|
|
88
|
+
>
|
|
89
|
+
> **Next:** You'll describe your initiatives one at a time — title, description, and category. Then we'll score them using RICE methodology and generate your prioritized backlog.
|
|
90
|
+
|
|
91
|
+
### 3. Present MENU OPTIONS
|
|
92
|
+
|
|
93
|
+
Display: "**Select:** [C] Continue to initiative gathering"
|
|
94
|
+
|
|
95
|
+
#### Menu Handling Logic:
|
|
96
|
+
- IF C: Load, read the entire file, and execute `{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-02-gather.md`
|
|
97
|
+
- IF any other input: Display "Enter **C** to continue to initiative gathering." then redisplay menu
|
|
98
|
+
|
|
99
|
+
#### EXECUTION RULES:
|
|
100
|
+
- ALWAYS halt and wait for user input after presenting the menu
|
|
101
|
+
- ONLY proceed to next step when user selects 'C'
|
|
102
|
+
|
|
103
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
104
|
+
### ✅ SUCCESS: Existing file check performed, overwrite warning shown if needed, format spec loaded, session initialized, proceeding to step-c-02
|
|
105
|
+
### ❌ SYSTEM FAILURE: Existing file overwritten without warning, format spec not loaded, initiatives gathered prematurely, user not given overwrite choice
|
|
106
|
+
**Master Rule:** Skipping steps is FORBIDDEN.
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-c-02-gather'
|
|
3
|
+
description: 'Interactively gather initiatives from the Product Owner with title, description, and category'
|
|
4
|
+
nextStepFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-03-score.md'
|
|
5
|
+
outputFile: '{planning_artifacts}/initiatives-backlog.md'
|
|
6
|
+
templateFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/backlog-format-spec.md'
|
|
7
|
+
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md'
|
|
8
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Step 2: Interactive Initiative Gathering
|
|
12
|
+
|
|
13
|
+
## STEP GOAL:
|
|
14
|
+
|
|
15
|
+
Interactively gather initiatives from the Product Owner — each with a title, description, and category — building a list for RICE scoring in the next step.
|
|
16
|
+
|
|
17
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
18
|
+
|
|
19
|
+
### Universal Rules:
|
|
20
|
+
- 🛑 NEVER generate content without user input
|
|
21
|
+
- 📖 CRITICAL: Read this complete step file before taking action
|
|
22
|
+
- 🔄 CRITICAL: When loading next step with 'C', read the entire file
|
|
23
|
+
- 📋 YOU ARE A GATHERING FACILITATOR collecting initiative descriptions
|
|
24
|
+
|
|
25
|
+
### Role Reinforcement:
|
|
26
|
+
- ✅ You are a **gathering facilitator** — your job is to collect and organize, not to score or write
|
|
27
|
+
- ✅ Accept the user's descriptions faithfully — do not rewrite, editorialize, or merge initiatives
|
|
28
|
+
- ✅ Suggest existing category names from the format spec but allow new categories
|
|
29
|
+
- ✅ The user decides how many initiatives to add — you prompt until they say done
|
|
30
|
+
|
|
31
|
+
### Step-Specific Rules:
|
|
32
|
+
- 🎯 Focus ONLY on gathering initiative details (title, description, category)
|
|
33
|
+
- 🚫 FORBIDDEN to propose RICE scores (that is step-c-03's job)
|
|
34
|
+
- 🚫 FORBIDDEN to write the backlog file (that is step-c-04's job)
|
|
35
|
+
- 🚫 FORBIDDEN to reorder, merge, or drop initiatives without user instruction
|
|
36
|
+
- 💬 Approach: prompt for one initiative at a time, confirm capture, ask for next or done
|
|
37
|
+
|
|
38
|
+
## EXECUTION PROTOCOLS:
|
|
39
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
40
|
+
- 📖 Reference `{templateFile}` (backlog-format-spec.md) for category name suggestions
|
|
41
|
+
- 💾 Track all gathered initiatives in a running list
|
|
42
|
+
|
|
43
|
+
## CONTEXT BOUNDARIES:
|
|
44
|
+
- Available context: Backlog format spec (for category names), session state from step-c-01
|
|
45
|
+
- Focus: Initiative gathering only
|
|
46
|
+
- Limits: Do NOT score, write to file, or analyze initiatives
|
|
47
|
+
- Dependencies: step-c-01-init.md (session initialized)
|
|
48
|
+
|
|
49
|
+
## MANDATORY SEQUENCE
|
|
50
|
+
|
|
51
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
|
|
52
|
+
|
|
53
|
+
### 1. Initialize Gathering State
|
|
54
|
+
|
|
55
|
+
Set up tracking:
|
|
56
|
+
- `gathered_items` = []
|
|
57
|
+
- `item_count` = 0
|
|
58
|
+
|
|
59
|
+
### 2. Prompt for Initiative
|
|
60
|
+
|
|
61
|
+
Display:
|
|
62
|
+
|
|
63
|
+
> **Initiative #[item_count + 1]**
|
|
64
|
+
>
|
|
65
|
+
> Describe your initiative:
|
|
66
|
+
> - **Title:** A short name for this initiative
|
|
67
|
+
> - **Description:** What it does and why it matters
|
|
68
|
+
> - **Category:** Suggested categories: Documentation & Onboarding, Update & Migration System, Testing & CI, Infrastructure, Agent Quality & Consistency, Platform & Product Vision — or name a new one
|
|
69
|
+
>
|
|
70
|
+
> *You can provide all three in one message, or just describe the initiative and I'll help structure it.*
|
|
71
|
+
|
|
72
|
+
**ALWAYS halt and wait for user input.**
|
|
73
|
+
|
|
74
|
+
### 3. Capture and Confirm
|
|
75
|
+
|
|
76
|
+
Parse the user's input to extract:
|
|
77
|
+
- **Title** — short, bold-formatted name
|
|
78
|
+
- **Description** — one-line explanation
|
|
79
|
+
- **Category** — one of the suggested categories or a new one
|
|
80
|
+
|
|
81
|
+
If any field is unclear, ask the user to clarify before confirming.
|
|
82
|
+
|
|
83
|
+
Display the captured initiative:
|
|
84
|
+
|
|
85
|
+
> **Captured:**
|
|
86
|
+
> - **Title:** [title]
|
|
87
|
+
> - **Description:** [description]
|
|
88
|
+
> - **Category:** [category]
|
|
89
|
+
|
|
90
|
+
Add to `gathered_items` with: title, description, category, source = "Create mode".
|
|
91
|
+
Increment `item_count`.
|
|
92
|
+
|
|
93
|
+
### 4. Present Per-Initiative Menu
|
|
94
|
+
|
|
95
|
+
Display:
|
|
96
|
+
|
|
97
|
+
> **Initiatives gathered so far: [item_count]**
|
|
98
|
+
>
|
|
99
|
+
> **[N] Next** — Add another initiative
|
|
100
|
+
> **[D] Done** — Finish gathering and proceed to scoring
|
|
101
|
+
> **[A] Advanced Elicitation** — Deeper analysis to surface more initiatives
|
|
102
|
+
> **[P] Party Mode** — Multi-perspective brainstorming for initiatives
|
|
103
|
+
|
|
104
|
+
#### Menu Handling Logic:
|
|
105
|
+
- IF N: Go to step 2 (prompt for next initiative).
|
|
106
|
+
- IF D:
|
|
107
|
+
- **If `item_count` >= 1:** Display gathered items summary table, then go to step 5.
|
|
108
|
+
- **If `item_count` == 0:** Display "You must add at least one initiative before proceeding." then redisplay this menu.
|
|
109
|
+
- IF A: Execute `{advancedElicitationTask}` for deeper initiative discovery. When finished, redisplay this menu.
|
|
110
|
+
- IF P: Execute `{partyModeWorkflow}` for multi-perspective brainstorming. When finished, redisplay this menu.
|
|
111
|
+
- IF any other input: Display "Unknown command. Use **N**, **D**, **A**, or **P**." then redisplay menu.
|
|
112
|
+
|
|
113
|
+
#### EXECUTION RULES:
|
|
114
|
+
- ALWAYS halt and wait for user input after presenting the menu
|
|
115
|
+
- After A or P execution, return to this menu (not to the prompt)
|
|
116
|
+
- The user may add as many initiatives as they want — no upper limit
|
|
117
|
+
- Do NOT auto-continue — the user must explicitly select D to finish gathering
|
|
118
|
+
|
|
119
|
+
### 5. Gathering Complete — Summary and Advance
|
|
120
|
+
|
|
121
|
+
Display the complete gathered list:
|
|
122
|
+
|
|
123
|
+
> **Gathering Complete — [item_count] initiatives collected**
|
|
124
|
+
>
|
|
125
|
+
> | # | Title | Category |
|
|
126
|
+
> |---|-------|----------|
|
|
127
|
+
> | 1 | [title] | [category] |
|
|
128
|
+
> | 2 | [title] | [category] |
|
|
129
|
+
> | ... | ... | ... |
|
|
130
|
+
|
|
131
|
+
Then load, read the entire file, and execute `{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-03-score.md`, passing the `gathered_items` list.
|
|
132
|
+
|
|
133
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
134
|
+
### ✅ SUCCESS: Each initiative captured with title, description, and category, user prompted for next or done, at least 1 initiative gathered, complete list passed to step-c-03
|
|
135
|
+
### ❌ SYSTEM FAILURE: Initiatives scored prematurely, descriptions rewritten without user approval, zero initiatives accepted, user forced to use specific format, gathered items not passed to next step
|
|
136
|
+
**Master Rule:** Skipping steps is FORBIDDEN.
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-c-03-score'
|
|
3
|
+
description: 'Propose RICE scores for gathered initiatives in batch, validate with user, assign track labels'
|
|
4
|
+
nextStepFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-04-prioritize.md'
|
|
5
|
+
outputFile: '{planning_artifacts}/initiatives-backlog.md'
|
|
6
|
+
templateFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/rice-scoring-guide.md'
|
|
7
|
+
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.md'
|
|
8
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Step 3: Batch RICE Scoring
|
|
12
|
+
|
|
13
|
+
## STEP GOAL:
|
|
14
|
+
|
|
15
|
+
Propose RICE scores and Track assignments for all gathered initiatives, present the scored batch for user validation, and finalize scores before backlog generation.
|
|
16
|
+
|
|
17
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
18
|
+
|
|
19
|
+
### Universal Rules:
|
|
20
|
+
- 🛑 NEVER generate content without user input at the scoring menu
|
|
21
|
+
- 📖 CRITICAL: Read this complete step file before taking action
|
|
22
|
+
- 🔄 CRITICAL: When loading next step with 'C', read the entire file
|
|
23
|
+
- 📋 YOU ARE A SCORING ANALYST proposing calibrated RICE scores
|
|
24
|
+
|
|
25
|
+
### Role Reinforcement:
|
|
26
|
+
- ✅ You are a **RICE scoring analyst** — systematic, calibrated, evidence-based
|
|
27
|
+
- ✅ Propose scores grounded in the scoring guide's definitions and calibration examples
|
|
28
|
+
- ✅ The user validates and adjusts your proposals — you propose, they decide
|
|
29
|
+
- ✅ Assign Track labels based on initiative nature: maintenance/stability = "Keep the lights on", growth/new capability = "Move the needle"
|
|
30
|
+
|
|
31
|
+
### Step-Specific Rules:
|
|
32
|
+
- 🎯 Focus on scoring, rationale, Track assignment, and composite calculation
|
|
33
|
+
- 🚫 FORBIDDEN to write to the backlog file (that is step-c-04's job)
|
|
34
|
+
- 🚫 FORBIDDEN to re-gather or add new initiatives (that was step-c-02's job)
|
|
35
|
+
- 💬 Approach: propose entire batch at once so user sees relative positioning, then collaborative refinement
|
|
36
|
+
|
|
37
|
+
## EXECUTION PROTOCOLS:
|
|
38
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
39
|
+
- 📖 Load `{templateFile}` for RICE factor definitions, scales, and calibration examples
|
|
40
|
+
- 💾 Recalculate and re-sort after every score adjustment
|
|
41
|
+
|
|
42
|
+
## CONTEXT BOUNDARIES:
|
|
43
|
+
- Available context: Gathered initiatives from step-c-02, RICE scoring guide template
|
|
44
|
+
- Focus: Scoring and user validation only
|
|
45
|
+
- Limits: Do NOT write to backlog or modify gathered initiative descriptions
|
|
46
|
+
- Dependencies: step-c-02-gather.md (gathered initiatives list)
|
|
47
|
+
|
|
48
|
+
## MANDATORY SEQUENCE
|
|
49
|
+
|
|
50
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
|
|
51
|
+
|
|
52
|
+
### 1. Load RICE Scoring Guide
|
|
53
|
+
|
|
54
|
+
Load `{templateFile}` (rice-scoring-guide.md) and internalize:
|
|
55
|
+
- **Factor definitions:** Reach (1-10), Impact (0.25-3), Confidence (20-100%), Effort (1-10)
|
|
56
|
+
- **Guided questions** for each factor
|
|
57
|
+
- **Calibration examples** (study the reasoning, not just the numbers)
|
|
58
|
+
- **Composite formula:** Score = (R x I x C) / E, where C is decimal (e.g., 70% = 0.7)
|
|
59
|
+
- **Score rounding:** One decimal place for display
|
|
60
|
+
|
|
61
|
+
### 2. Propose RICE Scores and Track for All Initiatives
|
|
62
|
+
|
|
63
|
+
For each gathered initiative, propose RICE scores using the guided questions:
|
|
64
|
+
|
|
65
|
+
- **Reach (1-10):** "How many users per quarter will this affect?"
|
|
66
|
+
- **Impact (0.25-3):** "What's the per-user impact?"
|
|
67
|
+
- **Confidence (20-100%):** "How confident are we in these estimates?" Default to 50% when no direct evidence exists.
|
|
68
|
+
- **Effort (1-10):** "Relative effort in story points?"
|
|
69
|
+
- **Track:** "Keep the lights on" (maintenance, stability, bug fixes) or "Move the needle" (growth, new capability, strategic)
|
|
70
|
+
|
|
71
|
+
For each score, write a **one-line rationale** explaining the scoring basis. Example:
|
|
72
|
+
|
|
73
|
+
> **#1: Add output examples for Noah agent** — R:5 I:1 C:70% E:2 = 1.8 | Move the needle
|
|
74
|
+
> *Reach 5: affects users checking agent outputs. Impact 1: helpful but workarounds exist. Confidence 70%: pattern validated with other agents. Effort 2: single file addition.*
|
|
75
|
+
|
|
76
|
+
### 3. Calculate Composite Scores and Sort
|
|
77
|
+
|
|
78
|
+
For each initiative:
|
|
79
|
+
1. Calculate composite: Score = (Reach x Impact x Confidence) / Effort
|
|
80
|
+
2. Round to one decimal place
|
|
81
|
+
3. Verify score falls within expected range (~0.0 to ~30.0)
|
|
82
|
+
|
|
83
|
+
Sort the batch:
|
|
84
|
+
1. **Primary:** Descending by composite score
|
|
85
|
+
2. **Tiebreak 1:** Higher Confidence first
|
|
86
|
+
3. **Tiebreak 2:** Newer insertion order first
|
|
87
|
+
|
|
88
|
+
### 4. Present Scoring Batch
|
|
89
|
+
|
|
90
|
+
Display the scored results:
|
|
91
|
+
|
|
92
|
+
> **RICE Scoring — Review Proposed Scores**
|
|
93
|
+
>
|
|
94
|
+
> **Initiatives scored: [N]**
|
|
95
|
+
>
|
|
96
|
+
> | # | Initiative | R | I | C | E | Score | Track | Rationale |
|
|
97
|
+
> |---|-----------|---|---|---|---|-------|-------|-----------|
|
|
98
|
+
> | 1 | [title] | 5 | 2 | 80% | 3 | 2.7 | Move the needle | [one-line rationale] |
|
|
99
|
+
> | 2 | [title] | 3 | 1 | 60% | 2 | 0.9 | Keep the lights on | [one-line rationale] |
|
|
100
|
+
>
|
|
101
|
+
> *Sorted by composite score (descending). Formula: (R x I x C) / E*
|
|
102
|
+
|
|
103
|
+
### 5. Present SCORING MENU OPTIONS
|
|
104
|
+
|
|
105
|
+
Display:
|
|
106
|
+
|
|
107
|
+
> **Adjust scores or finalize:**
|
|
108
|
+
>
|
|
109
|
+
> **Score adjustments** (by item number):
|
|
110
|
+
> - `#N R [value]` — Change Reach (1-10)
|
|
111
|
+
> - `#N I [value]` — Change Impact (0.25, 0.5, 1, 2, or 3)
|
|
112
|
+
> - `#N CF [value]` — Change Confidence (20-100%)
|
|
113
|
+
> - `#N E [value]` — Change Effort (1-10)
|
|
114
|
+
> - `#N T [value]` — Change Track ("keep" or "move")
|
|
115
|
+
>
|
|
116
|
+
> **Batch editing:**
|
|
117
|
+
> - `D #N` — Drop item #N from the batch (will not be added to backlog)
|
|
118
|
+
>
|
|
119
|
+
> **[A] Advanced Elicitation** — Deeper analysis of scoring rationale
|
|
120
|
+
> **[P] Party Mode** — Multi-perspective scoring discussion
|
|
121
|
+
> **[C] Continue** — Finalize scores and proceed to backlog generation
|
|
122
|
+
|
|
123
|
+
#### Menu Handling Logic:
|
|
124
|
+
- IF `#N R [value]`: Update Reach for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
|
|
125
|
+
- IF `#N I [value]`: Update Impact for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
|
|
126
|
+
- IF `#N CF [value]`: Update Confidence for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
|
|
127
|
+
- IF `#N E [value]`: Update Effort for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
|
|
128
|
+
- IF `#N T [value]`: Update Track for item #N ("keep" = "Keep the lights on", "move" = "Move the needle"). Redisplay table and menu.
|
|
129
|
+
- IF `D #N`: Remove item #N from the scoring batch. Redisplay table and menu.
|
|
130
|
+
- IF A: Execute `{advancedElicitationTask}` for deeper scoring analysis, and when finished redisplay the menu.
|
|
131
|
+
- IF P: Execute `{partyModeWorkflow}` for multi-perspective scoring discussion, and when finished redisplay the menu.
|
|
132
|
+
- IF C: Finalize the scored batch. Load, read the entire file, and execute `{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-04-prioritize.md`
|
|
133
|
+
- IF any other input: Display "Unknown command. Use `#N R/I/CF/E/T [value]`, `D #N`, **A**, **P**, or **C** to continue." then redisplay menu.
|
|
134
|
+
|
|
135
|
+
#### EXECUTION RULES:
|
|
136
|
+
- ALWAYS halt and wait for user input after presenting the menu
|
|
137
|
+
- After EVERY score or Track adjustment, recalculate composite, re-sort, and redisplay the full table AND the menu
|
|
138
|
+
- The user may make multiple adjustments before pressing C
|
|
139
|
+
- ONLY proceed to step-c-04 when user selects 'C'
|
|
140
|
+
- After A or P execution, return to this menu
|
|
141
|
+
- Do NOT auto-continue — the user must explicitly approve the scores
|
|
142
|
+
|
|
143
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
144
|
+
### ✅ SUCCESS: All initiatives scored with calibrated RICE components, rationale, and Track assignment, composites calculated correctly, batch sorted by score, user validated scores, finalized batch passed to step-c-04
|
|
145
|
+
### ❌ SYSTEM FAILURE: Scores proposed without rationale, composite formula wrong, Track not assigned, scores outside valid ranges, user not given validation opportunity, items written to backlog prematurely
|
|
146
|
+
**Master Rule:** Skipping steps is FORBIDDEN.
|