convoke-agents 3.2.0 → 3.3.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/README.md +40 -11
  3. package/_bmad/bme/README.md +36 -0
  4. package/_bmad/bme/_enhance/workflows/initiatives-backlog/SKILL.md +1 -1
  5. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-01-init.md +55 -32
  6. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-02-gather.md +62 -59
  7. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-03-qualify.md +176 -0
  8. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-04-generate.md +259 -0
  9. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/step-r-01-load.md +65 -35
  10. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/step-r-02-rescore.md +60 -30
  11. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-r/step-r-03-update.md +67 -71
  12. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-01-ingest.md +12 -12
  13. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-02-extract.md +49 -44
  14. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-03-qualify.md +192 -0
  15. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-04-update.md +72 -67
  16. package/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/backlog-format-spec.md +223 -112
  17. package/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/lifecycle-process-spec.md +188 -0
  18. package/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md +44 -31
  19. package/_bmad/bme/_gyre/config.yaml +3 -0
  20. package/_bmad/bme/_vortex/config.yaml +4 -1
  21. package/package.json +2 -1
  22. package/scripts/convoke-doctor.js +56 -2
  23. package/scripts/lib/artifact-utils.js +16 -3
  24. package/scripts/migrate-artifacts.js +3 -2
  25. package/scripts/portability/catalog-generator.js +1 -1
  26. package/scripts/portability/convoke-export.js +26 -5
  27. package/scripts/portability/export-engine.js +34 -9
  28. package/scripts/portability/seed-catalog-repo.js +6 -6
  29. package/scripts/portability/validate-exports.js +25 -14
  30. package/scripts/update/convoke-update.js +27 -2
  31. package/scripts/update/lib/changelog-reader.js +90 -0
  32. package/scripts/update/lib/config-merger.js +52 -1
  33. package/scripts/update/lib/refresh-installation.js +48 -9
  34. package/scripts/update/lib/taxonomy-merger.js +2 -1
  35. package/scripts/update/lib/validator.js +9 -1
  36. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-03-score.md +0 -146
  37. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-04-prioritize.md +0 -181
  38. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-03-score.md +0 -147
@@ -1,181 +0,0 @@
1
- ---
2
- name: 'step-c-04-prioritize'
3
- description: 'Generate complete backlog file with categorized items, prioritized view, and completion summary'
4
- outputFile: '{planning_artifacts}/initiatives-backlog.md'
5
- templateFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/templates/backlog-format-spec.md'
6
- workflowFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/workflow.md'
7
- ---
8
-
9
- # Step 4: Backlog Generation, Prioritized View & Completion
10
-
11
- ## STEP GOAL:
12
-
13
- Generate the complete backlog file from scratch using the scored initiatives, including all required sections, the prioritized view, provenance tags, and a changelog entry. Present a completion summary and return to the T/R/C menu.
14
-
15
- ## MANDATORY EXECUTION RULES (READ FIRST):
16
-
17
- ### Universal Rules:
18
- - 🛑 NEVER generate content without completing all mandatory sequence steps
19
- - 📖 CRITICAL: Read this complete step file before taking action
20
- - 🔄 CRITICAL: When returning to menu, read the entire workflow file
21
- - 📋 YOU ARE A BACKLOG OPERATIONS SPECIALIST generating a new backlog file
22
-
23
- ### Role Reinforcement:
24
- - ✅ You are a **backlog operations specialist** — precise, structured, format-compliant
25
- - ✅ Generate the file exactly matching the backlog format specification — no shortcuts
26
- - ✅ All output must be standard markdown — no HTML, no proprietary syntax
27
- - ✅ Every item gets provenance, every section gets created, the prioritized view is sorted
28
-
29
- ### Step-Specific Rules:
30
- - 🎯 Focus on file generation, provenance, prioritized view, and completion reporting
31
- - 🚫 FORBIDDEN to rescore items (scoring was finalized in step-c-03)
32
- - 🚫 FORBIDDEN to add new items not in the scored batch
33
- - 🚫 FORBIDDEN to modify step-c-01, step-c-02, or step-c-03
34
- - 💬 Approach: generate the complete file, summarize clearly, return to menu
35
-
36
- ## EXECUTION PROTOCOLS:
37
- - 🎯 Follow the MANDATORY SEQUENCE exactly
38
- - 📖 Load `{templateFile}` (backlog-format-spec.md) for exact structural requirements and table formats
39
- - 💾 Write to `{outputFile}` as a complete new file
40
-
41
- ## CONTEXT BOUNDARIES:
42
- - Available context: Scored initiatives from step-c-03, backlog format spec template
43
- - Focus: File generation, prioritized view, completion summary
44
- - Limits: Do NOT rescore or re-gather items
45
- - Dependencies: step-c-03-score.md (finalized scored initiatives with Track assignments)
46
-
47
- ## MANDATORY SEQUENCE
48
-
49
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
50
-
51
- ### 1. Load Format Specification
52
-
53
- Load `{templateFile}` (backlog-format-spec.md) and reference:
54
- - **Metadata header** format (title, Created, Method, Last Updated)
55
- - **Section hierarchy** — all 7 H2 sections in exact order
56
- - **Table formats** — Category table (10 columns), Prioritized View (6 columns), Exploration Candidates (4 columns)
57
- - **Item ID format** — Category prefix letter + sequential number
58
- - **Provenance format** — "Added from Create mode, [date]"
59
-
60
- ### 2. Generate Metadata Header
61
-
62
- ```markdown
63
- # Convoke Initiatives Backlog
64
-
65
- **Created:** [current date YYYY-MM-DD]
66
- **Method:** RICE (Reach, Impact, Confidence, Effort)
67
- **Last Updated:** [current date YYYY-MM-DD]
68
- ```
69
-
70
- ### 3. Generate RICE Scoring Guide Section
71
-
72
- Create the `## RICE Scoring Guide` section with an inline summary of the methodology:
73
- - Composite formula: Score = (R x I x C) / E
74
- - Factor scales: Reach (1-10), Impact (0.25-3), Confidence (20-100%), Effort (1-10)
75
- - Sort order: Descending by score, tiebreak by Confidence then insertion order
76
-
77
- ### 4. Generate Backlog Section with Category Tables
78
-
79
- Create the `## Backlog` section. For each unique category in the scored items:
80
-
81
- 1. Create an H3 heading: `### [Category Name]`
82
- 2. Create a 10-column table:
83
-
84
- ```markdown
85
- | # | Initiative | Source | R | I | C | E | Score | Track | Status |
86
- |---|-----------|--------|---|---|---|---|-------|-------|--------|
87
- ```
88
-
89
- 3. For each item in this category:
90
- - **#:** Generate item ID using category prefix letter + sequential number within category (e.g., D1, D2, P1)
91
- - Category prefix mapping: D = Documentation & Onboarding, U = Update & Migration System, T = Testing & CI, I = Infrastructure, A = Agent Quality & Consistency, P = Platform & Product Vision
92
- - New categories: use the first uppercase letter of the category name that is not already in use (D, U, T, I, A, P are reserved)
93
- - **Initiative:** `**[Title]** — [description]. Added from Create mode, [date]`
94
- - **Source:** "Create mode"
95
- - **R, I, C, E:** Individual RICE component scores (C as percentage, e.g., 70%)
96
- - **Score:** Composite score, one decimal place
97
- - **Track:** "Keep the lights on" or "Move the needle"
98
- - **Status:** "Backlog"
99
-
100
- ### 5. Generate Empty Sections
101
-
102
- Create the following sections with empty content:
103
-
104
- **Exploration Candidates:**
105
- ```markdown
106
- ## Exploration Candidates
107
-
108
- | # | Initiative | Source | Next Step |
109
- |---|-----------|--------|-----------|
110
- ```
111
-
112
- **Epic Groupings:**
113
- ```markdown
114
- ## Epic Groupings
115
-
116
- *No epic groupings defined yet.*
117
- ```
118
-
119
- **Completed:**
120
- ```markdown
121
- ## Completed
122
-
123
- *No completed items yet.*
124
- ```
125
-
126
- ### 6. Generate Prioritized View
127
-
128
- Create the `## Prioritized View (by RICE Score)` section:
129
-
130
- 1. Collect ALL items from all category tables
131
- 2. Sort by composite RICE score descending
132
- 3. Tiebreak: (1) Higher Confidence first, (2) Newer insertion order first
133
- 4. Generate sequential rank numbers starting at 1
134
-
135
- ```markdown
136
- ## Prioritized View (by RICE Score)
137
-
138
- | Rank | # | Initiative | Score | Track | Category |
139
- |------|---|-----------|-------|-------|----------|
140
- ```
141
-
142
- ### 7. Generate Change Log
143
-
144
- Create the `## Change Log` section with the initial creation entry:
145
-
146
- ```markdown
147
- ## Change Log
148
-
149
- | Date | Change |
150
- |------|--------|
151
- | [YYYY-MM-DD] | Create: Bootstrapped new backlog with [N] items ([list categories affected]). |
152
- ```
153
-
154
- ### 8. Write Complete File
155
-
156
- Write the complete assembled backlog to `{outputFile}`. The file must contain all 7 H2 sections in the correct order as specified by the format spec.
157
-
158
- ### 9. Completion Summary & Return to Menu
159
-
160
- After successful write, display:
161
-
162
- > **Create Complete**
163
- >
164
- > **Items created:** [N]
165
- > **Categories:** [list category names]
166
- >
167
- > **Top 3 Positions:**
168
- > 1. [#ID] [title] — Score: [X.X]
169
- > 2. [#ID] [title] — Score: [X.X]
170
- > 3. [#ID] [title] — Score: [X.X]
171
-
172
- Then return to the T/R/C menu:
173
-
174
- > Loading `{workflowFile}` to return to mode selection...
175
-
176
- Load, read the entire file, and execute `{workflowFile}`.
177
-
178
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
179
- ### ✅ SUCCESS: Complete backlog file generated with all 7 H2 sections in correct order, items placed in correct category tables with 10 columns, item IDs generated correctly, provenance tags added, prioritized view sorted and generated with 6 columns, changelog entry added, completion summary displayed with top 3, T/R/C menu re-presented
180
- ### ❌ SYSTEM FAILURE: Missing H2 sections, wrong section order, items without provenance, wrong column counts, item IDs not generated, prioritized view not sorted, no changelog entry, no completion summary, no return to menu
181
- **Master Rule:** Skipping steps is FORBIDDEN.
@@ -1,147 +0,0 @@
1
- ---
2
- name: 'step-t-03-score'
3
- description: 'Propose RICE scores for confirmed findings, validate at Gate 2, calculate composite scores'
4
- nextStepFile: '{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-04-update.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: RICE Scoring & Gate 2 Validation
12
-
13
- ## STEP GOAL:
14
-
15
- Propose RICE scores for each confirmed finding from Gate 1, present the scored batch for user validation at Gate 2, and calculate composite scores with proper sorting.
16
-
17
- ## MANDATORY EXECUTION RULES (READ FIRST):
18
-
19
- ### Universal Rules:
20
- - 🛑 NEVER generate content without user input at Gate 2
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 at Gate 2 — you propose, they decide
29
- - ✅ Compare proposed scores against existing backlog items for calibration consistency
30
-
31
- ### Step-Specific Rules:
32
- - 🎯 Focus on scoring, rationale, and composite calculation
33
- - 🚫 FORBIDDEN to write to the backlog file (that is step-t-04's job)
34
- - 🚫 FORBIDDEN to re-extract or re-classify findings (that was step-t-02's job)
35
- - 🚫 FORBIDDEN to add new findings at Gate 2 (that was Gate 1's job — only drops allowed here)
36
- - 💬 Approach: propose entire batch at once so user sees relative positioning, then collaborative refinement
37
-
38
- ## EXECUTION PROTOCOLS:
39
- - 🎯 Follow the MANDATORY SEQUENCE exactly
40
- - 📖 Load {templateFile} for RICE factor definitions, scales, and calibration examples
41
- - 💾 Recalculate and re-sort after every Gate 2 adjustment
42
-
43
- ## CONTEXT BOUNDARIES:
44
- - Available context: Confirmed findings from Gate 1, existing backlog (if loaded), RICE scoring guide template
45
- - Focus: Scoring and Gate 2 validation only
46
- - Limits: Do NOT write to backlog or modify extraction results
47
- - Dependencies: step-t-02-extract.md (confirmed findings from Gate 1)
48
-
49
- ## MANDATORY SEQUENCE
50
-
51
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
52
-
53
- ### 1. Load RICE Scoring Guide
54
-
55
- Load `{templateFile}` (rice-scoring-guide.md) and internalize:
56
- - **Factor definitions:** Reach (1-10), Impact (0.25-3), Confidence (20-100%), Effort (1-10)
57
- - **Guided questions** for each factor
58
- - **Calibration examples** from the existing backlog (study the reasoning, not just the numbers)
59
- - **Composite formula:** Score = (R x I x C) / E, where C is decimal (e.g., 70% = 0.7)
60
- - **Score rounding:** One decimal place for display
61
-
62
- ### 2. Propose RICE Scores for All Findings
63
-
64
- For each confirmed finding from Gate 1, propose RICE scores using the guided questions:
65
-
66
- - **Reach (1-10):** "How many users per quarter will this affect?"
67
- - **Impact (0.25-3):** "What's the per-user impact?"
68
- - **Confidence (20-100%):** "How confident are we in these estimates?" Default to 50% when no direct evidence exists.
69
- - **Effort (1-10):** "Relative effort in story points?"
70
-
71
- For each score, write a **one-line rationale** explaining the scoring basis (FR12). Example:
72
-
73
- > **#1: Add output examples for Noah agent** — R:5 I:1 C:70% E:2 = 1.8
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
- **Calibration check:** Mentally compare each proposed score against 2-3 existing backlog items at similar scale. If the score would rank the item significantly above or below where it "feels" relative to those items, revisit the component scores.
77
-
78
- ### 3. Calculate Composite Scores and Sort
79
-
80
- For each finding:
81
- 1. Calculate composite: Score = (Reach x Impact x Confidence) / Effort
82
- 2. Round to one decimal place
83
- 3. Verify score falls within expected range (~0.0 to ~30.0; existing backlog ranges ~0.2 to ~10.0)
84
-
85
- Sort the batch:
86
- 1. **Primary:** Descending by composite score
87
- 2. **Tiebreak 1:** Higher Confidence first
88
- 3. **Tiebreak 2:** Newer insertion order first
89
-
90
- ### 4. Present Scoring Batch (Gate 2)
91
-
92
- Display the scored results:
93
-
94
- > **Gate 2 — Review Proposed RICE Scores**
95
- >
96
- > **Scored findings: [N]**
97
- >
98
- > | # | Finding | R | I | C | E | Score | Rationale |
99
- > |---|---------|---|---|---|---|-------|-----------|
100
- > | 1 | [title] | 5 | 2 | 80% | 3 | 2.7 | [one-line rationale] |
101
- > | 2 | [title] | 3 | 1 | 60% | 2 | 0.9 | [one-line rationale] |
102
- > | 3 | [title] | 7 | 0.5 | 50% | 1 | 1.8 | [one-line rationale] |
103
- >
104
- > *Sorted by composite score (descending). Formula: (R x I x C) / E*
105
-
106
- ### 5. Present GATE 2 MENU OPTIONS
107
-
108
- Display:
109
-
110
- > **Gate 2 — Adjust scores or finalize:**
111
- >
112
- > **Score adjustments** (by item number):
113
- > - `#N R [value]` — Change Reach (1-10)
114
- > - `#N I [value]` — Change Impact (0.25, 0.5, 1, 2, or 3)
115
- > - `#N CF [value]` — Change Confidence (20-100%)
116
- > - `#N E [value]` — Change Effort (1-10)
117
- >
118
- > **Batch editing:**
119
- > - `D #N` — Drop item #N from the batch (will not be added to backlog)
120
- >
121
- > **[A] Advanced Elicitation** — Deeper analysis of scoring rationale
122
- > **[P] Party Mode** — Multi-perspective scoring discussion
123
- > **[C] Continue** — Finalize scores and proceed to backlog update
124
-
125
- #### Menu Handling Logic:
126
- - IF `#N R [value]`: Update Reach for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
127
- - IF `#N I [value]`: Update Impact for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
128
- - IF `#N CF [value]`: Update Confidence for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
129
- - IF `#N E [value]`: Update Effort for item #N. Recalculate composite. Re-sort batch. Redisplay table and menu.
130
- - IF `D #N`: Remove item #N from the scoring batch. Redisplay table and menu.
131
- - IF A: Execute {advancedElicitationTask} for deeper scoring analysis, and when finished redisplay the menu.
132
- - IF P: Execute {partyModeWorkflow} for multi-perspective scoring discussion, and when finished redisplay the menu.
133
- - IF C: Finalize the scored batch. Load, read the entire file, and execute `{project-root}/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-04-update.md`
134
- - IF any other input: Display "Unknown command. Use `#N R/I/CF/E [value]`, `D #N`, **A**, **P**, or **C** to continue." then redisplay menu.
135
-
136
- #### EXECUTION RULES:
137
- - ALWAYS halt and wait for user input after presenting the menu
138
- - After EVERY score adjustment, recalculate composite, re-sort, and redisplay the full table AND the menu
139
- - The user may make multiple adjustments before pressing C
140
- - ONLY proceed to step-t-04 when user selects 'C'
141
- - After A or P execution, return to this menu
142
- - Do NOT auto-continue — the user must explicitly approve the scores
143
-
144
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
145
- ### ✅ SUCCESS: All findings scored with calibrated RICE components and rationale, composites calculated correctly, batch sorted by score, user validated at Gate 2, finalized scores passed to step-t-04
146
- ### ❌ SYSTEM FAILURE: Scores proposed without rationale, composite formula wrong, scores outside valid ranges, user not given Gate 2 validation, findings written to backlog prematurely
147
- **Master Rule:** Skipping steps is FORBIDDEN.