convoke-agents 3.2.1 → 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 (37) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/README.md +3 -1
  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 +1 -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/convoke-export.js +26 -5
  26. package/scripts/portability/export-engine.js +10 -8
  27. package/scripts/portability/seed-catalog-repo.js +6 -6
  28. package/scripts/portability/validate-exports.js +25 -14
  29. package/scripts/update/convoke-update.js +27 -2
  30. package/scripts/update/lib/changelog-reader.js +90 -0
  31. package/scripts/update/lib/config-merger.js +52 -1
  32. package/scripts/update/lib/refresh-installation.js +48 -9
  33. package/scripts/update/lib/taxonomy-merger.js +2 -1
  34. package/scripts/update/lib/validator.js +9 -1
  35. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-03-score.md +0 -146
  36. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-c/step-c-04-prioritize.md +0 -181
  37. package/_bmad/bme/_enhance/workflows/initiatives-backlog/steps-t/step-t-03-score.md +0 -147
@@ -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.