@tgoodington/intuition 9.2.0 → 9.2.2

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 (67) 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 +8 -8
  38. package/docs/v9/decision-framework-implementation.md +8 -8
  39. package/docs/v9/domain-adaptive-team-architecture.md +22 -22
  40. package/package.json +2 -2
  41. package/scripts/install-skills.js +9 -2
  42. package/scripts/uninstall-skills.js +4 -2
  43. package/skills/intuition-agent-advisor/SKILL.md +327 -327
  44. package/skills/intuition-assemble/SKILL.md +261 -261
  45. package/skills/intuition-build/SKILL.md +379 -379
  46. package/skills/intuition-debugger/SKILL.md +390 -390
  47. package/skills/intuition-design/SKILL.md +385 -385
  48. package/skills/intuition-detail/SKILL.md +377 -377
  49. package/skills/intuition-engineer/SKILL.md +307 -307
  50. package/skills/intuition-handoff/SKILL.md +51 -47
  51. package/skills/intuition-handoff/references/handoff_core.md +38 -38
  52. package/skills/intuition-initialize/SKILL.md +2 -2
  53. package/skills/intuition-initialize/references/agents_template.md +118 -118
  54. package/skills/intuition-initialize/references/claude_template.md +134 -134
  55. package/skills/intuition-initialize/references/intuition_readme_template.md +4 -4
  56. package/skills/intuition-initialize/references/state_template.json +2 -2
  57. package/skills/{intuition-plan → intuition-outline}/SKILL.md +579 -561
  58. package/skills/{intuition-plan → intuition-outline}/references/magellan_core.md +9 -9
  59. package/skills/{intuition-plan → intuition-outline}/references/templates/plan_template.md +1 -1
  60. package/skills/intuition-prompt/SKILL.md +374 -374
  61. package/skills/intuition-start/SKILL.md +8 -8
  62. package/skills/intuition-start/references/start_core.md +50 -50
  63. package/skills/intuition-test/SKILL.md +345 -345
  64. /package/skills/{intuition-plan → intuition-outline}/references/sub_agents.md +0 -0
  65. /package/skills/{intuition-plan → intuition-outline}/references/templates/confidence_scoring.md +0 -0
  66. /package/skills/{intuition-plan → intuition-outline}/references/templates/plan_format.md +0 -0
  67. /package/skills/{intuition-plan → intuition-outline}/references/templates/planning_process.md +0 -0
@@ -0,0 +1,7 @@
1
+ ## Research Plan
2
+
3
+ ### R1: Script structure and skill deployment mechanism
4
+ Examine the install and uninstall scripts (`scripts/install-skills.js` and `scripts/uninstall-skills.js`) to understand the exact data-driven skill list arrays, legacy cleanup logic, and how skill folders are deployed to `~/.claude/skills/`. Also check `package.json` for any phase-name references in description, scripts, or other fields. This is needed to produce exact line-change specifications for T6 and to know what legacy cleanup entries already exist as a pattern to follow.
5
+
6
+ ### R2: Codebase-wide "plan" reference patterns in skills, scripts, and config
7
+ Survey all files outside of `specialists/` and `producers/` (since those are confirmed clean) for occurrences of "plan" that could be phase-name references. Focus on: skill SKILL.md files, handoff routing, state schema/migration handlers, docs, and any other config. This provides the raw data for T1's categorized hit list and establishes the baseline for T8's verification sweep. Look specifically for the patterns identified in Known Research: `/intuition-plan`, `planning phase`, `"planning"` as JSON key, `plan.md`, `planning_brief.md`, `.planning_research/`, `status == "planning"`.
@@ -0,0 +1,164 @@
1
+ # DevOps Infrastructure — Stage 1 Exploration
2
+
3
+ ## Research Findings
4
+
5
+ ### Script Architecture
6
+ - **install-skills.js**: Data-driven skill list array (lines 44-60). `intuition-plan` at line 48. Legacy cleanup block (lines 98-110) already handles `intuition-discovery` and `intuition-execute` removal using `fs.existsSync` + `fs.rmSync` pattern. Help text at line 188 describes the plan skill.
7
+ - **uninstall-skills.js**: Parallel skill removal array (lines 44-64). `intuition-plan` at line 48. Already has legacy entries for `intuition-execute` (v8.0) and `intuition-discovery` (v6.0). Needs `intuition-plan` added to legacy section after renaming active entry.
8
+ - **package.json**: Description at line 4 contains "plan" in "prompt, plan, assemble specialist teams" — this is a phase-name reference requiring rename. Keywords at line 8 contain "planning" — this is generic English describing the package's purpose (planning is what the tool does, regardless of internal phase naming).
9
+
10
+ ### Codebase Blast Radius
11
+ - **177 lines across 39 files** contain "plan" references.
12
+ - **~165 instances** are phase-name references requiring rename.
13
+ - **~12 instances** are generic English that must be preserved.
14
+ - **Specialists and producers**: Confirmed zero phase-name references (clean).
15
+ - **Heaviest files**: `intuition-plan/SKILL.md` (78 lines), `intuition-handoff/SKILL.md` (48 lines), `handoff_core.md` reference file (12+ lines).
16
+
17
+ ### File and Directory Rename Targets
18
+ - Folder: `skills/intuition-plan/` → `skills/intuition-outline/`
19
+ - Output files: `plan.md` → `outline.md`, `planning_brief.md` → `outline_brief.md`
20
+ - Research directory: `.planning_research/` → `.outline_research/`
21
+ - State field: `"planning"` key → `"outline"` key
22
+ - State status value: `"planning"` → `"outline"`
23
+
24
+ ### Disambiguation Patterns Confirmed
25
+ Phase-name patterns (rename): `/intuition-plan`, `planning phase` (when referring to the workflow phase), `"planning"` (JSON key/status), `plan.md` (file reference), `planning_brief.md`, `.planning_research/`, `status == "planning"`.
26
+
27
+ Generic English patterns (preserve): "research plan," "ARCH planning," "planning context" (research context meaning), "action plan," "continue planning" (activity verb), "planning" in keywords.
28
+
29
+ ### Borderline Cases
30
+ - `package.json` keywords "planning" — generic English (the package helps with planning activities, not a reference to the internal phase name).
31
+ - `intuition-debugger/SKILL.md` "plan diverged from intent" — refers to the `plan.md` file artifact, so this IS a phase-name reference that should become "outline diverged from intent."
32
+
33
+ ## ECD Analysis
34
+
35
+ ### Elements
36
+ 1. **Install script** (`install-skills.js`) — deploys skills from package to `~/.claude/skills/`, has skill list array and legacy cleanup block.
37
+ 2. **Uninstall script** (`uninstall-skills.js`) — removes skills from `~/.claude/skills/`, has skill list array and legacy skill entries.
38
+ 3. **Package manifest** (`package.json`) — npm package metadata with description and keywords.
39
+ 4. **Skill list array** — single source of truth for which skills get deployed (data-driven pattern).
40
+ 5. **Legacy cleanup block** — removes old skill folders that were renamed/deleted in prior versions.
41
+ 6. **Help text** — user-facing skill descriptions printed during install.
42
+
43
+ ### Connections
44
+ - Install script reads skill folders from `skills/` and deploys to `~/.claude/skills/` — the skill list array must match actual folder names.
45
+ - Uninstall script's active list must mirror install script's list exactly.
46
+ - Legacy cleanup in install script must handle the transition for users who have the old `intuition-plan` folder deployed.
47
+ - Package description is user-facing (npm registry) — must reflect current phase naming.
48
+ - Help text in install script is user-facing — must match deployed skill names.
49
+
50
+ ### Dynamics
51
+ - **Upgrade path**: Users with existing `intuition-plan` in `~/.claude/skills/` will run `npm update`. The install script's postinstall hook fires. Legacy cleanup must remove old `intuition-plan` before deploying new `intuition-outline`. Without this, stale `intuition-plan` folder persists alongside `intuition-outline`.
52
+ - **Fresh install**: No legacy cleanup needed; only `intuition-outline` is deployed.
53
+ - **Uninstall path**: Must remove `intuition-outline` (active) AND `intuition-plan` (legacy, in case uninstall runs on a partially-migrated system).
54
+ - **Ordering**: Legacy cleanup runs BEFORE skill deployment in the install script, which is correct — old folder removed, new folder deployed.
55
+
56
+ ## Assumptions
57
+
58
+ ### A1: Legacy cleanup ordering is correct
59
+ - **Default**: The existing legacy cleanup block in `install-skills.js` runs before skill deployment, so adding `intuition-plan` to it will remove the old folder before the new `intuition-outline` folder is deployed.
60
+ - **Rationale**: Research shows legacy cleanup at lines 98-110 and deployment loop follows after. The existing `intuition-discovery` and `intuition-execute` cleanup entries follow this same pattern successfully.
61
+
62
+ ### A2: Package.json keywords "planning" is generic English
63
+ - **Default**: The keyword "planning" in package.json describes the package's purpose (it is a planning tool) and is not a reference to the internal phase name. It will be preserved.
64
+ - **Rationale**: npm keywords describe package functionality for search/discovery. Users search for "planning" when looking for planning tools. Changing this to "outlining" would reduce discoverability and misrepresent the package's purpose. The internal rename from "plan phase" to "outline phase" does not change what the tool does.
65
+
66
+ ### A3: Debugger "plan diverged from intent" is a phase-name reference
67
+ - **Default**: This reference in the debugger skill refers to the `plan.md` output artifact, so it should become "outline diverged from intent."
68
+ - **Rationale**: In context, the debugger is diagnosing whether the plan document (the artifact) matches user intent. Since the artifact is being renamed from `plan.md` to `outline.md`, references to it should follow.
69
+
70
+ ## Key Decisions
71
+
72
+ ### D1: Version annotation for legacy cleanup comment
73
+ - **Tier**: [SILENT]
74
+ - **Options**:
75
+ - (a) Annotate as "renamed in v9.1" (matches known research suggestion)
76
+ - (b) Annotate as "renamed in v9.2" or just "v10"
77
+ - (c) No version annotation
78
+ - **Recommendation**: Use "v9.1" — this is the version where the rename is being implemented, consistent with the project's existing pattern (`intuition-execute` is annotated "v8.0", `intuition-discovery` is annotated "v6.0").
79
+ - **Risk if wrong**: Minor inconsistency in comments. No functional impact.
80
+
81
+ ### D2: Uninstall script legacy entry placement
82
+ - **Tier**: [SILENT]
83
+ - **Options**:
84
+ - (a) Add `intuition-plan` to the existing legacy comments section at the bottom of the uninstall array
85
+ - (b) Add `intuition-plan` as a separate legacy block outside the array
86
+ - **Recommendation**: Option (a) — add to the existing legacy section in the uninstall array, following the pattern of `intuition-execute` and `intuition-discovery`.
87
+ - **Risk if wrong**: No functional risk; purely organizational.
88
+
89
+ ### D3: Package.json description wording
90
+ - **Tier**: [SILENT]
91
+ - **Options**:
92
+ - (a) Replace "plan" with "outline" → "prompt, outline, assemble specialist teams"
93
+ - (b) Reword entirely → "prompt, outline, assemble and coordinate specialist teams"
94
+ - (c) Keep "plan" as generic English
95
+ - **Recommendation**: Option (a) — minimal change, direct substitution. "Prompt, outline, assemble specialist teams" reads naturally and matches the new phase name.
96
+ - **Risk if wrong**: Cosmetic only. npm description is low-stakes.
97
+
98
+ ### D4: Help text update in install script
99
+ - **Tier**: [SILENT]
100
+ - **Options**:
101
+ - (a) Rename to `/intuition-outline` and update description to match
102
+ - (b) Just rename the skill name, keep description as-is
103
+ - **Recommendation**: Option (a) — update both the skill name and description. The description "Strategic planning (ARCH protocol + design flagging)" should become "Strategic outlining (ARCH protocol + design flagging)" or similar to maintain consistency.
104
+ - **Risk if wrong**: User confusion if help text doesn't match deployed skill name.
105
+
106
+ ## Risks Identified
107
+
108
+ 1. **Stale deployment on upgrade**: If legacy cleanup is not added to the install script, users who upgrade will have BOTH `intuition-plan` and `intuition-outline` in `~/.claude/skills/`. The old one would still be invocable via `/intuition-plan`, causing confusion. **Mitigation**: T6 explicitly adds legacy cleanup entry.
109
+
110
+ 2. **Grep false negatives in T1/T8**: Some phase-name references may use unusual patterns not covered by the standard grep queries (e.g., concatenated strings, template literals). **Mitigation**: Use multiple grep patterns and manually inspect borderline hits. T8 verification sweep is the safety net.
111
+
112
+ 3. **Generic English false positives**: Aggressive grep patterns could flag generic English "plan" uses for rename, breaking natural language in documentation and skill instructions. **Mitigation**: The disambiguation guide from Known Research is thorough. Each hit must be individually categorized before any changes are made.
113
+
114
+ 4. **Partial rename state**: If the rename is applied to some files but not others (interrupted work), cross-references break. **Mitigation**: T8 verification sweep checks for zero stale references AND valid cross-references. Tasks should be executed in order (T1 audit first, T6 scripts, then T8 verification).
115
+
116
+ ## Recommended Approach
117
+
118
+ ### T1: Audit all phase-name references
119
+
120
+ **Grep Pattern Set** (run each across the full codebase, excluding `node_modules/`, `.git/`, `specialists/`, `producers/`):
121
+ 1. `intuition-plan` — skill name references (folders, routing, slash commands)
122
+ 2. `planning_brief` — file name references
123
+ 3. `plan\.md` — output file references (escaped dot to avoid "plan.markdown" etc.)
124
+ 4. `\.planning_research` — research directory references
125
+ 5. `"planning"` — JSON key/status value references
126
+ 6. `planning phase` — prose phase-name references
127
+ 7. `planning →` or `→ planning` — workflow diagram references
128
+
129
+ **Categorization method**: For each hit, apply the disambiguation rules from Known Research. Mark as RENAME if it matches a phase-name pattern, KEEP if it matches a generic English pattern, BORDERLINE if unclear (with rationale).
130
+
131
+ **Output format**: Markdown table grouped by file, with columns: File | Line | Content | Category (RENAME/KEEP) | Notes.
132
+
133
+ ### T6: Update scripts and package config
134
+
135
+ **install-skills.js changes**:
136
+ 1. Line 48: `'intuition-plan'` → `'intuition-outline'` in skill list array
137
+ 2. Lines 98-110 area: Add new legacy cleanup block for `intuition-plan` (following exact pattern of `intuition-discovery`/`intuition-execute` blocks)
138
+ 3. Line 188: Update help text from `/intuition-plan` to `/intuition-outline` with updated description
139
+
140
+ **uninstall-skills.js changes**:
141
+ 1. Line 48: `'intuition-plan'` → `'intuition-outline'` in active skill list
142
+ 2. Add `'intuition-plan'` to legacy skill entries section (after `intuition-discovery`)
143
+
144
+ **package.json changes**:
145
+ 1. Line 4 description: "plan" → "outline" in the phase enumeration
146
+
147
+ **Verification**: After changes, confirm `intuition-outline` appears in both script arrays and `intuition-plan` appears in both legacy sections.
148
+
149
+ ### T8: Verification sweep
150
+
151
+ **Phase 1 — Zero stale references**: Re-run the exact same grep pattern set from T1. Every hit must be either (a) categorized as KEEP in T1, or (b) gone. Any RENAME hits remaining indicate incomplete work.
152
+
153
+ **Phase 2 — Structural verification**:
154
+ - Confirm `skills/intuition-outline/SKILL.md` exists with correct frontmatter
155
+ - Confirm `skills/intuition-plan/` does NOT exist
156
+ - Confirm install script skill list includes `intuition-outline`
157
+ - Confirm uninstall script skill list includes `intuition-outline`
158
+ - Confirm both scripts have `intuition-plan` in legacy sections
159
+
160
+ **Phase 3 — Migration handler**: Validate that the v7→v8 state migration handler in handoff correctly transforms `"planning"` → `"outline"` in a sample state object. Test with a minimal JSON fixture.
161
+
162
+ **Phase 4 — Cross-reference integrity**: For each skill that references outline artifacts (`outline.md`, `outline_brief.md`, `.outline_research/`), confirm the referenced file names are consistent across all skills that produce or consume them.
163
+
164
+ **Output**: Verification report with PASS/FAIL for each check, plus any anomalies found.
@@ -0,0 +1,88 @@
1
+ {
2
+ "specialist": "technical-writer",
3
+ "gate_started": "2026-03-04T19:30:00.000Z",
4
+ "gate_completed": "2026-03-04T19:35:00.000Z",
5
+ "decision_policy": "aggressive",
6
+ "assumptions": [
7
+ {
8
+ "id": "A1",
9
+ "title": "Detail skill 'research plan' terminology is generic English",
10
+ "default": "All instances of 'research plan', 'research-plan.md', 'Research Planning', 'research-planning framing' in intuition-detail/SKILL.md are KEPT unchanged",
11
+ "status": "accepted",
12
+ "user_override": null
13
+ },
14
+ {
15
+ "id": "A2",
16
+ "title": "Named section headings rename alongside the file",
17
+ "default": "PLAN.MD OUTPUT FORMAT → OUTLINE.MD OUTPUT FORMAT, Planning Context for Engineer → Outline Context for Engineer",
18
+ "status": "accepted",
19
+ "user_override": null
20
+ },
21
+ {
22
+ "id": "A3",
23
+ "title": "MEMORY.md gets same disambiguation treatment as other docs",
24
+ "default": "Phase-name references renamed, generic English preserved",
25
+ "status": "accepted",
26
+ "user_override": null
27
+ },
28
+ {
29
+ "id": "A4",
30
+ "title": "Deprecated skills receive full rename, deprecation notices unchanged",
31
+ "default": "All phase-name references in design/engineer skills renamed; [v8 compat] deprecation notice text not modified",
32
+ "status": "accepted",
33
+ "user_override": null
34
+ }
35
+ ],
36
+ "decisions": [
37
+ {
38
+ "id": "D1",
39
+ "title": "YAML frontmatter description rewording for intuition-outline",
40
+ "tier": "SPEC",
41
+ "classified_by": "plan",
42
+ "context": "Current description has no literal 'plan' word",
43
+ "options": ["Leave unchanged (minimal)", "Light reword to mention outline", "Full rewrite"],
44
+ "chosen": "Leave unchanged (minimal)",
45
+ "user_input": null
46
+ },
47
+ {
48
+ "id": "D2",
49
+ "title": "Treatment of compound terms 'build plan' and 'test plan'",
50
+ "tier": "SPEC",
51
+ "classified_by": "detail",
52
+ "context": "These are standard English for execution strategy, not phase references",
53
+ "options": ["Leave as-is", "Reword to 'build strategy' / 'test strategy'", "Reword to 'build sequence' / 'test approach'"],
54
+ "chosen": "Leave as-is",
55
+ "user_input": null
56
+ },
57
+ {
58
+ "id": "D3",
59
+ "title": "Treatment of classified_by: 'plan' metadata in detail skill",
60
+ "tier": "SILENT",
61
+ "classified_by": "detail",
62
+ "context": "Phase-name reference in metadata value",
63
+ "options": ["Rename to 'outline'", "Leave as 'plan'"],
64
+ "chosen": "Rename to 'outline'",
65
+ "user_input": null
66
+ },
67
+ {
68
+ "id": "D4",
69
+ "title": "Whether deprecated skills need deprecation notice updates",
70
+ "tier": "SPEC",
71
+ "classified_by": "plan",
72
+ "context": "Deprecation notices don't mention plan phase by name",
73
+ "options": ["No change to notices", "Add rename note to notices"],
74
+ "chosen": "No change to notices",
75
+ "user_input": null
76
+ },
77
+ {
78
+ "id": "D5",
79
+ "title": "Treatment of 'Layer 2: Plan' in design doc",
80
+ "tier": "SILENT",
81
+ "classified_by": "plan",
82
+ "context": "Conceptual layer name in domain-adaptive-team-architecture.md",
83
+ "options": ["Rename to 'Layer 2: Outline'", "Keep as 'Layer 2: Plan'"],
84
+ "chosen": "Rename to 'Layer 2: Outline'",
85
+ "user_input": null
86
+ }
87
+ ]
88
+ }
@@ -0,0 +1,7 @@
1
+ ## Research Plan
2
+
3
+ ### R1: Current content of the outline skill (intuition-plan/SKILL.md) and initialize skill template
4
+ Read `skills/intuition-plan/SKILL.md` and `skills/intuition-initialize/SKILL.md` to map every line containing "plan", "planning", "plan.md", "planning_brief", ".planning_research" — needed to produce exact line-level change specifications for T2 and T4. Also need to see the YAML frontmatter structure and state template format.
5
+
6
+ ### R2: All remaining skills and documentation files containing plan-phase references
7
+ Scan the 9 other skills (start, prompt, assemble, detail, build, test, design, engineer, debugger, handoff) plus docs/v9/*.md, MEMORY.md, and any root-level docs (ARCHITECTURE_OVERVIEW.txt) for lines matching "plan" to build per-file change lists for T5 and T7. Need to see surrounding context to apply the disambiguation rule correctly. Focus on: `skills/intuition-*/SKILL.md`, `docs/v9/*.md`, `MEMORY.md`, `ARCHITECTURE_OVERVIEW.txt`.
@@ -0,0 +1,266 @@
1
+ # Technical Writer — Stage 1 Exploration
2
+
3
+ ## Research Findings
4
+
5
+ ### RF1: intuition-plan/SKILL.md (T2 — the core rename target)
6
+
7
+ The file has ~78 lines requiring rename across these categories:
8
+
9
+ 1. **YAML frontmatter** (2 lines): `name: intuition-plan` and `description` field
10
+ 2. **Output file paths** (~20 lines): `plan.md`, `planning_brief.md`, `.planning_research/`, `.planning_research/orientation.md`, `.planning_research/decision_[domain].md`, `.planning_research/decisions_log.md`, `.planning_research/parent_intersection.md`
11
+ 3. **Phase-name references** (~25 lines): "planning phase", "planning is precise work", "planning depth tier", "planning architect", "plan-level decision"
12
+ 4. **Artifact references** (~25 lines): "final plan", "parent plan", "draft plan", "approved plan", "the plan does NOT reference..."
13
+ 5. **Section/heading names** (~6 lines): "PLAN.MD OUTPUT FORMAT", "Planning Context for Engineer"
14
+ 6. **Generic KEEP** (1 line): Line 14 — a generic file path reference unrelated to phase naming
15
+
16
+ The heading "Planning Context for Engineer" (line 194 area and Section 10) is a named section within the plan.md output format. Since plan.md becomes outline.md, this heading should become "Outline Context for Engineer".
17
+
18
+ ### RF2: intuition-initialize/SKILL.md (T4)
19
+
20
+ Minimal changes needed:
21
+ - Line 137 area: `"planning"` key in state template JSON becomes `"outline"`
22
+ - Version string: `"7.0"` becomes `"8.0"`
23
+ - All sub-fields (started, completed, completed_at, approved) are preserved as-is
24
+
25
+ ### RF3: Remaining 9 skills (T5)
26
+
27
+ Per-file RENAME counts and notable disambiguation:
28
+
29
+ | Skill | RENAME | KEEP | Notable |
30
+ |-------|--------|------|---------|
31
+ | intuition-start | 9 | 0 | State field refs: `workflow.planning.*`, status enum "planning" |
32
+ | intuition-prompt | 10 | 1 | "plan against" at line 114 is generic English (KEEP) |
33
+ | intuition-assemble | 12 | 0 | `plan.md` artifact refs, `/intuition-plan` routing |
34
+ | intuition-detail | 25 | 1 | Critical: `research-plan.md`, "Research Planning" sub-stage, "research-planning framing" are ALL generic English (KEEP). `classified_by: "plan"` IS phase-name (RENAME). |
35
+ | intuition-build | 15 | 1 | "build plan" is borderline — see D2 below |
36
+ | intuition-test | 12 | 0 | "test plan" is borderline — see D2 below |
37
+ | intuition-design | 11 | 0 | Deprecated [v8 compat] skill |
38
+ | intuition-engineer | 22 | 0 | Deprecated [v8 compat] skill; "Planning Context for Engineer" section name |
39
+ | intuition-debugger | 14 | 0 | "plan diverged from intent" confirmed as RENAME by prior blueprint |
40
+ | intuition-handoff | 48 | 0 | Heaviest file after plan itself; state schema, transitions, mode detection |
41
+
42
+ **Total across 10 skills (excluding plan itself):** ~178 RENAME, ~3 KEEP
43
+
44
+ ### RF4: Documentation files (T7)
45
+
46
+ | File | RENAME | KEEP | Notable |
47
+ |------|--------|------|---------|
48
+ | decision-framework-direction.md | 5 | 1 | "research planning" at line 96 is KEEP |
49
+ | decision-framework-implementation.md | 7 | 0 | Clean phase-name refs |
50
+ | domain-adaptive-team-architecture.md | 11 | 0 | "Layer 2: Plan" conceptual name becomes "Layer 2: Outline" |
51
+ | ARCHITECTURE_OVERVIEW.txt | 19 | 1 | "Waldo doesn't plan" at line 282 is KEEP |
52
+ | README.md | 10 | 0 | |
53
+ | TESTING_README.md | 7 | 0 | |
54
+ | TESTING_SUMMARY.md | 25 | 0 | Heavy density of plan refs |
55
+ | MEMORY.md | ~30+ | ~5 | Heaviest doc file; many generic English uses too |
56
+
57
+ ### RF5: The detail skill disambiguation challenge
58
+
59
+ The `intuition-detail/SKILL.md` file has the highest disambiguation complexity:
60
+ - `research-plan.md` (file artifact name for the specialist's research plan) — KEEP. This is "a plan for research," not "the plan phase."
61
+ - `Research Planning` (sub-stage 1a name) — KEEP. This is "planning what to research."
62
+ - `research-planning framing` — KEEP.
63
+ - `classified_by: "plan"` — RENAME to `classified_by: "outline"`. This means "classified by the plan/outline phase."
64
+ - `plan's Decisions field`, `plan Section 10`, `planning phase` — RENAME. Direct phase references.
65
+
66
+ ### RF6: Compound terms "build plan" and "test plan"
67
+
68
+ In `intuition-build/SKILL.md`, "build plan" appears at lines 20, 61, 106, 109 meaning "the builder's execution strategy." In `intuition-test/SKILL.md`, "test plan" appears at lines 44, 102, 161, 181, 184, 197, 203 meaning "the testing strategy." Neither refers to the planning phase or plan.md artifact.
69
+
70
+ These are technically generic English ("a plan for building/testing"), but they create potential confusion with the now-renamed outline phase because readers may wonder whether "build plan" refers to an artifact called plan.md.
71
+
72
+ ## ECD Analysis
73
+
74
+ ### Elements (the discrete documentation artifacts being changed)
75
+
76
+ 1. **SKILL.md files** (12 total) — the primary behavioral instruction documents
77
+ 2. **State schema template** — JSON in initialize skill defining workflow field names
78
+ 3. **Design documents** (3 in docs/v9/) — architectural decision records
79
+ 4. **Root documentation** (4 files) — README, ARCHITECTURE_OVERVIEW, TESTING_README, TESTING_SUMMARY
80
+ 5. **MEMORY.md** — cross-conversation persistent memory
81
+ 6. **Named section headings** — e.g., "Planning Context for Engineer", "PLAN.MD OUTPUT FORMAT" which become "Outline Context for Engineer", "OUTLINE.MD OUTPUT FORMAT"
82
+
83
+ ### Connections (how these elements reference each other)
84
+
85
+ - **Routing chains**: prompt mentions `/intuition-plan`, handoff routes to it, start detects `workflow.planning` state — all must rename in lockstep
86
+ - **Artifact references**: many skills read `plan.md` — all must become `outline.md`
87
+ - **State field coupling**: initialize template, handoff state writes, start state reads all share the `planning` / `outline` field name
88
+ - **Section name coupling**: engineer reads "Planning Context for Engineer" from plan.md — both the producer (plan skill) and consumer (engineer skill) must rename this heading simultaneously
89
+ - **Documentation echo**: MEMORY.md and docs/v9/ describe the same workflow that the skills implement — must stay synchronized
90
+
91
+ ### Dynamics (what can go wrong during the rename)
92
+
93
+ 1. **Partial rename breaks routing**: If handoff writes `status: "outline"` but start still checks `status == "planning"`, the workflow stalls silently
94
+ 2. **Disambiguation drift**: A builder applies the rename too aggressively and changes "research plan" to "research outline" in the detail skill, breaking the research sub-stage naming
95
+ 3. **Section name mismatch**: If plan skill outputs "Outline Context for Engineer" but engineer skill still reads "Planning Context for Engineer," the section won't be found
96
+ 4. **Compound term confusion**: "build plan" left as-is could confuse readers post-rename into thinking it references an artifact
97
+
98
+ ## Assumptions
99
+
100
+ ### A1: The detail skill's "research plan" terminology is firmly generic English
101
+ - **Default**: All instances of "research plan," "research-plan.md," "Research Planning," and "research-planning framing" in intuition-detail/SKILL.md are KEPT unchanged.
102
+ - **Rationale**: These describe the activity of planning research, not the outline phase. The research-plan.md artifact is produced by the specialist during Stage 1a and has no connection to the outline phase. Renaming these would damage the detail skill's three-sub-stage naming clarity.
103
+
104
+ ### A2: Named section headings in plan.md output format rename alongside the file
105
+ - **Default**: "PLAN.MD OUTPUT FORMAT" becomes "OUTLINE.MD OUTPUT FORMAT". "Planning Context for Engineer" becomes "Outline Context for Engineer". "Planning Depth Tier" becomes "Outline Depth Tier".
106
+ - **Rationale**: These are section names within or about the plan.md artifact. Since plan.md becomes outline.md, the section names should track. Consumers of these sections (engineer, design skills) must update their references simultaneously.
107
+
108
+ ### A3: MEMORY.md gets the same treatment as other documentation
109
+ - **Default**: Phase-name references in MEMORY.md are renamed; generic English is preserved. MEMORY.md is treated as part of T7 documentation scope.
110
+ - **Rationale**: MEMORY.md is auto-loaded into every conversation, so stale phase names there would be actively confusing. It contains both phase-name and generic English uses of "plan" and needs the same disambiguation discipline as other docs.
111
+
112
+ ### A4: Deprecated skills (design, engineer) receive full rename treatment
113
+ - **Default**: All phase-name references inside deprecated skills are renamed, identical to active skills. The `[v8 compat]` deprecation notices are not modified beyond the phase-name rename.
114
+ - **Rationale**: Even deprecated code should be internally consistent. If someone invokes these skills, they should reference the correct artifact names. The deprecation notice itself doesn't mention the plan phase by name so no change needed there.
115
+
116
+ ## Key Decisions
117
+
118
+ ### D1: YAML frontmatter description rewording for intuition-outline
119
+ - **Tier**: [SPEC]
120
+ - **Options**:
121
+ - (A) Minimal: change only `name: intuition-outline`, leave description text unchanged (it says "Strategic architect. Reads prompt brief..." with no literal "plan" word)
122
+ - (B) Light reword: update description to mention "outline" instead of "blueprint" to reinforce the rename
123
+ - (C) Full rewrite: rewrite description to center on "outline" terminology
124
+ - **Recommendation**: Option A. The current description does not contain the word "plan" and accurately describes the skill's behavior. The name field change is sufficient. Unnecessary rewording risks introducing inaccuracy.
125
+ - **Risk if wrong**: Minimal. The description is metadata, not behavioral instruction.
126
+
127
+ ### D2: Treatment of compound terms "build plan" and "test plan"
128
+ - **Tier**: [SPEC]
129
+ - **Options**:
130
+ - (A) Leave as-is: "build plan" and "test plan" are standard English compound nouns meaning execution strategies, not phase references
131
+ - (B) Reword to "build strategy" / "test strategy": eliminates any post-rename ambiguity with the outline phase
132
+ - (C) Reword to "build sequence" / "test approach": alternative wording
133
+ - **Recommendation**: Option A (leave as-is). These are established English terms in software engineering. No reader would confuse "test plan" with the outline.md artifact. Rewording introduces unnecessary churn and may reduce clarity — "test plan" is universally understood, "test strategy" slightly less so. The disambiguation rule from the planning phase explicitly says generic English "plan" stays.
134
+ - **Risk if wrong**: Minor reader confusion in the first few sessions post-rename. Easily corrected later if it proves problematic.
135
+
136
+ ### D3: Treatment of `classified_by: "plan"` metadata values in detail skill
137
+ - **Tier**: [SILENT]
138
+ - **Options**:
139
+ - (A) Rename to `classified_by: "outline"` — tracks the phase rename
140
+ - (B) Leave as `classified_by: "plan"` — it's a stored metadata value, not user-facing
141
+ - **Recommendation**: Option A. This is a phase-name reference embedded in metadata. It means "this decision was classified by the outline phase." Consistency requires renaming it.
142
+ - **Risk if wrong**: Mismatched metadata terminology, but no functional impact since it's a string label.
143
+
144
+ ### D4: Whether deprecated skills need deprecation notice updates
145
+ - **Tier**: [SPEC]
146
+ - **Options**:
147
+ - (A) No change to deprecation notices — they don't mention "plan" by name currently
148
+ - (B) Add a note like "formerly /intuition-plan, now /intuition-outline" to the deprecation block
149
+ - **Recommendation**: Option A. The existing deprecation notices in design and engineer skills say `[v8 compat]` and mention the v9 replacement workflow without specifically naming `/intuition-plan`. Adding a rename note would be unnecessary clutter in already-deprecated code.
150
+ - **Risk if wrong**: Someone reading the deprecated skill might not realize the plan phase was renamed. This is extremely low impact since the skills already direct users to the v9 workflow.
151
+
152
+ ### D5: Treatment of "Layer 2: Plan" in domain-adaptive-team-architecture.md
153
+ - **Tier**: [SILENT]
154
+ - **Options**:
155
+ - (A) Rename to "Layer 2: Outline"
156
+ - (B) Keep as "Layer 2: Plan" since it's a conceptual layer name in a design doc
157
+ - **Recommendation**: Option A, per the known research disambiguation guidance which explicitly calls this out: "Layer 2: Plan is a conceptual layer name -- should become Layer 2: Outline."
158
+ - **Risk if wrong**: None. The design doc is reference material, not executable.
159
+
160
+ ## Risks Identified
161
+
162
+ ### Risk 1: Detail skill research-plan disambiguation error
163
+ - **Severity**: High
164
+ - **Description**: The detail skill contains ~12 instances of "plan" in the research sub-stage context (research-plan.md, Research Planning, research-planning framing). An overzealous rename would break the three-sub-stage naming convention.
165
+ - **Mitigation**: Builder must use the explicit disambiguation list from this blueprint. The KEEP items in detail are: any line containing "research plan", "research-plan.md", "Research Planning", "research-planning framing", and "specialist planned to use."
166
+
167
+ ### Risk 2: Section name mismatch between producer and consumer skills
168
+ - **Severity**: Medium
169
+ - **Description**: The plan skill produces a section called "Planning Context for Engineer." The engineer skill reads this section by name. If one is renamed without the other, the section lookup fails silently.
170
+ - **Mitigation**: T2 (plan skill rename) and T5 (engineer skill rename) must both rename this heading. The T1 audit hit list should cross-reference producer/consumer pairs.
171
+
172
+ ### Risk 3: MEMORY.md high disambiguation density
173
+ - **Severity**: Medium
174
+ - **Description**: MEMORY.md has ~30+ rename candidates and ~5+ KEEP items in close proximity. It uses "plan" in both phase-name and generic English contexts heavily, sometimes in the same paragraph.
175
+ - **Mitigation**: T7 builder should process MEMORY.md line-by-line with explicit classification for each instance. The known patterns from the disambiguation guidance apply: "ARCH planning" is KEEP, "plan.md" is RENAME, "v9 Phase Flow" line is RENAME, etc.
176
+
177
+ ### Risk 4: State field rename without migration path
178
+ - **Severity**: Low (mitigated by T3)
179
+ - **Description**: T4 changes the initialize template from `planning` to `outline`, but existing projects have state files with the `planning` field.
180
+ - **Mitigation**: T3 (handoff migration, handled by devops-infrastructure blueprint) adds a v7->v8 migration handler. T4 only changes the template for new projects. These must be sequenced correctly (T3 before T4).
181
+
182
+ ## Recommended Approach
183
+
184
+ ### T2: Rename intuition-plan skill (folder + SKILL.md)
185
+
186
+ **Execution order:**
187
+ 1. Rename the folder: `skills/intuition-plan/` to `skills/intuition-outline/`
188
+ 2. Update YAML frontmatter: `name: intuition-outline` (leave description unchanged per D1)
189
+ 3. Global replacements within the file (safe bulk operations):
190
+ - `plan.md` to `outline.md` (all instances)
191
+ - `planning_brief.md` to `outline_brief.md` (all instances)
192
+ - `.planning_research/` to `.outline_research/` (all instances)
193
+ - `.planning_research` (without trailing slash) to `.outline_research` (catch refs like `.planning_research` at end of sentence)
194
+ - `/intuition-plan` to `/intuition-outline` (all instances)
195
+ 4. Targeted replacements (context-sensitive, line-by-line):
196
+ - "PLAN.MD OUTPUT FORMAT" to "OUTLINE.MD OUTPUT FORMAT"
197
+ - "Planning Context for Engineer" to "Outline Context for Engineer"
198
+ - "planning depth tier" to "outline depth tier" (case-insensitive variants)
199
+ - "planning phase" to "outline phase"
200
+ - "planning architect" to "outline architect"
201
+ - "planning is precise work" to "outlining is precise work"
202
+ - "final plan" to "final outline"
203
+ - "parent plan" to "parent outline"
204
+ - "draft plan" to "draft outline"
205
+ - "approved plan" to "approved outline"
206
+ - "plan-level" to "outline-level"
207
+ - "the plan" (when referring to the artifact) to "the outline"
208
+ - "branch plans" to "branch outlines"
209
+ - "presenting the draft plan" to "presenting the draft outline"
210
+ - "from plan" to "from outline" (when artifact reference)
211
+ 5. Verify: Zero remaining "plan" phase-name references. The only "plan" remaining should be the 1 KEEP at line 14.
212
+
213
+ ### T4: Update initialize skill state template
214
+
215
+ 1. Change `"version": "7.0"` to `"version": "8.0"` in the state template JSON
216
+ 2. Change the `"planning"` key to `"outline"` in the workflow object
217
+ 3. Verify all sub-fields (started, completed, completed_at, approved) are unchanged
218
+
219
+ This is a 2-line change. No disambiguation needed.
220
+
221
+ ### T5: Update all other skills (9 files)
222
+
223
+ Process each file with the same bulk-then-targeted approach as T2. Per-file specifics:
224
+
225
+ **intuition-start**: Rename `workflow.planning.*` to `workflow.outline.*`, `status == "planning"` to `status == "outline"`, `ready_for_planning` to `ready_for_outline`, `/intuition-plan` to `/intuition-outline`, `plan.md (planning done)` to `outline.md (outline done)`.
226
+
227
+ **intuition-prompt**: Rename "planning-ready" to "outline-ready", `/intuition-plan` to `/intuition-outline`, "planning phase" to "outline phase", "Open questions for planning" to "Open questions for outlining". KEEP "plan against" at line 114.
228
+
229
+ **intuition-assemble**: Rename all `plan.md` to `outline.md`, `plan tasks` to `outline tasks`, `/intuition-plan` to `/intuition-outline`, `from plan` to `from outline`.
230
+
231
+ **intuition-detail**: Rename phase refs: `plan's Decisions field` to `outline's Decisions field`, `plan Section 10` to `outline Section 10`, `planning phase` to `outline phase`, `classified_by: "plan"` to `classified_by: "outline"`, `plan classifies` to `outline classifies`, `plan context` to `outline context`, `aren't in the plan` to `aren't in the outline`, `plan task's acceptance criteria` to `outline task's acceptance criteria`, `plan acceptance criterion` to `outline acceptance criterion`. KEEP all: `research-plan.md`, `Research Planning`, `research-planning framing`, `specialist planned to use`.
232
+
233
+ **intuition-build**: Rename `plan.md` to `outline.md`, `plan tasks` to `outline tasks`, `plan items` to `outline items`, `plan's task definitions` to `outline's task definitions`, `plan and execution_order` to `outline and execution_order`, `plan explicitly states` to `outline explicitly states`, `plan.md acceptance criteria` to `outline.md acceptance criteria`, `classified in the plan` to `classified in the outline`. KEEP "build plan" per D2. KEEP generic comparison at line 213.
234
+
235
+ **intuition-test**: Rename `plan.md` to `outline.md`, `from the plan` to `from the outline`, `from plan.md` to `from outline.md`. KEEP "test plan" per D2.
236
+
237
+ **intuition-design**: Rename all `plan.md` to `outline.md`, `plan items` to `outline items`, `plan flagged` to `outline flagged`, `overall plan` to `overall outline`, `plan item triggered` to `outline item triggered`, `constraints from the plan` to `constraints from the outline`, `Plan Reference` to `Outline Reference`, `Constraints from plan` to `Constraints from outline`.
238
+
239
+ **intuition-engineer**: Rename all `plan.md` to `outline.md`, `approved plan` to `approved outline`, `/intuition-plan` to `/intuition-outline`, `plan Task #[N]` to `outline Task #[N]`, `from the plan` to `from the outline`, `Planning Context for Engineer` to `Outline Context for Engineer`, `Planning Context section` to `Outline Context section`, `plan left an explicit` to `outline left an explicit`.
240
+
241
+ **intuition-debugger**: Rename `plan.md` to `outline.md`, `root cause is in the plan` to `root cause is in the outline`, `workflow planning artifacts` to `workflow outline artifacts`, `plans` (context artifact) to `outlines`, `the plan was wrong` to `the outline was wrong`, `plan diverged` to `outline diverged`, `what was planned` to `what was outlined`, `does code match plan` to `does code match outline`, `plan specified` to `outline specified`, `plan went wrong` to `outline went wrong`.
242
+
243
+ **intuition-handoff**: Rename all `plan.md` to `outline.md`, `planning_brief.md` to `outline_brief.md`, `workflow.planning.*` to `workflow.outline.*`, `status == "planning"` to `status == "outline"`, `"planning"` (in status enum) to `"outline"`, `plan_tasks` to `outline_tasks`, `Generate Planning Brief` to `Generate Outline Brief`, `planning completes` to `outline completes`, `prompt->planning` to `prompt->outline`, `constraints from planning` to `constraints from outlining`, `v9 plan detected` to `v9 outline detected`, `Plan Context` to `Outline Context`, `/intuition-plan` to `/intuition-outline`.
244
+
245
+ ### T7: Update documentation and memory
246
+
247
+ Process each file with disambiguation applied:
248
+
249
+ **docs/v9/decision-framework-direction.md**: Rename 5 phase refs. KEEP "research planning" at line 96.
250
+
251
+ **docs/v9/decision-framework-implementation.md**: Rename all 7 refs (clean phase-name refs throughout).
252
+
253
+ **docs/v9/domain-adaptive-team-architecture.md**: Rename 11 refs including "Layer 2: Plan" to "Layer 2: Outline" per D5.
254
+
255
+ **ARCHITECTURE_OVERVIEW.txt**: Rename 19 refs. KEEP "Waldo doesn't plan" at line 282.
256
+
257
+ **README.md**: Rename all 10 refs.
258
+
259
+ **TESTING_README.md**: Rename all 7 refs.
260
+
261
+ **TESTING_SUMMARY.md**: Rename all 25 refs.
262
+
263
+ **MEMORY.md**: Apply disambiguation line-by-line. Key patterns:
264
+ - RENAME: `/intuition-plan`, `plan.md`, `planning_brief.md`, `.planning_research/`, "planning phase", `"planning"` (JSON key), "plan→", "Plan →" (flow arrows), "plan skill", state schema "planning" field refs
265
+ - KEEP: "ARCH planning", "research plan", "action plan", "build plan" (if generic)
266
+ - Update version references: state schema to v8.0, any mention of the plan skill name