@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.
- package/package.json +1 -2
- package/skills/intuition-enuncia-compose/SKILL.md +5 -10
- package/skills/intuition-enuncia-design/SKILL.md +0 -4
- package/skills/intuition-enuncia-discovery/SKILL.md +1 -7
- package/skills/intuition-enuncia-execute/SKILL.md +0 -4
- package/skills/intuition-enuncia-handoff/SKILL.md +0 -4
- package/skills/intuition-enuncia-initialize/references/claude_template.md +20 -0
- package/skills/intuition-enuncia-start/SKILL.md +0 -4
- package/skills/intuition-enuncia-verify/SKILL.md +0 -4
- package/docs/archive/ARCHITECTURE_OVERVIEW.txt +0 -405
- package/docs/archive/INSTALLATION.md +0 -431
- package/docs/archive/PROJECT_CONTEXT.md +0 -361
- package/docs/archive/QUICK_TEST_CHECKLIST.md +0 -467
- package/docs/archive/SKILL_INTERACTION_GUIDE.md +0 -993
- package/docs/archive/TESTING_README.md +0 -215
- package/docs/archive/TESTING_SUMMARY.md +0 -781
- package/docs/archive/WALDO_V3_COMPLETE_DOCUMENTATION.md +0 -538
- package/docs/archive/WALDO_V3_DESIGN_SUMMARY.md +0 -449
- package/docs/archive/intuition-architecture.md +0 -342
- package/docs/archive/intuition-workflow.md +0 -210
- package/docs/archive/intuition_design_skill_spec.md +0 -219
- package/docs/archive/v7_design_spec.md +0 -1111
- package/docs/archive/v7_plan.md +0 -339
- package/docs/archive/v9-design/decision-framework-direction.md +0 -142
- package/docs/archive/v9-design/decision-framework-implementation.md +0 -114
- package/docs/archive/v9-design/domain-adaptive-team-architecture.md +0 -1016
- package/docs/archive/v9-test/SESSION_SUMMARY.md +0 -117
- package/docs/archive/v9-test/TEST_PLAN.md +0 -119
- package/docs/archive/v9-test/blueprints/legal-analyst.md +0 -166
- package/docs/archive/v9-test/output/07_cover_letter.md +0 -41
- package/docs/archive/v9-test/phase2/mock_plan.md +0 -89
- package/docs/archive/v9-test/phase2/producers.json +0 -32
- package/docs/archive/v9-test/phase2/specialists/database-architect.specialist.md +0 -10
- package/docs/archive/v9-test/phase2/specialists/financial-analyst.specialist.md +0 -10
- package/docs/archive/v9-test/phase2/specialists/legal-analyst.specialist.md +0 -10
- package/docs/archive/v9-test/phase2/specialists/technical-writer.specialist.md +0 -10
- package/docs/archive/v9-test/phase2/team_assignment.json +0 -61
- package/docs/archive/v9-test/phase3/blueprints/legal-analyst.md +0 -840
- package/docs/archive/v9-test/phase3/legal-analyst-full.specialist.md +0 -111
- package/docs/archive/v9-test/phase3/project_context/nh_landlord_tenant_notes.md +0 -35
- package/docs/archive/v9-test/phase3/project_context/property_facts.md +0 -32
- package/docs/archive/v9-test/phase3b/blueprints/legal-analyst.md +0 -1715
- package/docs/archive/v9-test/phase3b/legal-analyst.specialist.md +0 -153
- package/docs/archive/v9-test/phase3b/scratch/legal-analyst-stage1.md +0 -270
- package/docs/archive/v9-test/phase4/TEST_PLAN.md +0 -32
- package/docs/archive/v9-test/phase4/blueprints/financial-analyst-T2.md +0 -538
- package/docs/archive/v9-test/phase4/blueprints/legal-analyst-T4.md +0 -253
- package/docs/archive/v9-test/phase4/cross-blueprint-check.md +0 -280
- package/docs/archive/v9-test/phase4/scratch/financial-analyst-T2-stage1.md +0 -67
- package/docs/archive/v9-test/phase4/scratch/legal-analyst-T4-stage1.md +0 -54
- package/docs/archive/v9-test/phase4/specialists/financial-analyst.specialist.md +0 -156
- package/docs/archive/v9-test/phase4/specialists/legal-analyst.specialist.md +0 -153
- package/docs/archive/v9-test/phase5/TEST_PLAN.md +0 -35
- package/docs/archive/v9-test/phase5/blueprints/code-architect-hw-vetter.md +0 -375
- package/docs/archive/v9-test/phase5/output/04_compliance_checklist.md +0 -149
- package/docs/archive/v9-test/phase5/output/hardware-vetter-SKILL-v2.md +0 -561
- package/docs/archive/v9-test/phase5/output/hardware-vetter-SKILL.md +0 -459
- package/docs/archive/v9-test/phase5/producers/code-writer.producer.md +0 -49
- package/docs/archive/v9-test/phase5/producers/document-writer.producer.md +0 -62
- package/docs/archive/v9-test/phase5/regression-comparison-v2.md +0 -60
- package/docs/archive/v9-test/phase5/regression-comparison.md +0 -197
- package/docs/archive/v9-test/phase5/review-5A-specialist.md +0 -213
- package/docs/archive/v9-test/phase5/specialist-test/TEST_PLAN.md +0 -60
- package/docs/archive/v9-test/phase5/specialist-test/blueprint-comparison.md +0 -252
- package/docs/archive/v9-test/phase5/specialist-test/blueprints/code-architect-hw-vetter.md +0 -916
- package/docs/archive/v9-test/phase5/specialist-test/scratch/code-architect-stage1.md +0 -427
- package/docs/archive/v9-test/phase5/specialists/code-architect.specialist.md +0 -168
- package/docs/archive/v9-test/phase5b/TEST_PLAN.md +0 -219
- package/docs/archive/v9-test/phase5b/blueprints/5B-10-stage2-with-decisions.md +0 -286
- package/docs/archive/v9-test/phase5b/decisions/5B-2-accept-all-decisions.json +0 -68
- package/docs/archive/v9-test/phase5b/decisions/5B-3-promote-decisions.json +0 -70
- package/docs/archive/v9-test/phase5b/decisions/5B-4-individual-decisions.json +0 -68
- package/docs/archive/v9-test/phase5b/decisions/5B-5-triage-decisions.json +0 -110
- package/docs/archive/v9-test/phase5b/decisions/5B-6-fallback-decisions.json +0 -40
- package/docs/archive/v9-test/phase5b/decisions/5B-8-partial-decisions.json +0 -46
- package/docs/archive/v9-test/phase5b/decisions/5B-9-complete-decisions.json +0 -54
- package/docs/archive/v9-test/phase5b/scratch/code-architect-stage1.md +0 -133
- package/docs/archive/v9-test/phase5b/specialists/code-architect.specialist.md +0 -202
- package/docs/archive/v9-test/phase5b/stage1-many-decisions.md +0 -139
- package/docs/archive/v9-test/phase5b/stage1-no-assumptions.md +0 -70
- package/docs/archive/v9-test/phase5b/stage1-with-assumptions.md +0 -86
- package/docs/archive/v9-test/phase5b/test-5B-1-results.md +0 -157
- package/docs/archive/v9-test/phase5b/test-5B-10-results.md +0 -130
- package/docs/archive/v9-test/phase5b/test-5B-2-results.md +0 -75
- package/docs/archive/v9-test/phase5b/test-5B-3-results.md +0 -104
- package/docs/archive/v9-test/phase5b/test-5B-4-results.md +0 -114
- package/docs/archive/v9-test/phase5b/test-5B-5-results.md +0 -126
- package/docs/archive/v9-test/phase5b/test-5B-6-results.md +0 -60
- package/docs/archive/v9-test/phase5b/test-5B-7-results.md +0 -141
- package/docs/archive/v9-test/phase5b/test-5B-8-results.md +0 -115
- package/docs/archive/v9-test/phase5b/test-5B-9-results.md +0 -76
- package/docs/archive/v9-test/producers/document-writer.producer.md +0 -62
- package/docs/archive/v9-test/specialists/legal-analyst.specialist.md +0 -58
- package/docs/project_notes/.project-memory-state.json +0 -100
- package/docs/project_notes/archive/trunk-v9.2-complete/.gitkeep +0 -0
- package/docs/project_notes/archive/trunk-v9.2-complete/.planning_research/decision_file_naming.md +0 -15
- package/docs/project_notes/archive/trunk-v9.2-complete/.planning_research/decisions_log.md +0 -32
- package/docs/project_notes/archive/trunk-v9.2-complete/.planning_research/orientation.md +0 -51
- package/docs/project_notes/archive/trunk-v9.2-complete/audit/plan-rename-hitlist.md +0 -654
- package/docs/project_notes/archive/trunk-v9.2-complete/blueprint-conflicts.md +0 -109
- package/docs/project_notes/archive/trunk-v9.2-complete/blueprints/database-architect.md +0 -416
- package/docs/project_notes/archive/trunk-v9.2-complete/blueprints/devops-infrastructure.md +0 -514
- package/docs/project_notes/archive/trunk-v9.2-complete/blueprints/technical-writer.md +0 -788
- package/docs/project_notes/archive/trunk-v9.2-complete/build_brief.md +0 -119
- package/docs/project_notes/archive/trunk-v9.2-complete/build_report.md +0 -250
- package/docs/project_notes/archive/trunk-v9.2-complete/detail_brief.md +0 -94
- package/docs/project_notes/archive/trunk-v9.2-complete/plan.md +0 -182
- package/docs/project_notes/archive/trunk-v9.2-complete/planning_brief.md +0 -96
- package/docs/project_notes/archive/trunk-v9.2-complete/prompt_brief.md +0 -60
- package/docs/project_notes/archive/trunk-v9.2-complete/prompt_output.json +0 -98
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/database-architect-decisions.json +0 -72
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/database-architect-research-plan.md +0 -10
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/database-architect-stage1.md +0 -226
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/devops-infrastructure-decisions.json +0 -71
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/devops-infrastructure-research-plan.md +0 -7
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/devops-infrastructure-stage1.md +0 -164
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/technical-writer-decisions.json +0 -88
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/technical-writer-research-plan.md +0 -7
- package/docs/project_notes/archive/trunk-v9.2-complete/scratch/technical-writer-stage1.md +0 -266
- package/docs/project_notes/archive/trunk-v9.2-complete/team_assignment.json +0 -108
- package/docs/project_notes/archive/trunk-v9.2-complete/test_brief.md +0 -75
- package/docs/project_notes/archive/trunk-v9.2-complete/test_report.md +0 -26
- package/docs/project_notes/archive/trunk-v9.2-complete/verification/devops-infrastructure-verification.md +0 -172
- package/docs/project_notes/branches/.gitkeep +0 -0
- package/docs/project_notes/bugs.md +0 -41
- package/docs/project_notes/decisions.md +0 -147
- package/docs/project_notes/issues.md +0 -101
- package/docs/project_notes/key_facts.md +0 -88
- package/docs/project_notes/trunk/.gitkeep +0 -0
- package/docs/project_notes/trunk/discovery_brief.md +0 -40
- package/docs/project_notes/v9.2-optimization-plan.md +0 -193
package/docs/archive/v7_plan.md
DELETED
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
# Intuition v7.0 — Execution Plan
|
|
2
|
-
|
|
3
|
-
## Plan-Execute Contract v1.0 | Standard Tier
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Objective
|
|
8
|
-
|
|
9
|
-
Intuition v7.0 introduces a branch/trunk workflow model and a new coding expert skill (`intuition-engineer`). The trunk represents the first prompt-to-execute cycle as a permanent foundation; branches enable subsequent independent cycles that build on, extend, or diverge from trunk or other completed branches. The engineer skill provides post-execution holistic troubleshooting with subagent delegation, serving as both a user-invoked diagnostic tool and a Senior Engineer subagent available to execute.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## 2. Discovery Summary
|
|
14
|
-
|
|
15
|
-
- **Problem**: v6.0 treats each workflow cycle as a standalone pass. Users who complete execution and want to iterate must start from scratch with no lineage tracking, no awareness of prior plans, and no way to fix issues without re-running the full workflow.
|
|
16
|
-
- **Goals**: (1) Enable iterative development through a branch/trunk model where each cycle is context-aware of its parent. (2) Provide a dedicated troubleshooting skill that can diagnose and fix issues holistically without re-running the workflow. (3) Unify file path resolution across all skills via a `context_path` abstraction.
|
|
17
|
-
- **Constraints**: State schema must migrate from v3.0 to v4.0 with backward compatibility. SKILL.md files must stay under 500 lines. Handoff remains the sole state writer. Start remains read-only. All behavioral instructions must live in SKILL.md (reference files are not auto-loaded).
|
|
18
|
-
- **Key Findings**: Every skill that reads or writes workflow artifacts needs context-path awareness. Handoff undergoes the heaviest changes (branch creation, tree state management, migration logic). The engineer skill is fully specified in the design document. Plan gains a new Parent Context section and a third research subagent for branch intersection analysis. Execute gains a Senior Engineer (opus) subagent tier.
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## 3. Technology Decisions
|
|
23
|
-
|
|
24
|
-
| Decision | Choice | Rationale |
|
|
25
|
-
|----------|--------|-----------|
|
|
26
|
-
| Context path abstraction | Dynamic `{context_path}` resolved from `active_context` in state | Single formula used by all skills; trunk resolves to `docs/project_notes/trunk/`, branches to `docs/project_notes/branches/{key}/` |
|
|
27
|
-
| State schema structure | v4.0: top-level `trunk` object + `branches` map + `active_context` | Each context gets its own independent workflow pipeline; `active_context` drives all path resolution |
|
|
28
|
-
| Shared vs isolated memory | Shared files (`key_facts.md`, `decisions.md`, `issues.md`, `bugs.md`) at root; workflow artifacts isolated per context | Project-wide knowledge accumulates; workflow artifacts stay scoped to their cycle |
|
|
29
|
-
| Engineer model | opus | Holistic codebase reasoning requires the strongest model; delegates code changes to sonnet subagents |
|
|
30
|
-
| Senior Engineer subagent (execute) | opus | Complex multi-file tasks with architectural implications need holistic reasoning |
|
|
31
|
-
| Migration strategy | Auto-migration in handoff (detect v3.0, restructure to v4.0) + initialize offers upgrade | Seamless for existing projects; deliberate option also available |
|
|
32
|
-
| Branch lineage | `created_from` field in branch entry | Enables plan to read parent context for intersection analysis; supports tree structures (branch from branch) |
|
|
33
|
-
| Post-completion routing | Start presents two choices (create branch / open engineer) | Replaces the dead-end "complete" state with actionable next steps |
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 6. Task Sequence
|
|
38
|
-
|
|
39
|
-
### Task 1: Update state template and initialize skill
|
|
40
|
-
|
|
41
|
-
- **Component**: `intuition-initialize`
|
|
42
|
-
- **Description**: Update the state template JSON from v3.0 to v4.0 schema. Update the initialize skill's SKILL.md to create `trunk/` and `branches/` directories during project setup. Update the CLAUDE.md template to describe the trunk-and-branch model and engineer skill. Update the INTUITION.md template to include branch workflow and engineer skill in the skill table.
|
|
43
|
-
- **Acceptance Criteria**:
|
|
44
|
-
1. `state_template.json` matches the v4.0 schema exactly as specified in design spec Section 3 (includes `active_context`, `trunk` object, `branches` map, version `"4.0"`)
|
|
45
|
-
2. Initialize SKILL.md creates `docs/project_notes/trunk/` and `docs/project_notes/branches/` directories during initialization
|
|
46
|
-
3. CLAUDE.md template includes trunk/branch model description, engineer skill mention, and updated workflow flow
|
|
47
|
-
4. INTUITION.md template includes engineer skill in the skill table and branch workflow in the quick start
|
|
48
|
-
- **Dependencies**: None
|
|
49
|
-
- **Files**:
|
|
50
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\references\state_template.json`
|
|
51
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\SKILL.md`
|
|
52
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\references\claude_template.md`
|
|
53
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\references\intuition_readme_template.md`
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
### Task 2: Update handoff skill — context path resolution and state writes
|
|
58
|
-
|
|
59
|
-
- **Component**: `intuition-handoff`
|
|
60
|
-
- **Description**: Update handoff to resolve `active_context` and `context_path` before every transition. All file path references change from hardcoded `docs/project_notes/` to `{context_path}`. All state writes target the correct context object (`state.trunk` or `state.branches[active_context]`). Embed the v4.0 state schema. Update the transition detection tree to read the active context's workflow object.
|
|
61
|
-
- **Acceptance Criteria**:
|
|
62
|
-
1. Handoff resolves `context_path` from `active_context` at the start of every transition (trunk maps to `docs/project_notes/trunk/`, branches map to `docs/project_notes/branches/{key}/`)
|
|
63
|
-
2. All five existing transitions (prompt->plan, plan->design, design->design, design->execute, plan->execute, execute->complete) use `{context_path}` for all artifact file references
|
|
64
|
-
3. State writes update the correct context object based on `active_context`
|
|
65
|
-
4. Embedded state schema is v4.0
|
|
66
|
-
- **Dependencies**: Task 1
|
|
67
|
-
- **Files**:
|
|
68
|
-
- `C:\Projects\Intuition\skills\intuition-handoff\SKILL.md`
|
|
69
|
-
- `C:\Projects\Intuition\skills\intuition-handoff\references\handoff_core.md`
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
### Task 3: Update handoff skill — branch creation and v3 migration
|
|
74
|
-
|
|
75
|
-
- **Component**: `intuition-handoff`
|
|
76
|
-
- **Description**: Add Transition 0 (branch creation) to handoff. When start routes to handoff with branch creation intent, handoff validates the branch name, creates the branch directory, adds the branch entry to state, sets `active_context` to the new branch, and routes user to `/intuition-prompt`. Also implement v3.0-to-v4.0 auto-migration: detect v3.0 state, create `trunk/` directory, move existing artifacts, restructure state to v4.0. Update the execute->complete transition to route to `/intuition-start` instead of `/intuition-prompt`.
|
|
77
|
-
- **Acceptance Criteria**:
|
|
78
|
-
1. Branch creation transition validates kebab-case name, rejects duplicate branch keys, creates `docs/project_notes/branches/{key}/` directory, adds branch entry with `display_name`, `created_from`, `created_at`, `purpose`, and full workflow object
|
|
79
|
-
2. After branch creation, `active_context` is set to the new branch key and user is routed to `/intuition-prompt`
|
|
80
|
-
3. When handoff detects a v3.0 state file (version "3.0" or missing `active_context`), it auto-migrates: creates trunk directory, moves artifacts, restructures state to v4.0
|
|
81
|
-
4. Execute->complete transition routes to `/intuition-start` (not `/intuition-prompt`)
|
|
82
|
-
- **Dependencies**: Task 2
|
|
83
|
-
- **Files**:
|
|
84
|
-
- `C:\Projects\Intuition\skills\intuition-handoff\SKILL.md`
|
|
85
|
-
- `C:\Projects\Intuition\skills\intuition-handoff\references\handoff_core.md`
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
### Task 4: Update start skill — post-completion routing and status tree
|
|
90
|
-
|
|
91
|
-
- **Component**: `intuition-start`
|
|
92
|
-
- **Description**: Add post-completion phase detection to start. When any context is complete and no context is in-progress, display a status tree and present the two-choice flow (create branch or open engineer). Add context-path awareness for reading artifacts. Add v3.0 detection with migration warning. Start remains read-only (no Write tool).
|
|
93
|
-
- **Acceptance Criteria**:
|
|
94
|
-
1. When trunk or any branch has `status == "complete"` and no context is in-progress, start displays the status tree and presents two options via AskUserQuestion: "Create a new branch" or "Troubleshoot an issue"
|
|
95
|
-
2. Status tree shows trunk and all branches with their status, purpose, and lineage
|
|
96
|
-
3. "Create a new branch" path collects branch name, purpose, and parent context, then routes to `/intuition-handoff`
|
|
97
|
-
4. Start detects v3.0 state and warns user to run `/intuition-handoff` or `/intuition-initialize` to upgrade
|
|
98
|
-
5. Start does NOT use the Write tool anywhere in its protocol
|
|
99
|
-
- **Dependencies**: Task 2
|
|
100
|
-
- **Files**:
|
|
101
|
-
- `C:\Projects\Intuition\skills\intuition-start\SKILL.md`
|
|
102
|
-
- `C:\Projects\Intuition\skills\intuition-start\references\start_core.md`
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
### Task 5: Update prompt skill — context-path awareness
|
|
107
|
-
|
|
108
|
-
- **Component**: `intuition-prompt`
|
|
109
|
-
- **Description**: Update prompt to read `active_context` from state on startup and resolve `context_path`. Change all file write paths to use `{context_path}` (discovery_brief.md, discovery_output.json). Update resume logic to check `{context_path}` for existing files. When running on a branch, include branch lineage context in the opening message.
|
|
110
|
-
- **Acceptance Criteria**:
|
|
111
|
-
1. Prompt reads `.project-memory-state.json` on startup and resolves `context_path` from `active_context`
|
|
112
|
-
2. All output files are written to `{context_path}/` (not `docs/project_notes/` directly)
|
|
113
|
-
3. When `active_context` is a branch, the opening message includes branch display_name, parent context, and branch purpose
|
|
114
|
-
4. A critical rule is added: "NEVER write to the root `docs/project_notes/` — always write to the resolved context_path"
|
|
115
|
-
- **Dependencies**: Task 2
|
|
116
|
-
- **Files**:
|
|
117
|
-
- `C:\Projects\Intuition\skills\intuition-prompt\SKILL.md`
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
### Task 6: Update plan skill — branch intersection and context-path
|
|
122
|
-
|
|
123
|
-
- **Component**: `intuition-plan`
|
|
124
|
-
- **Description**: Update plan to resolve `context_path` from `active_context` on startup. Change all file read/write paths to use `{context_path}`. When planning on a branch, read the parent context's plan.md, add a third orientation research subagent for parent intersection analysis, and include a new Section 2.5 (Parent Context) in the output plan. Extend ARCH framework's Reach dimension to include parent intersection on branches.
|
|
125
|
-
- **Acceptance Criteria**:
|
|
126
|
-
1. Plan reads `.project-memory-state.json` on startup and resolves `context_path`
|
|
127
|
-
2. All artifact reads (discovery_brief, planning_brief) and writes (plan.md, .planning_research/) use `{context_path}`
|
|
128
|
-
3. When `active_context` is a branch, plan reads the parent's plan.md and launches a third research subagent for parent intersection analysis, writing results to `{context_path}/.planning_research/parent_intersection.md`
|
|
129
|
-
4. Branch plans include Section 2.5 (Parent Context) with shared components, inherited decisions, intersection points, and divergence
|
|
130
|
-
5. A critical rule is added about inherited architectural decisions being binding unless user overrides
|
|
131
|
-
- **Dependencies**: Task 2
|
|
132
|
-
- **Files**:
|
|
133
|
-
- `C:\Projects\Intuition\skills\intuition-plan\SKILL.md`
|
|
134
|
-
- `C:\Projects\Intuition\skills\intuition-plan\references\magellan_core.md`
|
|
135
|
-
- `C:\Projects\Intuition\skills\intuition-plan\references\sub_agents.md`
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
### Task 7: Update design skill — context-path awareness
|
|
140
|
-
|
|
141
|
-
- **Component**: `intuition-design`
|
|
142
|
-
- **Description**: Update design to resolve `context_path` from `active_context` on startup. Change all file read/write paths to use `{context_path}`. When designing on a branch, optionally read parent design specs for related components to inform the ECD exploration.
|
|
143
|
-
- **Acceptance Criteria**:
|
|
144
|
-
1. Design reads `.project-memory-state.json` on startup and resolves `context_path`
|
|
145
|
-
2. All artifact reads (plan.md, design_brief.md) and writes (design_spec_*.md) use `{context_path}`
|
|
146
|
-
3. When designing on a branch with a parent that has design specs for related components, design reads them for context
|
|
147
|
-
- **Dependencies**: Task 2
|
|
148
|
-
- **Files**:
|
|
149
|
-
- `C:\Projects\Intuition\skills\intuition-design\SKILL.md`
|
|
150
|
-
|
|
151
|
-
---
|
|
152
|
-
|
|
153
|
-
### Task 8: Update execute skill — Senior Engineer subagent and context-path
|
|
154
|
-
|
|
155
|
-
- **Component**: `intuition-execute`
|
|
156
|
-
- **Description**: Update execute to resolve `context_path` from `active_context` on startup. Change all file read paths to use `{context_path}`. Add the Senior Engineer (opus) subagent to the available subagents table with usage criteria (3+ interdependent files, architectural implications, tasks with design specs). Include the holistic protocol in the Senior Engineer prompt template. Add branch-aware execution notes to subagent prompts when on a branch.
|
|
157
|
-
- **Acceptance Criteria**:
|
|
158
|
-
1. Execute reads `.project-memory-state.json` on startup and resolves `context_path`
|
|
159
|
-
2. All artifact reads (plan.md, design specs, execution_brief) use `{context_path}`
|
|
160
|
-
3. Senior Engineer (opus) subagent is defined in the subagents table with clear usage criteria and a prompt template that includes holistic protocol steps
|
|
161
|
-
4. A critical rule mandates Senior Engineer delegation for tasks with design specs or touching 3+ interdependent files
|
|
162
|
-
5. When executing on a branch, subagent prompts include parent context awareness
|
|
163
|
-
- **Dependencies**: Task 2
|
|
164
|
-
- **Files**:
|
|
165
|
-
- `C:\Projects\Intuition\skills\intuition-execute\SKILL.md`
|
|
166
|
-
- `C:\Projects\Intuition\skills\intuition-execute\references\faraday_core.md`
|
|
167
|
-
- `C:\Projects\Intuition\skills\intuition-execute\references\sub_agents.md`
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
### Task 9: Create engineer skill
|
|
172
|
-
|
|
173
|
-
- **Component**: `intuition-engineer` (new)
|
|
174
|
-
- **Description**: Create the new `intuition-engineer` skill directory and SKILL.md. The engineer is an opus-level holistic troubleshooter that works on completed contexts. It follows a 9-step protocol: context selection, artifact loading, issue description, holistic investigation (trace symptom, map blast radius, check upstream/downstream, cross-reference plan, check patterns), diagnosis presentation, fix delegation to subagents, verification, and reporting. Delegates code changes to sonnet subagents with holistic context. Logs all fixes to `docs/project_notes/bugs.md`.
|
|
175
|
-
- **Acceptance Criteria**:
|
|
176
|
-
1. `C:\Projects\Intuition\skills\intuition-engineer\SKILL.md` exists with correct YAML frontmatter (name, description, model: opus, tools list, allowed-tools list)
|
|
177
|
-
2. SKILL.md implements the full 9-step protocol as specified in design spec Section 4
|
|
178
|
-
3. All 10 critical rules from the design spec are present in the SKILL.md
|
|
179
|
-
4. Subagent table defines Code Writer (sonnet), Research/Explorer (haiku), Test Runner (haiku), and Impact Analyst (haiku) with usage criteria
|
|
180
|
-
5. SKILL.md is under 500 lines
|
|
181
|
-
- **Dependencies**: None
|
|
182
|
-
- **Files**:
|
|
183
|
-
- `C:\Projects\Intuition\skills\intuition-engineer\SKILL.md` (new file)
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
### Task 10: Update install and uninstall scripts
|
|
188
|
-
|
|
189
|
-
- **Component**: Install scripts
|
|
190
|
-
- **Description**: Add `intuition-engineer` to the skills array in `install-skills.js`. Add the corresponding log line for the new skill. Add `intuition-engineer` to the cleanup list in `uninstall-skills.js`.
|
|
191
|
-
- **Acceptance Criteria**:
|
|
192
|
-
1. `install-skills.js` skills array includes `'intuition-engineer'` between `'intuition-execute'` and `'intuition-initialize'`
|
|
193
|
-
2. Install success message includes a log line for `/intuition-engineer`
|
|
194
|
-
3. `uninstall-skills.js` skillsToRemove array includes `'intuition-engineer'`
|
|
195
|
-
- **Dependencies**: Task 9
|
|
196
|
-
- **Files**:
|
|
197
|
-
- `C:\Projects\Intuition\scripts\install-skills.js`
|
|
198
|
-
- `C:\Projects\Intuition\scripts\uninstall-skills.js`
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
|
-
### Task 11: Update initialize reference templates
|
|
203
|
-
|
|
204
|
-
- **Component**: Initialize reference files
|
|
205
|
-
- **Description**: Update the planning_brief_template, execution_brief_template, and design_brief_template to use `{context_path}` placeholder references where they mention file paths. These templates are used by handoff to generate briefs, so they need to reflect the new path structure.
|
|
206
|
-
- **Acceptance Criteria**:
|
|
207
|
-
1. Brief templates reference `{context_path}/` for workflow artifact paths instead of hardcoded `docs/project_notes/`
|
|
208
|
-
2. Templates remain valid as standalone reference documents
|
|
209
|
-
- **Dependencies**: None
|
|
210
|
-
- **Files**:
|
|
211
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\references\planning_brief_template.md`
|
|
212
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\references\execution_brief_template.md`
|
|
213
|
-
- `C:\Projects\Intuition\skills\intuition-initialize\references\design_brief_template.md`
|
|
214
|
-
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
### Task 12: Update MEMORY.md
|
|
218
|
-
|
|
219
|
-
- **Component**: Project memory
|
|
220
|
-
- **Description**: Update MEMORY.md with v7.0 project overview (11 skills, trunk-and-branch model), updated skill list (add engineer), updated state ownership (v4.0 schema), updated workflow architecture (branch model, Senior Engineer, context_path), updated handoff transitions (Transition 0, post-completion routing), and updated install script notes. All updates are specified verbatim in design spec Section 13.
|
|
221
|
-
- **Acceptance Criteria**:
|
|
222
|
-
1. Project Overview reflects v7.0 (11 skills, trunk-and-branch workflow, state schema v4.0)
|
|
223
|
-
2. All Skills section lists 11 skills with engineer included and updated descriptions
|
|
224
|
-
3. Handoff Transitions section includes Transition 0 (branch creation) and post-completion routing
|
|
225
|
-
4. Workflow Architecture section describes branch model, context_path resolution, Senior Engineer subagent, and shared memory
|
|
226
|
-
- **Dependencies**: All other tasks (Task 12 is the final documentation task)
|
|
227
|
-
- **Files**:
|
|
228
|
-
- `C:\Users\tgoodington\.claude\projects\C--Projects-Intuition\memory\MEMORY.md`
|
|
229
|
-
|
|
230
|
-
---
|
|
231
|
-
|
|
232
|
-
## 6.5. Design Recommendations
|
|
233
|
-
|
|
234
|
-
All tasks are **ready for execution**. The design specification at `C:\Projects\Intuition\docs\v7_design_spec.md` provides the full behavioral specification for every skill change:
|
|
235
|
-
|
|
236
|
-
| Task | Design Reference |
|
|
237
|
-
|------|-----------------|
|
|
238
|
-
| Task 1 (Initialize + templates) | Spec Sections 11, 3 (state schema) |
|
|
239
|
-
| Task 2 (Handoff: context-path + state writes) | Spec Section 10 (path resolution, state writes, transition detection) |
|
|
240
|
-
| Task 3 (Handoff: branch creation + migration) | Spec Sections 10 (Transition 0), 14 (migration path) |
|
|
241
|
-
| Task 4 (Start: post-completion) | Spec Section 5 |
|
|
242
|
-
| Task 5 (Prompt: context-path) | Spec Section 6 |
|
|
243
|
-
| Task 6 (Plan: branch intersection) | Spec Section 7 |
|
|
244
|
-
| Task 7 (Design: context-path) | Spec Section 8 |
|
|
245
|
-
| Task 8 (Execute: Senior Engineer) | Spec Section 9 |
|
|
246
|
-
| Task 9 (Engineer: new skill) | Spec Section 4 (complete SKILL.md specification) |
|
|
247
|
-
| Task 10 (Install scripts) | Spec Section 12 |
|
|
248
|
-
| Task 11 (Brief templates) | Spec Section 2 (folder structure, path resolution) |
|
|
249
|
-
| Task 12 (MEMORY.md) | Spec Section 13 (verbatim update text provided) |
|
|
250
|
-
|
|
251
|
-
No additional design exploration is needed. The design spec is the design output.
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## 7. Testing Strategy
|
|
256
|
-
|
|
257
|
-
### Per-Skill Verification
|
|
258
|
-
|
|
259
|
-
1. **Initialize**: Run `/intuition-initialize` on a fresh project. Verify `trunk/` and `branches/` directories are created, state file is v4.0 schema, CLAUDE.md mentions trunk/branch model, INTUITION.md lists engineer skill.
|
|
260
|
-
|
|
261
|
-
2. **Handoff — context-path**: Run a trunk workflow through prompt->handoff->plan. Verify all artifacts land in `docs/project_notes/trunk/` (not the root). Verify state writes update `state.trunk.workflow`.
|
|
262
|
-
|
|
263
|
-
3. **Handoff — branch creation**: After trunk completes, route from start to handoff with branch info. Verify branch directory is created, state has branch entry with correct fields, `active_context` is set to new branch.
|
|
264
|
-
|
|
265
|
-
4. **Handoff — v3 migration**: Take a project with v3.0 state and existing artifacts at `docs/project_notes/`. Run `/intuition-handoff`. Verify artifacts move to `trunk/`, state restructures to v4.0, shared files stay at root.
|
|
266
|
-
|
|
267
|
-
5. **Start — post-completion**: With a completed trunk, run `/intuition-start`. Verify status tree displays, two choices are presented. Select "Create a branch" and verify name/purpose/parent collection. Select "Troubleshoot" and verify routing to `/intuition-engineer`.
|
|
268
|
-
|
|
269
|
-
6. **Prompt — branch context**: Create a branch, then run `/intuition-prompt`. Verify opening message mentions branch name, parent, and purpose. Verify output files go to `docs/project_notes/branches/{key}/`.
|
|
270
|
-
|
|
271
|
-
7. **Plan — branch intersection**: Run `/intuition-plan` on a branch. Verify it reads parent's plan.md, launches intersection analysis subagent, and outputs plan with Section 2.5 (Parent Context).
|
|
272
|
-
|
|
273
|
-
8. **Design — branch context**: Run `/intuition-design` on a branch. Verify it reads/writes from `{context_path}` and checks parent design specs if relevant.
|
|
274
|
-
|
|
275
|
-
9. **Execute — Senior Engineer**: Run `/intuition-execute` on a task flagged for design. Verify it delegates to Senior Engineer (opus) subagent instead of standard Code Writer. Verify branch-aware prompts when on a branch.
|
|
276
|
-
|
|
277
|
-
10. **Engineer**: With a completed context, run `/intuition-engineer`. Verify context selection, artifact loading, issue prompting, and that it attempts holistic investigation before proposing fixes.
|
|
278
|
-
|
|
279
|
-
11. **Install scripts**: Run `node scripts/install-skills.js`. Verify `intuition-engineer` directory appears in `~/.claude/skills/`. Run uninstall and verify cleanup.
|
|
280
|
-
|
|
281
|
-
### Integration Test
|
|
282
|
-
|
|
283
|
-
Run a full trunk workflow (prompt -> handoff -> plan -> handoff -> execute -> handoff), then create a branch, run its full workflow, then invoke the engineer on the completed trunk. Verify all paths resolve correctly and state tracks both contexts independently.
|
|
284
|
-
|
|
285
|
-
---
|
|
286
|
-
|
|
287
|
-
## 8. Risks & Mitigations
|
|
288
|
-
|
|
289
|
-
| Risk | Impact | Likelihood | Mitigation |
|
|
290
|
-
|------|--------|------------|------------|
|
|
291
|
-
| Context-path bugs (wrong path resolution) | Artifacts written to wrong directory, state corruption | Medium | Every skill uses the same resolution formula; test with both trunk and branch active contexts |
|
|
292
|
-
| State migration data loss | Existing project artifacts lost during v3->v4 migration | Low | Migration moves files (not deletes); recommend users back up `docs/project_notes/` before upgrading |
|
|
293
|
-
| Handoff complexity explosion | SKILL.md exceeds 500-line limit with branch creation + migration + existing transitions | Medium | Move detailed migration logic to a migration section within the SKILL.md; keep the protocol flow concise with clear conditional branches |
|
|
294
|
-
| SKILL.md length limits (engineer) | Engineer's 9-step protocol plus critical rules may exceed 500 lines | Medium | Write concisely; the design spec is verbose for clarity but the SKILL.md should use compressed imperative directives |
|
|
295
|
-
| Branch-from-branch depth | Deep branch trees could create complex lineage | Low | v7.0 supports it structurally but documentation should recommend shallow trees; deeper support can be refined in v8.0 |
|
|
296
|
-
| Senior Engineer subagent cost | Opus subagent invocations are expensive | Low | Usage criteria gate: only for 3+ file tasks with dependencies or design specs; standard Code Writer handles everything else |
|
|
297
|
-
| v3 backward compatibility burden | Dual-schema support adds conditional logic to every skill | Medium | Only handoff and initialize handle migration; other skills warn and suggest migration rather than handling both schemas |
|
|
298
|
-
|
|
299
|
-
---
|
|
300
|
-
|
|
301
|
-
## 10. Execution Notes
|
|
302
|
-
|
|
303
|
-
### Recommended Execution Order
|
|
304
|
-
|
|
305
|
-
**Wave 1 — Foundation (no dependencies)**:
|
|
306
|
-
- Task 1 (Initialize + state template)
|
|
307
|
-
- Task 9 (Engineer skill — new file, no dependencies)
|
|
308
|
-
- Task 11 (Brief templates — independent reference files)
|
|
309
|
-
|
|
310
|
-
**Wave 2 — State owner (depends on Task 1)**:
|
|
311
|
-
- Task 2 (Handoff: context-path + state writes)
|
|
312
|
-
|
|
313
|
-
**Wave 3 — Handoff completion (depends on Task 2)**:
|
|
314
|
-
- Task 3 (Handoff: branch creation + migration)
|
|
315
|
-
|
|
316
|
-
**Wave 4 — Downstream skills (depend on Task 2, can run in parallel)**:
|
|
317
|
-
- Task 4 (Start)
|
|
318
|
-
- Task 5 (Prompt)
|
|
319
|
-
- Task 6 (Plan)
|
|
320
|
-
- Task 7 (Design)
|
|
321
|
-
- Task 8 (Execute)
|
|
322
|
-
|
|
323
|
-
**Wave 5 — Finalization (depend on previous waves)**:
|
|
324
|
-
- Task 10 (Install scripts — depends on Task 9)
|
|
325
|
-
- Task 12 (MEMORY.md — last, after all changes are confirmed)
|
|
326
|
-
|
|
327
|
-
### Parallelization Opportunities
|
|
328
|
-
|
|
329
|
-
- Tasks 1, 9, and 11 are fully independent and can execute simultaneously.
|
|
330
|
-
- Tasks 4, 5, 6, 7, and 8 are independent of each other (all depend only on Task 2) and can execute simultaneously.
|
|
331
|
-
- Task 10 only needs Task 9 complete, so it can run as soon as the engineer skill is written.
|
|
332
|
-
|
|
333
|
-
### Watch Points
|
|
334
|
-
|
|
335
|
-
- **Handoff is the critical path.** Tasks 2 and 3 must be correct before any downstream skill can be verified in integration. Spend extra verification time here.
|
|
336
|
-
- **SKILL.md line counts.** Handoff and engineer are at highest risk of exceeding 500 lines. Monitor during execution and compress if needed.
|
|
337
|
-
- **Context-path consistency.** Every skill must use the identical resolution formula. A typo in one skill (e.g., `branches` vs `branch`) creates subtle path bugs. Use the exact formula from design spec Section 2.
|
|
338
|
-
- **State write isolation.** Only handoff and initialize write state. If any other skill accidentally gains Write access to `.project-memory-state.json`, it violates the core architectural constraint.
|
|
339
|
-
- **The design spec at `C:\Projects\Intuition\docs\v7_design_spec.md` contains the full behavioral specifications for every skill change.** Execution should read the relevant section of the design spec before implementing each task — the spec provides exact protocol flows, prompt templates, critical rules, and schema definitions.
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
# Decision Framework — Direction Summary
|
|
2
|
-
|
|
3
|
-
**Status**: IMPLEMENTED — see `decision-framework-implementation.md` for build details
|
|
4
|
-
**Date**: 2026-03-03
|
|
5
|
-
|
|
6
|
-
## Problem Statement
|
|
7
|
-
|
|
8
|
-
In v9 workflows, the user (creative director) experiences two failure modes:
|
|
9
|
-
|
|
10
|
-
1. **Rubber-stamping**: Specialists surface technical decisions the user doesn't care about. The user always accepts the recommendation, making the interaction feel like wasted time.
|
|
11
|
-
2. **Silent decisions**: Specialists confidently make choices about user-facing experience, interaction patterns, and outputs without surfacing them. The user discovers these downstream when they're harder to change.
|
|
12
|
-
|
|
13
|
-
The root cause is structural: the system lacks a principled framework for classifying **who should make which decisions**. Classification currently relies on individual specialist judgment — and the classifier is the same entity making the decision, creating a blind spot.
|
|
14
|
-
|
|
15
|
-
## Core Insight
|
|
16
|
-
|
|
17
|
-
The user is the **creative director**, not the tech lead. They care about **what the user experiences** — outputs, interactions, workflows, look-and-feel. They do not care about **how the machine achieves it** — algorithms, patterns, internal architecture.
|
|
18
|
-
|
|
19
|
-
This maps to a universal pattern across creative industries (film, architecture, advertising, product management, music production): the principal retains control over the **experiential outcome**; specialists own the **technical method**.
|
|
20
|
-
|
|
21
|
-
## Research Foundations
|
|
22
|
-
|
|
23
|
-
Five external frameworks inform this direction:
|
|
24
|
-
|
|
25
|
-
### Appelo's 7 Levels of Delegation
|
|
26
|
-
A spectrum from "user decides" to "full autonomy." For practical use, the roundtable collapsed this to three tiers (see Framework below).
|
|
27
|
-
|
|
28
|
-
### RAPID (Bain & Company)
|
|
29
|
-
Separates "Recommend" from "Decide." Key insight: the specialist's job is *always* to recommend. The routing system determines whether the user reviews or the recommendation is auto-approved.
|
|
30
|
-
|
|
31
|
-
### Commander's Intent (Military / Product Management)
|
|
32
|
-
State the desired end state and why it matters. Let specialists determine how to get there. The prompt brief is the user's intent statement — it must be clear enough that downstream phases can classify decisions without guessing.
|
|
33
|
-
|
|
34
|
-
### Principal-Agent Theory (Economics)
|
|
35
|
-
The strongest alignment mechanism is **information forcing** — requiring specialists to show reasoning, surface assumptions, and present alternatives rather than just conclusions. When a specialist is confident and picks a direction silently, that's the exact scenario where blind spots occur.
|
|
36
|
-
|
|
37
|
-
### Decision Fatigue (Cognitive Psychology)
|
|
38
|
-
Every decision drains the same cognitive pool regardless of importance. The solution isn't "ask less" — it's "ask only the right things." Decision policies (rules that handle categories automatically) reduce fatigue more than individual case-by-case delegation.
|
|
39
|
-
|
|
40
|
-
## Professional Practice Patterns
|
|
41
|
-
|
|
42
|
-
Across film, architecture, advertising, product management, and music production:
|
|
43
|
-
|
|
44
|
-
- **Principal always retains**: Emotional register, strategic alignment, user/audience experience, approval gates, cross-specialist coordination
|
|
45
|
-
- **Specialist always owns**: Technical execution, tool selection, craft-level decisions, method of achieving stated outcome
|
|
46
|
-
- **Communication artifacts** (creative briefs, lookbooks, performance specs, reference tracks) all share a structure: **"here is what success feels like"** + **"here are the hard constraints"**
|
|
47
|
-
- The explicit anti-pattern in every domain is micromanagement — prescribing method when you should be evaluating outcome
|
|
48
|
-
|
|
49
|
-
## Proposed Framework: Three-Layer Decision System
|
|
50
|
-
|
|
51
|
-
### Layer 1: Prompt — Capture Intent + Posture
|
|
52
|
-
|
|
53
|
-
Prompt currently produces a brief through iterative refinement. Two additions:
|
|
54
|
-
|
|
55
|
-
**Commander's Intent Block** — a new section in the prompt brief:
|
|
56
|
-
- Desired end state: what success feels like to the end user
|
|
57
|
-
- Non-negotiables: the 2-3 things that would make the user reject the result
|
|
58
|
-
- Boundaries: constraints on the solution space (not prescribed solutions)
|
|
59
|
-
|
|
60
|
-
**Decision Posture Map** — the user's engagement preferences per brief element:
|
|
61
|
-
- "I decide" — surface with full options and tradeoffs
|
|
62
|
-
- "Show me options" — specialist recommends, user approves or redirects
|
|
63
|
-
- "Just handle it" — specialist has full autonomy
|
|
64
|
-
|
|
65
|
-
The posture map is coarse at this stage — it gets refined as outline decomposes tasks. Prompt can be somewhat longer here; the tradeoff is that more clarity upfront means fewer and faster questions in every downstream phase.
|
|
66
|
-
|
|
67
|
-
### Layer 2: Outline — Classify Decisions Per Task
|
|
68
|
-
|
|
69
|
-
Plan decomposes work into tasks. Each task gets a `Decisions` field with classified decision points:
|
|
70
|
-
|
|
71
|
-
**Three delegation tiers:**
|
|
72
|
-
|
|
73
|
-
| Label | Meaning | Appelo Equivalent |
|
|
74
|
-
|-------|---------|-------------------|
|
|
75
|
-
| `[USER]` | Specialist recommends, user decides | L2-L3 |
|
|
76
|
-
| `[SPEC]` | Specialist decides, reports rationale | L5-L6 |
|
|
77
|
-
| `[SILENT]` | Full autonomy, no report needed | L7 |
|
|
78
|
-
|
|
79
|
-
**Classification heuristic (2x2):**
|
|
80
|
-
|
|
81
|
-
| | Human-facing | Machine-facing |
|
|
82
|
-
|---|---|---|
|
|
83
|
-
| **Hard to reverse** | `[USER]` always | `[SPEC]` (reported with full reasoning) |
|
|
84
|
-
| **Easy to reverse** | `[USER]` by default, user can downgrade | `[SILENT]` |
|
|
85
|
-
|
|
86
|
-
Outline uses the Commander's Intent and Decision Posture from the prompt brief to determine what counts as "human-facing" from the user's perspective. Without that signal, outline defaults conservative.
|
|
87
|
-
|
|
88
|
-
**User confirmation**: After presenting the full task breakdown, one question: "Here are the decisions I'd surface to you during detail work. Want to reclassify any?" Shows `[USER]` and `[SPEC]` items only. One pass, not per-task. Capped at ~2-3 decisions per task to prevent overload.
|
|
89
|
-
|
|
90
|
-
### Layer 3: Downstream Phases — Follow, Log, Escalate
|
|
91
|
-
|
|
92
|
-
All phases after outline follow the delegation assignments:
|
|
93
|
-
|
|
94
|
-
**Detail / Specialists:**
|
|
95
|
-
- Follow `[USER]` / `[SPEC]` / `[SILENT]` labels from outline
|
|
96
|
-
- During Stage 1a research planning, explicitly separate "technical questions I'll resolve" from "experience questions I need principal input on"
|
|
97
|
-
- User gate surfaces `[USER]` decisions with full options + tradeoffs
|
|
98
|
-
- `[SPEC]` decisions logged with rationale
|
|
99
|
-
- New decisions discovered during work get classified using the 2x2 before being routed
|
|
100
|
-
|
|
101
|
-
**Engineer (v8 compat):**
|
|
102
|
-
- Simple boundary test: "Would the user notice this from the outside?"
|
|
103
|
-
- Decisions appended to a decision log with: decision, tier, rationale (one line), user-facing flag
|
|
104
|
-
- Gray area: implementation choices that constrain future UX get elevated to joint decisions
|
|
105
|
-
|
|
106
|
-
**Build:**
|
|
107
|
-
- Decision log is a read-only verification artifact
|
|
108
|
-
- Build report includes "Decision Compliance" section: user-reserved honored, expert-delegated applied, deviations noted
|
|
109
|
-
- Unanticipated decisions with user-facing impact: pause task and escalate, never guess
|
|
110
|
-
- Build's only autonomous domain: production logistics (task ordering, retries, format validation)
|
|
111
|
-
|
|
112
|
-
## The ECD Lens on Decision Ownership
|
|
113
|
-
|
|
114
|
-
The existing ECD framework (Elements, Connections, Dynamics) maps naturally:
|
|
115
|
-
|
|
116
|
-
- **Elements** (what exists): *Selection* of elements = user decision. *Internal composition* = specialist.
|
|
117
|
-
- **Connections** (how elements relate): Primarily user — these define experience flow. Technical protocol of connections = specialist.
|
|
118
|
-
- **Dynamics** (behavior over time): The danger zone. Experiential dynamics (loading states, error messages, progressive disclosure) = user. Mechanical dynamics (retry logic, caching strategy) = specialist. This is where implicit UX theft happens most — specialists make "technical" choices that shape what users perceive.
|
|
119
|
-
|
|
120
|
-
## Agent Architecture Considerations
|
|
121
|
-
|
|
122
|
-
- Decision policies must be serialized into agent spawn prompts (agents can't discover files)
|
|
123
|
-
- Structured decision artifacts (not free-text summaries) for reliable parsing by parent skills
|
|
124
|
-
- Classification belongs in outline (opus), not a separate agent or step
|
|
125
|
-
- Haiku research subagents never classify decisions — they flag potential decision points, opus synthesizes and classifies
|
|
126
|
-
- Decision policy blocks kept under 30 lines to avoid context bloat in agent prompts
|
|
127
|
-
|
|
128
|
-
## Open Questions
|
|
129
|
-
|
|
130
|
-
1. **Where does the decision log live?** Options include: inline in existing artifacts (code_specs.md, blueprints), a structured `decisions.json`, or a unified format that serves multiple consumers. Needs design-phase exploration.
|
|
131
|
-
|
|
132
|
-
2. **Default when unclassified.** Conservative (ask before deciding) vs. aggressive (specialist decides + reports). May be calibrated by the user's posture map — hands-on users get conservative defaults, delegators get aggressive defaults.
|
|
133
|
-
|
|
134
|
-
3. **Cross-specialist decisions.** When a decision spans multiple specialists (e.g., a database schema choice that affects API design that affects frontend display), who classifies and who decides? Likely needs coordination at the outline or handoff level.
|
|
135
|
-
|
|
136
|
-
4. **Learning over time.** Can the system build precedent? ("Last time you upgraded font choice from SILENT to USER — should I default color/typography decisions to USER going forward?") This is a future enhancement, not a v1 requirement.
|
|
137
|
-
|
|
138
|
-
5. **Metrics / feedback loop.** How does the user signal that the framework is calibrated well vs. still asking too much or too little? Post-build retrospective? Lightweight thumbs-up/down on decision quality?
|
|
139
|
-
|
|
140
|
-
## Roundtable Participants
|
|
141
|
-
|
|
142
|
-
Direction synthesized from perspectives of: Prompt, Outline, Design, Engineer, Build, Agent-Advisor — run as parallel consultation on 2026-03-03.
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
# Decision Framework — Implementation Tracker
|
|
2
|
-
|
|
3
|
-
**Source**: `docs/v9/decision-framework-direction.md`
|
|
4
|
-
**Started**: 2026-03-03
|
|
5
|
-
|
|
6
|
-
## Implementation Layers
|
|
7
|
-
|
|
8
|
-
### Layer 1: Prompt Skill — Capture Intent + Posture
|
|
9
|
-
**Status**: DONE
|
|
10
|
-
**File**: `skills/intuition-prompt/SKILL.md`
|
|
11
|
-
|
|
12
|
-
Changes made:
|
|
13
|
-
- Added INTENT step to REFINE order (between SCOPE and SUCCESS)
|
|
14
|
-
- Added POSTURE phase (Phase 4, between REFLECT and CONFIRM)
|
|
15
|
-
- Added Commander's Intent section to `prompt_brief.md` template
|
|
16
|
-
- Added Decision Posture table to `prompt_brief.md` template
|
|
17
|
-
- Added `commander_intent` and `decision_posture` fields to `prompt_output.json` template
|
|
18
|
-
- Updated phase flow: 4 phases → 5 phases, 5-7 turns → 6-9 turns
|
|
19
|
-
- Updated REFLECT to include Commander's Intent synthesis before posture question
|
|
20
|
-
|
|
21
|
-
### Layer 2: Outline Skill — Classify Decisions Per Task
|
|
22
|
-
**Status**: DONE
|
|
23
|
-
**File**: `skills/intuition-outline/SKILL.md`
|
|
24
|
-
|
|
25
|
-
Changes made:
|
|
26
|
-
- Added `Decisions` field to task template with `[USER]`/`[SPEC]`/`[SILENT]` tier classifications
|
|
27
|
-
- Added 2x2 classification heuristic (human-facing × reversibility) as Section 10 reference
|
|
28
|
-
- Added Decision Policy output (conservative/aggressive) based on Commander's Intent + Posture Map
|
|
29
|
-
- Added post-outline confirmation step: "Want to reclassify any decisions?" with shift options
|
|
30
|
-
- Added decision classification checklist item
|
|
31
|
-
|
|
32
|
-
Each outline task gets a `Decisions` field with classified decision points using three tiers:
|
|
33
|
-
|
|
34
|
-
| Label | Meaning | Appelo Equivalent |
|
|
35
|
-
|-------|---------|-------------------|
|
|
36
|
-
| `[USER]` | Specialist recommends, user decides | L2-L3 |
|
|
37
|
-
| `[SPEC]` | Specialist decides, reports rationale | L5-L6 |
|
|
38
|
-
| `[SILENT]` | Full autonomy, no report needed | L7 |
|
|
39
|
-
|
|
40
|
-
Classification heuristic (2x2):
|
|
41
|
-
|
|
42
|
-
| | Human-facing | Machine-facing |
|
|
43
|
-
|---|---|---|
|
|
44
|
-
| **Hard to reverse** | `[USER]` always | `[SPEC]` (reported with full reasoning) |
|
|
45
|
-
| **Easy to reverse** | `[USER]` by default, user can downgrade | `[SILENT]` |
|
|
46
|
-
|
|
47
|
-
Plan reads Commander's Intent and Decision Posture from prompt brief to determine what counts as "human-facing." Without that signal, defaults conservative.
|
|
48
|
-
|
|
49
|
-
After presenting the full task breakdown, one confirmation question: "Here are the decisions I'd surface to you during detail work. Want to reclassify any?" Shows `[USER]` and `[SPEC]` items only. One pass, not per-task. Cap at ~2-3 decisions per task.
|
|
50
|
-
|
|
51
|
-
### Layer 3: Downstream Phases — Follow, Log, Escalate
|
|
52
|
-
**Status**: DONE
|
|
53
|
-
**Files**: `skills/intuition-detail/SKILL.md`, `skills/intuition-build/SKILL.md`
|
|
54
|
-
|
|
55
|
-
Changes made (detail):
|
|
56
|
-
- Step 2: extracts decision classifications + decision policy from detail brief
|
|
57
|
-
- Stage 1a: research budget cap (Deep: 3, Standard: 2) + decision tier awareness in specialist framing
|
|
58
|
-
- Stage 1b: hard enforcement of research cap with warning log
|
|
59
|
-
- Stage 1c: tier tagging in synthesis output ([UNCLASSIFIED] for specialist-discovered decisions)
|
|
60
|
-
- User Gate Phase 2: split into 2a (USER→ask), 2b (SPEC→display+auto-record), 2c (UNCLASSIFIED→classify via 2x2 then route)
|
|
61
|
-
- decisions.json schema: added `decision_policy`, `tier`, `classified_by` fields
|
|
62
|
-
- New section: CLASSIFYING UNCLASSIFIED DECISIONS (2x2 heuristic + posture-based borderline handling)
|
|
63
|
-
|
|
64
|
-
Changes made (build):
|
|
65
|
-
- Removed all v8 compat artifacts (~135 lines: v8 mode detection, steps, subagents, delegation, verification, report)
|
|
66
|
-
- Step 1: reads `scratch/*-decisions.json` + extracts decision log from blueprint Section 4
|
|
67
|
-
- Layer 2 verification: checks [USER] decisions honored, [SPEC] rationale documented, flags untraced producer choices
|
|
68
|
-
- Build report: new "Decision Compliance" section per task
|
|
69
|
-
- New "Unanticipated Decision Escalation" rule: human-facing unclassified decisions pause+escalate
|
|
70
|
-
|
|
71
|
-
**Detail / Specialists:**
|
|
72
|
-
- Follow `[USER]`/`[SPEC]`/`[SILENT]` labels from outline
|
|
73
|
-
- Stage 1a: explicitly separate "technical questions I'll resolve" from "experience questions needing principal input"
|
|
74
|
-
- User gate surfaces `[USER]` decisions with full options + tradeoffs
|
|
75
|
-
- `[SPEC]` decisions logged with rationale
|
|
76
|
-
- New decisions discovered during work get classified using the 2x2 before routing
|
|
77
|
-
|
|
78
|
-
**Engineer (v8 compat):**
|
|
79
|
-
- Boundary test: "Would the user notice this from the outside?"
|
|
80
|
-
- Append to decision log: decision, tier, rationale (one line), user-facing flag
|
|
81
|
-
- Elevate implementation choices that constrain future UX to joint decisions
|
|
82
|
-
|
|
83
|
-
**Build:**
|
|
84
|
-
- Decision log is read-only verification artifact
|
|
85
|
-
- Build report includes "Decision Compliance" section: user-reserved honored, expert-delegated applied, deviations noted
|
|
86
|
-
- Unanticipated decisions with user-facing impact: pause and escalate, never guess
|
|
87
|
-
- Autonomous domain: production logistics only (task ordering, retries, format validation)
|
|
88
|
-
|
|
89
|
-
## Open Design Decisions
|
|
90
|
-
|
|
91
|
-
### D1: Decision Log Location & Format
|
|
92
|
-
**Status**: RESOLVED — decisions.json with tier field
|
|
93
|
-
|
|
94
|
-
Uses the existing `decisions.json` file that detail already writes. Added `tier` and `classified_by` fields to each decision entry, plus `decision_policy` at the root. Build reads this for compliance verification. No new file needed.
|
|
95
|
-
|
|
96
|
-
### D2: Default for Unclassified Decisions
|
|
97
|
-
**Status**: RESOLVED — posture-calibrated (conservative/aggressive from outline Section 10)
|
|
98
|
-
|
|
99
|
-
Detail reads the Decision Policy from outline Section 10. If the user's posture leans hands-on (many "I decide" areas), unclassified decisions default to `[USER]`. If delegator posture, default to `[SPEC]`. Encoded as `"decision_policy": "conservative"` or `"aggressive"` in decisions.json.
|
|
100
|
-
|
|
101
|
-
### D3: Cross-Specialist Decisions
|
|
102
|
-
**Status**: RESOLVED — first specialist owns, deferred to handoff for v2
|
|
103
|
-
|
|
104
|
-
When handoff passes prior blueprints to the next specialist, it already includes cross-specialist context. The outline's Decisions field tags the owning task. If a decision spans tasks assigned to different specialists, the first specialist to encounter it owns the classification.
|
|
105
|
-
|
|
106
|
-
### D4: Learning Over Time
|
|
107
|
-
**Status**: DEFERRED (not v1)
|
|
108
|
-
|
|
109
|
-
Can the system build precedent from past decisions? ("Last time you upgraded font choice from SILENT to USER — should I default typography decisions to USER going forward?")
|
|
110
|
-
|
|
111
|
-
### D5: Metrics & Feedback Loop
|
|
112
|
-
**Status**: DEFERRED (not v1)
|
|
113
|
-
|
|
114
|
-
How does the user signal the framework is calibrated well vs. still asking too much or too little? Post-build retrospective? Lightweight thumbs-up/down?
|