@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.
Files changed (154) hide show
  1. package/README.md +9 -9
  2. package/docs/project_notes/.project-memory-state.json +100 -0
  3. package/docs/project_notes/branches/.gitkeep +0 -0
  4. package/docs/project_notes/bugs.md +41 -0
  5. package/docs/project_notes/decisions.md +147 -0
  6. package/docs/project_notes/issues.md +101 -0
  7. package/docs/project_notes/key_facts.md +88 -0
  8. package/docs/project_notes/trunk/.gitkeep +0 -0
  9. package/docs/project_notes/trunk/.planning_research/decision_file_naming.md +15 -0
  10. package/docs/project_notes/trunk/.planning_research/decisions_log.md +32 -0
  11. package/docs/project_notes/trunk/.planning_research/orientation.md +51 -0
  12. package/docs/project_notes/trunk/audit/plan-rename-hitlist.md +654 -0
  13. package/docs/project_notes/trunk/blueprint-conflicts.md +109 -0
  14. package/docs/project_notes/trunk/blueprints/database-architect.md +416 -0
  15. package/docs/project_notes/trunk/blueprints/devops-infrastructure.md +514 -0
  16. package/docs/project_notes/trunk/blueprints/technical-writer.md +788 -0
  17. package/docs/project_notes/trunk/build_brief.md +119 -0
  18. package/docs/project_notes/trunk/build_report.md +250 -0
  19. package/docs/project_notes/trunk/detail_brief.md +94 -0
  20. package/docs/project_notes/trunk/plan.md +182 -0
  21. package/docs/project_notes/trunk/planning_brief.md +96 -0
  22. package/docs/project_notes/trunk/prompt_brief.md +60 -0
  23. package/docs/project_notes/trunk/prompt_output.json +98 -0
  24. package/docs/project_notes/trunk/scratch/database-architect-decisions.json +72 -0
  25. package/docs/project_notes/trunk/scratch/database-architect-research-plan.md +10 -0
  26. package/docs/project_notes/trunk/scratch/database-architect-stage1.md +226 -0
  27. package/docs/project_notes/trunk/scratch/devops-infrastructure-decisions.json +71 -0
  28. package/docs/project_notes/trunk/scratch/devops-infrastructure-research-plan.md +7 -0
  29. package/docs/project_notes/trunk/scratch/devops-infrastructure-stage1.md +164 -0
  30. package/docs/project_notes/trunk/scratch/technical-writer-decisions.json +88 -0
  31. package/docs/project_notes/trunk/scratch/technical-writer-research-plan.md +7 -0
  32. package/docs/project_notes/trunk/scratch/technical-writer-stage1.md +266 -0
  33. package/docs/project_notes/trunk/team_assignment.json +108 -0
  34. package/docs/project_notes/trunk/test_brief.md +75 -0
  35. package/docs/project_notes/trunk/test_report.md +26 -0
  36. package/docs/project_notes/trunk/verification/devops-infrastructure-verification.md +172 -0
  37. package/docs/v9/decision-framework-direction.md +142 -0
  38. package/docs/v9/decision-framework-implementation.md +114 -0
  39. package/docs/v9/domain-adaptive-team-architecture.md +1016 -0
  40. package/docs/v9/test/SESSION_SUMMARY.md +117 -0
  41. package/docs/v9/test/TEST_PLAN.md +119 -0
  42. package/docs/v9/test/blueprints/legal-analyst.md +166 -0
  43. package/docs/v9/test/output/07_cover_letter.md +41 -0
  44. package/docs/v9/test/phase2/mock_plan.md +89 -0
  45. package/docs/v9/test/phase2/producers.json +32 -0
  46. package/docs/v9/test/phase2/specialists/database-architect.specialist.md +10 -0
  47. package/docs/v9/test/phase2/specialists/financial-analyst.specialist.md +10 -0
  48. package/docs/v9/test/phase2/specialists/legal-analyst.specialist.md +10 -0
  49. package/docs/v9/test/phase2/specialists/technical-writer.specialist.md +10 -0
  50. package/docs/v9/test/phase2/team_assignment.json +61 -0
  51. package/docs/v9/test/phase3/blueprints/legal-analyst.md +840 -0
  52. package/docs/v9/test/phase3/legal-analyst-full.specialist.md +111 -0
  53. package/docs/v9/test/phase3/project_context/nh_landlord_tenant_notes.md +35 -0
  54. package/docs/v9/test/phase3/project_context/property_facts.md +32 -0
  55. package/docs/v9/test/phase3b/blueprints/legal-analyst.md +1715 -0
  56. package/docs/v9/test/phase3b/legal-analyst.specialist.md +153 -0
  57. package/docs/v9/test/phase3b/scratch/legal-analyst-stage1.md +270 -0
  58. package/docs/v9/test/phase4/TEST_PLAN.md +32 -0
  59. package/docs/v9/test/phase4/blueprints/financial-analyst-T2.md +538 -0
  60. package/docs/v9/test/phase4/blueprints/legal-analyst-T4.md +253 -0
  61. package/docs/v9/test/phase4/cross-blueprint-check.md +280 -0
  62. package/docs/v9/test/phase4/scratch/financial-analyst-T2-stage1.md +67 -0
  63. package/docs/v9/test/phase4/scratch/legal-analyst-T4-stage1.md +54 -0
  64. package/docs/v9/test/phase4/specialists/financial-analyst.specialist.md +156 -0
  65. package/docs/v9/test/phase4/specialists/legal-analyst.specialist.md +153 -0
  66. package/docs/v9/test/phase5/TEST_PLAN.md +35 -0
  67. package/docs/v9/test/phase5/blueprints/code-architect-hw-vetter.md +375 -0
  68. package/docs/v9/test/phase5/output/04_compliance_checklist.md +149 -0
  69. package/docs/v9/test/phase5/output/hardware-vetter-SKILL-v2.md +561 -0
  70. package/docs/v9/test/phase5/output/hardware-vetter-SKILL.md +459 -0
  71. package/docs/v9/test/phase5/producers/code-writer.producer.md +49 -0
  72. package/docs/v9/test/phase5/producers/document-writer.producer.md +62 -0
  73. package/docs/v9/test/phase5/regression-comparison-v2.md +60 -0
  74. package/docs/v9/test/phase5/regression-comparison.md +197 -0
  75. package/docs/v9/test/phase5/review-5A-specialist.md +213 -0
  76. package/docs/v9/test/phase5/specialist-test/TEST_PLAN.md +60 -0
  77. package/docs/v9/test/phase5/specialist-test/blueprint-comparison.md +252 -0
  78. package/docs/v9/test/phase5/specialist-test/blueprints/code-architect-hw-vetter.md +916 -0
  79. package/docs/v9/test/phase5/specialist-test/scratch/code-architect-stage1.md +427 -0
  80. package/docs/v9/test/phase5/specialists/code-architect.specialist.md +168 -0
  81. package/docs/v9/test/phase5b/TEST_PLAN.md +219 -0
  82. package/docs/v9/test/phase5b/blueprints/5B-10-stage2-with-decisions.md +286 -0
  83. package/docs/v9/test/phase5b/decisions/5B-2-accept-all-decisions.json +68 -0
  84. package/docs/v9/test/phase5b/decisions/5B-3-promote-decisions.json +70 -0
  85. package/docs/v9/test/phase5b/decisions/5B-4-individual-decisions.json +68 -0
  86. package/docs/v9/test/phase5b/decisions/5B-5-triage-decisions.json +110 -0
  87. package/docs/v9/test/phase5b/decisions/5B-6-fallback-decisions.json +40 -0
  88. package/docs/v9/test/phase5b/decisions/5B-8-partial-decisions.json +46 -0
  89. package/docs/v9/test/phase5b/decisions/5B-9-complete-decisions.json +54 -0
  90. package/docs/v9/test/phase5b/scratch/code-architect-stage1.md +133 -0
  91. package/docs/v9/test/phase5b/specialists/code-architect.specialist.md +202 -0
  92. package/docs/v9/test/phase5b/stage1-many-decisions.md +139 -0
  93. package/docs/v9/test/phase5b/stage1-no-assumptions.md +70 -0
  94. package/docs/v9/test/phase5b/stage1-with-assumptions.md +86 -0
  95. package/docs/v9/test/phase5b/test-5B-1-results.md +157 -0
  96. package/docs/v9/test/phase5b/test-5B-10-results.md +130 -0
  97. package/docs/v9/test/phase5b/test-5B-2-results.md +75 -0
  98. package/docs/v9/test/phase5b/test-5B-3-results.md +104 -0
  99. package/docs/v9/test/phase5b/test-5B-4-results.md +114 -0
  100. package/docs/v9/test/phase5b/test-5B-5-results.md +126 -0
  101. package/docs/v9/test/phase5b/test-5B-6-results.md +60 -0
  102. package/docs/v9/test/phase5b/test-5B-7-results.md +141 -0
  103. package/docs/v9/test/phase5b/test-5B-8-results.md +115 -0
  104. package/docs/v9/test/phase5b/test-5B-9-results.md +76 -0
  105. package/docs/v9/test/producers/document-writer.producer.md +62 -0
  106. package/docs/v9/test/specialists/legal-analyst.specialist.md +58 -0
  107. package/package.json +4 -2
  108. package/producers/code-writer/code-writer.producer.md +86 -0
  109. package/producers/data-file-writer/data-file-writer.producer.md +116 -0
  110. package/producers/document-writer/document-writer.producer.md +117 -0
  111. package/producers/form-filler/form-filler.producer.md +99 -0
  112. package/producers/presentation-creator/presentation-creator.producer.md +109 -0
  113. package/producers/spreadsheet-builder/spreadsheet-builder.producer.md +107 -0
  114. package/scripts/install-skills.js +97 -9
  115. package/scripts/uninstall-skills.js +7 -2
  116. package/skills/intuition-agent-advisor/SKILL.md +327 -220
  117. package/skills/intuition-assemble/SKILL.md +261 -0
  118. package/skills/intuition-build/SKILL.md +379 -319
  119. package/skills/intuition-debugger/SKILL.md +390 -390
  120. package/skills/intuition-design/SKILL.md +385 -381
  121. package/skills/intuition-detail/SKILL.md +377 -0
  122. package/skills/intuition-engineer/SKILL.md +307 -303
  123. package/skills/intuition-handoff/SKILL.md +264 -222
  124. package/skills/intuition-handoff/references/handoff_core.md +54 -54
  125. package/skills/intuition-initialize/SKILL.md +21 -6
  126. package/skills/intuition-initialize/references/agents_template.md +118 -118
  127. package/skills/intuition-initialize/references/claude_template.md +134 -134
  128. package/skills/intuition-initialize/references/intuition_readme_template.md +4 -4
  129. package/skills/intuition-initialize/references/state_template.json +17 -2
  130. package/skills/{intuition-plan → intuition-outline}/SKILL.md +561 -481
  131. package/skills/{intuition-plan → intuition-outline}/references/magellan_core.md +16 -16
  132. package/skills/{intuition-plan → intuition-outline}/references/templates/plan_template.md +6 -6
  133. package/skills/intuition-prompt/SKILL.md +374 -312
  134. package/skills/intuition-start/SKILL.md +46 -13
  135. package/skills/intuition-start/references/start_core.md +60 -60
  136. package/skills/intuition-test/SKILL.md +345 -0
  137. package/specialists/api-designer/api-designer.specialist.md +291 -0
  138. package/specialists/business-analyst/business-analyst.specialist.md +270 -0
  139. package/specialists/copywriter/copywriter.specialist.md +268 -0
  140. package/specialists/database-architect/database-architect.specialist.md +275 -0
  141. package/specialists/devops-infrastructure/devops-infrastructure.specialist.md +314 -0
  142. package/specialists/financial-analyst/financial-analyst.specialist.md +269 -0
  143. package/specialists/frontend-component/frontend-component.specialist.md +293 -0
  144. package/specialists/instructional-designer/instructional-designer.specialist.md +285 -0
  145. package/specialists/legal-analyst/legal-analyst.specialist.md +260 -0
  146. package/specialists/marketing-strategist/marketing-strategist.specialist.md +281 -0
  147. package/specialists/project-manager/project-manager.specialist.md +266 -0
  148. package/specialists/research-analyst/research-analyst.specialist.md +273 -0
  149. package/specialists/security-auditor/security-auditor.specialist.md +354 -0
  150. package/specialists/technical-writer/technical-writer.specialist.md +275 -0
  151. /package/skills/{intuition-plan → intuition-outline}/references/sub_agents.md +0 -0
  152. /package/skills/{intuition-plan → intuition-outline}/references/templates/confidence_scoring.md +0 -0
  153. /package/skills/{intuition-plan → intuition-outline}/references/templates/plan_format.md +0 -0
  154. /package/skills/{intuition-plan → intuition-outline}/references/templates/planning_process.md +0 -0
@@ -0,0 +1,96 @@
1
+ # Planning Brief: Rename Plan Phase to Outline
2
+
3
+ ## Discovery Summary
4
+
5
+ The `intuition-plan` skill and all "planning" phase references throughout the Intuition framework need to be renamed to `intuition-outline` / "outlining." This is a pure rename refactor — behavior stays identical. The rename touches: the skill folder, every other skill's SKILL.md that routes to or mentions the plan phase, the state schema (`planning` field → `outlining`), the handoff migration handler, the initialize template, install/uninstall scripts, package.json, MEMORY.md, and likely some docs.
6
+
7
+ A v7→v8 state migration handler is required so existing `.project-memory-state.json` files from prior projects automatically rename the `planning` field to `outlining` when handoff next runs.
8
+
9
+ **Standing directive (no judgment calls needed):** Every place where "plan" refers to the workflow phase name becomes "outline." Generic English uses of "plan" (e.g., "research plan," "action plan," "planning research") are NOT renamed.
10
+
11
+ ## Problem Statement
12
+
13
+ The planning phase skill is named `intuition-plan` but should be called `intuition-outline`. Every reference to "plan" as a phase name across the entire framework needs to become "outline" while keeping behavior identical.
14
+
15
+ ## Goals & Success Criteria
16
+
17
+ 1. `grep -r "intuition-plan" skills/` returns zero results
18
+ 2. `grep -r '"planning"' docs/project_notes/.project-memory-state.json` returns zero results after migration
19
+ 3. `/intuition-outline` invokes correctly from the CLI
20
+ 4. Handoff correctly routes to "Run `/clear` then `/intuition-outline`" in all transition messages
21
+ 5. `intuition-start` correctly detects the outline phase and routes to `/intuition-outline`
22
+ 6. v7→v8 migration runs cleanly on a v7.0 state file and produces a v8.0 file with `outlining` field
23
+ 7. No skill behavioral changes — output quality and logic unchanged
24
+
25
+ ## Key Constraints
26
+
27
+ - State schema must bump to v8.0 (not v7.1 or v8.1)
28
+ - Migration handler must follow the exact same pattern as v5→v6 and v6→v7 handlers in handoff
29
+ - Handoff is the ONLY skill that writes state — migration must live there
30
+ - Generic English "plan" must not be touched (this will require careful grep filtering)
31
+ - Package must continue to install and deploy correctly post-rename
32
+
33
+ ## Architectural Context
34
+
35
+ ### Files almost certainly requiring changes
36
+
37
+ **Skill folders and SKILL.md files:**
38
+ - `skills/intuition-plan/` → rename folder to `skills/intuition-outline/`
39
+ - `skills/intuition-plan/SKILL.md` → update all internal self-references from "plan" to "outline"
40
+ - `skills/intuition-handoff/SKILL.md` → multiple transition references to "plan", route messages like "Run `/intuition-plan`", state field references (`planning`), migration handlers, mode detection, schema definition
41
+ - `skills/intuition-start/SKILL.md` → routing to plan phase, phase detection
42
+ - `skills/intuition-prompt/SKILL.md` → route message "Run `/intuition-plan`"
43
+ - `skills/intuition-assemble/SKILL.md` → references to plan output, planning brief
44
+ - `skills/intuition-detail/SKILL.md` → references to plan, planning context
45
+ - `skills/intuition-build/SKILL.md` → references to plan, planning brief
46
+ - `skills/intuition-test/SKILL.md` → references to plan
47
+ - `skills/intuition-design/SKILL.md` → [v8 compat] references to plan phase
48
+ - `skills/intuition-engineer/SKILL.md` → [v8 compat] references to plan phase
49
+ - `skills/intuition-debugger/SKILL.md` → may reference plan phase
50
+ - `skills/intuition-initialize/SKILL.md` → state schema template has `planning` field
51
+
52
+ **Scripts and config:**
53
+ - `scripts/install-skills.js` → skill list and directory names
54
+ - `scripts/uninstall-skills.js` (if exists) → skill list
55
+ - `package.json` → skill name in scripts/description/skill list
56
+
57
+ **Memory and docs:**
58
+ - `memory/MEMORY.md` → extensive references to "plan" phase, `planning` field, workflow descriptions
59
+ - `docs/v9/` design documents — investigate whether to update or leave as historical
60
+
61
+ **Output file naming (within intuition-outline/intuition-plan skill):**
62
+ - The skill currently writes `plan.md` and `plan_output.json`; these should become `outline.md` and `outline_output.json`
63
+ - Any skill that reads `plan.md` as its input must be updated to read `outline.md`
64
+
65
+ ### Key disambiguation rule for planning
66
+
67
+ When grepping for "plan," distinguish:
68
+ - **Phase-name**: `/intuition-plan`, `intuition-plan`, `planning phase`, `"planning"` (JSON key), `planning_brief.md`, `plan.md`, `planning.completed`, `planning.started`, `Run /intuition-plan`, `planning: {`, `status == "planning"`, `status: "planning"` — ALL become "outline" variants
69
+ - **Generic English**: "research plan," "research planning," "action plan," "plan of action," "planning context," "planning research," "ARCH planning," "capacity planning" — DO NOT rename
70
+
71
+ ## Assumptions & Risks
72
+
73
+ | Assumption | Confidence | Risk if Wrong |
74
+ |-----------|-----------|---------------|
75
+ | `planning` is the only state field that needs renaming | High | Miss a field, state breaks |
76
+ | No external consumers depend on skill naming (self-contained npm package) | High | Breaking change for users |
77
+ | v8 compat skills (design, engineer) reference the plan phase in routing messages | Medium | Miss references if they don't |
78
+ | Specialist/producer profiles do NOT reference the plan phase | Medium | Miss references; low impact |
79
+ | docs/v9/ design docs CAN be updated without historical concern | Medium | May want to treat as immutable records |
80
+
81
+ ## Recommended Approach
82
+
83
+ This is a systematic search-and-replace job. The planning phase should:
84
+
85
+ 1. **Audit first**: Run comprehensive grep across the entire codebase to enumerate every file and line containing "plan" in a phase-name context. Produce a complete hit list.
86
+ 2. **Group by file**: Organize the hit list by file to understand the blast radius per file before proposing tasks.
87
+ 3. **Task per file or per logical group**: Each SKILL.md file is a separate task. Scripts together. Docs together. State migration is its own task (most complex).
88
+ 4. **Migration handler task**: The v7→v8 handler in handoff is the most structurally significant change — should be its own task with clear before/after state schema.
89
+ 5. **Verification task**: Final grep to confirm zero stale references + functional test of routing.
90
+
91
+ ## References
92
+
93
+ - `docs/project_notes/trunk/prompt_brief.md` — full brief with scope, constraints, decision posture
94
+ - `docs/project_notes/trunk/prompt_output.json` — structured output
95
+ - `docs/project_notes/decisions.md` — ADR-P001
96
+ - `docs/project_notes/key_facts.md` — rename directive and project facts
@@ -0,0 +1,60 @@
1
+ # Prompt Brief: Rename Plan Phase to Outline
2
+
3
+ ## Problem Statement
4
+ The planning phase skill is named `intuition-plan` but should be called `intuition-outline`. Every reference to "plan" as a phase name across the entire framework — skill files, state schema, handoff routing, install scripts, docs, and memory — needs to become "outline." The phase behavior stays identical; this is a pure rename refactor.
5
+
6
+ ## Commander's Intent
7
+ **Desired end state:** A user invokes `/intuition-outline`, sees "outline" in all handoff messages, state tracking, and documentation — with no trace of "plan" as a phase name anywhere in the framework.
8
+ **Non-negotiables:** Complete consistency (no stale "plan" references as a phase name), functional routing still works end-to-end.
9
+ **Boundaries:** Pure rename — no behavioral changes to the phase itself. Generic English uses of "plan" (e.g., "research plan") are not touched.
10
+
11
+ ## Success Criteria
12
+ - Grep for "plan" as a phase name returns zero hits across all skill files, state schema, install script, and docs (excluding generic English usage)
13
+ - `/intuition-outline` invokes correctly and handoff routes to/from it
14
+ - State schema migrates cleanly from v7 to v8 (renaming `planning` → `outlining`)
15
+ - Output files renamed from `plan.md` / `plan_output.json` to `outline.md` / `outline_output.json`
16
+
17
+ ## Scope
18
+ **In scope:**
19
+ - Skill folder rename (`intuition-plan` → `intuition-outline`)
20
+ - SKILL.md content updates within the renamed skill
21
+ - All other skills' references to "plan" as a phase (handoff, start, prompt, detail, build, test, assemble, engineer, design, debugger, etc.)
22
+ - State schema field rename (`planning` → `outlining`) + v7→v8 migration handler in handoff
23
+ - Initialize skill template (v8.0 state schema)
24
+ - Install/uninstall scripts
25
+ - MEMORY.md and any docs referencing the plan phase
26
+ - package.json if it references the plan skill
27
+ - Output file naming (`plan.md` → `outline.md`, `plan_output.json` → `outline_output.json`)
28
+
29
+ **Out of scope:**
30
+ - Behavioral changes to the outline phase
31
+ - Changes to v8 compat skills (design, engineer) beyond updating their references to the phase name
32
+ - Generic English uses of "plan" that don't refer to this specific workflow phase
33
+
34
+ ## Constraints
35
+ - Must add v7→v8 state migration handler in handoff (following pattern of existing v5→v6 and v6→v7 handlers)
36
+ - Must follow existing naming conventions (`/intuition-outline`)
37
+ - State schema version bumps to 8.0
38
+ - Standing directive: everywhere "plan" referred to this phase, it becomes "outline" — no exceptions, no judgment calls needed
39
+
40
+ ## Key Assumptions
41
+ | Assumption | Confidence | Basis |
42
+ |-----------|-----------|-------|
43
+ | `planning` is the only state field that needs renaming | High | State schema has one plan-phase field with sub-fields (started, completed, approved) |
44
+ | No external consumers depend on the "plan" naming | High | Self-contained npm package |
45
+ | v8 compat skills (design, engineer) reference the plan phase in routing/deprecation messages | Medium | Likely mention "planning phase" in deprecated notices |
46
+ | Output files are currently named `plan.md` and `plan_output.json` | High | Convention matches other skills (prompt_brief.md, prompt_output.json) |
47
+
48
+ ## Open Questions for Planning
49
+ - Exact list of files referencing "plan" as a phase (planning phase should grep comprehensively)
50
+ - Whether any specialist profiles or producer profiles reference the plan phase
51
+ - Whether docs/v9/ design documents need updating or are treated as historical records
52
+
53
+ ## Decision Posture
54
+ | Area | Posture | Notes |
55
+ |------|---------|-------|
56
+ | State field naming | Team handles | `planning` → `outlining` (consistent with plan → outline) |
57
+ | Output file naming | Team handles | `plan.md` → `outline.md`, `plan_output.json` → `outline_output.json` |
58
+ | Migration handler design | Team handles | Follow existing v6→v7 pattern |
59
+ | Reference disambiguation | Team handles | Phase references become "outline"; generic English "plan" stays |
60
+ | All other decisions | Team handles | Standing directive: plan → outline everywhere it refers to this phase |
@@ -0,0 +1,98 @@
1
+ {
2
+ "summary": {
3
+ "title": "Rename Plan Phase to Outline",
4
+ "one_liner": "Rename the plan skill to outline and update all references across the framework",
5
+ "problem_statement": "The planning phase skill is named intuition-plan but should be called intuition-outline. Every reference to 'plan' as a phase name across the entire framework needs to become 'outline' while keeping behavior identical.",
6
+ "success_criteria": "Zero stale 'plan' phase references via grep, /intuition-outline invokes and routes correctly, state schema migrates v7→v8 cleanly"
7
+ },
8
+ "commander_intent": {
9
+ "desired_end_state": "A user invokes /intuition-outline, sees 'outline' in all handoff messages, state tracking, and documentation — with no trace of 'plan' as a phase name anywhere in the framework",
10
+ "non_negotiables": [
11
+ "Complete consistency — no stale 'plan' references as a phase name",
12
+ "Functional routing still works end-to-end"
13
+ ],
14
+ "boundaries": [
15
+ "Pure rename — no behavioral changes to the phase itself",
16
+ "Generic English uses of 'plan' (e.g., 'research plan') are not touched"
17
+ ]
18
+ },
19
+ "scope": {
20
+ "in": [
21
+ "Skill folder rename (intuition-plan → intuition-outline)",
22
+ "SKILL.md content updates within the renamed skill",
23
+ "All other skills' references to 'plan' as a phase",
24
+ "State schema field rename (planning → outlining) + v7→v8 migration handler",
25
+ "Initialize skill template (v8.0 state schema)",
26
+ "Install/uninstall scripts",
27
+ "MEMORY.md and docs referencing the plan phase",
28
+ "package.json skill references",
29
+ "Output file naming (plan.md → outline.md, plan_output.json → outline_output.json)"
30
+ ],
31
+ "out": [
32
+ "Behavioral changes to the outline phase",
33
+ "Changes to v8 compat skills beyond updating phase name references",
34
+ "Generic English uses of 'plan' that don't refer to this workflow phase"
35
+ ]
36
+ },
37
+ "constraints": [
38
+ "Must add v7→v8 state migration handler in handoff",
39
+ "Must follow existing naming conventions (/intuition-outline)",
40
+ "State schema version bumps to 8.0",
41
+ "Standing directive: plan → outline everywhere it refers to this phase"
42
+ ],
43
+ "assumptions": [
44
+ {
45
+ "assumption": "'planning' is the only state field that needs renaming",
46
+ "confidence": "high",
47
+ "basis": "State schema has one plan-phase field with sub-fields"
48
+ },
49
+ {
50
+ "assumption": "No external consumers depend on the 'plan' naming",
51
+ "confidence": "high",
52
+ "basis": "Self-contained npm package"
53
+ },
54
+ {
55
+ "assumption": "v8 compat skills reference the plan phase in routing/deprecation messages",
56
+ "confidence": "medium",
57
+ "basis": "Likely mention 'planning phase' in deprecated notices"
58
+ },
59
+ {
60
+ "assumption": "Output files are currently named plan.md and plan_output.json",
61
+ "confidence": "high",
62
+ "basis": "Convention matches other skill output naming patterns"
63
+ }
64
+ ],
65
+ "decision_posture": [
66
+ {
67
+ "area": "State field naming",
68
+ "posture": "team_handles",
69
+ "notes": "planning → outlining"
70
+ },
71
+ {
72
+ "area": "Output file naming",
73
+ "posture": "team_handles",
74
+ "notes": "plan.md → outline.md, plan_output.json → outline_output.json"
75
+ },
76
+ {
77
+ "area": "Migration handler design",
78
+ "posture": "team_handles",
79
+ "notes": "Follow existing v6→v7 pattern"
80
+ },
81
+ {
82
+ "area": "Reference disambiguation",
83
+ "posture": "team_handles",
84
+ "notes": "Phase references become outline; generic English 'plan' stays"
85
+ },
86
+ {
87
+ "area": "All other decisions",
88
+ "posture": "team_handles",
89
+ "notes": "Standing directive: plan → outline everywhere it refers to this phase"
90
+ }
91
+ ],
92
+ "research_performed": [],
93
+ "open_questions": [
94
+ "Exact list of files referencing 'plan' as a phase (outline phase should grep comprehensively)",
95
+ "Whether specialist or producer profiles reference the plan phase",
96
+ "Whether docs/v9/ design documents need updating or are treated as historical records"
97
+ ]
98
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "specialist": "database-architect",
3
+ "gate_started": "2026-03-05T00:00:00.000Z",
4
+ "gate_completed": "2026-03-05T00:00:01.000Z",
5
+ "decision_policy": "aggressive",
6
+ "assumptions": [
7
+ {
8
+ "id": "A1",
9
+ "title": "V3 migration historical file references preserved",
10
+ "status": "accepted",
11
+ "user_override": null,
12
+ "default": "Keep planning_brief.md, plan.md, .planning_research/ in V3 handler as-is",
13
+ "rationale": "V3 handler moves files that exist on disk with those names in v3.0 projects"
14
+ },
15
+ {
16
+ "id": "A2",
17
+ "title": "Transition 2v9 status value renames to outline",
18
+ "status": "accepted",
19
+ "user_override": null,
20
+ "default": "Transition 2v9 sets status to 'outline' after rename",
21
+ "rationale": "Status value represents the phase being renamed, not generic English"
22
+ },
23
+ {
24
+ "id": "A3",
25
+ "title": "Migration handler is JSON-only, no disk file renames",
26
+ "status": "accepted",
27
+ "user_override": null,
28
+ "default": "v7->v8 handler renames workflow.planning -> workflow.outline in JSON only",
29
+ "rationale": "File renames on disk handled by other tasks (T6 scripts)"
30
+ },
31
+ {
32
+ "id": "A4",
33
+ "title": "Newest-first migration handler placement",
34
+ "status": "accepted",
35
+ "user_override": null,
36
+ "default": "V7 handler inserted before V5 (line 192)",
37
+ "rationale": "Follows existing convention: newer migrations appear first in file"
38
+ }
39
+ ],
40
+ "decisions": [
41
+ {
42
+ "id": "D1",
43
+ "title": "V3 migration handler — preserve historical artifact references",
44
+ "tier": "SILENT",
45
+ "classified_by": "plan",
46
+ "context": "V3 handler references planning_brief.md, plan.md, .planning_research/ as files to move during v3.0 restructuring",
47
+ "options": ["Preserve V3 handler exactly as-is", "Rename historical references to new names"],
48
+ "chosen": "Preserve V3 handler exactly as-is",
49
+ "user_input": null
50
+ },
51
+ {
52
+ "id": "D2",
53
+ "title": "Status value remapping scope in migration handler",
54
+ "tier": "SILENT",
55
+ "classified_by": "plan",
56
+ "context": "Status field and workflow key are tightly coupled in transition detection",
57
+ "options": ["Remap status 'planning' -> 'outline' for trunk and all branches", "Only rename workflow key, leave status untouched"],
58
+ "chosen": "Remap status 'planning' -> 'outline' for trunk and all branches",
59
+ "user_input": null
60
+ },
61
+ {
62
+ "id": "D3",
63
+ "title": "Migration trigger condition — simple vs fallback",
64
+ "tier": "SILENT",
65
+ "classified_by": "plan",
66
+ "context": "V4 has a fallback trigger but v7.0 states always have a version field",
67
+ "options": ["Simple trigger: version == '7.0' only", "Add fallback: version == '7.0' OR planning key exists without outline key"],
68
+ "chosen": "Simple trigger: version == '7.0' only",
69
+ "user_input": null
70
+ }
71
+ ]
72
+ }
@@ -0,0 +1,10 @@
1
+ ## Research Plan
2
+
3
+ ### R1: Complete inventory of phase-name `planning`/`plan` references in handoff SKILL.md with line numbers and disambiguation classification
4
+ Scan the full handoff SKILL.md for every occurrence of `planning`, `plan`, `/intuition-plan`, `planning_brief.md`, `plan.md`, `.planning_research/`, and the `"planning"` JSON key. For each hit, record the line number, the surrounding context (5 lines), and classify it as either PHASE-NAME (must rename to `outline`/`outline_brief.md`/`outline.md`/`.outline_research/`/`/intuition-outline`) or GENERIC-ENGLISH (must keep as-is). Known generic patterns to preserve: "research plan" (as in "research plan items"), "ARCH planning" (methodology name), "planning context" when meaning general context rather than the phase. The V3 migration handler (line 206) references `planning_brief.md` and `.planning_research/` as historical file paths that were moved -- these must ALSO be renamed because they describe actual phase artifacts. This inventory is the foundation for all edits in T3.
5
+
6
+ ### R2: Existing migration handler pattern analysis -- trigger, body, report, and ordering conventions
7
+ Examine the four existing migration handlers (V3 at line 204, V4 at line 200, V5 at line 192, V6 at line 196) to extract the exact structural pattern the V7->V8 handler must follow: (a) section heading format (`## VN STATE MIGRATION`), (b) trigger condition format ("Fires when handoff detects `version == X`"), (c) body structure (for trunk and every branch: [mutation]. Set `version: "Y"`, preserve all other fields, write state), (d) report message format, (e) closing sentence ("Then continue with the original transition."), (f) placement order relative to other handlers. Also check whether there's any detection/dispatch code that lists migration versions -- if so, V7 must be added there. Note: V5 handler jumps directly to 7.0 (skips 6.0), so confirm whether the V7->V8 handler should also be placed before or after V6 in the file.
8
+
9
+ ### R3: State field `planning` usage in workflow status values and transition condition checks
10
+ Map every place in handoff SKILL.md where `workflow.planning` is used in conditional logic (e.g., `workflow.planning.started`, `workflow.planning.completed`, `planning.approved`) and where `status == "planning"` appears. These are the critical structural references that must change to `workflow.outline` and `status == "outline"` respectively. Also check the status enum on line 131 (`"none | prompt | planning | design | engineering | building | testing | detail | complete"`) -- this must change to include `outline` instead of `planning`. Additionally, check Transition 2v9 (line 243) which sets `status` to `"planning"` even though it's a v9 transition -- confirm this is intentional and must also change.
@@ -0,0 +1,226 @@
1
+ # Database Architect — Stage 1 Analysis (T3)
2
+
3
+ ## Research Findings
4
+
5
+ ### RF1: Complete reference inventory in handoff SKILL.md
6
+
7
+ All `planning`/`plan` references in the handoff file are PHASE-NAME references. Zero generic English instances exist. This eliminates the disambiguation challenge entirely for this file.
8
+
9
+ The 17 unique lines break into four categories:
10
+
11
+ **Category A — Schema definition (2 lines)**
12
+ - Line 131: Status enum includes `planning` as a valid status value
13
+ - Line 134: `"planning": { ... }` workflow phase object in the JSON schema template
14
+
15
+ **Category B — Transition condition checks (2 lines)**
16
+ - Line 74: `workflow.planning.started == false` (Transition 1 detection)
17
+ - Line 77: `status == "planning" AND workflow.planning.completed == true` (Transition 2/2v9 detection)
18
+
19
+ **Category C — Transition state writes and routing (12 lines)**
20
+ - Line 24: Critical rule mentioning `prompt->planning`
21
+ - Line 62: Protocol step scoped to `prompt->planning only`
22
+ - Line 208: Transition 1 heading `PROMPT -> PLANNING`
23
+ - Line 216: `planning_brief.md` generation instruction
24
+ - Line 218: Sets `status` to `"planning"`, `planning.started = true`, routes to `/intuition-plan`, references `planning_brief.md` (3 phase-name hits in one line)
25
+ - Line 220: Transition 2 heading `PLANNING -> DESIGN`
26
+ - Line 222: Reads `plan.md`, references "planning work"
27
+ - Line 228: `planning.completed = true`
28
+ - Line 230: Transition 2B heading `PLANNING -> ENGINEER`
29
+ - Line 234: `planning.completed = true`
30
+ - Line 236: Transition 2v9 heading `PLAN -> ASSEMBLE`
31
+ - Line 238, 242, 243, 248: Various `plan.md`, `planning` state writes in v9 transitions
32
+
33
+ **Category D — Historical migration artifacts (1 line)**
34
+ - Line 206: V3 migration references `planning_brief.md`, `plan.md`, `.planning_research/` as files to move during restructuring
35
+
36
+ ### RF2: Migration handler pattern (structural template)
37
+
38
+ All four existing handlers follow a rigid pattern:
39
+
40
+ ```
41
+ ## V{N} STATE MIGRATION
42
+
43
+ Fires when handoff detects `version == "{N}.0"` [optional: OR fallback condition].
44
+ For trunk and every branch: [mutation description].
45
+ Set `version: "{target}"`, preserve all other fields, write state.
46
+ Report: "Migrated state from v{N}.0 to v{target}.0 ({change description})."
47
+ Then continue with the original transition.
48
+ ```
49
+
50
+ **Ordering convention**: Newer migrations appear first in the file. Current order: V5 (line 192), V6 (line 196), V4 (line 200), V3 (line 204). The V7 handler should be placed BEFORE V5 (at line ~192, pushing others down).
51
+
52
+ **Closest precedent**: V4 handler — it renames a field (`execution` -> `build`) and remaps a status value (`"executing"` -> `"building"`). T3's v7->v8 handler must rename `planning` -> `outline` and remap `"planning"` -> `"outline"` in status, making V4 the exact structural template.
53
+
54
+ **No centralized dispatch**: Handlers are inline prose instructions, not code. Claude reads them sequentially and applies whichever matches the detected version. No registry or dispatch table to update.
55
+
56
+ ### RF3: State field coupling analysis
57
+
58
+ The `planning` field participates in a read-write cycle across skills:
59
+
60
+ - **Initialize** (T4, technical-writer): Sets the template with `"planning": {...}` for new projects
61
+ - **Handoff** (T3, this task): Writes `planning.started`, `planning.completed`, `planning.approved`, and sets `status: "planning"`
62
+ - **Start** (T5, technical-writer): Reads `workflow.planning.*` and `status == "planning"` for routing decisions
63
+
64
+ T3 handles the handoff side. The technical-writer blueprint (T4, T5) handles initialize and start. Both must use `outline` consistently.
65
+
66
+ ### RF4: V3 migration historical artifact question
67
+
68
+ Line 206 references `planning_brief.md`, `plan.md`, `.planning_research/` as artifacts the V3 handler moves from `docs/project_notes/` to `docs/project_notes/trunk/`. These are historical file names from v3.0 state. The V3 handler must continue to reference the OLD names (`planning_brief.md`, etc.) because it migrates projects that have those old-named files on disk. The v7->v8 handler does NOT need to rename files on disk — it only renames the JSON key in the state object.
69
+
70
+ ## ECD Analysis
71
+
72
+ ### Elements (State Schema Components)
73
+
74
+ 1. **Schema version header** (line 121-128): `## STATE SCHEMA (v7.0)` heading + `"version": "7.0"` in JSON — both must bump to 8.0
75
+ 2. **Workflow phase object key** (line 134): `"planning": { "started": false, "completed": false, "completed_at": null, "approved": false }` — key renames to `"outline"`
76
+ 3. **Status enum** (line 131): `planning` value in the pipe-delimited list — renames to `outline`
77
+ 4. **V7 migration handler**: New section to add — renames `planning` -> `outline` in workflow objects for trunk and all branches, remaps status values
78
+ 5. **Transition headings**: 3 headings contain `PLANNING` or `PLAN` as the phase name
79
+ 6. **Transition routing messages**: 2 messages route to `/intuition-plan`
80
+ 7. **File path references**: `planning_brief.md` (2 occurrences), `plan.md` (3 occurrences as the outline artifact, not counting V3 migration historical refs)
81
+ 8. **State write instructions**: `planning.started`, `planning.completed`, `planning.approved` field paths (~8 occurrences)
82
+ 9. **Critical rules and protocol steps**: Lines 24, 62 reference `planning` as the phase name
83
+
84
+ ### Connections (Dependencies Between Elements)
85
+
86
+ - **Schema version <-> Migration handler**: The handler fires on `version == "7.0"` and sets `version: "8.0"`. The schema header must match the target version.
87
+ - **Status enum <-> Transition conditions**: Line 74 and 77 check `planning` in conditions. The enum (line 131) must list `outline` for these checks to be valid post-rename.
88
+ - **State write instructions <-> Migration handler**: The handler renames the key once at migration time. All subsequent state writes use `outline.*` paths.
89
+ - **V3 migration <-> V7 migration**: V3 references historical file names on disk. V7 renames JSON keys only. These are independent — V3 must NOT be modified.
90
+ - **T3 <-> T5 coupling**: T5 (technical-writer) renames the same status checks and field paths in other skills (start, prompt, etc.). T3 renames them in handoff only. Both must use identical target names.
91
+
92
+ ### Dynamics (Migration Execution Flow)
93
+
94
+ When a v7.0 project runs any handoff transition:
95
+ 1. Handoff reads `.project-memory-state.json`, detects `version: "7.0"`
96
+ 2. V7 migration handler fires: renames `workflow.planning` -> `workflow.outline` in trunk and every branch, remaps any `status == "planning"` -> `"outline"`, sets `version: "8.0"`
97
+ 3. State is written with the new structure
98
+ 4. Original transition continues, now using `outline.*` field paths
99
+
100
+ Post-migration, all handoff transitions write to `workflow.outline.*` and set `status: "outline"`. Start skill (updated by T5) reads `workflow.outline.*`.
101
+
102
+ ## Assumptions
103
+
104
+ ### A1: V3 migration historical file references must NOT be renamed
105
+ - **Default**: Keep `planning_brief.md`, `plan.md`, `.planning_research/` in the V3 handler as-is
106
+ - **Rationale**: The V3 handler moves files that exist on disk with those names in v3.0 projects. Renaming them would break migration for any project still at v3.0. The files on disk are not renamed by any migration handler — only the JSON state key changes.
107
+
108
+ ### A2: Status value "planning" in Transition 2v9 is intentional and must also rename
109
+ - **Default**: Transition 2v9 (line 243) sets `status` to `"outline"` after rename
110
+ - **Rationale**: Research R3 confirmed this transition intentionally keeps the status at "planning" (now "outline") until assemble advances it. The status value represents the phase, which is being renamed. This is not a generic English usage.
111
+
112
+ ### A3: The migration handler only needs to rename the JSON key, not files on disk
113
+ - **Default**: The v7->v8 handler renames `workflow.planning` -> `workflow.outline` in JSON and remaps `status == "planning"` -> `"outline"`. No file renames.
114
+ - **Rationale**: The plan's acceptance criteria and task description focus exclusively on state schema changes. File renames on disk (e.g., `planning_brief.md` -> `outline_brief.md`) are handled by T6 (the install/uninstall script task) or as a separate concern. The migration handler's job is to ensure existing state files remain valid under the new schema.
115
+
116
+ ### A4: Migration handler placement follows "newest first" convention
117
+ - **Default**: Insert the V7 handler before V5 (currently line 192), making it the first migration section
118
+ - **Rationale**: Existing ordering is V5, V6, V4, V3 (newest target version first). V7->V8 targets the highest version and goes first.
119
+
120
+ ## Key Decisions
121
+
122
+ ### D1: V3 migration handler — rename historical artifact references or preserve them
123
+ - **Tier**: [SILENT]
124
+ - **Options**:
125
+ - (A) Rename `planning_brief.md`, `plan.md`, `.planning_research/` in V3 handler to new names
126
+ - (B) Preserve V3 handler exactly as-is (these reference files on disk in v3.0 projects)
127
+ - **Recommendation**: Option B. The V3 handler moves files that exist with old names on disk. Renaming these references would break migration for v3.0 projects. The acceptance criteria explicitly say "Existing v5->v6 and v6->v7 migration handlers are preserved unchanged" — by extension, all prior handlers should be preserved.
128
+ - **Risk if wrong**: If option A is chosen, any v3.0 project attempting migration would fail to find the files to move. Low probability of encountering v3.0 projects but high impact if it happens.
129
+
130
+ ### D2: Status value remapping scope in the migration handler
131
+ - **Tier**: [SILENT]
132
+ - **Options**:
133
+ - (A) Remap `status == "planning"` -> `"outline"` for trunk and all branches
134
+ - (B) Only rename the workflow key, leave status values untouched
135
+ - **Recommendation**: Option A. The status field and the workflow key are tightly coupled. If status says `"planning"` but the workflow key is `outline`, condition checks like `status == "outline" AND workflow.outline.completed == true` would fail (status still says "planning"). Both must change together.
136
+ - **Risk if wrong**: Option B would leave a mismatch between status values and workflow keys, causing all transition detection to fail silently.
137
+
138
+ ### D3: Whether to add a secondary trigger condition (like V4's fallback)
139
+ - **Tier**: [SILENT]
140
+ - **Options**:
141
+ - (A) Simple trigger: `version == "7.0"` only
142
+ - (B) Add fallback: `version == "7.0"` OR (`planning` key exists but no `outline` key)
143
+ - **Recommendation**: Option A. The V4 handler's fallback (`execution` exists but no `engineering`) was needed because V4 handled a structural rename that could occur in unversioned states. V7.0 states always have a version field (added in V3 migration). A fallback adds complexity without benefit.
144
+ - **Risk if wrong**: Negligible. Any edge case where version is "7.0" but `planning` key is missing would indicate a corrupted state, handled by the existing "Corrupted state" edge case (line 500).
145
+
146
+ ## Risks Identified
147
+
148
+ ### Risk 1: T3 and T5 applied in wrong order
149
+ - **Severity**: Low (mitigated by plan sequencing)
150
+ - **Description**: T5 (technical-writer) also modifies handoff SKILL.md — renaming prose references, routing messages, and file paths. T3 adds the migration handler and bumps the schema version. If T5 runs first and changes `planning` references before T3's migration handler is added, the handler might reference stale field names.
151
+ - **Mitigation**: The plan specifies T3 depends on T1 (audit hit list). T5 also depends on T1. Both can technically run in parallel since T3 adds a new section (migration handler) while T5 modifies existing text. The build phase must apply both to the same file — the technical-writer blueprint already notes "Both blueprints must be read together."
152
+
153
+ ### Risk 2: Migration handler misses branch-level status fields
154
+ - **Severity**: Medium
155
+ - **Description**: The handler must iterate trunk AND every branch. If it only patches trunk, branches with `status: "planning"` and `workflow.planning` will break.
156
+ - **Mitigation**: Follow V4/V5/V6 pattern exactly — all say "For trunk and every branch."
157
+
158
+ ### Risk 3: Approved field lost during key rename
159
+ - **Severity**: Low
160
+ - **Description**: The `planning` object has an `approved` field not present in other workflow phases. The migration must preserve this field when renaming the key.
161
+ - **Mitigation**: The handler instruction should explicitly state "rename the key from `planning` to `outline`, preserving the entire object value (started, completed, completed_at, approved)."
162
+
163
+ ## Recommended Approach
164
+
165
+ ### Step 1: Bump schema version (2 edits)
166
+
167
+ Change the section heading from `## STATE SCHEMA (v7.0)` to `## STATE SCHEMA (v8.0)` (line 121).
168
+
169
+ Change `"version": "7.0"` to `"version": "8.0"` in the JSON schema block (line 128).
170
+
171
+ ### Step 2: Rename schema definition key (1 edit)
172
+
173
+ Change `"planning": { "started": false, "completed": false, "completed_at": null, "approved": false }` to `"outline": { ... }` (line 134). Keep the object value identical.
174
+
175
+ ### Step 3: Update status enum (1 edit)
176
+
177
+ Change `planning` to `outline` in the pipe-delimited status list on line 131.
178
+
179
+ ### Step 4: Add V7 STATE MIGRATION handler (new section)
180
+
181
+ Insert before the existing V5 handler (before line 192). Use this exact text:
182
+
183
+ ```markdown
184
+ ## V7 STATE MIGRATION
185
+
186
+ Fires when handoff detects `version == "7.0"`. For trunk and every branch: rename the `planning` key to `outline` in the workflow object, preserving the entire value (started, completed, completed_at, approved). If `status == "planning"`, change it to `"outline"`. Set `version: "8.0"`, preserve all other fields, write state. Report: "Migrated state from v7.0 to v8.0 (renamed planning phase to outline)." Then continue with the original transition.
187
+ ```
188
+
189
+ ### Step 5: Update all transition headings (3 edits)
190
+
191
+ - Line 208: `TRANSITION 1: PROMPT -> PLANNING` -> `TRANSITION 1: PROMPT -> OUTLINE`
192
+ - Line 220: `TRANSITION 2: PLANNING -> DESIGN` -> `TRANSITION 2: OUTLINE -> DESIGN`
193
+ - Line 230: `TRANSITION 2B: PLANNING -> ENGINEER` -> `TRANSITION 2B: OUTLINE -> ENGINEER`
194
+
195
+ Note: Transition 2v9 heading says `PLAN -> ASSEMBLE` which becomes `OUTLINE -> ASSEMBLE` (but check — the technical-writer blueprint T5 may own this rename since it's a prose reference, not a state/schema change).
196
+
197
+ ### Step 6: Update all routing messages to `/intuition-outline` (2 edits)
198
+
199
+ - Line 218: `/intuition-plan` -> `/intuition-outline`
200
+ - Line 244: `/intuition-assemble` routing message — check if it references `/intuition-plan` (research shows it doesn't, so this may be only line 218)
201
+
202
+ ### Step 7: Update all file path references (multiple edits)
203
+
204
+ - `planning_brief.md` -> `outline_brief.md` (lines 216, 218, and any other occurrences)
205
+ - `plan.md` -> `outline.md` (lines 222, 238, 242 — but NOT line 206 in V3 migration)
206
+
207
+ ### Step 8: Update all state field references (multiple edits)
208
+
209
+ - `planning.started` -> `outline.started` (lines 74, 218)
210
+ - `planning.completed` -> `outline.completed` (lines 77, 228, 234, 243)
211
+ - `planning.approved` -> `outline.approved` (line 228, 234, 243 where `approved = true`)
212
+ - `status` to `"planning"` -> `status` to `"outline"` (lines 218, 243)
213
+ - `status == "planning"` -> `status == "outline"` (line 77)
214
+
215
+ ### Step 9: Update critical rules and protocol references (2 edits)
216
+
217
+ - Line 24: `prompt->planning` -> `prompt->outline`
218
+ - Line 62: `prompt->planning only` -> `prompt->outline only`
219
+
220
+ ### Step 10: Preserve all prior migration handlers unchanged
221
+
222
+ V3, V4, V5, V6 handlers remain exactly as they are. The V3 handler's references to `planning_brief.md`, `plan.md`, `.planning_research/` are historical artifact names and must NOT be renamed.
223
+
224
+ ### Coordination note
225
+
226
+ This blueprint covers the **structural/schema** changes to handoff SKILL.md (migration handler, schema definition, version bump, state field paths, status values). The **technical-writer blueprint (T5)** covers the remaining ~48 prose/routing renames in the same file. The build phase must apply both blueprints to the same file. There is no conflict between them — T3 touches the schema block and adds a new migration section, while T5 touches transition prose and routing messages. Where they overlap (e.g., transition headings, routing messages), the rename target is identical (`outline`).
@@ -0,0 +1,71 @@
1
+ {
2
+ "specialist": "devops-infrastructure",
3
+ "gate_started": "2026-03-04T18:00:00.000Z",
4
+ "gate_completed": "2026-03-04T18:00:01.000Z",
5
+ "decision_policy": "aggressive",
6
+ "assumptions": [
7
+ {
8
+ "id": "A1",
9
+ "title": "Legacy cleanup ordering is correct",
10
+ "default": "Legacy cleanup block runs before skill deployment, so adding intuition-plan removal will work correctly",
11
+ "status": "accepted",
12
+ "user_override": null
13
+ },
14
+ {
15
+ "id": "A2",
16
+ "title": "Package.json keywords 'planning' is generic English",
17
+ "default": "The keyword 'planning' describes package purpose and will be preserved",
18
+ "status": "accepted",
19
+ "user_override": null
20
+ },
21
+ {
22
+ "id": "A3",
23
+ "title": "Debugger 'plan diverged from intent' is a phase-name reference",
24
+ "default": "This references the plan.md artifact, so it should become 'outline diverged from intent'",
25
+ "status": "accepted",
26
+ "user_override": null
27
+ }
28
+ ],
29
+ "decisions": [
30
+ {
31
+ "id": "D1",
32
+ "title": "Version annotation for legacy cleanup comment",
33
+ "tier": "SILENT",
34
+ "classified_by": "plan",
35
+ "context": "Legacy cleanup comments annotate which version introduced the change",
36
+ "options": ["v9.1 annotation", "v9.2/v10 annotation", "No version annotation"],
37
+ "chosen": "v9.1 annotation — matches existing pattern (v8.0, v6.0)",
38
+ "user_input": null
39
+ },
40
+ {
41
+ "id": "D2",
42
+ "title": "Uninstall script legacy entry placement",
43
+ "tier": "SILENT",
44
+ "classified_by": "plan",
45
+ "context": "Where to place intuition-plan in uninstall script",
46
+ "options": ["Add to existing legacy section in array", "Separate legacy block outside array"],
47
+ "chosen": "Add to existing legacy section in array — follows intuition-execute/intuition-discovery pattern",
48
+ "user_input": null
49
+ },
50
+ {
51
+ "id": "D3",
52
+ "title": "Package.json description wording",
53
+ "tier": "SILENT",
54
+ "classified_by": "plan",
55
+ "context": "How to update the phase name in package description",
56
+ "options": ["Replace 'plan' with 'outline'", "Reword entirely", "Keep 'plan' as generic"],
57
+ "chosen": "Replace 'plan' with 'outline' — minimal change, reads naturally",
58
+ "user_input": null
59
+ },
60
+ {
61
+ "id": "D4",
62
+ "title": "Help text update in install script",
63
+ "tier": "SILENT",
64
+ "classified_by": "plan",
65
+ "context": "Whether to update skill description alongside name",
66
+ "options": ["Update both name and description", "Update name only"],
67
+ "chosen": "Update both name and description — maintains consistency",
68
+ "user_input": null
69
+ }
70
+ ]
71
+ }