@tgoodington/intuition 11.4.0 → 11.5.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 (131) hide show
  1. package/package.json +1 -2
  2. package/skills/intuition-enuncia-compose/SKILL.md +5 -10
  3. package/skills/intuition-enuncia-design/SKILL.md +0 -4
  4. package/skills/intuition-enuncia-discovery/SKILL.md +1 -7
  5. package/skills/intuition-enuncia-execute/SKILL.md +0 -4
  6. package/skills/intuition-enuncia-handoff/SKILL.md +0 -4
  7. package/skills/intuition-enuncia-initialize/references/claude_template.md +20 -0
  8. package/skills/intuition-enuncia-start/SKILL.md +0 -4
  9. package/skills/intuition-enuncia-verify/SKILL.md +0 -4
  10. package/docs/archive/ARCHITECTURE_OVERVIEW.txt +0 -405
  11. package/docs/archive/INSTALLATION.md +0 -431
  12. package/docs/archive/PROJECT_CONTEXT.md +0 -361
  13. package/docs/archive/QUICK_TEST_CHECKLIST.md +0 -467
  14. package/docs/archive/SKILL_INTERACTION_GUIDE.md +0 -993
  15. package/docs/archive/TESTING_README.md +0 -215
  16. package/docs/archive/TESTING_SUMMARY.md +0 -781
  17. package/docs/archive/WALDO_V3_COMPLETE_DOCUMENTATION.md +0 -538
  18. package/docs/archive/WALDO_V3_DESIGN_SUMMARY.md +0 -449
  19. package/docs/archive/intuition-architecture.md +0 -342
  20. package/docs/archive/intuition-workflow.md +0 -210
  21. package/docs/archive/intuition_design_skill_spec.md +0 -219
  22. package/docs/archive/v7_design_spec.md +0 -1111
  23. package/docs/archive/v7_plan.md +0 -339
  24. package/docs/archive/v9-design/decision-framework-direction.md +0 -142
  25. package/docs/archive/v9-design/decision-framework-implementation.md +0 -114
  26. package/docs/archive/v9-design/domain-adaptive-team-architecture.md +0 -1016
  27. package/docs/archive/v9-test/SESSION_SUMMARY.md +0 -117
  28. package/docs/archive/v9-test/TEST_PLAN.md +0 -119
  29. package/docs/archive/v9-test/blueprints/legal-analyst.md +0 -166
  30. package/docs/archive/v9-test/output/07_cover_letter.md +0 -41
  31. package/docs/archive/v9-test/phase2/mock_plan.md +0 -89
  32. package/docs/archive/v9-test/phase2/producers.json +0 -32
  33. package/docs/archive/v9-test/phase2/specialists/database-architect.specialist.md +0 -10
  34. package/docs/archive/v9-test/phase2/specialists/financial-analyst.specialist.md +0 -10
  35. package/docs/archive/v9-test/phase2/specialists/legal-analyst.specialist.md +0 -10
  36. package/docs/archive/v9-test/phase2/specialists/technical-writer.specialist.md +0 -10
  37. package/docs/archive/v9-test/phase2/team_assignment.json +0 -61
  38. package/docs/archive/v9-test/phase3/blueprints/legal-analyst.md +0 -840
  39. package/docs/archive/v9-test/phase3/legal-analyst-full.specialist.md +0 -111
  40. package/docs/archive/v9-test/phase3/project_context/nh_landlord_tenant_notes.md +0 -35
  41. package/docs/archive/v9-test/phase3/project_context/property_facts.md +0 -32
  42. package/docs/archive/v9-test/phase3b/blueprints/legal-analyst.md +0 -1715
  43. package/docs/archive/v9-test/phase3b/legal-analyst.specialist.md +0 -153
  44. package/docs/archive/v9-test/phase3b/scratch/legal-analyst-stage1.md +0 -270
  45. package/docs/archive/v9-test/phase4/TEST_PLAN.md +0 -32
  46. package/docs/archive/v9-test/phase4/blueprints/financial-analyst-T2.md +0 -538
  47. package/docs/archive/v9-test/phase4/blueprints/legal-analyst-T4.md +0 -253
  48. package/docs/archive/v9-test/phase4/cross-blueprint-check.md +0 -280
  49. package/docs/archive/v9-test/phase4/scratch/financial-analyst-T2-stage1.md +0 -67
  50. package/docs/archive/v9-test/phase4/scratch/legal-analyst-T4-stage1.md +0 -54
  51. package/docs/archive/v9-test/phase4/specialists/financial-analyst.specialist.md +0 -156
  52. package/docs/archive/v9-test/phase4/specialists/legal-analyst.specialist.md +0 -153
  53. package/docs/archive/v9-test/phase5/TEST_PLAN.md +0 -35
  54. package/docs/archive/v9-test/phase5/blueprints/code-architect-hw-vetter.md +0 -375
  55. package/docs/archive/v9-test/phase5/output/04_compliance_checklist.md +0 -149
  56. package/docs/archive/v9-test/phase5/output/hardware-vetter-SKILL-v2.md +0 -561
  57. package/docs/archive/v9-test/phase5/output/hardware-vetter-SKILL.md +0 -459
  58. package/docs/archive/v9-test/phase5/producers/code-writer.producer.md +0 -49
  59. package/docs/archive/v9-test/phase5/producers/document-writer.producer.md +0 -62
  60. package/docs/archive/v9-test/phase5/regression-comparison-v2.md +0 -60
  61. package/docs/archive/v9-test/phase5/regression-comparison.md +0 -197
  62. package/docs/archive/v9-test/phase5/review-5A-specialist.md +0 -213
  63. package/docs/archive/v9-test/phase5/specialist-test/TEST_PLAN.md +0 -60
  64. package/docs/archive/v9-test/phase5/specialist-test/blueprint-comparison.md +0 -252
  65. package/docs/archive/v9-test/phase5/specialist-test/blueprints/code-architect-hw-vetter.md +0 -916
  66. package/docs/archive/v9-test/phase5/specialist-test/scratch/code-architect-stage1.md +0 -427
  67. package/docs/archive/v9-test/phase5/specialists/code-architect.specialist.md +0 -168
  68. package/docs/archive/v9-test/phase5b/TEST_PLAN.md +0 -219
  69. package/docs/archive/v9-test/phase5b/blueprints/5B-10-stage2-with-decisions.md +0 -286
  70. package/docs/archive/v9-test/phase5b/decisions/5B-2-accept-all-decisions.json +0 -68
  71. package/docs/archive/v9-test/phase5b/decisions/5B-3-promote-decisions.json +0 -70
  72. package/docs/archive/v9-test/phase5b/decisions/5B-4-individual-decisions.json +0 -68
  73. package/docs/archive/v9-test/phase5b/decisions/5B-5-triage-decisions.json +0 -110
  74. package/docs/archive/v9-test/phase5b/decisions/5B-6-fallback-decisions.json +0 -40
  75. package/docs/archive/v9-test/phase5b/decisions/5B-8-partial-decisions.json +0 -46
  76. package/docs/archive/v9-test/phase5b/decisions/5B-9-complete-decisions.json +0 -54
  77. package/docs/archive/v9-test/phase5b/scratch/code-architect-stage1.md +0 -133
  78. package/docs/archive/v9-test/phase5b/specialists/code-architect.specialist.md +0 -202
  79. package/docs/archive/v9-test/phase5b/stage1-many-decisions.md +0 -139
  80. package/docs/archive/v9-test/phase5b/stage1-no-assumptions.md +0 -70
  81. package/docs/archive/v9-test/phase5b/stage1-with-assumptions.md +0 -86
  82. package/docs/archive/v9-test/phase5b/test-5B-1-results.md +0 -157
  83. package/docs/archive/v9-test/phase5b/test-5B-10-results.md +0 -130
  84. package/docs/archive/v9-test/phase5b/test-5B-2-results.md +0 -75
  85. package/docs/archive/v9-test/phase5b/test-5B-3-results.md +0 -104
  86. package/docs/archive/v9-test/phase5b/test-5B-4-results.md +0 -114
  87. package/docs/archive/v9-test/phase5b/test-5B-5-results.md +0 -126
  88. package/docs/archive/v9-test/phase5b/test-5B-6-results.md +0 -60
  89. package/docs/archive/v9-test/phase5b/test-5B-7-results.md +0 -141
  90. package/docs/archive/v9-test/phase5b/test-5B-8-results.md +0 -115
  91. package/docs/archive/v9-test/phase5b/test-5B-9-results.md +0 -76
  92. package/docs/archive/v9-test/producers/document-writer.producer.md +0 -62
  93. package/docs/archive/v9-test/specialists/legal-analyst.specialist.md +0 -58
  94. package/docs/project_notes/.project-memory-state.json +0 -100
  95. package/docs/project_notes/archive/trunk-v9.2-complete/.gitkeep +0 -0
  96. package/docs/project_notes/archive/trunk-v9.2-complete/.planning_research/decision_file_naming.md +0 -15
  97. package/docs/project_notes/archive/trunk-v9.2-complete/.planning_research/decisions_log.md +0 -32
  98. package/docs/project_notes/archive/trunk-v9.2-complete/.planning_research/orientation.md +0 -51
  99. package/docs/project_notes/archive/trunk-v9.2-complete/audit/plan-rename-hitlist.md +0 -654
  100. package/docs/project_notes/archive/trunk-v9.2-complete/blueprint-conflicts.md +0 -109
  101. package/docs/project_notes/archive/trunk-v9.2-complete/blueprints/database-architect.md +0 -416
  102. package/docs/project_notes/archive/trunk-v9.2-complete/blueprints/devops-infrastructure.md +0 -514
  103. package/docs/project_notes/archive/trunk-v9.2-complete/blueprints/technical-writer.md +0 -788
  104. package/docs/project_notes/archive/trunk-v9.2-complete/build_brief.md +0 -119
  105. package/docs/project_notes/archive/trunk-v9.2-complete/build_report.md +0 -250
  106. package/docs/project_notes/archive/trunk-v9.2-complete/detail_brief.md +0 -94
  107. package/docs/project_notes/archive/trunk-v9.2-complete/plan.md +0 -182
  108. package/docs/project_notes/archive/trunk-v9.2-complete/planning_brief.md +0 -96
  109. package/docs/project_notes/archive/trunk-v9.2-complete/prompt_brief.md +0 -60
  110. package/docs/project_notes/archive/trunk-v9.2-complete/prompt_output.json +0 -98
  111. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/database-architect-decisions.json +0 -72
  112. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/database-architect-research-plan.md +0 -10
  113. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/database-architect-stage1.md +0 -226
  114. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/devops-infrastructure-decisions.json +0 -71
  115. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/devops-infrastructure-research-plan.md +0 -7
  116. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/devops-infrastructure-stage1.md +0 -164
  117. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/technical-writer-decisions.json +0 -88
  118. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/technical-writer-research-plan.md +0 -7
  119. package/docs/project_notes/archive/trunk-v9.2-complete/scratch/technical-writer-stage1.md +0 -266
  120. package/docs/project_notes/archive/trunk-v9.2-complete/team_assignment.json +0 -108
  121. package/docs/project_notes/archive/trunk-v9.2-complete/test_brief.md +0 -75
  122. package/docs/project_notes/archive/trunk-v9.2-complete/test_report.md +0 -26
  123. package/docs/project_notes/archive/trunk-v9.2-complete/verification/devops-infrastructure-verification.md +0 -172
  124. package/docs/project_notes/branches/.gitkeep +0 -0
  125. package/docs/project_notes/bugs.md +0 -41
  126. package/docs/project_notes/decisions.md +0 -147
  127. package/docs/project_notes/issues.md +0 -101
  128. package/docs/project_notes/key_facts.md +0 -88
  129. package/docs/project_notes/trunk/.gitkeep +0 -0
  130. package/docs/project_notes/trunk/discovery_brief.md +0 -40
  131. package/docs/project_notes/v9.2-optimization-plan.md +0 -193
@@ -1,101 +0,0 @@
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
@@ -1,88 +0,0 @@
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
@@ -1,40 +0,0 @@
1
- # Discovery Brief: Elementary School Coverage Scheduling Tool
2
-
3
- ## Who — Stakeholders
4
- - **Primary users**: School admins and admin assistants — they operate the tool daily
5
- - **Affected stakeholders**: Teachers, substitute staff, and any other staff who work with students and could be pulled for coverage — they act on the tool's output but don't use the tool directly
6
-
7
- ## Where — Delivery
8
- - District-hosted application deployed through existing district app infrastructure
9
- - Local AI server handles scheduling inference
10
-
11
- ## What — The Idea
12
- **Goals:**
13
- - Admins input the day's coverage needs (absences, gaps)
14
- - System reads staff availability from Microsoft Calendar integration
15
- - AI generates a coverage schedule proposal based on availability, constraints, and staff qualifications
16
- - Output is a coverage plan that teachers and staff can act on
17
-
18
- **Requirements:**
19
- - Microsoft Calendar integration for staff availability
20
- - Ability to tag calendar commitments as "can be pulled" vs "cannot be pulled"
21
- - Constraint-aware scheduling that respects staff qualifications, availability, and priority
22
-
23
- **Constraints:**
24
- - Must deploy on existing district app infrastructure
25
- - Must use local AI server for inference (not cloud-based)
26
- - Does NOT own the master schedule — consumes calendar data and focuses on gap-filling
27
-
28
- **Out of scope:**
29
- - Substitute teacher management/hiring
30
- - Master schedule creation or ownership
31
- - Direct teacher/staff-facing interface (output communication TBD)
32
-
33
- ## Why — North Star
34
- Minimal time investment for admins — what currently takes 1-2 hours daily per school should take minutes. Coverage proposals must accurately reflect staff constraints, needs, and potential. Speed without accuracy is failure; accuracy without speed is the status quo.
35
-
36
- ## Decision Posture
37
- Both — user wants to weigh in on all major creative and technical decisions.
38
-
39
- ## Open Questions
40
- - How does the coverage plan get communicated to teachers/staff?
@@ -1,193 +0,0 @@
1
- # v9.2 Optimization Plan: Ceremony Reduction + Human-Centric Producers
2
-
3
- **Date:** 2025-03-05
4
- **Status:** All workstreams complete
5
-
6
- ## Problem Statement
7
-
8
- The v9 pipeline requires 17 manual skill invocations for a 3-specialist project. Half of those are `/intuition-handoff` calls that add zero creative value. Small branches feel worse than base Claude. Briefs are never read by users. Non-code producers generate structurally correct but visually bland deliverables.
9
-
10
- The framework should make users feel like a creative director with a dynamic team — not a project manager routing work between departments.
11
-
12
- ## Workstream 1: Eliminate Handoff Ceremony
13
-
14
- ### Goal
15
- The user never types `/intuition-handoff` for v9 workflows. Each skill handles its own phase transition.
16
-
17
- ### Design
18
-
19
- **Each v9 skill gets an Exit Protocol (~15-20 lines) that:**
20
- 1. Updates `.project-memory-state.json` directly (read-modify-write)
21
- 2. Optionally spawns a haiku subagent for memory extraction (key_facts.md, decisions.md, issues.md)
22
- 3. Routes the user to the next skill
23
-
24
- **Detail handles the specialist loop internally:**
25
- - After completing one specialist's blueprint, reads `team_assignment.json`, finds next specialist, prepares context, continues
26
- - User gate still happens per specialist (natural interaction point)
27
- - Recommends `/clear` between Deep specialists, handles Light/Standard in one session
28
- - Adds ~30-40 lines (detail: 354 → ~390)
29
-
30
- **Conflict detection moves to build startup:**
31
- - Build already validates blueprints; add cross-blueprint comparison
32
- - Spawn haiku subagent to check for contradictions before confirming build plan
33
-
34
- **Briefs eliminated except detail_context.md:**
35
- - Outline reads `prompt_brief.md` directly (already does)
36
- - Build reads `blueprints/*.md` + `team_assignment.json` + `outline.md` directly (already does)
37
- - Test reads `build_report.md` + `scratch/*-decisions.json` + `outline.md` directly (already does)
38
- - Detail writes lightweight `detail_context.md` for itself between specialists (which specialist, which tasks, prior blueprint paths, known research)
39
-
40
- **Handoff skill becomes v8-only + branch creation + state migration:**
41
- - All v9 transitions removed
42
- - Retains: Transition 0 (branch creation), Transitions 1-5 (v8), Transition 6 (completion protocol for v8), state migrations
43
- - Eventually deprecated entirely when v8 is dropped
44
-
45
- ### Skills Modified
46
-
47
- | Skill | Change | Line Impact |
48
- |-------|--------|-------------|
49
- | prompt | Add exit protocol: state update, memory extraction subagent, route to outline | +15-20 |
50
- | outline | Add exit protocol: state update, memory extraction subagent, route to assemble (or fast track) | +15-20 |
51
- | assemble | Add exit protocol: state update, route to detail | +15-20 |
52
- | detail | Add specialist loop + exit protocol: iterate specialists, write detail_context.md between them, conflict check when done, route to build | +30-40 |
53
- | build | Add conflict detection at startup + exit protocol: state update, route to test or completion | +20-25 |
54
- | test | Add exit protocol: state update, completion logic (git commit offer, specialist saving), mark done | +15-20 |
55
- | handoff | Remove all v9 transitions (2v9, 2.5v9, 3v9, 4v9, 6.5v9, 7). Keep v8 + branch creation + migrations | -200+ |
56
- | start | Update routing: remove handoff intermediary for v9 "ready_for" states | ~0 (logic change) |
57
-
58
- ### User Flow After (3-specialist standard project)
59
- ```
60
- /intuition-prompt → [dialogue] → "Run /clear then /intuition-outline"
61
- /intuition-outline → [dialogue] → "Run /clear then /intuition-assemble"
62
- /intuition-assemble → [team confirmation] → "Run /clear then /intuition-detail"
63
- /intuition-detail → [spec 1 gate] → [spec 2 gate] → [spec 3 gate] → "Run /clear then /intuition-build"
64
- /intuition-build → [confirmation + production + review] → "Run /clear then /intuition-test"
65
- /intuition-test → [tests + fixes] → done
66
- ```
67
- **6 invocations** instead of 17.
68
-
69
- ### State Write Safety
70
-
71
- The "handoff is the only state writer" rule is relaxed for v9. Each skill writes to state as part of its exit. Risk assessment:
72
- - Skills run sequentially in one conversation — no concurrent write risk
73
- - Each skill uses consistent read-modify-write pattern
74
- - State corruption was a theoretical risk; ceremony cost was a real one paid every session
75
-
76
- ### Memory Extraction Strategy
77
-
78
- Each skill's exit protocol spawns a haiku Explore subagent:
79
- ```
80
- "Read {artifact_path}. Extract to shared memory files:
81
- - Key facts → docs/project_notes/key_facts.md (append new facts under appropriate category)
82
- - Architectural decisions → docs/project_notes/decisions.md (append as ADRs)
83
- - Issues/risks → docs/project_notes/issues.md (append with date and source)
84
- Do NOT duplicate existing entries. Read each target file first."
85
- ```
86
-
87
- This is lighter than handoff's sonnet extraction but sufficient for the mechanical task.
88
-
89
- ---
90
-
91
- ## Workstream 2: Fast Track for Simple Projects
92
-
93
- ### Goal
94
- Small tasks (1-4 Light-depth tasks) skip assemble + detail entirely.
95
-
96
- ### Design
97
-
98
- **Outline adds Fast Track Assessment after task sequence:**
99
- - Triggers when: tier is Lightweight AND all tasks classified as Light depth
100
- - Asks user: "This looks straightforward — build directly from the outline, or run the full specialist pipeline?"
101
- - If fast track: outline writes `team_assignment.json` with `fast_track: true`, skips Section 6.5 specialist assignments. State goes to `"building"` directly.
102
-
103
- **Build gets fast track mode:**
104
- - Detects `fast_track: true` in `team_assignment.json`
105
- - Reads outline tasks directly as specifications (no blueprints)
106
- - Review chain: builder verification + security only (no specialist review — there was no specialist)
107
- - Producer selection: infer from task domain or default to code-writer
108
-
109
- **Prompt gets adaptive convergence:**
110
- - The 6-9 turn target becomes a ceiling, not a floor
111
- - If initial CAPTURE covers scope, success criteria, and constraints, REFINE skips satisfied dimensions
112
- - Minimum: CAPTURE (1) + 1-2 REFINE + REFLECT (1) + POSTURE (1) + CONFIRM (1) = 4-6 turns
113
- - The question "does this pass the load-bearing test?" already gates unnecessary questions — just enforce it harder
114
-
115
- ### Fast Track User Flow
116
- ```
117
- /intuition-prompt → 3-4 turns
118
- /intuition-outline → lightweight plan, fast track approved
119
- /intuition-build → produces deliverables
120
- /intuition-test → if code produced
121
- ```
122
- **3-4 invocations** for a simple branch.
123
-
124
- ---
125
-
126
- ## Workstream 3: Human-Centric Producer Design
127
-
128
- ### Goal
129
- Deliverables that a person opens should look professional without the blueprint specifying every visual detail.
130
-
131
- ### Principle
132
- **Specialists own content and structure. Producers own visual execution.** Blueprint styling directives override producer defaults. If the blueprint is silent on styling, the producer makes it look good.
133
-
134
- ### Changes Per Producer
135
-
136
- **presentation-creator:**
137
- - Professional color scheme (dark blue/white/accent or similar corporate palette)
138
- - Font hierarchy: title font (28-36pt), body font (18-24pt), consistent throughout
139
- - Layout variety: section dividers between major topics, not all title-and-content
140
- - Visual hierarchy within slides: proper bullet indentation, spacing
141
- - Speaker notes styled separately
142
- - Master slide setup for deck cohesion
143
-
144
- **document-writer:**
145
- - Cover page for documents with 5+ sections
146
- - Table of contents for substantial documents
147
- - Professional typography: styled headings with accent color, readable body font
148
- - Table styling: alternating row shading, proper borders, distinct header row
149
- - Page numbers, headers/footers
150
- - Section breaks between major parts
151
-
152
- **spreadsheet-builder:**
153
- - Frozen header row (always)
154
- - Auto-fit column widths
155
- - Number formatting by data type (currency, percentages, dates)
156
- - Alternating row shading
157
- - Print-ready: page setup, print area, repeat headers
158
- - Summary rows visually distinct
159
-
160
- **form-filler:**
161
- - Clear visual hierarchy in PDFs (section headers larger, proper field spacing)
162
- - Professional typography
163
- - Required field indicators (asterisk + legend)
164
- - Styled signature lines (gray rules, not underscores)
165
- - Consistent field alignment
166
-
167
- **NOT changed:** code-writer, data-file-writer (machine-consumed output)
168
-
169
- ### Implementation Approach
170
- Each producer gets a new `## Design Standards` section between Critical Rules and Input Protocol. The standards are default behaviors the producer applies unless the blueprint overrides them. The Python scripts (pptx, docx, xlsx, pdf) include professional styling in the generated code.
171
-
172
- ---
173
-
174
- ## Implementation Order
175
-
176
- 1. **Workstream 1** — Biggest impact on daily usage. Start here.
177
- - Phase A: Add exit protocols to each skill (state update + routing)
178
- - Phase B: Add specialist loop to detail
179
- - Phase C: Move conflict detection to build startup
180
- - Phase D: Eliminate briefs (update skill startup sections to read source artifacts)
181
- - Phase E: Strip v9 transitions from handoff
182
- - Phase F: Update start routing
183
-
184
- 2. **Workstream 2** — Biggest impact on small projects.
185
- - Phase A: Add fast track assessment to outline
186
- - Phase B: Add fast track mode to build
187
- - Phase C: Adaptive convergence in prompt
188
-
189
- 3. **Workstream 3** — Self-contained, no pipeline dependencies.
190
- - Update each human-facing producer independently
191
-
192
- ## Version
193
- These changes constitute v9.3.0 (or v10.0.0 if the handoff elimination is considered a breaking change for v8 compat).