@tgoodington/intuition 8.1.3 → 9.2.1
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/README.md +9 -9
- package/docs/project_notes/.project-memory-state.json +100 -0
- package/docs/project_notes/branches/.gitkeep +0 -0
- package/docs/project_notes/bugs.md +41 -0
- package/docs/project_notes/decisions.md +147 -0
- package/docs/project_notes/issues.md +101 -0
- package/docs/project_notes/key_facts.md +88 -0
- package/docs/project_notes/trunk/.gitkeep +0 -0
- package/docs/project_notes/trunk/.planning_research/decision_file_naming.md +15 -0
- package/docs/project_notes/trunk/.planning_research/decisions_log.md +32 -0
- package/docs/project_notes/trunk/.planning_research/orientation.md +51 -0
- package/docs/project_notes/trunk/audit/plan-rename-hitlist.md +654 -0
- package/docs/project_notes/trunk/blueprint-conflicts.md +109 -0
- package/docs/project_notes/trunk/blueprints/database-architect.md +416 -0
- package/docs/project_notes/trunk/blueprints/devops-infrastructure.md +514 -0
- package/docs/project_notes/trunk/blueprints/technical-writer.md +788 -0
- package/docs/project_notes/trunk/build_brief.md +119 -0
- package/docs/project_notes/trunk/build_report.md +250 -0
- package/docs/project_notes/trunk/detail_brief.md +94 -0
- package/docs/project_notes/trunk/plan.md +182 -0
- package/docs/project_notes/trunk/planning_brief.md +96 -0
- package/docs/project_notes/trunk/prompt_brief.md +60 -0
- package/docs/project_notes/trunk/prompt_output.json +98 -0
- package/docs/project_notes/trunk/scratch/database-architect-decisions.json +72 -0
- package/docs/project_notes/trunk/scratch/database-architect-research-plan.md +10 -0
- package/docs/project_notes/trunk/scratch/database-architect-stage1.md +226 -0
- package/docs/project_notes/trunk/scratch/devops-infrastructure-decisions.json +71 -0
- package/docs/project_notes/trunk/scratch/devops-infrastructure-research-plan.md +7 -0
- package/docs/project_notes/trunk/scratch/devops-infrastructure-stage1.md +164 -0
- package/docs/project_notes/trunk/scratch/technical-writer-decisions.json +88 -0
- package/docs/project_notes/trunk/scratch/technical-writer-research-plan.md +7 -0
- package/docs/project_notes/trunk/scratch/technical-writer-stage1.md +266 -0
- package/docs/project_notes/trunk/team_assignment.json +108 -0
- package/docs/project_notes/trunk/test_brief.md +75 -0
- package/docs/project_notes/trunk/test_report.md +26 -0
- package/docs/project_notes/trunk/verification/devops-infrastructure-verification.md +172 -0
- package/docs/v9/decision-framework-direction.md +142 -0
- package/docs/v9/decision-framework-implementation.md +114 -0
- package/docs/v9/domain-adaptive-team-architecture.md +1016 -0
- package/docs/v9/test/SESSION_SUMMARY.md +117 -0
- package/docs/v9/test/TEST_PLAN.md +119 -0
- package/docs/v9/test/blueprints/legal-analyst.md +166 -0
- package/docs/v9/test/output/07_cover_letter.md +41 -0
- package/docs/v9/test/phase2/mock_plan.md +89 -0
- package/docs/v9/test/phase2/producers.json +32 -0
- package/docs/v9/test/phase2/specialists/database-architect.specialist.md +10 -0
- package/docs/v9/test/phase2/specialists/financial-analyst.specialist.md +10 -0
- package/docs/v9/test/phase2/specialists/legal-analyst.specialist.md +10 -0
- package/docs/v9/test/phase2/specialists/technical-writer.specialist.md +10 -0
- package/docs/v9/test/phase2/team_assignment.json +61 -0
- package/docs/v9/test/phase3/blueprints/legal-analyst.md +840 -0
- package/docs/v9/test/phase3/legal-analyst-full.specialist.md +111 -0
- package/docs/v9/test/phase3/project_context/nh_landlord_tenant_notes.md +35 -0
- package/docs/v9/test/phase3/project_context/property_facts.md +32 -0
- package/docs/v9/test/phase3b/blueprints/legal-analyst.md +1715 -0
- package/docs/v9/test/phase3b/legal-analyst.specialist.md +153 -0
- package/docs/v9/test/phase3b/scratch/legal-analyst-stage1.md +270 -0
- package/docs/v9/test/phase4/TEST_PLAN.md +32 -0
- package/docs/v9/test/phase4/blueprints/financial-analyst-T2.md +538 -0
- package/docs/v9/test/phase4/blueprints/legal-analyst-T4.md +253 -0
- package/docs/v9/test/phase4/cross-blueprint-check.md +280 -0
- package/docs/v9/test/phase4/scratch/financial-analyst-T2-stage1.md +67 -0
- package/docs/v9/test/phase4/scratch/legal-analyst-T4-stage1.md +54 -0
- package/docs/v9/test/phase4/specialists/financial-analyst.specialist.md +156 -0
- package/docs/v9/test/phase4/specialists/legal-analyst.specialist.md +153 -0
- package/docs/v9/test/phase5/TEST_PLAN.md +35 -0
- package/docs/v9/test/phase5/blueprints/code-architect-hw-vetter.md +375 -0
- package/docs/v9/test/phase5/output/04_compliance_checklist.md +149 -0
- package/docs/v9/test/phase5/output/hardware-vetter-SKILL-v2.md +561 -0
- package/docs/v9/test/phase5/output/hardware-vetter-SKILL.md +459 -0
- package/docs/v9/test/phase5/producers/code-writer.producer.md +49 -0
- package/docs/v9/test/phase5/producers/document-writer.producer.md +62 -0
- package/docs/v9/test/phase5/regression-comparison-v2.md +60 -0
- package/docs/v9/test/phase5/regression-comparison.md +197 -0
- package/docs/v9/test/phase5/review-5A-specialist.md +213 -0
- package/docs/v9/test/phase5/specialist-test/TEST_PLAN.md +60 -0
- package/docs/v9/test/phase5/specialist-test/blueprint-comparison.md +252 -0
- package/docs/v9/test/phase5/specialist-test/blueprints/code-architect-hw-vetter.md +916 -0
- package/docs/v9/test/phase5/specialist-test/scratch/code-architect-stage1.md +427 -0
- package/docs/v9/test/phase5/specialists/code-architect.specialist.md +168 -0
- package/docs/v9/test/phase5b/TEST_PLAN.md +219 -0
- package/docs/v9/test/phase5b/blueprints/5B-10-stage2-with-decisions.md +286 -0
- package/docs/v9/test/phase5b/decisions/5B-2-accept-all-decisions.json +68 -0
- package/docs/v9/test/phase5b/decisions/5B-3-promote-decisions.json +70 -0
- package/docs/v9/test/phase5b/decisions/5B-4-individual-decisions.json +68 -0
- package/docs/v9/test/phase5b/decisions/5B-5-triage-decisions.json +110 -0
- package/docs/v9/test/phase5b/decisions/5B-6-fallback-decisions.json +40 -0
- package/docs/v9/test/phase5b/decisions/5B-8-partial-decisions.json +46 -0
- package/docs/v9/test/phase5b/decisions/5B-9-complete-decisions.json +54 -0
- package/docs/v9/test/phase5b/scratch/code-architect-stage1.md +133 -0
- package/docs/v9/test/phase5b/specialists/code-architect.specialist.md +202 -0
- package/docs/v9/test/phase5b/stage1-many-decisions.md +139 -0
- package/docs/v9/test/phase5b/stage1-no-assumptions.md +70 -0
- package/docs/v9/test/phase5b/stage1-with-assumptions.md +86 -0
- package/docs/v9/test/phase5b/test-5B-1-results.md +157 -0
- package/docs/v9/test/phase5b/test-5B-10-results.md +130 -0
- package/docs/v9/test/phase5b/test-5B-2-results.md +75 -0
- package/docs/v9/test/phase5b/test-5B-3-results.md +104 -0
- package/docs/v9/test/phase5b/test-5B-4-results.md +114 -0
- package/docs/v9/test/phase5b/test-5B-5-results.md +126 -0
- package/docs/v9/test/phase5b/test-5B-6-results.md +60 -0
- package/docs/v9/test/phase5b/test-5B-7-results.md +141 -0
- package/docs/v9/test/phase5b/test-5B-8-results.md +115 -0
- package/docs/v9/test/phase5b/test-5B-9-results.md +76 -0
- package/docs/v9/test/producers/document-writer.producer.md +62 -0
- package/docs/v9/test/specialists/legal-analyst.specialist.md +58 -0
- package/package.json +4 -2
- package/producers/code-writer/code-writer.producer.md +86 -0
- package/producers/data-file-writer/data-file-writer.producer.md +116 -0
- package/producers/document-writer/document-writer.producer.md +117 -0
- package/producers/form-filler/form-filler.producer.md +99 -0
- package/producers/presentation-creator/presentation-creator.producer.md +109 -0
- package/producers/spreadsheet-builder/spreadsheet-builder.producer.md +107 -0
- package/scripts/install-skills.js +97 -9
- package/scripts/uninstall-skills.js +7 -2
- package/skills/intuition-agent-advisor/SKILL.md +327 -220
- package/skills/intuition-assemble/SKILL.md +261 -0
- package/skills/intuition-build/SKILL.md +379 -319
- package/skills/intuition-debugger/SKILL.md +390 -390
- package/skills/intuition-design/SKILL.md +385 -381
- package/skills/intuition-detail/SKILL.md +377 -0
- package/skills/intuition-engineer/SKILL.md +307 -303
- package/skills/intuition-handoff/SKILL.md +264 -222
- package/skills/intuition-handoff/references/handoff_core.md +54 -54
- package/skills/intuition-initialize/SKILL.md +21 -6
- package/skills/intuition-initialize/references/agents_template.md +118 -118
- package/skills/intuition-initialize/references/claude_template.md +134 -134
- package/skills/intuition-initialize/references/intuition_readme_template.md +4 -4
- package/skills/intuition-initialize/references/state_template.json +17 -2
- package/skills/{intuition-plan → intuition-outline}/SKILL.md +561 -481
- package/skills/{intuition-plan → intuition-outline}/references/magellan_core.md +16 -16
- package/skills/{intuition-plan → intuition-outline}/references/templates/plan_template.md +6 -6
- package/skills/intuition-prompt/SKILL.md +374 -312
- package/skills/intuition-start/SKILL.md +46 -13
- package/skills/intuition-start/references/start_core.md +60 -60
- package/skills/intuition-test/SKILL.md +345 -0
- package/specialists/api-designer/api-designer.specialist.md +291 -0
- package/specialists/business-analyst/business-analyst.specialist.md +270 -0
- package/specialists/copywriter/copywriter.specialist.md +268 -0
- package/specialists/database-architect/database-architect.specialist.md +275 -0
- package/specialists/devops-infrastructure/devops-infrastructure.specialist.md +314 -0
- package/specialists/financial-analyst/financial-analyst.specialist.md +269 -0
- package/specialists/frontend-component/frontend-component.specialist.md +293 -0
- package/specialists/instructional-designer/instructional-designer.specialist.md +285 -0
- package/specialists/legal-analyst/legal-analyst.specialist.md +260 -0
- package/specialists/marketing-strategist/marketing-strategist.specialist.md +281 -0
- package/specialists/project-manager/project-manager.specialist.md +266 -0
- package/specialists/research-analyst/research-analyst.specialist.md +273 -0
- package/specialists/security-auditor/security-auditor.specialist.md +354 -0
- package/specialists/technical-writer/technical-writer.specialist.md +275 -0
- /package/skills/{intuition-plan → intuition-outline}/references/sub_agents.md +0 -0
- /package/skills/{intuition-plan → intuition-outline}/references/templates/confidence_scoring.md +0 -0
- /package/skills/{intuition-plan → intuition-outline}/references/templates/plan_format.md +0 -0
- /package/skills/{intuition-plan → intuition-outline}/references/templates/planning_process.md +0 -0
|
@@ -58,12 +58,20 @@ After reading `.project-memory-state.json`:
|
|
|
58
58
|
|
|
59
59
|
```
|
|
60
60
|
IF state.version == "3.0" OR state.active_context is missing:
|
|
61
|
-
→ OUTPUT: "This project uses an incompatible state schema. Run /intuition-initialize to upgrade to
|
|
61
|
+
→ OUTPUT: "This project uses an incompatible state schema. Run /intuition-initialize to upgrade to v7.0."
|
|
62
62
|
→ STOP
|
|
63
63
|
|
|
64
64
|
IF state has "execution" instead of "build" (v4.0):
|
|
65
|
-
→ OUTPUT: "State uses v4.0 schema. Run /intuition-handoff to migrate to
|
|
65
|
+
→ OUTPUT: "State uses v4.0 schema. Run /intuition-handoff to migrate to v7.0."
|
|
66
66
|
→ STOP
|
|
67
|
+
|
|
68
|
+
IF state.version == "5.0" (missing detail object):
|
|
69
|
+
→ OUTPUT: "State uses v5.0 schema (no v9 detail/test phase support). Run /intuition-handoff to migrate to v7.0."
|
|
70
|
+
→ NON-BLOCKING: Continue with v8 routing. v9 features unavailable until migrated.
|
|
71
|
+
|
|
72
|
+
IF state.version == "6.0" (missing test object):
|
|
73
|
+
→ OUTPUT: "State uses v6.0 schema (no test phase support). Run /intuition-handoff to migrate to v7.0."
|
|
74
|
+
→ NON-BLOCKING: Continue with routing. Test phase unavailable until migrated.
|
|
67
75
|
```
|
|
68
76
|
|
|
69
77
|
## CONTEXT PATH RESOLUTION (Step 3)
|
|
@@ -94,12 +102,21 @@ ELSE (a context is in-progress):
|
|
|
94
102
|
IF workflow.prompt.started == false OR workflow.prompt.completed == false:
|
|
95
103
|
→ prompt_in_progress
|
|
96
104
|
|
|
97
|
-
ELSE IF workflow.
|
|
98
|
-
→
|
|
105
|
+
ELSE IF workflow.outline.started == false:
|
|
106
|
+
→ ready_for_outline
|
|
99
107
|
|
|
100
|
-
ELSE IF workflow.
|
|
108
|
+
ELSE IF workflow.outline.completed == false:
|
|
101
109
|
→ planning_in_progress
|
|
102
110
|
|
|
111
|
+
ELSE IF status == "outline" AND workflow.outline.completed == true
|
|
112
|
+
AND workflow.detail exists:
|
|
113
|
+
IF workflow.detail.started == false:
|
|
114
|
+
→ ready_for_assemble
|
|
115
|
+
ELSE IF workflow.detail.completed == false:
|
|
116
|
+
→ detail_in_progress
|
|
117
|
+
ELSE IF workflow.build.started == false:
|
|
118
|
+
→ ready_for_build
|
|
119
|
+
|
|
103
120
|
ELSE IF status == "design" AND workflow.design.started == true
|
|
104
121
|
AND workflow.design.completed == false:
|
|
105
122
|
→ design_in_progress
|
|
@@ -116,14 +133,22 @@ ELSE (a context is in-progress):
|
|
|
116
133
|
ELSE IF workflow.build.completed == false:
|
|
117
134
|
→ build_in_progress
|
|
118
135
|
|
|
136
|
+
ELSE IF workflow.test exists AND workflow.test.started == true
|
|
137
|
+
AND workflow.test.completed == false:
|
|
138
|
+
→ test_in_progress
|
|
139
|
+
|
|
140
|
+
ELSE IF workflow.build.completed == true AND workflow.test exists
|
|
141
|
+
AND workflow.test.started == false:
|
|
142
|
+
→ ready_for_test
|
|
143
|
+
|
|
119
144
|
ELSE:
|
|
120
145
|
→ post_completion
|
|
121
146
|
```
|
|
122
147
|
|
|
123
148
|
**"Any context is complete"** = trunk.status == "complete" OR any branch has status == "complete".
|
|
124
|
-
**"No context is in-progress"** = no context has status in ["prompt","
|
|
149
|
+
**"No context is in-progress"** = no context has status in ["prompt","outline","design","engineering","building","testing","detail"].
|
|
125
150
|
|
|
126
|
-
**Fallback** (state corrupted): Infer from files under context_path —
|
|
151
|
+
**Fallback** (state corrupted): Infer from files under context_path — prompt_brief.md (prompt done), outline.md (planning done), team_assignment.json (assemble done), blueprints/ directory (detail in progress), code_specs.md (engineering done), build_report.md (build done), test_report.md (test done). Ask user if ambiguous.
|
|
127
152
|
|
|
128
153
|
## ROUTING TABLE (Step 5)
|
|
129
154
|
|
|
@@ -133,18 +158,26 @@ Output one line of status, then the next command.
|
|
|
133
158
|
|-------|-------------|-------|
|
|
134
159
|
| first_time | "No project memory found." | `/intuition-prompt` |
|
|
135
160
|
| prompt_in_progress | "Prompt refinement in progress." | `/intuition-prompt` |
|
|
136
|
-
|
|
|
137
|
-
| planning_in_progress | "Planning in progress." | `/intuition-
|
|
161
|
+
| ready_for_outline | "Prompt complete." | `/intuition-handoff` |
|
|
162
|
+
| planning_in_progress | "Planning in progress." | `/intuition-outline` |
|
|
163
|
+
| ready_for_assemble | "Planning complete (v9)." | `/intuition-handoff` |
|
|
164
|
+
| detail_in_progress | "Detail phase in progress." | See DETAIL ROUTING below |
|
|
138
165
|
| design_in_progress | "Design exploration in progress." | See DESIGN ROUTING below |
|
|
139
|
-
| ready_for_engineering | "Planning complete." |
|
|
166
|
+
| ready_for_engineering | "Planning complete (v8)." | `/intuition-handoff` |
|
|
140
167
|
| engineering_in_progress | "Engineering in progress." | `/intuition-engineer` |
|
|
141
|
-
| ready_for_build | "Code specs ready." |
|
|
168
|
+
| ready_for_build | "Code specs ready." | `/intuition-handoff` |
|
|
142
169
|
| build_in_progress | "Build in progress." | `/intuition-build` |
|
|
170
|
+
| ready_for_test | "Build complete, testing pending." | `/intuition-handoff` |
|
|
171
|
+
| test_in_progress | "Test phase in progress." | `/intuition-test` |
|
|
143
172
|
| post_completion | See POST-COMPLETION below | — |
|
|
144
173
|
|
|
145
174
|
**DESIGN ROUTING:** Read `context_workflow.workflow.design.items`. If any item has status "in_progress" → `/intuition-design`. If an item just completed and others remain → `/intuition-handoff`. If ambiguous, ask the user.
|
|
146
175
|
|
|
147
|
-
|
|
176
|
+
**TEST ROUTING NOTE:** `ready_for_test` routes to handoff (not test) because the test_brief hasn't been generated yet — handoff creates it during Transition 6.5v9.
|
|
177
|
+
|
|
178
|
+
**DETAIL ROUTING:** Read `context_workflow.workflow.detail`. If `current_specialist` is set and its status is "in_progress" → `/intuition-detail`. If a specialist just completed and others remain → `/intuition-handoff`. If all specialists completed but build not started → `/intuition-handoff`. If ambiguous, ask the user.
|
|
179
|
+
|
|
180
|
+
For "ready_for" phases, route to `/intuition-handoff` (which manages `/clear` and phase transitions). For "in_progress" phases, route directly to the active skill.
|
|
148
181
|
|
|
149
182
|
## POST-COMPLETION
|
|
150
183
|
|
|
@@ -157,7 +190,7 @@ Project Status:
|
|
|
157
190
|
├── Branch: [display_name] (from [created_from]): [status label]
|
|
158
191
|
```
|
|
159
192
|
|
|
160
|
-
Status labels: "Not started" | "Prompting..." | "Planning..." | "Designing..." | "Engineering..." | "Building..." | "Complete"
|
|
193
|
+
Status labels: "Not started" | "Prompting..." | "Planning..." | "Assembling..." | "Detailing..." | "Designing..." | "Engineering..." | "Building..." | "Testing..." | "Complete"
|
|
161
194
|
|
|
162
195
|
**If any context is in-progress:** Route to that context's next skill instead of showing choices.
|
|
163
196
|
|
|
@@ -31,12 +31,12 @@ Your first job is detecting which phase is active. Check `.project-memory-state.
|
|
|
31
31
|
```json
|
|
32
32
|
{
|
|
33
33
|
"workflow": {
|
|
34
|
-
"status": "discovery" | "
|
|
34
|
+
"status": "discovery" | "outline" | "executing" | "complete",
|
|
35
35
|
"discovery": {
|
|
36
36
|
"started": boolean,
|
|
37
37
|
"completed": boolean
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"outline": {
|
|
40
40
|
"started": boolean,
|
|
41
41
|
"completed": boolean,
|
|
42
42
|
"approved": boolean
|
|
@@ -60,17 +60,17 @@ ELSE IF discovery.completed == false:
|
|
|
60
60
|
→ PHASE: "discovery_in_progress"
|
|
61
61
|
→ BRIEF: Resume discovery context
|
|
62
62
|
|
|
63
|
-
ELSE IF
|
|
64
|
-
→ PHASE: "
|
|
65
|
-
→ BRIEF: Load
|
|
63
|
+
ELSE IF outline.started == false:
|
|
64
|
+
→ PHASE: "discovery_complete_ready_for_outline"
|
|
65
|
+
→ BRIEF: Load outline_brief.md, summarize discovery
|
|
66
66
|
|
|
67
|
-
ELSE IF
|
|
68
|
-
→ PHASE: "
|
|
69
|
-
→ BRIEF: Resume
|
|
67
|
+
ELSE IF outline.completed == false:
|
|
68
|
+
→ PHASE: "outline_in_progress"
|
|
69
|
+
→ BRIEF: Resume outline context
|
|
70
70
|
|
|
71
71
|
ELSE IF execution.started == false:
|
|
72
|
-
→ PHASE: "
|
|
73
|
-
→ BRIEF: Load execution_brief.md, summarize
|
|
72
|
+
→ PHASE: "outline_complete_ready_for_execution"
|
|
73
|
+
→ BRIEF: Load execution_brief.md, summarize outline
|
|
74
74
|
|
|
75
75
|
ELSE IF execution.completed == false:
|
|
76
76
|
→ PHASE: "execution_in_progress"
|
|
@@ -110,7 +110,7 @@ this work through a genuine conversation.
|
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
### Brief Generated
|
|
113
|
-
- `
|
|
113
|
+
- `prompt_brief.md`: Minimal/empty (just a header and invitation)
|
|
114
114
|
- OR: Skip creating brief (let Waldo create it)
|
|
115
115
|
|
|
116
116
|
---
|
|
@@ -120,11 +120,11 @@ this work through a genuine conversation.
|
|
|
120
120
|
### Detection
|
|
121
121
|
- `discovery.started == true`
|
|
122
122
|
- `discovery.completed == false`
|
|
123
|
-
- `docs/project_notes/
|
|
123
|
+
- `docs/project_notes/prompt_brief.md` may or may not exist yet
|
|
124
124
|
|
|
125
125
|
### Action
|
|
126
126
|
1. Note that discovery is underway
|
|
127
|
-
2. Load any existing
|
|
127
|
+
2. Load any existing prompt_brief.md if present
|
|
128
128
|
3. Acknowledge progress
|
|
129
129
|
4. Suggest continuing
|
|
130
130
|
|
|
@@ -133,10 +133,10 @@ this work through a genuine conversation.
|
|
|
133
133
|
```
|
|
134
134
|
Welcome back! I see you're in the discovery phase.
|
|
135
135
|
|
|
136
|
-
[If
|
|
136
|
+
[If prompt_brief.md exists]:
|
|
137
137
|
Progress so far:
|
|
138
138
|
- Last updated: [timestamp]
|
|
139
|
-
- Brief saved at: docs/project_notes/
|
|
139
|
+
- Brief saved at: docs/project_notes/prompt_brief.md
|
|
140
140
|
|
|
141
141
|
Run /intuition-discovery to continue our conversation.
|
|
142
142
|
```
|
|
@@ -151,24 +151,24 @@ Run /intuition-discovery to continue exploring what you're building.
|
|
|
151
151
|
|
|
152
152
|
---
|
|
153
153
|
|
|
154
|
-
## Phase 3: Discovery Complete, Ready for
|
|
154
|
+
## Phase 3: Discovery Complete, Ready for Outline
|
|
155
155
|
|
|
156
156
|
### Detection
|
|
157
157
|
- `discovery.completed == true`
|
|
158
|
-
- `
|
|
159
|
-
- `docs/project_notes/
|
|
160
|
-
- `docs/project_notes/
|
|
158
|
+
- `outline.started == false`
|
|
159
|
+
- `docs/project_notes/prompt_brief.md` exists
|
|
160
|
+
- `docs/project_notes/outline_brief.md` exists (created by handoff)
|
|
161
161
|
|
|
162
162
|
### Action
|
|
163
|
-
1. Read `
|
|
163
|
+
1. Read `prompt_brief.md` and `outline_brief.md`
|
|
164
164
|
2. Extract and summarize key information
|
|
165
165
|
3. Load relevant architectural decisions from `decisions.md`
|
|
166
|
-
4. Generate a fresh
|
|
166
|
+
4. Generate a fresh outline brief (or note the existing one)
|
|
167
167
|
5. Tell user it's time to plan
|
|
168
168
|
|
|
169
169
|
### Data to Extract
|
|
170
170
|
|
|
171
|
-
**From
|
|
171
|
+
**From prompt_brief.md:**
|
|
172
172
|
```
|
|
173
173
|
Problem: [extract from "## Problem" section]
|
|
174
174
|
Goals: [extract from "## Goals" section]
|
|
@@ -176,7 +176,7 @@ Context: [extract key user/stakeholder info from "## Context"]
|
|
|
176
176
|
Constraints: [extract from "## Constraints" section]
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
**From
|
|
179
|
+
**From outline_brief.md:**
|
|
180
180
|
```
|
|
181
181
|
[Already generated by handoff, just reference it]
|
|
182
182
|
```
|
|
@@ -205,11 +205,11 @@ Relevant Architectural Decisions:
|
|
|
205
205
|
- ADR-001: [Title] ([date])
|
|
206
206
|
- ADR-002: [Title] ([date])
|
|
207
207
|
|
|
208
|
-
To create
|
|
209
|
-
/intuition-
|
|
208
|
+
To create an outline, run:
|
|
209
|
+
/intuition-outline
|
|
210
210
|
|
|
211
|
-
I've prepared your
|
|
212
|
-
docs/project_notes/
|
|
211
|
+
I've prepared your outline brief at:
|
|
212
|
+
docs/project_notes/outline_brief.md
|
|
213
213
|
```
|
|
214
214
|
|
|
215
215
|
### Summary Format
|
|
@@ -245,52 +245,52 @@ Relevant Decisions:
|
|
|
245
245
|
|
|
246
246
|
---
|
|
247
247
|
|
|
248
|
-
## Phase 4:
|
|
248
|
+
## Phase 4: Outline In Progress
|
|
249
249
|
|
|
250
250
|
### Detection
|
|
251
|
-
- `
|
|
252
|
-
- `
|
|
253
|
-
- `docs/project_notes/
|
|
251
|
+
- `outline.started == true`
|
|
252
|
+
- `outline.completed == false`
|
|
253
|
+
- `docs/project_notes/outline.md` exists (created by Magellan)
|
|
254
254
|
|
|
255
255
|
### Action
|
|
256
|
-
1. Load `
|
|
256
|
+
1. Load `outline.md`
|
|
257
257
|
2. Extract task count and scope
|
|
258
|
-
3. Note that
|
|
258
|
+
3. Note that outline is underway
|
|
259
259
|
4. Suggest continuing
|
|
260
260
|
|
|
261
261
|
### Output
|
|
262
262
|
|
|
263
263
|
```
|
|
264
|
-
Welcome back! I see you're in the
|
|
264
|
+
Welcome back! I see you're in the outline phase.
|
|
265
265
|
|
|
266
|
-
Discovery: ✓ Complete (docs/project_notes/
|
|
267
|
-
|
|
266
|
+
Discovery: ✓ Complete (docs/project_notes/prompt_brief.md)
|
|
267
|
+
Outline In Progress: 🔄 (docs/project_notes/outline.md)
|
|
268
268
|
- [X] tasks identified
|
|
269
269
|
- Scope: [Simple/Moderate/Complex]
|
|
270
270
|
|
|
271
|
-
Run /intuition-
|
|
271
|
+
Run /intuition-outline to continue developing the outline.
|
|
272
272
|
```
|
|
273
273
|
|
|
274
274
|
---
|
|
275
275
|
|
|
276
|
-
## Phase 5:
|
|
276
|
+
## Phase 5: Outline Complete, Ready for Execution
|
|
277
277
|
|
|
278
278
|
### Detection
|
|
279
|
-
- `
|
|
280
|
-
- `
|
|
279
|
+
- `outline.completed == true`
|
|
280
|
+
- `outline.approved == true`
|
|
281
281
|
- `execution.started == false`
|
|
282
|
-
- `docs/project_notes/
|
|
282
|
+
- `docs/project_notes/outline.md` exists
|
|
283
283
|
- `docs/project_notes/execution_brief.md` exists (created by handoff)
|
|
284
284
|
|
|
285
285
|
### Action
|
|
286
|
-
1. Read `
|
|
286
|
+
1. Read `outline.md` and `execution_brief.md`
|
|
287
287
|
2. Extract task summary and scope
|
|
288
288
|
3. Load relevant architectural decisions and risks
|
|
289
289
|
4. Tell user plan is ready for execution
|
|
290
290
|
|
|
291
291
|
### Data to Extract
|
|
292
292
|
|
|
293
|
-
**From
|
|
293
|
+
**From outline.md:**
|
|
294
294
|
```
|
|
295
295
|
Objective: [extract from "## Objective"]
|
|
296
296
|
Task count: [count items in "## Tasks"]
|
|
@@ -314,7 +314,7 @@ Load all decisions for context
|
|
|
314
314
|
Welcome back! Your plan is ready to execute.
|
|
315
315
|
|
|
316
316
|
Discovery: ✓ Complete
|
|
317
|
-
|
|
317
|
+
Outline: ✓ Approved
|
|
318
318
|
- [X] Tasks in [N] phases
|
|
319
319
|
- Approach: [one-line summary]
|
|
320
320
|
- Estimated scope: [Simple/Moderate/Complex]
|
|
@@ -343,7 +343,7 @@ Example:
|
|
|
343
343
|
Welcome back! Your plan is ready to execute.
|
|
344
344
|
|
|
345
345
|
Discovery: ✓ Complete
|
|
346
|
-
|
|
346
|
+
Outline: ✓ Approved
|
|
347
347
|
- 8 tasks in 3 phases
|
|
348
348
|
- Approach: Implement authentication layer first, then API endpoints
|
|
349
349
|
- Scope: Moderate
|
|
@@ -369,7 +369,7 @@ docs/project_notes/execution_brief.md
|
|
|
369
369
|
- Tasks are being tracked in state
|
|
370
370
|
|
|
371
371
|
### Action
|
|
372
|
-
1. Load
|
|
372
|
+
1. Load outline.md and current execution state
|
|
373
373
|
2. Summarize which tasks are done
|
|
374
374
|
3. Suggest continuing execution
|
|
375
375
|
|
|
@@ -379,7 +379,7 @@ docs/project_notes/execution_brief.md
|
|
|
379
379
|
Welcome back! Execution is in progress.
|
|
380
380
|
|
|
381
381
|
Discovery: ✓ Complete
|
|
382
|
-
|
|
382
|
+
Outline: ✓ Approved
|
|
383
383
|
Execution: 🔄 In progress
|
|
384
384
|
- [N] tasks completed
|
|
385
385
|
- [M] tasks remaining
|
|
@@ -405,7 +405,7 @@ Run /intuition-execute to continue.
|
|
|
405
405
|
Welcome back! You've completed this workflow.
|
|
406
406
|
|
|
407
407
|
✓ Discovery: Complete
|
|
408
|
-
✓
|
|
408
|
+
✓ Outline: Complete
|
|
409
409
|
✓ Execution: Complete
|
|
410
410
|
|
|
411
411
|
Ready for the next phase? Run:
|
|
@@ -436,7 +436,7 @@ Identify most limiting or important facts.
|
|
|
436
436
|
Summarize for user (don't read the whole file).
|
|
437
437
|
```
|
|
438
438
|
|
|
439
|
-
### Read
|
|
439
|
+
### Read prompt_brief.md
|
|
440
440
|
```
|
|
441
441
|
Extract from these sections:
|
|
442
442
|
- ## Problem
|
|
@@ -447,7 +447,7 @@ Extract from these sections:
|
|
|
447
447
|
Summarize in 1-2 sentences each for output.
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
-
### Read
|
|
450
|
+
### Read outline_brief.md
|
|
451
451
|
```
|
|
452
452
|
If exists, reference it but don't read in detail.
|
|
453
453
|
User or Magellan will read full version if needed.
|
|
@@ -459,7 +459,7 @@ User or Magellan will read full version if needed.
|
|
|
459
459
|
|
|
460
460
|
You're reading these briefs to **curate** for the user, not to dump all information. Follow these rules:
|
|
461
461
|
|
|
462
|
-
### For
|
|
462
|
+
### For Outline Brief (after discovery)
|
|
463
463
|
- ✓ Problem statement (1-2 sentences)
|
|
464
464
|
- ✓ Key goals (2-3 bullets, most important first)
|
|
465
465
|
- ✓ Main constraints (3-5 bullets, limiting constraints first)
|
|
@@ -469,7 +469,7 @@ You're reading these briefs to **curate** for the user, not to dump all informat
|
|
|
469
469
|
- ❌ Don't include all context details
|
|
470
470
|
- ❌ Don't second-guess the discovery
|
|
471
471
|
|
|
472
|
-
### For Execution Brief (after
|
|
472
|
+
### For Execution Brief (after outline)
|
|
473
473
|
- ✓ Plan objective (1 sentence)
|
|
474
474
|
- ✓ Task summary (count and phases)
|
|
475
475
|
- ✓ One-line approach
|
|
@@ -503,8 +503,8 @@ Here's what we discovered:
|
|
|
503
503
|
|
|
504
504
|
Relevant decisions: ADR-001, ADR-002
|
|
505
505
|
|
|
506
|
-
Ready to
|
|
507
|
-
/intuition-
|
|
506
|
+
Ready to outline? Run:
|
|
507
|
+
/intuition-outline"
|
|
508
508
|
```
|
|
509
509
|
|
|
510
510
|
---
|
|
@@ -513,18 +513,18 @@ Ready to plan? Run:
|
|
|
513
513
|
|
|
514
514
|
### What if files are missing?
|
|
515
515
|
```
|
|
516
|
-
IF
|
|
516
|
+
IF prompt_brief.md doesn't exist but discovery.completed == true:
|
|
517
517
|
→ "Discovery was completed but brief not saved.
|
|
518
|
-
Ready to
|
|
518
|
+
Ready to outline? Run /intuition-outline"
|
|
519
519
|
|
|
520
|
-
IF
|
|
521
|
-
→ "
|
|
522
|
-
Continue with /intuition-
|
|
520
|
+
IF outline_brief.md doesn't exist but outline.started == true:
|
|
521
|
+
→ "Outline is underway but brief not prepared.
|
|
522
|
+
Continue with /intuition-outline or run /intuition-handoff first"
|
|
523
523
|
```
|
|
524
524
|
|
|
525
525
|
### What if state.json is corrupted?
|
|
526
526
|
```
|
|
527
|
-
1. Check for main files (
|
|
527
|
+
1. Check for main files (prompt_brief.md, outline.md)
|
|
528
528
|
2. Infer phase from which files exist
|
|
529
529
|
3. Ask user: "I'm not sure where you are. What would you like to do?"
|
|
530
530
|
```
|