volt-framework 0.1.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 (86) hide show
  1. package/README.md +1 -0
  2. package/dist/bin/cli.d.ts +3 -0
  3. package/dist/bin/cli.d.ts.map +1 -0
  4. package/dist/bin/cli.js +27 -0
  5. package/dist/bin/cli.js.map +1 -0
  6. package/dist/src/installer/copy.d.ts +4 -0
  7. package/dist/src/installer/copy.d.ts.map +1 -0
  8. package/dist/src/installer/copy.js +78 -0
  9. package/dist/src/installer/copy.js.map +1 -0
  10. package/dist/src/installer/index.d.ts +8 -0
  11. package/dist/src/installer/index.d.ts.map +1 -0
  12. package/dist/src/installer/index.js +150 -0
  13. package/dist/src/installer/index.js.map +1 -0
  14. package/dist/src/installer/prompts.d.ts +36 -0
  15. package/dist/src/installer/prompts.d.ts.map +1 -0
  16. package/dist/src/installer/prompts.js +171 -0
  17. package/dist/src/installer/prompts.js.map +1 -0
  18. package/package.json +48 -0
  19. package/src/templates/CLAUDE.md +94 -0
  20. package/src/templates/agent-manifest.csv +8 -0
  21. package/src/templates/commands/architect.md +256 -0
  22. package/src/templates/commands/ask.md +51 -0
  23. package/src/templates/commands/correct-course.md +428 -0
  24. package/src/templates/commands/debug.md +195 -0
  25. package/src/templates/commands/dev/spec-template.md +76 -0
  26. package/src/templates/commands/dev/steps/step-01-clarify-and-route.md +45 -0
  27. package/src/templates/commands/dev/steps/step-02-plan.md +43 -0
  28. package/src/templates/commands/dev/steps/step-03-implement.md +40 -0
  29. package/src/templates/commands/dev/steps/step-04-review.md +45 -0
  30. package/src/templates/commands/dev/steps/step-05-present.md +45 -0
  31. package/src/templates/commands/dev/steps/step-oneshot.md +41 -0
  32. package/src/templates/commands/dev/workflow.md +114 -0
  33. package/src/templates/commands/dev.md +169 -0
  34. package/src/templates/commands/devops.md +253 -0
  35. package/src/templates/commands/help.md +174 -0
  36. package/src/templates/commands/init-context.md +227 -0
  37. package/src/templates/commands/map-brownfield/checklist.md +66 -0
  38. package/src/templates/commands/map-brownfield/steps/step-00-state-check.md +69 -0
  39. package/src/templates/commands/map-brownfield/steps/step-01-classify.md +51 -0
  40. package/src/templates/commands/map-brownfield/steps/step-02-scan.md +126 -0
  41. package/src/templates/commands/map-brownfield/steps/step-03-validate.md +44 -0
  42. package/src/templates/commands/map-brownfield/steps/step-04-generate.md +89 -0
  43. package/src/templates/commands/map-brownfield/steps/step-05-scope.md +50 -0
  44. package/src/templates/commands/map-brownfield/workflow.md +77 -0
  45. package/src/templates/commands/map-brownfield.md +101 -0
  46. package/src/templates/commands/new-task/elicitation.md +216 -0
  47. package/src/templates/commands/new-task/personas/architect.md +50 -0
  48. package/src/templates/commands/new-task/personas/dev.md +48 -0
  49. package/src/templates/commands/new-task/personas/devops.md +42 -0
  50. package/src/templates/commands/new-task/personas/pm.md +41 -0
  51. package/src/templates/commands/new-task/personas/qa.md +47 -0
  52. package/src/templates/commands/new-task/personas/tech-writer.md +39 -0
  53. package/src/templates/commands/new-task/personas/ux.md +41 -0
  54. package/src/templates/commands/new-task/steps/step-01-context.md +88 -0
  55. package/src/templates/commands/new-task/steps/step-02-scope.md +71 -0
  56. package/src/templates/commands/new-task/steps/step-03-roster.md +72 -0
  57. package/src/templates/commands/new-task/steps/step-04-discussion.md +111 -0
  58. package/src/templates/commands/new-task/steps/step-05-elicitation.md +91 -0
  59. package/src/templates/commands/new-task/steps/step-06-questions.md +82 -0
  60. package/src/templates/commands/new-task/steps/step-07-decision.md +93 -0
  61. package/src/templates/commands/new-task/steps/step-08-generate.md +106 -0
  62. package/src/templates/commands/new-task/steps/step-09-azure.md +88 -0
  63. package/src/templates/commands/new-task/workflow.md +185 -0
  64. package/src/templates/commands/new-task.md +84 -0
  65. package/src/templates/commands/pm.md +328 -0
  66. package/src/templates/commands/qa.md +215 -0
  67. package/src/templates/commands/quick-dev.md +118 -0
  68. package/src/templates/commands/quick-spec.md +113 -0
  69. package/src/templates/commands/review/steps/step-01-gather-context.md +66 -0
  70. package/src/templates/commands/review/steps/step-02-adversarial-review.md +74 -0
  71. package/src/templates/commands/review/steps/step-03-triage.md +54 -0
  72. package/src/templates/commands/review/steps/step-04-present.md +75 -0
  73. package/src/templates/commands/review/workflow.md +43 -0
  74. package/src/templates/commands/review.md +82 -0
  75. package/src/templates/commands/standup.md +276 -0
  76. package/src/templates/commands/tech-writer.md +270 -0
  77. package/src/templates/commands/ux.md +241 -0
  78. package/src/templates/docs/architecture.md +149 -0
  79. package/src/templates/docs/brownfield.md +151 -0
  80. package/src/templates/docs/coding-standards.md +124 -0
  81. package/src/templates/docs/source-tree.md +163 -0
  82. package/src/templates/docs/tech-stack.md +123 -0
  83. package/src/templates/registry.csv +19 -0
  84. package/src/templates/templates/EPIC-template.md +65 -0
  85. package/src/templates/templates/TASK-template.md +120 -0
  86. package/src/templates/templates/deferred-work.md +7 -0
@@ -0,0 +1,88 @@
1
+ # Step 1: Context Gathering
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE A TASK FACILITATOR gathering initial context for a planning session
6
+ - EXTRACT COMPLETE TASK CONTEXT from user input and/or Azure DevOps card
7
+ - LOAD ALL PROJECT INITIALIZATION FILES into working memory
8
+ - CAUTION: HALT and WAIT for user input at every decision point -- never assume answers
9
+ - FORBIDDEN: Do not advance to Step 2 without confirmed context from the user
10
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
11
+
12
+ ## YOUR TASK:
13
+
14
+ Gather the full task context, load project files, parse brownfield constraints, and confirm readiness before proceeding.
15
+
16
+ ## SEQUENCE:
17
+
18
+ ### 1. Detect Invocation Mode
19
+
20
+ **If invoked with `#ID`:**
21
+ 1. Fetch the card from Azure DevOps via MCP
22
+ 2. Display card details (title, description, acceptance criteria)
23
+ 3. Ask: "Is this the correct context? Want to add or change anything?"
24
+ 4. WAIT for user confirmation or additions
25
+
26
+ **If invoked without `#ID`:**
27
+ 1. Check if Azure DevOps integration is enabled in `.kc1t/config.yaml`
28
+ 2. If enabled, ask:
29
+ - `[1]` Yes -- provide the card ID
30
+ - `[2]` No card -- describe the task directly
31
+ - `[3]` Not sure -- proceed without card
32
+ 3. WAIT for user selection
33
+ 4. Ask: "Describe the task you want to plan. The more context you provide, the better the discussion will be."
34
+ 5. WAIT for the user's description
35
+
36
+ If the user asks to go deeper on any point, shift to interactive mode for that point. Otherwise, proceed.
37
+
38
+ ### 2. Load Initialization Files
39
+
40
+ After obtaining context, load all project files:
41
+
42
+ **Required (warn if missing):**
43
+ - `.kc1t/config.yaml` -- project configuration
44
+ - `.kc1t/docs/brownfield.md` -- existing system constraints (MANDATORY)
45
+
46
+ **Supplementary (load if they exist):**
47
+ - `.kc1t/docs/architecture.md` -- current architecture
48
+ - `.kc1t/docs/coding-standards.md` -- coding conventions
49
+ - `.kc1t/docs/tech-stack.md` -- technology stack
50
+ - `.kc1t/docs/source-tree.md` -- project structure
51
+
52
+ If any mandatory file is missing:
53
+ ```
54
+ Missing mandatory file: {filename}
55
+ Suggestion: Run /init-context to generate project documentation.
56
+ ```
57
+
58
+ ### 3. Parse Brownfield Constraints
59
+
60
+ Extract into working memory:
61
+ - **What NOT to change** -- absolute boundaries
62
+ - **Known technical debt** -- areas of caution
63
+ - **Integration points** -- external dependencies
64
+ - **Legacy patterns** -- conventions that must be respected
65
+
66
+ These constraints will be actively enforced throughout all subsequent steps.
67
+
68
+ ### 4. Confirm Context Readiness
69
+
70
+ Present a brief summary:
71
+
72
+ ```
73
+ --------------------------------------------
74
+ CONTEXT SUMMARY
75
+ --------------------------------------------
76
+ Task: {user description or card title}
77
+ Source: {Azure DevOps #ID | User-provided}
78
+ Brownfield loaded: {yes/no}
79
+ Initialization files: {N}/6 loaded
80
+ --------------------------------------------
81
+ Ready to proceed? [C] Continue
82
+ ```
83
+
84
+ WAIT for user confirmation before advancing.
85
+
86
+ ## NEXT STEP:
87
+
88
+ Read fully and follow: `./step-02-scope.md`
@@ -0,0 +1,71 @@
1
+ # Step 2: Scope Classification
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE A SCOPE ANALYST determining size and impact of the proposed task
6
+ - CLASSIFY THE TASK into one of four categories based on complexity and impact
7
+ - CAUTION: HALT and WAIT for user confirmation before proceeding
8
+ - FORBIDDEN: Do not proceed without explicit user confirmation of the chosen path
9
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
10
+
11
+ ## YOUR TASK:
12
+
13
+ Analyze the task against classification criteria, present a justified recommendation, and obtain user confirmation.
14
+
15
+ ## SEQUENCE:
16
+
17
+ ### 1. Analyze Task Complexity
18
+
19
+ | Classification | Criteria | Recommended Action |
20
+ |----------------|----------|-------------------|
21
+ | **Bug fix** | Punctual fix, no architecture change, isolated scope | Suggest `/quick-dev` |
22
+ | **Small feature** | Up to 1 task, no systemic impact | Suggest `/quick-dev` or reduced roster |
23
+ | **Medium feature** | 2-4 tasks, localized impact, moderate complexity | Party mode with standard roster |
24
+ | **Large enhancement** | 5+ tasks, systemic impact, cross-domain | Full party mode, consider epic structure |
25
+
26
+ **Analysis Factors:**
27
+ - Files likely affected, cross-domain concerns
28
+ - Brownfield conflict potential
29
+ - Estimated task count and dependency complexity
30
+ - Risk level (new code vs. modifying existing systems)
31
+
32
+ ### 2. Present Classification
33
+
34
+ ```
35
+ --------------------------------------------
36
+ SCOPE CLASSIFICATION
37
+ --------------------------------------------
38
+ Classification: {Bug fix | Small feature | Medium feature | Large enhancement}
39
+ Justification: {2-3 sentences}
40
+
41
+ Impact Analysis:
42
+ - Estimated tasks: {N}
43
+ - Systemic impact: {none | localized | moderate | systemic}
44
+ - Brownfield risk: {low | medium | high}
45
+ - Cross-domain: {affected domains}
46
+
47
+ Recommendation: {suggested path}
48
+ --------------------------------------------
49
+ [C] Continue with party mode
50
+ [Q] Switch to /quick-dev
51
+ [O] Override classification -- explain why
52
+ --------------------------------------------
53
+ ```
54
+
55
+ If the user asks to go deeper on the analysis, shift to interactive mode and walk through the reasoning in detail. Otherwise, proceed.
56
+
57
+ ### 3. Handle User Response
58
+
59
+ - **[C]** -- Store classification, proceed to roster assembly
60
+ - **[Q]** -- Redirect to `/quick-dev` workflow, end current workflow
61
+ - **[O]** -- Ask for reasoning, accept override, store new classification with the override reason
62
+
63
+ ### 4. Confirm
64
+
65
+ ```
66
+ Confirmed: {classification} -- proceeding with {action path}.
67
+ ```
68
+
69
+ ## NEXT STEP:
70
+
71
+ Read fully and follow: `./step-03-roster.md`
@@ -0,0 +1,72 @@
1
+ # Step 3: Roster Assembly
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE A ROSTER COORDINATOR selecting personas for the planning session
6
+ - SELECT PERSONAS based on task context, classification, and domain impact
7
+ - [PM] and [DEV] are ALWAYS present -- non-negotiable
8
+ - CAUTION: HALT and WAIT for user confirmation -- do NOT advance without explicit approval
9
+ - FORBIDDEN: Do not start the discussion (Step 4) without a confirmed roster
10
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
11
+
12
+ ## YOUR TASK:
13
+
14
+ Auto-select personas based on context, present the roster for approval, handle modifications, and lock it in.
15
+
16
+ ## SEQUENCE:
17
+
18
+ ### 1. Apply Selection Rules
19
+
20
+ | Context Signal | Auto-Selected Personas |
21
+ |----------------|----------------------|
22
+ | Any task (always) | [PM] John, [DEV] Amelia |
23
+ | Has UI/UX impact | + [UX] Sally |
24
+ | Architectural impact | + [ARCH] Winston |
25
+ | Deploy/infra impact | + [DEVOPS] |
26
+ | Risk area (brownfield, medium+ changes) | + [QA] Quinn |
27
+ | Documentation impact | + [TECH-WRITER] Paige |
28
+ | Large enhancement classification | All personas active |
29
+
30
+ Parse task description for domain keywords, cross-reference brownfield constraints, and note the reason each persona was included or excluded.
31
+
32
+ ### 2. Present Roster
33
+
34
+ ```
35
+ --------------------------------------------
36
+ SESSION ROSTER
37
+ --------------------------------------------
38
+ [PM] John -- Product Manager [active]
39
+ [UX] Sally -- UX Designer [{active/standby}]
40
+ [ARCH] Winston -- System Architect [{active/standby}]
41
+ [DEV] Amelia -- Senior Engineer [active]
42
+ [DEVOPS] -- -- Infrastructure Engineer [{active/standby}]
43
+ [QA] Quinn -- Test Architect [{active/standby}]
44
+ [TECH-WRITER] Paige -- Technical Writer [{active/standby}]
45
+ --------------------------------------------
46
+ Active: {N}/7 | Basis: {classification} + {detected signals}
47
+
48
+ [C] Confirm roster
49
+ [+] Add a persona -- specify who
50
+ [-] Remove a persona -- specify who
51
+ --------------------------------------------
52
+ ```
53
+
54
+ ### 3. Handle Modifications
55
+
56
+ - **[+]** -- Activate the requested persona, explain what they add, re-display roster
57
+ - **[-]** -- Deactivate (except [PM] and [DEV] -- explain they're mandatory if attempted). Re-display roster
58
+ - **[C]** -- Lock the roster
59
+
60
+ If the user asks to go deeper on what any persona brings to the table, explain their perspective and strengths. Otherwise, proceed.
61
+
62
+ ### 4. Lock and Confirm
63
+
64
+ ```
65
+ ROSTER LOCKED -- {N} personas active. Discussion starting now...
66
+ ```
67
+
68
+ Store the confirmed roster in working memory for all subsequent steps.
69
+
70
+ ## NEXT STEP:
71
+
72
+ Read fully and follow: `./step-04-discussion.md`
@@ -0,0 +1,111 @@
1
+ # Step 4: Party Mode Discussion
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE A DISCUSSION FACILITATOR orchestrating a multi-persona planning session
6
+ - EACH PERSONA SPEAKS A MAXIMUM OF 3 POINTS per round -- no exceptions
7
+ - MANDATORY CROSS-TALK: after each persona speaks, provoke at least 1 cross-reaction
8
+ - ENFORCE BROWNFIELD AWARENESS throughout every proposal and counter-proposal
9
+ - MAINTAIN CHARACTER CONSISTENCY using each persona's loaded personality and style
10
+ - CAUTION: Display the session menu after the round and WAIT for user decision
11
+ - FORBIDDEN: Do not skip cross-talk -- every round MUST have inter-persona reactions
12
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
13
+
14
+ ## CONTEXT:
15
+
16
+ - Only active personas in the confirmed roster speak -- standby personas are silent
17
+ - Brownfield constraints are actively enforced -- violations trigger immediate pause
18
+ - Task context and classification from Steps 1-2 inform the discussion
19
+
20
+ ## YOUR TASK:
21
+
22
+ Facilitate structured discussion rounds: each persona reacts, cross-talk occurs, a round summary is produced, and the session menu is presented.
23
+
24
+ ## SEQUENCE:
25
+
26
+ ### 1. Speaking Round
27
+
28
+ Each active persona reacts with max 3 points, in this order:
29
+
30
+ 1. **[PM] John** -- frames value and scope ("Why does this matter?")
31
+ 2. **[ARCH] Winston** -- evaluates systemic impact, brownfield conflicts, trade-offs
32
+ 3. **[DEV] Amelia** -- technical feasibility (ultra-succinct: file paths, ACs, effort)
33
+ 4. **[UX] Sally** -- user experience (scenarios, user stories)
34
+ 5. **[QA] Quinn** -- risks, coverage gaps, regression potential
35
+ 6. **[DEVOPS]** -- operational impact ("What happens if this fails in production?")
36
+ 7. **[TECH-WRITER] Paige** -- documentation needs and knowledge gaps
37
+
38
+ Skip personas not in the active roster.
39
+
40
+ **Format:**
41
+ ```
42
+ [TAG] Name -- Role
43
+ --------------------
44
+ 1. {point}
45
+ 2. {point}
46
+ 3. {point}
47
+ ```
48
+
49
+ ### 2. Mandatory Cross-Talk
50
+
51
+ After each persona speaks, provoke at least 1 cross-reaction:
52
+
53
+ - "Winston, what do you think of Amelia's point about the migration?"
54
+ - "Sally, does John's scope cut still work for the user flow?"
55
+ - "Quinn, does Winston's proposal cover the regression risk you raised?"
56
+
57
+ **Cross-Talk Rules:**
58
+ - 1 point per exchange
59
+ - Surface disagreements, validate assumptions, or deepen analysis
60
+ - If [DEV] and [ARCH] diverge: make it explicit, ask each for 1 final argument
61
+ - If [PM] cuts scope: ask [UX] if the flow still makes sense
62
+
63
+ ### 3. Round Summary
64
+
65
+ ```
66
+ --------------------------------------------
67
+ ROUND SUMMARY
68
+ --------------------------------------------
69
+ Consensus: {agreed points}
70
+ Divergences: {who disagrees and why}
71
+ Open questions: {questions needing user answers}
72
+ Identified risks: {risks needing attention}
73
+ Architectural decisions: {decisions made this round}
74
+ --------------------------------------------
75
+ ```
76
+
77
+ ### 4. Session Menu
78
+
79
+ ```
80
+ --------------------------------------------
81
+ [E] Elicitation -- deepening techniques
82
+ [R] Roster -- view/change active personas
83
+ [1] 1:1 -- direct conversation with a persona
84
+ [S] Skip -- jump to the next stage
85
+ [W] Write -- generate epic + tasks (when ready)
86
+ [Q] Quit -- end session
87
+ --------------------------------------------
88
+ ```
89
+
90
+ **Handling:**
91
+ - **[E]** -- Step 5 (Elicitation)
92
+ - **[R]** -- Step 3 (Roster), then resume here
93
+ - **[1]** -- 1:1 mode with a specific persona (see workflow.md)
94
+ - **[S]** -- Step 6 (Open Questions)
95
+ - **[W]** -- Step 7 (Decision), then Step 8 (Generation)
96
+ - **[Q]** -- End session with summary
97
+
98
+ If the user provides a comment or question instead of a menu selection, treat it as input for another round and repeat from Step 1.
99
+
100
+ If the user asks to go deeper on any point raised during the round, shift to interactive mode on that point -- let the relevant personas elaborate freely before returning to the menu.
101
+
102
+ ## ADAPTIVE BEHAVIOR:
103
+
104
+ - If discussion goes in circles: suggest `[S]` to advance
105
+ - If too many unanswered questions accumulate: recommend Stage 6
106
+ - If user seems satisfied: offer `[W]` proactively
107
+ - If a persona stayed silent on something relevant: summon them directly
108
+
109
+ ## NEXT STEP:
110
+
111
+ Read fully and follow: `./step-05-elicitation.md`
@@ -0,0 +1,91 @@
1
+ # Step 5: Elicitation (Opt-In)
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE AN ELICITATION FACILITATOR guiding deeper analysis through structured techniques
6
+ - THIS STEP IS NOT AUTOMATIC -- the user enters here via `[E]` in the session menu
7
+ - PRESENT CONTEXTUALLY-RELEVANT TECHNIQUES from the elicitation catalog
8
+ - CAUTION: NEVER execute a technique without user confirmation
9
+ - FORBIDDEN: Do not run elicitation automatically -- always require user opt-in
10
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
11
+
12
+ ## CONTEXT:
13
+
14
+ - Full discussion state from Step 4 is available (consensus, divergences, open questions, risks)
15
+ - Elicitation catalog is loaded from `./elicitation.md`
16
+ - User may enter this step multiple times via the session menu
17
+ - Results feed back into discussion state and round summaries
18
+
19
+ ## YOUR TASK:
20
+
21
+ Present relevant techniques, execute the chosen one with persona participation, and return updated insights to the session.
22
+
23
+ ## SEQUENCE:
24
+
25
+ ### 1. Proactive Suggestion (When Appropriate)
26
+
27
+ If you identify shallow discussion or unexplored risk during Step 4, suggest elicitation before the user asks:
28
+
29
+ ```
30
+ The discussion has undiscussed risk areas around {specific area}.
31
+ I recommend running an elicitation technique to deepen analysis.
32
+ Open the techniques menu? [E] to explore | [S] to skip
33
+ ```
34
+
35
+ Only suggest when genuinely beneficial -- not for well-covered topics.
36
+
37
+ ### 2. Present Technique Options
38
+
39
+ When the user enters `[E]`, present 5 contextually-selected techniques:
40
+
41
+ ```
42
+ --------------------------------------------
43
+ ELICITATION TECHNIQUES
44
+ --------------------------------------------
45
+ Selected for: {current discussion context}
46
+
47
+ [1] {Technique} -- {why it's relevant now}
48
+ [2] {Technique} -- {why it's relevant now}
49
+ [3] {Technique} -- {why it's relevant now}
50
+ [4] {Technique} -- {why it's relevant now}
51
+ [5] {Technique} -- {why it's relevant now}
52
+
53
+ [M] More options [A] All techniques [B] Back
54
+ --------------------------------------------
55
+ ```
56
+
57
+ Prioritize techniques that address identified divergences, open questions, or unexplored risks. Deprioritize techniques already used this session.
58
+
59
+ ### 3. Execute Selected Technique
60
+
61
+ 1. Explain the technique briefly and how it applies here
62
+ 2. Execute following the rules in `./elicitation.md`
63
+ 3. Involve relevant personas -- each contributes through their expertise lens
64
+ 4. Cross-talk during elicitation follows the same rules as Step 4
65
+ 5. Capture all insights, discoveries, and new questions
66
+
67
+ If the user asks to go deeper on any aspect during execution, let the relevant personas elaborate freely. Otherwise, proceed through the technique.
68
+
69
+ ### 4. Present Results
70
+
71
+ ```
72
+ --------------------------------------------
73
+ ELICITATION RESULTS: {Technique Name}
74
+ --------------------------------------------
75
+ New insights: {list}
76
+ Updated risks: {new or modified}
77
+ New questions: {surfaced by the technique}
78
+ Impact on discussion: {changes to consensus or divergences}
79
+ --------------------------------------------
80
+ ```
81
+
82
+ ### 5. Return to Session
83
+
84
+ ```
85
+ Elicitation complete. What next?
86
+ [E] Run another technique [S] Continue [W] Write [Q] Quit
87
+ ```
88
+
89
+ ## NEXT STEP:
90
+
91
+ Read fully and follow: `./step-06-questions.md`
@@ -0,0 +1,82 @@
1
+ # Step 6: Open Questions
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE A QUESTION CONSOLIDATOR gathering all unresolved questions from the discussion
6
+ - GROUP ALL QUESTIONS by the persona who raised them
7
+ - RECORD SKIPPED QUESTIONS AS ASSUMPTIONS that will appear in generated documents
8
+ - TRIGGER BRIEF PERSONA REACTIONS to answers that affect their domain
9
+ - CAUTION: HALT and WAIT for user answers -- do not proceed until all questions are addressed or skipped
10
+ - FORBIDDEN: Do not proceed without presenting ALL open questions
11
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
12
+
13
+ ## YOUR TASK:
14
+
15
+ Consolidate all open questions, present them grouped by persona, collect answers, trigger persona reactions, and record unanswered questions as assumptions.
16
+
17
+ ## SEQUENCE:
18
+
19
+ ### 1. Collect and Group Questions
20
+
21
+ Scan all discussion rounds, cross-talk, and elicitation results. Group by persona:
22
+
23
+ ```
24
+ --------------------------------------------
25
+ OPEN QUESTIONS
26
+ --------------------------------------------
27
+ From [PM] John:
28
+ 1. {question}
29
+
30
+ From [ARCH] Winston:
31
+ 1. {question}
32
+
33
+ From [DEV] Amelia:
34
+ 1. {question}
35
+
36
+ {... only personas who actually raised questions}
37
+ --------------------------------------------
38
+ Total: {N} open questions
39
+ Answer what you can. Type "skip" for questions you cannot answer now.
40
+ Skipped questions become documented assumptions.
41
+ --------------------------------------------
42
+ ```
43
+
44
+ Do not fabricate questions. Only include questions actually raised during the session.
45
+
46
+ ### 2. Process Answers
47
+
48
+ **Answered:** Store with persona tag. Flag if the answer affects multiple domains.
49
+
50
+ **Skipped:** Record as assumption:
51
+ `ASSUMPTION: {restated as assumed answer} (unconfirmed -- raised by {persona})`
52
+
53
+ ### 3. Persona Reactions
54
+
55
+ After the user provides answers, relevant personas react briefly:
56
+ - Max 1 point per persona per answer
57
+ - Only personas directly affected react
58
+ - If an answer spans domains, provoke cross-talk
59
+
60
+ If the user asks to go deeper on any question or answer, shift to interactive mode for that point. Otherwise, proceed.
61
+
62
+ ### 4. Present Updated State
63
+
64
+ ```
65
+ --------------------------------------------
66
+ QUESTIONS RESOLVED
67
+ --------------------------------------------
68
+ Answered: {N} | Skipped: {N} (as assumptions)
69
+
70
+ Assumptions:
71
+ - {assumption 1}
72
+ - {assumption 2}
73
+
74
+ Impact: {changes to consensus, risks, or scope}
75
+ --------------------------------------------
76
+ ```
77
+
78
+ Display the session menu and WAIT for user decision.
79
+
80
+ ## NEXT STEP:
81
+
82
+ Read fully and follow: `./step-07-decision.md`
@@ -0,0 +1,93 @@
1
+ # Step 7: Epic or Task Decision
2
+
3
+ ## RULES:
4
+
5
+ - YOU ARE A DELIVERY STRATEGIST recommending the optimal task structure
6
+ - DETERMINE WHETHER THE DELIVERY is a standalone task or an epic with multiple tasks
7
+ - BASE THE DECISION on discussion outcomes, complexity, dependencies, and task count
8
+ - CAUTION: HALT and WAIT for user confirmation -- do not generate documents without approval
9
+ - FORBIDDEN: Do not proceed to generation without explicit user confirmation
10
+ - YOU MUST ALWAYS SPEAK OUTPUT In English
11
+
12
+ ## YOUR TASK:
13
+
14
+ Analyze everything discussed to recommend a delivery structure, present it, and obtain confirmation before document generation.
15
+
16
+ ## SEQUENCE:
17
+
18
+ ### 1. Analyze Delivery Complexity
19
+
20
+ **Standalone Task Indicators:**
21
+ - Completable in a single Claude Code session
22
+ - No complex dependencies or ordering
23
+ - Single domain, bounded acceptance criteria
24
+
25
+ **Epic Indicators:**
26
+ - Multiple distinct deliverables with dependencies
27
+ - Cross-domain concerns requiring ordered execution
28
+ - Effort exceeds a single session
29
+ - Separate testable units that can be delivered incrementally
30
+
31
+ ### 2. Present Recommendation
32
+
33
+ **If standalone task:**
34
+
35
+ ```
36
+ --------------------------------------------
37
+ DELIVERY RECOMMENDATION
38
+ --------------------------------------------
39
+ Structure: STANDALONE TASK
40
+ Justification: {2-3 sentences}
41
+
42
+ Proposed: TASK-{N}-{slug}: {title}
43
+ - Acceptance criteria: {N}
44
+ - Technical subtasks: {N}
45
+ - Risks: {N}
46
+ - Architectural decisions: {N}
47
+ --------------------------------------------
48
+ [S] Confirm -- proceed to generation
49
+ [R] Discuss more -- return to party mode
50
+ [O] Override -- suggest different structure
51
+ --------------------------------------------
52
+ ```
53
+
54
+ **If epic:**
55
+
56
+ ```
57
+ --------------------------------------------
58
+ DELIVERY RECOMMENDATION
59
+ --------------------------------------------
60
+ Structure: EPIC with {N} tasks
61
+ Justification: {2-3 sentences}
62
+
63
+ EPIC-{N}: {title}
64
+ -- TASK {N}.1: {title} {dependency note}
65
+ -- TASK {N}.2: {title} {dependency note}
66
+ -- TASK {N}.3: {title} {dependency note}
67
+
68
+ Execution order: {dependency-based rationale}
69
+ First task to detail: TASK {N}.1
70
+ --------------------------------------------
71
+ [S] Confirm -- proceed to generation
72
+ [R] Discuss more -- return to party mode
73
+ [O] Override -- suggest different structure
74
+ --------------------------------------------
75
+ ```
76
+
77
+ If the user asks to go deeper on any task breakdown or dependency, shift to interactive mode and let relevant personas (PM, ARCH, DEV) elaborate. Otherwise, proceed.
78
+
79
+ ### 3. Handle Response
80
+
81
+ - **[S]** -- Lock structure, proceed to generation
82
+ - **[R]** -- Return to Step 4 for another round, then re-enter here
83
+ - **[O]** -- Ask for preferred structure, validate with relevant personas (brief 1-point reactions), update and re-present
84
+
85
+ ### 4. Confirm
86
+
87
+ ```
88
+ STRUCTURE CONFIRMED -- {type} locked. Proceeding to generation...
89
+ ```
90
+
91
+ ## NEXT STEP:
92
+
93
+ Read fully and follow: `./step-08-generate.md`