@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
package/README.md CHANGED
@@ -18,7 +18,7 @@ This installs 12 skills globally to `~/.claude/skills/`. Verify by typing `/` in
18
18
  Five phases with handoff transitions between each:
19
19
 
20
20
  ```
21
- prompt → plan → [design] → engineer → build
21
+ prompt → outline → [design] → engineer → build
22
22
  ```
23
23
 
24
24
  The first cycle is the **trunk**. After completion, create **branches** for new features or changes.
@@ -29,8 +29,8 @@ The first cycle is the **trunk**. After completion, create **branches** for new
29
29
  /intuition-initialize # Set up project memory (once per project)
30
30
  /intuition-start # Check status, get routed to next step
31
31
  /intuition-prompt # Describe what you want to build
32
- /intuition-handoff # Process → move to planning
33
- /intuition-plan # Create the blueprint
32
+ /intuition-handoff # Process → move to outlining
33
+ /intuition-outline # Create the blueprint
34
34
  /intuition-handoff # Review design flags
35
35
  /intuition-design # Elaborate flagged items (if any)
36
36
  /intuition-handoff # Prepare for engineering
@@ -40,7 +40,7 @@ The first cycle is the **trunk**. After completion, create **branches** for new
40
40
  /intuition-handoff # Complete the cycle
41
41
  ```
42
42
 
43
- Run `/clear` before each phase skill to keep context clean. Not every project needs design — if the plan is clear enough, handoff skips straight to engineer.
43
+ Run `/clear` before each phase skill to keep context clean. Not every project needs design — if the outline is clear enough, handoff skips straight to engineer.
44
44
 
45
45
  ## Skills
46
46
 
@@ -48,8 +48,8 @@ Run `/clear` before each phase skill to keep context clean. Not every project ne
48
48
 
49
49
  | Skill | Model | Purpose |
50
50
  |-------|-------|---------|
51
- | `/intuition-prompt` | opus | Refines a rough idea into a planning-ready brief |
52
- | `/intuition-plan` | opus | Strategic blueprint with tasks, dependencies, design flags |
51
+ | `/intuition-prompt` | opus | Refines a rough idea into an outline-ready brief |
52
+ | `/intuition-outline` | opus | Strategic blueprint with tasks, dependencies, design flags |
53
53
  | `/intuition-design` | opus | ECD framework design exploration for flagged items |
54
54
  | `/intuition-engineer` | opus | Code-level specs through research + interactive dialogue |
55
55
  | `/intuition-build` | sonnet | Delegates implementation, verifies against specs |
@@ -86,14 +86,14 @@ Run `/clear` before each phase skill to keep context clean. Not every project ne
86
86
 
87
87
  ### Design Loop
88
88
 
89
- The plan flags tasks needing design exploration. Handoff manages a loop: design one item → check for more → design next or advance to engineer.
89
+ The outline flags tasks needing design exploration. Handoff manages a loop: design one item → check for more → design next or advance to engineer.
90
90
 
91
91
  ### Project Memory
92
92
 
93
93
  All workflow state and knowledge lives in `docs/project_notes/`:
94
94
  - Shared memory: `bugs.md`, `decisions.md`, `key_facts.md`, `issues.md`
95
95
  - State: `.project-memory-state.json` (owned by handoff)
96
- - Phase outputs: briefs, plan, code specs, build report (in context-specific paths)
96
+ - Phase outputs: briefs, outline, code specs, build report (in context-specific paths)
97
97
 
98
98
  ## Project Structure
99
99
 
@@ -102,7 +102,7 @@ intuition/
102
102
  ├── skills/
103
103
  │ ├── intuition-start/ # Session primer + routing
104
104
  │ ├── intuition-prompt/ # Discovery refinement
105
- │ ├── intuition-plan/ # Strategic planning
105
+ │ ├── intuition-outline/ # Strategic outlining
106
106
  │ ├── intuition-design/ # ECD design exploration
107
107
  │ ├── intuition-engineer/ # Code spec creation
108
108
  │ ├── intuition-build/ # Implementation + verification
@@ -0,0 +1,100 @@
1
+ {
2
+ "initialized": true,
3
+ "version": "8.0",
4
+ "active_context": "trunk",
5
+ "trunk": {
6
+ "status": "complete",
7
+ "workflow": {
8
+ "prompt": {
9
+ "started": true,
10
+ "completed": true,
11
+ "started_at": null,
12
+ "completed_at": "2026-03-04T00:00:00.000Z",
13
+ "output_files": [
14
+ "docs/project_notes/trunk/prompt_brief.md",
15
+ "docs/project_notes/trunk/prompt_output.json"
16
+ ]
17
+ },
18
+ "outline": {
19
+ "started": true,
20
+ "completed": true,
21
+ "completed_at": "2026-03-04T00:00:00.000Z",
22
+ "approved": true
23
+ },
24
+ "design": {
25
+ "started": false,
26
+ "completed": false,
27
+ "completed_at": null,
28
+ "items": [],
29
+ "current_item": null
30
+ },
31
+ "engineering": {
32
+ "started": false,
33
+ "completed": false,
34
+ "completed_at": null
35
+ },
36
+ "build": {
37
+ "started": true,
38
+ "completed": true,
39
+ "completed_at": "2026-03-05T00:00:00.000Z"
40
+ },
41
+ "test": {
42
+ "started": true,
43
+ "completed": true,
44
+ "completed_at": "2026-03-05T00:00:00.000Z",
45
+ "skipped": true
46
+ },
47
+ "detail": {
48
+ "started": true,
49
+ "completed": true,
50
+ "completed_at": "2026-03-05T00:00:00.000Z",
51
+ "team_assignment": "team_assignment.json",
52
+ "specialists": [
53
+ {
54
+ "name": "devops-infrastructure",
55
+ "tasks": [
56
+ {"task_id": "T1", "depth": "Light"},
57
+ {"task_id": "T6", "depth": "Light"},
58
+ {"task_id": "T8", "depth": "Standard"}
59
+ ],
60
+ "status": "completed",
61
+ "stage": "done",
62
+ "stage1_path": "docs/project_notes/trunk/scratch/devops-infrastructure-stage1.md",
63
+ "decisions_path": "docs/project_notes/trunk/scratch/devops-infrastructure-decisions.json",
64
+ "blueprint_path": "docs/project_notes/trunk/blueprints/devops-infrastructure.md"
65
+ },
66
+ {
67
+ "name": "technical-writer",
68
+ "tasks": [
69
+ {"task_id": "T2", "depth": "Standard"},
70
+ {"task_id": "T4", "depth": "Light"},
71
+ {"task_id": "T5", "depth": "Standard"},
72
+ {"task_id": "T7", "depth": "Standard"}
73
+ ],
74
+ "status": "completed",
75
+ "stage": "done",
76
+ "stage1_path": "docs/project_notes/trunk/scratch/technical-writer-stage1.md",
77
+ "decisions_path": "docs/project_notes/trunk/scratch/technical-writer-decisions.json",
78
+ "blueprint_path": "docs/project_notes/trunk/blueprints/technical-writer.md"
79
+ },
80
+ {
81
+ "name": "database-architect",
82
+ "tasks": [
83
+ {"task_id": "T3", "depth": "Deep"}
84
+ ],
85
+ "status": "completed",
86
+ "stage": "done",
87
+ "stage1_path": "docs/project_notes/trunk/scratch/database-architect-stage1.md",
88
+ "decisions_path": "docs/project_notes/trunk/scratch/database-architect-decisions.json",
89
+ "blueprint_path": "docs/project_notes/trunk/blueprints/database-architect.md"
90
+ }
91
+ ],
92
+ "current_specialist": "database-architect",
93
+ "execution_phase": 2
94
+ }
95
+ }
96
+ },
97
+ "branches": {},
98
+ "last_handoff": "2026-03-05T00:00:00.000Z",
99
+ "last_handoff_transition": "transition_7_test_to_complete"
100
+ }
File without changes
@@ -0,0 +1,41 @@
1
+ # Bug Log Template
2
+
3
+ This file demonstrates the format for logging bugs and their solutions. Keep entries brief and chronological.
4
+
5
+ ## Format
6
+
7
+ Each bug entry should include:
8
+ - Date (YYYY-MM-DD)
9
+ - Brief description of the bug/issue
10
+ - Solution or fix applied
11
+ - Any prevention notes (optional)
12
+
13
+ Use bullet lists for simplicity. Older entries can be manually removed when they become irrelevant.
14
+
15
+ ## Example Entries
16
+
17
+ ### 2025-01-15 - Docker Architecture Mismatch
18
+ - **Issue**: Container failing to start with "exec format error"
19
+ - **Root Cause**: Built on ARM64 Mac but deploying to AMD64 Cloud Run
20
+ - **Solution**: Added `--platform linux/amd64` to docker build command
21
+ - **Prevention**: Always specify platform in Dockerfile and build scripts
22
+
23
+ ### 2025-01-20 - Cloud Scheduler HTTPS Requirement
24
+ - **Issue**: Cloud Scheduler jobs failing with "URL must use HTTPS"
25
+ - **Root Cause**: Forgot Cloud Run URLs require HTTPS by default
26
+ - **Solution**: Updated all scheduler job URLs from http:// to https://
27
+ - **Prevention**: Remember GCP services enforce HTTPS; check URLs in infrastructure code
28
+
29
+ ### 2025-01-22 - Database Connection Pool Exhaustion
30
+ - **Issue**: API returning 500 errors under load
31
+ - **Root Cause**: Connection pool size too small (default 5)
32
+ - **Solution**: Increased pool_size to 20 and max_overflow to 10 in SQLAlchemy config
33
+ - **Prevention**: Load test APIs before production deployment
34
+
35
+ ## Tips
36
+
37
+ - Keep descriptions under 2-3 lines
38
+ - Focus on what was learned, not exhaustive details
39
+ - Include enough context for future reference
40
+ - Date entries so you know how recent the issue is
41
+ - Periodically clean out very old entries (6+ months)
@@ -0,0 +1,147 @@
1
+ # Architectural Decisions Template
2
+
3
+ This file demonstrates the format for logging architectural decisions (ADRs). Use bullet lists for clarity.
4
+
5
+ ## Format
6
+
7
+ Each decision should include:
8
+ - Date and ADR number
9
+ - Context (why the decision was needed)
10
+ - Decision (what was chosen)
11
+ - Alternatives considered
12
+ - Consequences (trade-offs, implications)
13
+
14
+ ## Example Entries
15
+
16
+ ### ADR-001: Use Workload Identity Federation for GitHub Actions (2025-01-10)
17
+
18
+ **Context:**
19
+ - Need secure authentication from GitHub Actions to GCP
20
+ - Service account keys are deprecated and considered insecure
21
+ - Want to avoid managing long-lived credentials
22
+
23
+ **Decision:**
24
+ - Use Workload Identity Federation (WIF) for GitHub Actions authentication
25
+ - Configure via `WIF_PROVIDER` and `WIF_SERVICE_ACCOUNT` secrets
26
+
27
+ **Alternatives Considered:**
28
+ - Service account JSON keys → Rejected: security risk, manual rotation required
29
+ - Environment-specific credentials → Rejected: harder to manage across repos
30
+
31
+ **Consequences:**
32
+ - ✅ More secure (no long-lived credentials)
33
+ - ✅ Automatic credential rotation
34
+ - ✅ Better audit trail
35
+ - ❌ Slightly more complex initial setup
36
+ - ❌ Requires GitHub OIDC support
37
+
38
+ ### ADR-002: Use Alembic for Database Migrations (2025-01-12)
39
+
40
+ **Context:**
41
+ - Need version control for database schema changes
42
+ - Multiple developers working on database schema
43
+ - Want to avoid manual SQL scripts and migration conflicts
44
+
45
+ **Decision:**
46
+ - Use Alembic as the database migration tool
47
+ - Store migrations in `alembic/versions/` directory
48
+ - Use auto-generate feature for model changes
49
+
50
+ **Alternatives Considered:**
51
+ - Raw SQL scripts → Rejected: no versioning, error-prone
52
+ - Flask-Migrate → Rejected: too tied to Flask framework
53
+ - Django migrations → Rejected: using FastAPI, not Django
54
+
55
+ **Consequences:**
56
+ - ✅ Version-controlled schema changes
57
+ - ✅ Automatic migration generation from models
58
+ - ✅ Easy rollback capability
59
+ - ❌ Learning curve for team
60
+ - ❌ Must remember to generate migrations after model changes
61
+
62
+ ### ADR-003: Use AlloyDB Instead of Cloud SQL (2025-01-15)
63
+
64
+ **Context:**
65
+ - Need PostgreSQL-compatible database in GCP
66
+ - Require high availability and automatic backups
67
+ - Performance-critical application with complex queries
68
+
69
+ **Decision:**
70
+ - Use AlloyDB for PostgreSQL instead of Cloud SQL
71
+ - Configure with automated backups and point-in-time recovery
72
+
73
+ **Alternatives Considered:**
74
+ - Cloud SQL PostgreSQL → Rejected: slower query performance
75
+ - Self-managed PostgreSQL on GCE → Rejected: high operational overhead
76
+ - Firestore → Rejected: need relational data model and SQL
77
+
78
+ **Consequences:**
79
+ - ✅ Better query performance (2-4x faster than Cloud SQL)
80
+ - ✅ PostgreSQL compatibility
81
+ - ✅ Managed service (automated backups, HA)
82
+ - ❌ Higher cost than Cloud SQL
83
+ - ❌ Newer service, less community documentation
84
+
85
+ ## Tips
86
+
87
+ - Number decisions sequentially (ADR-001, ADR-002, etc.)
88
+ - Always include date for context
89
+ - Be honest about trade-offs (use ✅ and ❌)
90
+ - Keep alternatives brief but clear
91
+ - Update decisions if they're revisited/changed
92
+ - Focus on "why" not "how" (implementation details go elsewhere)
93
+
94
+ ### ADR-P002: "build plan" and "test plan" Are Preserved as Generic English (2026-03-04)
95
+
96
+ **Status:** Decided — Technical Writer specialist consultation
97
+
98
+ **Context:**
99
+ - The rename refactor replaces all phase-name "plan" references with "outline"
100
+ - `intuition-build/SKILL.md` uses "build plan" (lines 20, 61, 106, 109) meaning "the builder's execution strategy"
101
+ - `intuition-test/SKILL.md` uses "test plan" (lines 44, 102, 161, 181, 184, 197, 203) meaning "the testing strategy"
102
+ - These are standard English compound nouns, not references to the planning phase or plan.md artifact
103
+
104
+ **Decision:**
105
+ - "build plan" and "test plan" are KEPT unchanged in all skill files
106
+ - These terms refer to execution/testing strategies, not the workflow phase
107
+
108
+ **Alternatives Considered:**
109
+ - Reword to "build strategy" / "test strategy" → Rejected: unnecessary churn, "test plan" is universally understood
110
+ - Reword to "build sequence" / "test approach" → Rejected: slightly less clear than original terms
111
+
112
+ **Consequences:**
113
+ - ✅ Minimal disruption, established terminology preserved
114
+ - ✅ Consistent with disambiguation rule (generic English "plan" stays)
115
+ - ⚠️ Minor potential reader confusion in first few sessions post-rename (low impact)
116
+
117
+ **Discovered During:** Technical Writer specialist consultation (2026-03-04)
118
+
119
+ ---
120
+
121
+ ### ADR-P001: Rename Plan Phase to Outline Across Entire Framework (2026-03-04)
122
+
123
+ **Status:** Approved
124
+
125
+ **Context:**
126
+ - The `intuition-plan` skill and "planning" phase are being renamed to `intuition-outline` / "outlining"
127
+ - All phase-name references across SKILL.md files, state schema, routing, scripts, and docs must be updated
128
+ - Existing state files (v7.0) have a `planning` field that would break without migration
129
+
130
+ **Decision:**
131
+ - Full rename: `plan` → `outline` wherever it refers to the workflow phase
132
+ - State schema field: `planning` → `outline` (base form, matches majority of existing fields), schema version bumps v7.0 → v8.0
133
+ - v7→v8 migration handler added to handoff (following v5→v6 and v6→v7 patterns)
134
+ - Output files: `plan.md` → `outline.md`, derived files use base form: `outline_brief.md`, `.outline_research/`
135
+ - Generic English "plan" (e.g., "research plan", "action plan") is NOT renamed
136
+
137
+ **Alternatives Considered:**
138
+ - Partial rename (surface only) → Rejected: user wants full consistency
139
+ - Keep state field as `planning` → Rejected: user wants complete rename
140
+ - No migration handler → Rejected: would break existing project state files
141
+
142
+ **Consequences:**
143
+ - ✅ Complete naming consistency — no stale references
144
+ - ✅ Existing state files migrate automatically via v7→v8 handler
145
+ - ✅ Pure rename — no behavioral changes
146
+ - ❌ Wide blast radius — many files touched
147
+ - ❌ Anyone with local installs needs to re-install or the skill command changes
@@ -0,0 +1,101 @@
1
+ # Issues/Work Log Template
2
+
3
+ This file demonstrates the format for logging work completed on tickets. Keep it simple - just enough to remember what was done. Full details live in Jira/GitHub.
4
+
5
+ ## Format
6
+
7
+ Each entry should include:
8
+ - Date (YYYY-MM-DD)
9
+ - Ticket ID
10
+ - Brief description (1-2 lines)
11
+ - URL to ticket (if available)
12
+ - Status (optional: completed, in-progress, blocked)
13
+
14
+ Use bullet lists for simplicity. This is NOT a replacement for your ticket system - it's a quick reference log.
15
+
16
+ ## Example Entries
17
+
18
+ ### 2025-01-15 - PROJ-123: Implement Contact API
19
+ - **Status**: Completed
20
+ - **Description**: Created FastAPI endpoints for contact CRUD operations with validation
21
+ - **URL**: https://jira.company.com/browse/PROJ-123
22
+ - **Notes**: Added unit tests, coverage at 85%
23
+
24
+ ### 2025-01-16 - PROJ-124: Fix Docker Build Issues
25
+ - **Status**: Completed
26
+ - **Description**: Fixed architecture mismatch for Cloud Run deployment
27
+ - **URL**: https://jira.company.com/browse/PROJ-124
28
+ - **Notes**: See bugs.md for details on the fix
29
+
30
+ ### 2025-01-18 - PROJ-125: Database Migration to AlloyDB
31
+ - **Status**: Completed
32
+ - **Description**: Migrated from Cloud SQL to AlloyDB with Pulumi infrastructure code
33
+ - **URL**: https://jira.company.com/browse/PROJ-125
34
+ - **Notes**: Multi-phase migration completed over 3 days
35
+
36
+ ### 2025-01-20 - GH-45: Add OAuth2 Authentication
37
+ - **Status**: In Progress
38
+ - **Description**: Implementing OAuth2 flow with Google provider
39
+ - **URL**: https://github.com/company/repo/issues/45
40
+ - **Notes**: Backend complete, frontend integration pending
41
+
42
+ ### 2025-01-22 - PROJ-130: Performance Optimization
43
+ - **Status**: Blocked
44
+ - **Description**: Optimize slow queries in contact search endpoint
45
+ - **URL**: https://jira.company.com/browse/PROJ-130
46
+ - **Notes**: Waiting for DBA review of proposed indexes
47
+
48
+ ## Alternative Format (Grouped by Week)
49
+
50
+ ### Week of 2025-01-15
51
+
52
+ **Completed:**
53
+ - PROJ-123: Contact API implementation → https://jira.company.com/browse/PROJ-123
54
+ - PROJ-124: Docker build fix → https://jira.company.com/browse/PROJ-124
55
+
56
+ **In Progress:**
57
+ - PROJ-125: AlloyDB migration (phase 2 of 3)
58
+
59
+ ### Week of 2025-01-22
60
+
61
+ **Completed:**
62
+ - PROJ-125: AlloyDB migration completed → https://jira.company.com/browse/PROJ-125
63
+ - GH-45: OAuth2 backend done → https://github.com/company/repo/issues/45
64
+
65
+ **Blocked:**
66
+ - PROJ-130: Query optimization (waiting on DBA) → https://jira.company.com/browse/PROJ-130
67
+
68
+ ## Tips
69
+
70
+ - Keep descriptions brief (1-2 lines max)
71
+ - Always include ticket URL for easy reference
72
+ - Update status if work gets blocked or resumed
73
+ - Optional: Group by week or sprint for better organization
74
+ - Don't duplicate ticket details - link to source of truth
75
+ - Clean out very old entries periodically (3+ months)
76
+ - Include both Jira and GitHub tickets as appropriate
77
+
78
+ ### 2026-03-04 - OQ-001: Exact file list for plan→outline rename
79
+ - **Status**: Resolved — planning audit launched during planning phase
80
+ - **Description**: Blast radius confirmed: 15 skills, 3 scripts, state schema, docs/v9/, memory/MEMORY.md, root-level docs. Specialists and producers are clean (zero phase-name references).
81
+ - **Notes**: Task 1 (full audit) will produce the final categorized hit list
82
+
83
+ ### 2026-03-04 - OQ-002: Do specialist/producer profiles reference the plan phase?
84
+ - **Status**: Resolved — confirmed NO
85
+ - **Description**: Grepped all specialists/ and producers/ — no phase-name "plan" references found. Only generic English "plan" (campaign planning, resource plan, etc.).
86
+ - **Notes**: No tasks needed for specialists/producers
87
+
88
+ ### 2026-03-05 - BUILD-001: Rename Plan Phase to Outline — Build Complete
89
+ - **Status**: Completed
90
+ - **Description**: 8/8 tasks PASS. ~530+ edits across ~30 files + 8 reference files (scope expansion). State schema migrated v7.0→v8.0. Verification sweep: 34/34 checks PASS. 13 legacy docs classified out-of-scope (not blocking).
91
+ - **Notes**: Scope expanded mid-build to cover `references/` subdirectories (39 stale refs found post-T5). See build_report.md for full task results.
92
+
93
+ ### 2026-03-05 - TEST-001: Test phase — Rename Plan Phase to Outline
94
+ - **Status**: Skipped (user elected)
95
+ - **Description**: Test phase skipped. Rationale: pure text rename, no behavioral changes, T8 verification sweep already passed 34/34 checks, no test framework exists in project.
96
+ - **Notes**: No implementation fixes applied. Workflow cycle complete.
97
+
98
+ ### 2026-03-04 - OQ-003: docs/v9/ design documents — update or treat as historical?
99
+ - **Status**: Resolved — update as living docs
100
+ - **Description**: Decision: treat docs/v9/ as living architecture docs, update all phase-name references to "outline". Covered in Task 7.
101
+ - **Notes**: These docs mix phase-name and generic "plan" usage heavily — disambiguation required
@@ -0,0 +1,88 @@
1
+ # Key Facts Template
2
+
3
+ This file demonstrates the format for storing project constants, configuration, and frequently-needed **non-sensitive** information. Organize by category using bullet lists.
4
+
5
+ ## ⚠️ SECURITY WARNING: What NOT to Store Here
6
+
7
+ **NEVER store passwords, API keys, or sensitive credentials in this file.** This file is typically committed to version control and should only contain non-sensitive reference information.
8
+
9
+ **❌ NEVER store:**
10
+ - Passwords or passphrases
11
+ - API keys or authentication tokens
12
+ - Service account JSON keys or credentials
13
+ - Database passwords
14
+ - OAuth client secrets
15
+ - Private keys or certificates
16
+ - Session tokens
17
+ - Any secret values from environment variables
18
+
19
+ **✅ SAFE to store:**
20
+ - Database hostnames, ports, and cluster names
21
+ - Client names and project identifiers
22
+ - JIRA project keys and Confluence space names
23
+ - AWS/GCP account names and profile names
24
+ - API endpoint URLs (public URLs only)
25
+ - Service account email addresses (not the keys!)
26
+ - GCP project IDs and region names
27
+ - Docker registry names
28
+ - Environment names and deployment targets
29
+
30
+ **Where to store secrets:**
31
+ - `.env` files (excluded via `.gitignore`)
32
+ - Password managers (1Password, LastPass, Bitwarden)
33
+ - Secrets managers (AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault)
34
+ - CI/CD environment variables (GitHub Secrets, GitLab Variables)
35
+ - Platform credential stores (Kubernetes Secrets, Cloud Run)
36
+
37
+ ## Tips
38
+
39
+ - Keep entries current (update when things change)
40
+ - Remove deprecated information after migration is complete
41
+ - Include both production and development details
42
+ - Add URLs to make navigation easier
43
+ - Use consistent formatting (same structure for similar items)
44
+ - Group related information together
45
+ - Mark deprecated items clearly with dates
46
+
47
+ ## Project: Intuition Framework
48
+
49
+ - **Package**: `@tgoodington/intuition` — Claude Code skill system
50
+ - **Skills dir**: `C:\Projects\Intuition\skills\`
51
+ - **Specialists dir**: `C:\Projects\Intuition\specialists\`
52
+ - **Producers dir**: `C:\Projects\Intuition\producers\`
53
+ - **Install script**: `scripts/install-skills.js`
54
+ - **Current state schema version**: v8.0 (migrated 2026-03-05; `planning` → `outline` key)
55
+
56
+ ## Rename Directive (discovered 2026-03-04)
57
+
58
+ - **Rename**: `intuition-plan` → `intuition-outline` (skill folder, command, all phase references)
59
+ - **State field**: `planning` → `outline` (base form, matches majority of existing state fields; with v7→v8 migration handler)
60
+ - **State schema**: bumps to v8.0 after rename
61
+ - **Output files**: `plan.md` → `outline.md`, `planning_brief.md` → `outline_brief.md`, `.planning_research/` → `.outline_research/`
62
+ - **Standing rule**: generic English "plan" (e.g., "research plan") is NOT renamed — only phase-name usage
63
+ - **Scope**: full framework — all skill SKILL.md files, handoff, start, prompt, assemble, detail, build, test, initialize, install/uninstall scripts, package.json, MEMORY.md, docs
64
+ - **Blast radius**: ~177 lines across ~39 files; specialists and producers are clean (zero refs)
65
+ - **Skills breakdown**: intuition-plan/SKILL.md (~78 renames), intuition-handoff/SKILL.md (~48), intuition-engineer/SKILL.md (~22), intuition-detail/SKILL.md (~25), intuition-build/SKILL.md (~15), remaining skills 9-12 each
66
+ - **Docs breakdown**: MEMORY.md (~30+), TESTING_SUMMARY.md (~25), ARCHITECTURE_OVERVIEW.txt (~19), README.md (~10), docs/v9/ files (5-11 each)
67
+ - **KEEP items confirmed**: "build plan"/"test plan" in build/test skills (generic English — ADR-P002); "research plan"/"research-plan.md"/"Research Planning" in detail skill; "plan against" in prompt skill; "Waldo doesn't plan" in ARCHITECTURE_OVERVIEW.txt; "ARCH planning" throughout docs; "research planning" in decision-framework-direction.md line 96
68
+ - **Critical detail-skill disambiguation**: `classified_by: "plan"` IS a phase-name ref (RENAME to "outline"). All "research-plan.md", "Research Planning", "research-planning framing" instances are generic English (KEEP).
69
+ - **Section heading renames**: "PLAN.MD OUTPUT FORMAT" → "OUTLINE.MD OUTPUT FORMAT"; "Planning Context for Engineer" → "Outline Context for Engineer" (both in outline skill and engineer skill must match)
70
+ - **"Layer 2: Plan"** in domain-adaptive-team-architecture.md → "Layer 2: Outline" (confirmed per disambiguation guidance)
71
+ - **package.json keywords**: "planning" in keywords array is generic English (package purpose) — NOT renamed (confirmed 2026-03-04)
72
+ - **install-skills.js**: `intuition-plan` at line 48; legacy cleanup pattern at lines 98-110 (fs.existsSync + fs.rmSync, version-annotated comments)
73
+ - **uninstall-skills.js**: `intuition-plan` at line 48; legacy entries at lines 60-63 (flat array pattern)
74
+
75
+ ## Build Lessons — Rename Plan to Outline (2026-03-05)
76
+
77
+ - **Reference files scope gap**: Blueprints scoped to `SKILL.md` files; `references/` subdirectories in skills were NOT in any blueprint scope. After build, 39 stale references found in 8 reference files. Lesson: future audits must include `references/**` alongside SKILL.md.
78
+ - **MEMORY.md is NOT in project root**: Auto-memory file lives at `C:\Users\tgoodington\.claude\projects\C--Projects-Intuition\memory\MEMORY.md`, not `docs/project_notes/` or project root. Blueprints and producer prompts must use absolute path.
79
+ - **T3/T5 overlap resolution**: When two specialists target the same file, run the Deep-depth specialist (T3, database-architect) first; the Standard-depth specialist (T5, technical-writer) then verifies and finds zero remaining edits.
80
+ - **team_assignment.json producer vs blueprint producer**: team_assignment.json listed `document-writer` for technical-writer tasks, but individual blueprint Section 9 specified `code-writer` for SKILL.md edits (T2/T4/T5) and `document-writer` only for docs (T7). Blueprint Section 9 is authoritative over team_assignment.json.
81
+
82
+ ## V7→V8 Migration Handler (discovered 2026-03-05)
83
+
84
+ - **Handler pattern**: Follows V4 handler as template (field rename + status remap). Simple trigger: `version == "7.0"` only (no fallback — v7.0 states always have version field)
85
+ - **Mutations**: Rename `workflow.planning` → `workflow.outline` (preserving all sub-fields: started, completed, completed_at, approved); remap `status == "planning"` → `"outline"` for trunk AND every branch
86
+ - **Placement**: Insert before V5 handler (newest-first ordering convention)
87
+ - **Report message**: "Migrated state from v7.0 to v8.0 (renamed planning → outline)."
88
+ - **V3 preservation rule**: V3 migration handler references `planning_brief.md`, `plan.md`, `.planning_research/` as historical on-disk filenames for v3.0 projects — these must NOT be renamed (they move actual files with those legacy names)
File without changes
@@ -0,0 +1,15 @@
1
+ # Research: File Naming Convention
2
+
3
+ ## Current Pattern
4
+ - Skill: `intuition-plan` → state field: `planning` → brief: `planning_brief.md` → dir: `.planning_research/`
5
+ - Pattern: gerund form of the skill name used for state field, brief filename, and research directory
6
+
7
+ ## Options
8
+ 1. **Gerund form (outlining)**: `outlining_brief.md`, `.outlining_research/`, state field `outlining` — matches current pattern exactly
9
+ 2. **Base form (outline)**: `outline_brief.md`, `.outline_research/`, state field `outlining` — inconsistent (state is gerund, files are base)
10
+
11
+ ## Affected File Counts
12
+ - `planning_brief.md`: 40+ references across codebase
13
+ - `.planning_research/`: 10 references (mostly within plan skill)
14
+ - `plan.md` → `outline.md`: 100+ references
15
+ - `plan_output.json`: NOT actually referenced anywhere (may not exist as a convention)
@@ -0,0 +1,32 @@
1
+ # Decisions Log
2
+
3
+ ## File Naming Convention
4
+ - **Decision**: Use base form "outline" for all derived file names
5
+ - **Choice**: `outline_brief.md`, `.outline_research/`, `outline.md`
6
+ - **Status**: Locked
7
+ - **Rationale**: User preference for base form; cleaner naming
8
+ - **Alternatives**: Gerund form "outlining" (matching current `planning_brief.md` pattern)
9
+
10
+ ## State Schema Field Name
11
+ - **Decision**: State field uses base form `outline` instead of gerund `outlining`
12
+ - **Choice**: `planning` → `outline` in state schema
13
+ - **Status**: Locked
14
+ - **Rationale**: Matches 5 of 7 existing state fields (prompt, design, build, test, detail). More internally consistent.
15
+ - **Alternatives**: `outlining` (direct gerund match to `planning`)
16
+
17
+ ## Stakeholders
18
+ - **Decision**: Framework author, end users, skill system itself
19
+ - **Choice**: Confirmed as-is, no additional stakeholders
20
+ - **Status**: Locked
21
+
22
+ ## docs/v9/ Treatment
23
+ - **Decision**: Update design documents to reflect "outline" naming
24
+ - **Choice**: Full update — treat as living architecture docs
25
+ - **Status**: Locked
26
+ - **Rationale**: Stale terminology defeats their purpose as reference material
27
+ - **Alternatives**: Leave as historical, update selectively
28
+
29
+ ## Planning Depth
30
+ - **Decision**: Standard tier
31
+ - **Choice**: 5-10 tasks with testing strategy and risks
32
+ - **Status**: Locked
@@ -0,0 +1,51 @@
1
+ # Orientation Research
2
+
3
+ ## Codebase Topology
4
+
5
+ - npm package `@tgoodington/intuition` v9.2.0, MIT, Node >= 14
6
+ - No build step, no transpilation — source is distribution
7
+ - 15 skills in `skills/intuition-*/SKILL.md` (YAML frontmatter + Markdown body)
8
+ - 14 specialist profiles in `specialists/`
9
+ - 6 producer profiles in `producers/`
10
+ - 3 JS files: `bin/intuition.js`, `scripts/install-skills.js`, `scripts/uninstall-skills.js` (CommonJS)
11
+ - No automated tests — manual testing only
12
+ - State: `docs/project_notes/.project-memory-state.json` (v7.0, handoff-owned)
13
+ - Install: npm postinstall copies skills/specialists/producers to `~/.claude/` directories
14
+
15
+ ## Key Files Affected by "plan" Phase Name
16
+
17
+ ### Skills (each has SKILL.md)
18
+ - `skills/intuition-plan/` — the skill being renamed
19
+ - `skills/intuition-handoff/` — transitions, routing, state field refs, migration handlers
20
+ - `skills/intuition-start/` — phase detection, routing
21
+ - `skills/intuition-prompt/` — route message to plan
22
+ - `skills/intuition-assemble/` — reads plan output
23
+ - `skills/intuition-detail/` — reads plan, planning context
24
+ - `skills/intuition-build/` — reads plan
25
+ - `skills/intuition-test/` — references plan
26
+ - `skills/intuition-design/` — v8 compat, plan refs
27
+ - `skills/intuition-engineer/` — v8 compat, plan refs
28
+ - `skills/intuition-debugger/` — may reference plan
29
+ - `skills/intuition-initialize/` — state template has `planning` field
30
+
31
+ ### Scripts/Config
32
+ - `scripts/install-skills.js` — skill list includes `intuition-plan`
33
+ - `scripts/uninstall-skills.js` — skill list includes `intuition-plan`
34
+ - `package.json` — may reference plan skill
35
+
36
+ ### Docs/Memory
37
+ - `memory/MEMORY.md` — extensive plan phase references
38
+ - `docs/` — design documents (historical vs updatable TBD)
39
+
40
+ ## Architecture Patterns
41
+
42
+ - Pipeline/phase orchestration: skills are stateless, communicate via files on disk
43
+ - No class hierarchy, no shared modules — each JS script is self-contained
44
+ - Handoff is sole state writer; all other skills read state + write output files
45
+ - Skill dependency graph is protocol-enforced (Markdown instructions), not code-imported
46
+ - kebab-case directories, camelCase JS functions, YAML frontmatter convention
47
+
48
+ ## Disambiguation Rule
49
+
50
+ - Phase-name refs: `/intuition-plan`, `planning phase`, `"planning"` JSON key, `plan.md`, `planning_brief.md` → rename
51
+ - Generic English: "research plan," "ARCH planning," "planning context," "planning research" → keep