@tgoodington/intuition 9.2.0 → 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 (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 +561 -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
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## 1. Executive Summary
11
11
 
12
- The current Intuition workflow (v8.0/8.1) uses a fixed five-phase pipeline: Prompt → Plan → Design → Engineer → Build. The design and engineer phases are code-centric — design uses ECD for architectural exploration, engineer produces `code_specs.md`, and build delegates to Code Writer subagents.
12
+ The current Intuition workflow (v8.0/8.1) uses a fixed five-phase pipeline: Prompt → Outline → Design → Engineer → Build. The design and engineer phases are code-centric — design uses ECD for architectural exploration, engineer produces `code_specs.md`, and build delegates to Code Writer subagents.
13
13
 
14
14
  This proposal generalizes the workflow to handle any domain (legal, marketing, financial, creative, technical) by replacing the fixed design/engineer phases with a **dynamic specialist team** assembled after planning, and replacing Code Writer with **format-specific producers** during build.
15
15
 
@@ -21,7 +21,7 @@ This proposal generalizes the workflow to handle any domain (legal, marketing, f
21
21
  ### Phase Flow
22
22
 
23
23
  ```
24
- Prompt → Handoff → Plan → Handoff (team assembly) → Detail (specialist loop) → Handoff (conflict check + completeness gate) → Build → Handoff → Complete
24
+ Prompt → Handoff → Outline → Handoff (team assembly) → Detail (specialist loop) → Handoff (conflict check + completeness gate) → Build → Handoff → Complete
25
25
  ```
26
26
 
27
27
  ---
@@ -242,7 +242,7 @@ status: draft|approved
242
242
  # Blueprint: {Title}
243
243
 
244
244
  ## 1. Task Reference
245
- [Plan task numbers, acceptance criteria copied from plan, dependencies]
245
+ [Outline task numbers, acceptance criteria copied from outline, dependencies]
246
246
 
247
247
  ## 2. Research Findings
248
248
  [What the specialist learned from project context — grounding in facts, not assumptions]
@@ -257,7 +257,7 @@ status: draft|approved
257
257
  [The domain-specific payload — this is where the specialist's expertise lives. Structure varies by domain but must be detailed enough that the producer makes zero domain-level decisions]
258
258
 
259
259
  ## 6. Acceptance Mapping
260
- [How each plan acceptance criterion is addressed by this blueprint. Direct traceability.]
260
+ [How each outline acceptance criterion is addressed by this blueprint. Direct traceability.]
261
261
 
262
262
  ## 7. Integration Points
263
263
  [How this blueprint connects to other blueprints, existing project artifacts, or external systems. Enables conflict detection.]
@@ -297,7 +297,7 @@ Producer creates deliverable
297
297
  → Catches: domain errors, misinterpreted specialist intent, missing nuance
298
298
  ↓ (only if specialist passes)
299
299
  2. Builder Verification (build manager)
300
- "Do the plan's acceptance criteria pass?
300
+ "Do the outline's acceptance criteria pass?
301
301
  Is the deliverable complete against the blueprint's acceptance mapping?"
302
302
  → Catches: structural gaps, unaddressed acceptance criteria, missing sections
303
303
  ↓ (only if builder passes)
@@ -327,7 +327,7 @@ All reviews use adversarial prompting: "Find problems with this deliverable" not
327
327
 
328
328
  ---
329
329
 
330
- ## 7. Plan Phase Changes
330
+ ## 7. Outline Phase Changes
331
331
 
332
332
  ### 7.1 Section 6 — Task Sequence (Updated)
333
333
 
@@ -344,7 +344,7 @@ Each task gains two new fields:
344
344
  - **Files**: [Specific paths] or "TBD"
345
345
  ```
346
346
 
347
- **Domain** is a free-text descriptor. Plan does NOT reference specialist names. Team assembly matches domains to specialists.
347
+ **Domain** is a free-text descriptor. Outline does NOT reference specialist names. Team assembly matches domains to specialists.
348
348
 
349
349
  **Depth** controls specialist invocation mode:
350
350
  - **Deep** — full exploration → user confirmation gate → specification. For novel territory, multiple valid approaches, or high-stakes decisions.
@@ -363,10 +363,10 @@ Each task gains two new fields:
363
363
  | Task 1, 2 | code/frontend | Light — autonomous | Straightforward pattern application |
364
364
  ```
365
365
 
366
- ### 7.3 Section 10 — Planning Context for Detail Phase (Replaces Planning Context for Engineer)
366
+ ### 7.3 Section 10 — Outline Context for Detail Phase (Replaces Outline Context for Engineer)
367
367
 
368
368
  ```markdown
369
- ### 10. Planning Context for Detail Phase
369
+ ### 10. Outline Context for Detail Phase
370
370
  - **Domain-Specific Considerations**: [per-domain notes — legal constraints, brand guidelines, data quality issues, performance targets]
371
371
  - **Cross-Domain Dependencies**: [where specialist outputs must coordinate]
372
372
  - **Sequencing Considerations**: [what depends on what across domains]
@@ -374,11 +374,11 @@ Each task gains two new fields:
374
374
  - **Constraints**: [hard boundaries per domain]
375
375
  ```
376
376
 
377
- ### 7.4 What Doesn't Change in Plan
377
+ ### 7.4 What Doesn't Change in Outline
378
378
 
379
379
  - ARCH framework (Actors, Reach, Choices, Homestretch) — already domain-agnostic
380
- - Sections 1-5, 7-9 of plan.md
381
- - Plan stays registry-ignorant — never references specialist names or profiles
380
+ - Sections 1-5, 7-9 of outline.md
381
+ - Outline stays registry-ignorant — never references specialist names or profiles
382
382
  - Acceptance criteria remain outcome-based, not implementation-prescriptive
383
383
 
384
384
  ---
@@ -387,7 +387,7 @@ Each task gains two new fields:
387
387
 
388
388
  ### 8.1 When It Runs
389
389
 
390
- During the plan→detail handoff transition (replacing current transitions 2/2B).
390
+ During the outline→detail handoff transition (replacing current transitions 2/2B).
391
391
 
392
392
  ### 8.2 Mechanism
393
393
 
@@ -395,7 +395,7 @@ Constrained haiku LLM pass:
395
395
 
396
396
  ```
397
397
  Input:
398
- - Plan task list with Domain and Depth fields
398
+ - Outline task list with Domain and Depth fields
399
399
  - Available specialist names + domain_tags (from registry scan)
400
400
  - Available producer names + output_formats (from registry scan)
401
401
 
@@ -467,7 +467,7 @@ intuition-detail skill (foreground, opus)
467
467
 
468
468
  ├── STAGE 1: Spawns exploration subagent (opus)
469
469
  │ → System prompt = specialist's Stage 1 protocol
470
- │ → Context = plan tasks + research patterns + prior blueprints
470
+ │ → Context = outline tasks + research patterns + prior blueprints
471
471
  │ → Writes {context_path}/scratch/{specialist-name}-stage1.md
472
472
  │ → Returns summary
473
473
 
@@ -740,7 +740,7 @@ After ALL specialists complete their blueprints, a haiku subagent runs a conflic
740
740
  For each blueprint:
741
741
  - Section 8 "Open Items" must be empty
742
742
  - All mandatory blueprint sections must be present and non-empty
743
- - Acceptance mapping must address every plan acceptance criterion
743
+ - Acceptance mapping must address every outline acceptance criterion
744
744
  - Producer handoff section must reference a valid producer from the registry
745
745
 
746
746
  If any blueprint fails the gate → escalated to user, build does not start.
@@ -801,8 +801,8 @@ Three-layer review per deliverable (see Section 6):
801
801
  | # | Transition | Description |
802
802
  |---|-----------|-------------|
803
803
  | 0 | Branch creation | No change |
804
- | 1 | Prompt → Plan | No change |
805
- | 2 | Plan → Detail | **Runs team assembly.** Scans registries, runs constrained haiku matching, prerequisite checks, writes `team_assignment.json`, generates first specialist brief. |
804
+ | 1 | Prompt → Outline | No change |
805
+ | 2 | Outline → Detail | **Runs team assembly.** Scans registries, runs constrained haiku matching, prerequisite checks, writes `team_assignment.json`, generates first specialist brief. |
806
806
  | 3 | Specialist → Specialist | **Replaces design→design loop.** Tracks completed blueprints, routes to next specialist per dependency order, passes prior blueprints as context. |
807
807
  | 4 | Detail → Build | **New: conflict check + completeness gate.** Runs haiku conflict detection, validates all blueprints, generates build brief. |
808
808
  | 5 | Build → Complete | **Extended.** Reads build report, includes domain field, review chain results, external dependency flags. Offers git commit/push. Routes to `/intuition-start`. v9 with code-writer routes through test phase first (Transition 6.5v9 → 7). |
@@ -903,7 +903,7 @@ Key architectural decisions made during roundtable and rationale:
903
903
  | # | Decision | Rationale |
904
904
  |---|----------|-----------|
905
905
  | D1 | Two separate registries (specialists + producers) | Different lookup patterns, different schemas, cleaner separation |
906
- | D2 | Plan stays registry-ignorant | Prevents coupling, avoids plan overreach, domain descriptors are sufficient |
906
+ | D2 | Outline stays registry-ignorant | Prevents coupling, avoids outline overreach, domain descriptors are sufficient |
907
907
  | D3 | ECD as default exploration methodology with opt-out | Prevents "empty methodology" failure while allowing domain-native alternatives |
908
908
  | D4 | Depth-controlled specialist invocation (Deep/Standard/Light) | Preserves divergent exploration for complex tasks without overhead on simple ones |
909
909
  | D5 | Two-stage specialist invocation for Deep tasks | Protects the divergent/convergent split that design/engineer currently enforce |
@@ -954,7 +954,7 @@ Key architectural decisions made during roundtable and rationale:
954
954
  - **Validate:** Build can delegate and verify from a blueprint
955
955
 
956
956
  ### Phase 2: Team Assembly Prototype
957
- - Haiku LLM pass that reads plan annotations + registry, returns JSON
957
+ - Haiku LLM pass that reads outline annotations + registry, returns JSON
958
958
  - Prerequisite checking logic
959
959
  - **Validate:** Assignments are sensible, prerequisites caught, runs in <5 seconds
960
960
 
@@ -982,7 +982,7 @@ Key architectural decisions made during roundtable and rationale:
982
982
  ### Phase 7: Integration + Migration
983
983
  - State schema v7.0 (v6.0 added detail, v7.0 added test)
984
984
  - All handoff transitions updated (including test transitions 6.5v9 and 7)
985
- - Plan skill updated with Domain/Depth fields
985
+ - Outline skill updated with Domain/Depth fields
986
986
  - Design + Engineer skills deprecated
987
987
  - Full end-to-end test
988
988
 
@@ -1005,7 +1005,7 @@ Key architectural decisions made during roundtable and rationale:
1005
1005
  - `blueprint-conflicts.md` artifact
1006
1006
 
1007
1007
  ### What Gets Modified
1008
- - `intuition-plan` — Sections 6, 6.5, 10 updated
1008
+ - `intuition-outline` — Sections 6, 6.5, 10 updated
1009
1009
  - `intuition-handoff` — New transitions 2, 3, 4 replacing current design/engineer transitions
1010
1010
  - `intuition-build` — Blueprint-based input, producer delegation, three-layer review chain
1011
1011
  - State schema — v5.0 → v7.0 (detail + test objects added, design + engineering deprecated)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tgoodington/intuition",
3
- "version": "9.2.0",
4
- "description": "Domain-adaptive workflow system for Claude Code: prompt, plan, assemble specialist teams, detail with domain experts, build with format producers, test code output. Supports v8 compat (design, engineer, build) and v9 specialist workflows with 14 domain specialists and 6 format producers.",
3
+ "version": "9.2.1",
4
+ "description": "Domain-adaptive workflow system for Claude Code: prompt, outline, assemble specialist teams, detail with domain experts, build with format producers, test code output. Supports v8 compat (design, engineer, build) and v9 specialist workflows with 14 domain specialists and 6 format producers.",
5
5
  "keywords": [
6
6
  "claude-code",
7
7
  "skills",
@@ -45,7 +45,7 @@ const skills = [
45
45
  'intuition-start',
46
46
  'intuition-prompt',
47
47
  'intuition-handoff',
48
- 'intuition-plan',
48
+ 'intuition-outline',
49
49
  'intuition-design',
50
50
  'intuition-engineer',
51
51
  'intuition-build',
@@ -109,6 +109,13 @@ try {
109
109
  log(`Removed old /intuition-execute skill (split into /intuition-engineer + /intuition-build in v8.0)`);
110
110
  }
111
111
 
112
+ // Remove old plan skill if it exists (renamed to outline in v9.1)
113
+ const oldPlanDest = path.join(claudeSkillsDir, 'intuition-plan');
114
+ if (fs.existsSync(oldPlanDest)) {
115
+ fs.rmSync(oldPlanDest, { recursive: true, force: true });
116
+ log(`Removed old /intuition-plan skill (renamed to /intuition-outline in v9.1)`);
117
+ }
118
+
112
119
  // --- Specialist and Producer directories (v9) ---
113
120
  const claudeSpecialistsDir = path.join(homeDir, '.claude', 'specialists');
114
121
  const claudeProducersDir = path.join(homeDir, '.claude', 'producers');
@@ -185,7 +192,7 @@ try {
185
192
  log(` /intuition-start - Load project context and detect workflow phase`);
186
193
  log(` /intuition-prompt - Focused discovery (prompt-engineering refinement)`);
187
194
  log(` /intuition-handoff - Handoff orchestrator (phase transitions + design loop)`);
188
- log(` /intuition-plan - Strategic planning (ARCH protocol + design flagging)`);
195
+ log(` /intuition-outline - Strategic outline (ARCH protocol + design flagging)`);
189
196
  log(` /intuition-design - Design exploration (ECD framework, domain-agnostic)`);
190
197
  log(` /intuition-engineer - Code spec creator (engineering decisions)`);
191
198
  log(` /intuition-assemble - Team assembler (v9 specialist/producer matching)`);
@@ -45,7 +45,7 @@ try {
45
45
  'intuition-start',
46
46
  'intuition-prompt',
47
47
  'intuition-handoff',
48
- 'intuition-plan',
48
+ 'intuition-outline',
49
49
  'intuition-design',
50
50
  'intuition-engineer',
51
51
  'intuition-build',
@@ -60,7 +60,9 @@ try {
60
60
  // Legacy skills (removed in v8.0)
61
61
  'intuition-execute',
62
62
  // Legacy skills (removed in v6.0)
63
- 'intuition-discovery'
63
+ 'intuition-discovery',
64
+ // Legacy skills (renamed in v9.1)
65
+ 'intuition-plan'
64
66
  ];
65
67
 
66
68
  skillsToRemove.forEach(skillName => {