@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.
- package/README.md +9 -9
- package/docs/project_notes/.project-memory-state.json +100 -0
- package/docs/project_notes/branches/.gitkeep +0 -0
- package/docs/project_notes/bugs.md +41 -0
- package/docs/project_notes/decisions.md +147 -0
- package/docs/project_notes/issues.md +101 -0
- package/docs/project_notes/key_facts.md +88 -0
- package/docs/project_notes/trunk/.gitkeep +0 -0
- package/docs/project_notes/trunk/.planning_research/decision_file_naming.md +15 -0
- package/docs/project_notes/trunk/.planning_research/decisions_log.md +32 -0
- package/docs/project_notes/trunk/.planning_research/orientation.md +51 -0
- package/docs/project_notes/trunk/audit/plan-rename-hitlist.md +654 -0
- package/docs/project_notes/trunk/blueprint-conflicts.md +109 -0
- package/docs/project_notes/trunk/blueprints/database-architect.md +416 -0
- package/docs/project_notes/trunk/blueprints/devops-infrastructure.md +514 -0
- package/docs/project_notes/trunk/blueprints/technical-writer.md +788 -0
- package/docs/project_notes/trunk/build_brief.md +119 -0
- package/docs/project_notes/trunk/build_report.md +250 -0
- package/docs/project_notes/trunk/detail_brief.md +94 -0
- package/docs/project_notes/trunk/plan.md +182 -0
- package/docs/project_notes/trunk/planning_brief.md +96 -0
- package/docs/project_notes/trunk/prompt_brief.md +60 -0
- package/docs/project_notes/trunk/prompt_output.json +98 -0
- package/docs/project_notes/trunk/scratch/database-architect-decisions.json +72 -0
- package/docs/project_notes/trunk/scratch/database-architect-research-plan.md +10 -0
- package/docs/project_notes/trunk/scratch/database-architect-stage1.md +226 -0
- package/docs/project_notes/trunk/scratch/devops-infrastructure-decisions.json +71 -0
- package/docs/project_notes/trunk/scratch/devops-infrastructure-research-plan.md +7 -0
- package/docs/project_notes/trunk/scratch/devops-infrastructure-stage1.md +164 -0
- package/docs/project_notes/trunk/scratch/technical-writer-decisions.json +88 -0
- package/docs/project_notes/trunk/scratch/technical-writer-research-plan.md +7 -0
- package/docs/project_notes/trunk/scratch/technical-writer-stage1.md +266 -0
- package/docs/project_notes/trunk/team_assignment.json +108 -0
- package/docs/project_notes/trunk/test_brief.md +75 -0
- package/docs/project_notes/trunk/test_report.md +26 -0
- package/docs/project_notes/trunk/verification/devops-infrastructure-verification.md +172 -0
- package/docs/v9/decision-framework-direction.md +8 -8
- package/docs/v9/decision-framework-implementation.md +8 -8
- package/docs/v9/domain-adaptive-team-architecture.md +22 -22
- package/package.json +2 -2
- package/scripts/install-skills.js +9 -2
- package/scripts/uninstall-skills.js +4 -2
- package/skills/intuition-agent-advisor/SKILL.md +327 -327
- package/skills/intuition-assemble/SKILL.md +261 -261
- package/skills/intuition-build/SKILL.md +379 -379
- package/skills/intuition-debugger/SKILL.md +390 -390
- package/skills/intuition-design/SKILL.md +385 -385
- package/skills/intuition-detail/SKILL.md +377 -377
- package/skills/intuition-engineer/SKILL.md +307 -307
- package/skills/intuition-handoff/SKILL.md +51 -47
- package/skills/intuition-handoff/references/handoff_core.md +38 -38
- package/skills/intuition-initialize/SKILL.md +2 -2
- package/skills/intuition-initialize/references/agents_template.md +118 -118
- package/skills/intuition-initialize/references/claude_template.md +134 -134
- package/skills/intuition-initialize/references/intuition_readme_template.md +4 -4
- package/skills/intuition-initialize/references/state_template.json +2 -2
- package/skills/{intuition-plan → intuition-outline}/SKILL.md +561 -561
- package/skills/{intuition-plan → intuition-outline}/references/magellan_core.md +9 -9
- package/skills/{intuition-plan → intuition-outline}/references/templates/plan_template.md +1 -1
- package/skills/intuition-prompt/SKILL.md +374 -374
- package/skills/intuition-start/SKILL.md +8 -8
- package/skills/intuition-start/references/start_core.md +50 -50
- package/skills/intuition-test/SKILL.md +345 -345
- /package/skills/{intuition-plan → intuition-outline}/references/sub_agents.md +0 -0
- /package/skills/{intuition-plan → intuition-outline}/references/templates/confidence_scoring.md +0 -0
- /package/skills/{intuition-plan → intuition-outline}/references/templates/plan_format.md +0 -0
- /package/skills/{intuition-plan → intuition-outline}/references/templates/planning_process.md +0 -0
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 →
|
|
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
|
|
33
|
-
/intuition-
|
|
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
|
|
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
|
|
52
|
-
| `/intuition-
|
|
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
|
|
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,
|
|
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-
|
|
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
|