oneie 3.6.7 → 3.6.12
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/.claude/agents/agent-backend.md +83 -0
- package/.claude/agents/agent-designer.md +97 -0
- package/.claude/agents/agent-director.md +118 -7
- package/.claude/agents/agent-documenter.md +93 -0
- package/.claude/agents/agent-frontend.md +96 -0
- package/.claude/agents/agent-ops.md +264 -32
- package/.claude/agents/agent-problem-solver.md +166 -0
- package/.claude/agents/agent-quality.md +127 -0
- package/.claude/commands/build.md +293 -0
- package/.claude/commands/cascade.md +231 -127
- package/.claude/commands/deploy.md +56 -17
- package/.claude/commands/mcp-toggle.md +93 -0
- package/.claude/commands/one.md +78 -127
- package/.claude/commands/plan.md +394 -80
- package/.claude/commands/push.md +75 -14
- package/.claude/commands/release.md +89 -25
- package/.claude/commands/server.md +2 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/root-cleanup.py +75 -0
- package/.claude/skills/INDEX.md +523 -0
- package/.claude/skills/REGISTRY.md +529 -0
- package/.claude/skills/agent-backend-create-mutation.md +319 -0
- package/.claude/skills/agent-designer-create-wireframe.md +341 -0
- package/.claude/skills/agent-frontend-create-page.md +413 -0
- package/.claude/skills/agents/README.md +238 -0
- package/dist/clone-web.js +1 -1
- package/dist/clone-web.js.map +1 -1
- package/folders.yaml +1 -1
- package/one/.obsidian/workspace.json +38 -38
- package/one/connections/api/queries-reference.md +842 -0
- package/one/connections/api-reference.md +1011 -0
- package/one/connections/integration-examples.md +875 -0
- package/one/connections/integration-guide.md +869 -0
- package/one/connections/integration-phase2.md +736 -0
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +262 -0
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +636 -0
- package/one/events/BEFORE_AFTER_COMPARISON.md +960 -0
- package/one/events/CONNECTIONS_DEMO.md +501 -0
- package/one/events/DELIVERABLES.md +432 -0
- package/one/events/DEMO-GROUPS-PAGE.md +392 -0
- package/one/events/DEMO-TESTING-SUMMARY.md +518 -0
- package/one/events/DEMO_COMPONENTS.md +487 -0
- package/one/events/DEMO_HOOKS_INDEX.md +334 -0
- package/one/events/DEMO_INFRASTRUCTURE.md +905 -0
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +570 -0
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +431 -0
- package/one/events/DEMO_QUICK_REFERENCE.md +441 -0
- package/one/events/DEMO_SETUP.md +476 -0
- package/one/events/EFFECT_TS_API_PATTERN.md +478 -0
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +414 -0
- package/one/events/HOOKS-DEMO.md +441 -0
- package/one/events/ONTOLOGY-HOOKS-README.md +700 -0
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +365 -0
- package/one/events/QA-CHECKLIST.md +674 -0
- package/one/events/QUICK-START-ONTOLOGY.md +408 -0
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +639 -0
- package/one/events/SEARCH_DEMO_DELIVERY.md +415 -0
- package/one/events/SEARCH_DEMO_SUMMARY.md +303 -0
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +381 -0
- package/one/events/TEST-PLAN-INDEX.md +346 -0
- package/one/events/TEST-PLAN.md +1417 -0
- package/one/events/TESTING-DELIVERY.txt +372 -0
- package/one/events/TRANSITIONS-QUICK-START.md +141 -0
- package/one/events/TYPESCRIPT_FIXES.md +152 -0
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +412 -0
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +341 -0
- package/one/events/VIEW-TRANSITIONS.md +428 -0
- package/one/events/backend-integration-tests.md +606 -0
- package/one/events/backend-structure-diagram.txt +393 -0
- package/one/events/backend-structure-summary.txt +269 -0
- package/one/events/cloudflare-pages-infrastructure-setup.md +264 -0
- package/one/events/convex-analysis-index.md +304 -0
- package/one/events/convex-structure-analysis.md +700 -0
- package/one/events/design-spec-complete.md +208 -0
- package/one/events/ontology-test-examples.md +562 -0
- package/one/events/phase1-backend-implementation-complete.md +518 -0
- package/one/events/test-dashboard.md +345 -0
- package/one/events/test-index.md +361 -0
- package/one/events/test-report-ontology.md +582 -0
- package/one/events/testing-summary.md +344 -0
- package/one/groups/features.md +2878 -0
- package/one/groups/strategy copy.md +869 -0
- package/one/knowledge/backend-api-reference.md +710 -0
- package/one/knowledge/documentation-summary.md +285 -0
- package/one/knowledge/lessons-learned.md +294 -4
- package/one/knowledge/ontology-visual-guide.md +360 -0
- package/one/knowledge/ontology.md +9 -17
- package/one/things/demo-accessibility-animations.md +999 -0
- package/one/things/demo-components.md +1304 -0
- package/one/things/demo-design-summary.md +629 -0
- package/one/things/demo-design-system.md +919 -0
- package/one/things/demo-page-layouts.md +989 -0
- package/one/things/designs/accessibility-audit.md +790 -0
- package/one/things/designs/component-specifications.md +757 -0
- package/one/things/designs/design-overview.md +318 -0
- package/one/things/designs/design-tokens.md +414 -0
- package/one/things/designs/wireframes-dashboard.md +653 -0
- package/one/things/docs/api-requests.md +923 -0
- package/one/things/features/0 All Features.md +2 -0
- package/one/things/implementation/backend-guide.md +412 -0
- package/one/things/plans/2-backend-agnostic-frontend.md +11 -8
- package/one/things/plans/2-sites.md +895 -0
- package/one/things/plans/ai-elements.md +1259 -0
- package/one/things/plans/ai-integration.md +947 -0
- package/one/things/plans/ai-sdk.md +761 -0
- package/one/things/plans/app.md +1 -1
- package/one/things/plans/architecture-summary.md +283 -0
- package/one/things/plans/async-ai-agents.md +215 -0
- package/one/things/plans/backend-agnostic-frontend.md +11 -6
- package/one/things/plans/backend-cleanup-quickstart.md +346 -0
- package/one/things/plans/backend-ontology-conformance.md +416 -0
- package/one/things/plans/backend-status.md +541 -0
- package/one/things/plans/backend-structure.md +799 -0
- package/one/things/plans/backend-target-structure.md +438 -0
- package/one/things/plans/backend.md +1133 -0
- package/one/things/plans/better-auth-any-backend.md +11 -11
- package/one/things/plans/cli-updates-required.md +280 -0
- package/one/things/plans/complete-step-by-step.md +1302 -0
- package/one/things/plans/convex-agents.md +1005 -0
- package/one/things/plans/deployment-architecture.md +426 -0
- package/one/things/plans/development-plan.md +1220 -0
- package/one/things/plans/effect.md +808 -48
- package/one/things/plans/integrate-frontend-and-backend.md +579 -0
- package/one/things/plans/mcp-clear-context-prompt.md +60 -0
- package/one/things/plans/mcp-simple.md +228 -0
- package/one/things/plans/one.md +8 -7
- package/one/things/plans/ontology-6-dimensions.md +20 -14
- package/one/things/plans/quick-wins.md +1273 -0
- package/one/things/plans/readme-backend-cleanup.md +361 -0
- package/one/things/plans/separate-demo.md +830 -0
- package/one/things/plans/separate.md +3 -3
- package/one/things/plans/sequence.md +1897 -0
- package/one/things/plans/sync-checklist.md +321 -0
- package/one/things/plans/unified-implementation-plan.md +3 -3
- package/one/things/plans/update-demos.md +513 -0
- package/package.json +1 -1
- package/.claude/agents/backend-specialist.md +0 -169
- package/.claude/agents/designer.md +0 -216
- package/.claude/agents/frontend-specialist.md +0 -236
- package/.claude/commands/done.md +0 -35
- package/.claude/commands/infer.md +0 -138
- package/.claude/commands/next.md +0 -53
- package/.claude/commands/one copy.md +0 -565
- package/.claude/commands/one-template.md +0 -106
- package/.claude/commands/one-v1.md +0 -609
- package/.claude/hooks/__pycache__/knowledge-post.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/knowledge-pre.cpython-313.pyc +0 -0
- package/one/groups/nine-padel-customers.md +0 -138
- package/one/groups/nine-padel-data-structure.md +0 -167
- package/one/groups/nine-padel-ontology-specification.md +0 -359
- package/one/groups/nine-padel-ontology.md +0 -143
- package/one/groups/nine-padel-strategy.md +0 -234
- package/one/groups/nine-padel.md +0 -211
- package/one/groups/nine-padle-contents.baked.md +0 -1252
- package/one/groups/nine-padle-contents.md +0 -6
- package/one/things/features/1-1-agent-prompts/design.md +0 -470
- package/one/things/features/1-1-agent-prompts/tests.md +0 -264
- package/one/things/features/1-2-yaml-orchestrator/design.md +0 -497
- package/one/things/features/1-2-yaml-orchestrator/tests.md +0 -227
- package/one/things/features/1-3-event-coordination/design.md +0 -544
- package/one/things/features/1-3-event-coordination/tests.md +0 -223
- package/one/things/features/1-4-knowledge-management/design.md +0 -609
- package/one/things/features/1-4-knowledge-management/tests.md +0 -195
- package/one/things/features/1-5-quality-loops/design.md +0 -797
- package/one/things/features/1-5-quality-loops/tests.md +0 -212
- package/one/things/features/1-6-numbering-structure/design.md +0 -610
- package/one/things/features/1-6-numbering-structure/tests.md +0 -213
- package/one/things/features/dataprovider-interface/1-tests.md +0 -1522
package/.claude/commands/plan.md
CHANGED
|
@@ -1,128 +1,442 @@
|
|
|
1
|
-
# /plan -
|
|
1
|
+
# /plan - Convert Ideas to Implementation Plans with CASCADE
|
|
2
2
|
|
|
3
|
-
**Purpose:**
|
|
3
|
+
**Purpose:** Transform ideas into detailed 100-inference plans with automatic agent assignment and task breakdown.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Core Functionality
|
|
6
|
+
|
|
7
|
+
### Convert Idea to Full Plan
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
/plan
|
|
10
|
+
/plan convert "Build a course platform with AI tutors"
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
13
|
+
Generates:
|
|
14
|
+
- ✅ 100-inference execution plan
|
|
15
|
+
- ✅ Automatic agent assignments
|
|
16
|
+
- ✅ Task dependencies & timeline
|
|
17
|
+
- ✅ 6-dimension ontology mapping
|
|
18
|
+
- ✅ Quality loop workflow
|
|
19
|
+
- ✅ Estimated tokens & budget
|
|
20
|
+
|
|
21
|
+
## Quick Usage
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
### Plan Conversion (CASCADE Integration)
|
|
19
24
|
|
|
20
|
-
### By Dimension
|
|
21
25
|
```bash
|
|
22
|
-
/plan
|
|
23
|
-
/plan
|
|
24
|
-
/plan
|
|
25
|
-
/plan --dimension=connections # Show only relationship inferences
|
|
26
|
-
/plan --dimension=events # Show only event inferences
|
|
27
|
-
/plan --dimension=knowledge # Show only knowledge/RAG inferences
|
|
26
|
+
/plan convert [idea] # Convert idea to full plan
|
|
27
|
+
/plan show # Show current plan with assignments
|
|
28
|
+
/plan export [format] # Export plan (md, json, csv)
|
|
28
29
|
```
|
|
29
30
|
|
|
30
|
-
###
|
|
31
|
+
### Execution Management
|
|
32
|
+
|
|
31
33
|
```bash
|
|
32
|
-
/
|
|
33
|
-
/
|
|
34
|
-
/
|
|
35
|
-
/
|
|
36
|
-
/plan --specialist=design # Show design inferences (71-80)
|
|
37
|
-
/plan --specialist=documenter # Show documentation inferences (95-100)
|
|
34
|
+
/now # Show current inference & task
|
|
35
|
+
/next # Advance to next inference
|
|
36
|
+
/done # Mark complete & advance
|
|
37
|
+
/goto [N] # Jump to inference N
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
###
|
|
40
|
+
### Plan Filtering & Analysis
|
|
41
|
+
|
|
41
42
|
```bash
|
|
42
|
-
/plan --
|
|
43
|
-
/plan --
|
|
44
|
-
/plan --status=
|
|
45
|
-
/plan
|
|
43
|
+
/plan filter --agent=[name] # Filter by agent (backend, frontend, etc)
|
|
44
|
+
/plan filter --dimension=[name] # Filter by dimension (things, connections, etc)
|
|
45
|
+
/plan filter --status=[status] # Filter by status (completed, pending, blocked)
|
|
46
|
+
/plan dependencies # Show task dependencies
|
|
47
|
+
/plan timeline # Show gantt-style timeline
|
|
48
|
+
/plan stats # Show plan statistics
|
|
46
49
|
```
|
|
47
50
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
## Example: Converting an Idea to a Plan
|
|
52
|
+
|
|
53
|
+
### Input
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
/plan convert "Build a course platform where creators can:
|
|
57
|
+
- Upload courses with lessons and quizzes
|
|
58
|
+
- Set up AI tutors that answer student questions
|
|
59
|
+
- Earn tokens that students can buy/trade
|
|
60
|
+
- Access analytics on student progress
|
|
61
|
+
- Build a community with forums and discussions"
|
|
53
62
|
```
|
|
54
63
|
|
|
55
|
-
|
|
64
|
+
### Output
|
|
56
65
|
|
|
57
|
-
```bash
|
|
58
|
-
/plan --specialist=backend --status=pending
|
|
59
|
-
/plan --dimension=knowledge --range=51-60
|
|
60
|
-
/plan --status=skipped --show-dependencies
|
|
61
66
|
```
|
|
67
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
68
|
+
📋 IDEA CONVERTED TO IMPLEMENTATION PLAN
|
|
69
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
70
|
+
|
|
71
|
+
Idea: Course Platform with AI Tutors & Token Economy
|
|
72
|
+
Status: ✅ Plan generated | 100 inferences | 15 agents assigned
|
|
73
|
+
|
|
74
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
75
|
+
📊 PLAN OVERVIEW
|
|
76
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
77
|
+
|
|
78
|
+
Total Inferences: 100
|
|
79
|
+
Estimated Duration: 90 days
|
|
80
|
+
Estimated Tokens: ~500K
|
|
81
|
+
Quality Loops: 4
|
|
82
|
+
Agent Teams: 15 specialists
|
|
83
|
+
|
|
84
|
+
6-Dimension Coverage:
|
|
85
|
+
✅ Groups (multi-tenant orgs)
|
|
86
|
+
✅ People (roles & permissions)
|
|
87
|
+
✅ Things (entities: courses, lessons, tokens)
|
|
88
|
+
✅ Connections (relationships between entities)
|
|
89
|
+
✅ Events (audit trail, activity log)
|
|
90
|
+
✅ Knowledge (RAG for AI tutors)
|
|
91
|
+
|
|
92
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
93
|
+
🎯 AGENT ASSIGNMENTS (Automatic)
|
|
94
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
95
|
+
|
|
96
|
+
Lead Orchestrator:
|
|
97
|
+
🤖 agent-director (infers 1-10, coordinates all specialists)
|
|
98
|
+
|
|
99
|
+
Foundation Phase (Infer 1-10):
|
|
100
|
+
📊 Validation, mapping, planning with agent-director
|
|
101
|
+
✅ All done by orchestrator + planning
|
|
102
|
+
|
|
103
|
+
Backend Phase (Infer 11-30):
|
|
104
|
+
⚙️ agent-backend: Schema, mutations, queries, services
|
|
105
|
+
- Infer 11-20: Convex schema design (groups, entities, connections, events)
|
|
106
|
+
- Infer 21-30: Core mutations (create, update, delete)
|
|
107
|
+
- Infer 41-50: Advanced queries (filtering, pagination, relationships)
|
|
108
|
+
|
|
109
|
+
Frontend Phase (Infer 31-50):
|
|
110
|
+
🎨 agent-frontend: Pages, components, UI/UX
|
|
111
|
+
- Infer 31-40: Astro pages (course list, detail, creator dashboard)
|
|
112
|
+
- Infer 51-60: React components (course card, lesson player, forum)
|
|
113
|
+
- Infer 71-80: Performance optimization
|
|
114
|
+
|
|
115
|
+
Design Phase (Infer 21-40):
|
|
116
|
+
🎭 agent-designer: Wireframes, tokens, specs
|
|
117
|
+
- Infer 21-30: Wireframes (acceptance criteria → UI elements)
|
|
118
|
+
- Infer 31-40: Design tokens (brand colors, spacing, typography)
|
|
119
|
+
- Infer 41-50: Component specifications
|
|
120
|
+
|
|
121
|
+
Quality Phase (Infer 41-60):
|
|
122
|
+
🧪 agent-quality: Tests, validation, requirements
|
|
123
|
+
- Infer 41-50: User flows & acceptance criteria
|
|
124
|
+
- Infer 51-60: Test suite execution
|
|
125
|
+
- Infer 61-70: Quality loop (test → fix → verify)
|
|
126
|
+
|
|
127
|
+
Support Specialists (Throughout):
|
|
128
|
+
🔧 agent-problem-solver: Analyzes test failures, proposes fixes
|
|
129
|
+
📝 agent-documenter: Writes docs, captures lessons
|
|
130
|
+
🚀 agent-ops: Sets up CI/CD, prepares deployment
|
|
131
|
+
|
|
132
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
133
|
+
📈 PHASE BREAKDOWN (100 Inferences)
|
|
134
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
135
|
+
|
|
136
|
+
Infer 1-10: Foundation & Understanding
|
|
137
|
+
- Validate idea against 6-dimension ontology
|
|
138
|
+
- Map entity types (courses, lessons, tokens, users)
|
|
139
|
+
- Identify connection types (owns, enrolls, holds_tokens)
|
|
140
|
+
- List event types (course_created, quiz_completed, token_earned)
|
|
141
|
+
- Determine knowledge requirements (RAG for AI tutors)
|
|
142
|
+
- Identify org scope (multi-tenant per creator)
|
|
143
|
+
- Define people roles (creator, student, admin)
|
|
144
|
+
- Create vision document
|
|
145
|
+
- Break down features
|
|
146
|
+
- Create 100-inference plan ← You are here!
|
|
147
|
+
|
|
148
|
+
Infer 11-20: Backend Schema & Services
|
|
149
|
+
- Design Convex schema (groups, things, connections, events, knowledge)
|
|
150
|
+
- Define entity types (course, lesson, quiz, token, user, ai_clone)
|
|
151
|
+
- Create relationship types (owns, enrolled_in, holds_tokens)
|
|
152
|
+
- Plan service layer (CourseService, TokenService, AITutorService)
|
|
153
|
+
- Define mutations (createCourse, enrollStudent, earnToken)
|
|
154
|
+
- Plan queries (listCourses, getStudent, checkTokenBalance)
|
|
155
|
+
|
|
156
|
+
Infer 21-30: Frontend Pages & Wireframes
|
|
157
|
+
- Design course list page (SSR with server data)
|
|
158
|
+
- Design course detail page (interactive lessons)
|
|
159
|
+
- Design creator dashboard (analytics, course management)
|
|
160
|
+
- Design AI tutor chat interface
|
|
161
|
+
- Create wireframes satisfying acceptance criteria
|
|
162
|
+
- Plan component hierarchy
|
|
163
|
+
- Design token system UI
|
|
164
|
+
|
|
165
|
+
Infer 31-40: Design Tokens & System
|
|
166
|
+
- Extract brand colors (from onboarding)
|
|
167
|
+
- Create typography scale
|
|
168
|
+
- Define spacing system
|
|
169
|
+
- Generate Tailwind v4 tokens
|
|
170
|
+
- Ensure WCAG AA contrast
|
|
171
|
+
- Create component specs with props
|
|
172
|
+
|
|
173
|
+
Infer 41-50: Quality & Testing
|
|
174
|
+
- Define user flows (creator: upload course, student: take course)
|
|
175
|
+
- Create acceptance criteria (all features testable)
|
|
176
|
+
- Define test suite (unit, integration, e2e)
|
|
177
|
+
- Start test implementation
|
|
178
|
+
- Run tests against schema
|
|
179
|
+
|
|
180
|
+
Infer 51-60: Backend Implementation
|
|
181
|
+
- Implement Convex mutations (createCourse, enrollStudent)
|
|
182
|
+
- Implement queries (listCourses, getProgress)
|
|
183
|
+
- Create Effect.ts services (business logic)
|
|
184
|
+
- Add event logging (complete audit trail)
|
|
185
|
+
- Implement multi-tenant isolation
|
|
186
|
+
|
|
187
|
+
Infer 61-70: Frontend Implementation
|
|
188
|
+
- Implement Astro pages (SSR + React islands)
|
|
189
|
+
- Build React components (course cards, lesson player)
|
|
190
|
+
- Integrate Convex queries (useQuery, useMutation)
|
|
191
|
+
- Add loading/error states
|
|
192
|
+
- Optimize performance (90+ Lighthouse)
|
|
193
|
+
|
|
194
|
+
Infer 71-80: AI Tutor Integration
|
|
195
|
+
- Integrate Claude API for responses
|
|
196
|
+
- Implement RAG (Retrieval-Augmented Generation)
|
|
197
|
+
- Connect knowledge base (course content → embeddings)
|
|
198
|
+
- Create AI personality system
|
|
199
|
+
- Test tutor quality
|
|
200
|
+
|
|
201
|
+
Infer 81-90: Quality Assurance
|
|
202
|
+
- Run full test suite
|
|
203
|
+
- Fix failing tests
|
|
204
|
+
- Performance testing (Core Web Vitals)
|
|
205
|
+
- Security testing
|
|
206
|
+
- Accessibility audit (WCAG AA)
|
|
207
|
+
|
|
208
|
+
Infer 91-100: Deployment & Documentation
|
|
209
|
+
- Write user documentation
|
|
210
|
+
- Create API documentation
|
|
211
|
+
- Set up CI/CD pipeline
|
|
212
|
+
- Deploy to Cloudflare Pages (frontend)
|
|
213
|
+
- Deploy to Convex Cloud (backend)
|
|
214
|
+
- Write deployment guide
|
|
215
|
+
|
|
216
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
217
|
+
🔗 AGENT TASK ASSIGNMENTS
|
|
218
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
219
|
+
|
|
220
|
+
agent-backend assigned:
|
|
221
|
+
- Infer 11-20: Schema design
|
|
222
|
+
- Infer 41-50: Queries design
|
|
223
|
+
- Infer 51-60: Mutation implementation
|
|
224
|
+
- Skills: agent-backend:create-mutation, create-query, design-schema
|
|
225
|
+
|
|
226
|
+
agent-frontend assigned:
|
|
227
|
+
- Infer 21-30: Page wireframes
|
|
228
|
+
- Infer 61-70: Component implementation
|
|
229
|
+
- Infer 81-90: Performance optimization
|
|
230
|
+
- Skills: agent-frontend:create-page, create-component, optimize-performance
|
|
231
|
+
|
|
232
|
+
agent-designer assigned:
|
|
233
|
+
- Infer 21-30: Wireframe generation
|
|
234
|
+
- Infer 31-40: Token & spec definition
|
|
235
|
+
- Skills: agent-designer:create-wireframe, define-components, set-design-tokens
|
|
236
|
+
|
|
237
|
+
agent-quality assigned:
|
|
238
|
+
- Infer 41-50: Test definition
|
|
239
|
+
- Infer 61-70: Test execution
|
|
240
|
+
- Infer 81-90: Full quality suite
|
|
241
|
+
- Skills: agent-quality:define-tests, run-tests, validate-ontology
|
|
62
242
|
|
|
63
|
-
|
|
243
|
+
agent-problem-solver assigned:
|
|
244
|
+
- Throughout: Monitor test failures
|
|
245
|
+
- When needed: Analyze root causes
|
|
246
|
+
- Delegate fixes to specialists
|
|
64
247
|
|
|
248
|
+
agent-ops assigned:
|
|
249
|
+
- Infer 91-100: CI/CD setup
|
|
250
|
+
- Deployment configuration
|
|
251
|
+
- Production monitoring
|
|
252
|
+
|
|
253
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
254
|
+
💾 DEPENDENCIES & TIMELINE
|
|
255
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
256
|
+
|
|
257
|
+
Sequential (Cannot run in parallel):
|
|
258
|
+
1-10 (Foundation) → All other phases
|
|
259
|
+
|
|
260
|
+
Parallel Tracks (Can run simultaneously after Foundation):
|
|
261
|
+
Backend Track: Infer 11-20 → 41-50 → 51-60
|
|
262
|
+
Frontend Track: Infer 21-30 → 61-70
|
|
263
|
+
Design Track: Infer 21-30 → 31-40
|
|
264
|
+
Quality Track: Infer 41-50 → 61-70 → 81-90
|
|
265
|
+
Integration: Infer 71-80 (after backend + frontend core)
|
|
266
|
+
|
|
267
|
+
Critical Path:
|
|
268
|
+
Foundation → Backend Schema → Mutations → Frontend Implementation
|
|
269
|
+
(28 days minimum, parallelization can reduce)
|
|
270
|
+
|
|
271
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
272
|
+
🎯 NEXT STEPS
|
|
273
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
274
|
+
|
|
275
|
+
1. View full plan:
|
|
276
|
+
/plan show
|
|
277
|
+
|
|
278
|
+
2. See task assignments:
|
|
279
|
+
/plan filter --agent=backend
|
|
280
|
+
|
|
281
|
+
3. Start execution:
|
|
282
|
+
/now - See Infer 1 context
|
|
283
|
+
/next - Move through plan
|
|
284
|
+
/done - Mark complete & advance
|
|
285
|
+
|
|
286
|
+
4. Monitor agents:
|
|
287
|
+
/agent dashboard - See all agents working
|
|
288
|
+
/agent [name] - View specific agent
|
|
289
|
+
|
|
290
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
65
291
|
```
|
|
66
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
67
|
-
📋 INFERENCE PLAN: Feature Name
|
|
68
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
69
292
|
|
|
70
|
-
|
|
293
|
+
## Advanced Features
|
|
71
294
|
|
|
72
|
-
|
|
73
|
-
📦 INFER 1-10: FOUNDATION & SETUP
|
|
74
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
295
|
+
### Plan Filtering
|
|
75
296
|
|
|
76
|
-
|
|
77
|
-
|
|
297
|
+
```bash
|
|
298
|
+
# Filter by agent
|
|
299
|
+
/plan filter --agent=backend # Shows backend inferences
|
|
300
|
+
/plan filter --agent=frontend # Shows frontend inferences
|
|
301
|
+
/plan filter --agent=designer # Shows design inferences
|
|
302
|
+
|
|
303
|
+
# Filter by dimension
|
|
304
|
+
/plan filter --dimension=things # Entity-related tasks
|
|
305
|
+
/plan filter --dimension=connections # Relationship-related tasks
|
|
306
|
+
/plan filter --dimension=events # Event-related tasks
|
|
78
307
|
|
|
79
|
-
|
|
80
|
-
|
|
308
|
+
# Filter by status
|
|
309
|
+
/plan filter --status=pending # Not started
|
|
310
|
+
/plan filter --status=completed # Already done
|
|
311
|
+
/plan filter --status=blocked # Dependencies unmet
|
|
312
|
+
```
|
|
81
313
|
|
|
82
|
-
|
|
83
|
-
|
|
314
|
+
### Plan Analysis
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
# View dependencies
|
|
318
|
+
/plan dependencies # Show all task dependencies
|
|
84
319
|
|
|
85
|
-
|
|
86
|
-
|
|
320
|
+
# Show timeline
|
|
321
|
+
/plan timeline # Show gantt chart of phases
|
|
87
322
|
|
|
88
|
-
|
|
323
|
+
# Get statistics
|
|
324
|
+
/plan stats # Show plan metrics
|
|
325
|
+
- Total inferences: 100
|
|
326
|
+
- Agents assigned: 15
|
|
327
|
+
- Estimated duration: 90 days
|
|
328
|
+
- Parallel tracks: 5
|
|
329
|
+
- Quality loops: 4
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
### Export Plan
|
|
333
|
+
|
|
334
|
+
```bash
|
|
335
|
+
# Export to different formats
|
|
336
|
+
/plan export markdown # one/plans/[feature-name].md
|
|
337
|
+
/plan export json # .claude/state/plan.json
|
|
338
|
+
/plan export csv # plan.csv (for spreadsheets)
|
|
339
|
+
/plan export timeline # project timeline format
|
|
89
340
|
|
|
90
|
-
|
|
341
|
+
# Share plan
|
|
342
|
+
/plan share # Generate shareable link
|
|
91
343
|
```
|
|
92
344
|
|
|
93
|
-
##
|
|
345
|
+
## Plan Structure
|
|
94
346
|
|
|
95
|
-
|
|
96
|
-
- ⏸️ = Current (in progress)
|
|
97
|
-
- ⏭️ = Skipped (not applicable)
|
|
98
|
-
- ⏹️ = Pending
|
|
99
|
-
- 🚫 = Blocked (dependencies not met)
|
|
347
|
+
Each plan includes:
|
|
100
348
|
|
|
101
|
-
|
|
349
|
+
### 1. Idea Validation
|
|
350
|
+
- Maps to 6-dimension ontology
|
|
351
|
+
- Identifies entity types
|
|
352
|
+
- Lists required connections
|
|
353
|
+
- Determines event types
|
|
354
|
+
|
|
355
|
+
### 2. 100-Inference Breakdown
|
|
356
|
+
- Foundation (Infer 1-10)
|
|
357
|
+
- Backend (Infer 11-50)
|
|
358
|
+
- Frontend (Infer 21-80)
|
|
359
|
+
- Quality (Infer 41-90)
|
|
360
|
+
- Operations (Infer 91-100)
|
|
361
|
+
|
|
362
|
+
### 3. Agent Assignments
|
|
363
|
+
- Each agent gets specific inferences
|
|
364
|
+
- Skills listed for each task
|
|
365
|
+
- Dependencies documented
|
|
366
|
+
|
|
367
|
+
### 4. Quality Loop
|
|
368
|
+
- Tests defined before design/implementation
|
|
369
|
+
- Design created to satisfy tests
|
|
370
|
+
- Implementation validates against tests
|
|
371
|
+
- Failures trigger root cause analysis
|
|
372
|
+
|
|
373
|
+
### 5. Timeline & Dependencies
|
|
374
|
+
- Parallel work identified
|
|
375
|
+
- Critical path highlighted
|
|
376
|
+
- Gantt chart generated
|
|
377
|
+
|
|
378
|
+
## Usage Examples
|
|
379
|
+
|
|
380
|
+
### Example 1: Convert Idea to Plan
|
|
102
381
|
|
|
103
382
|
```bash
|
|
104
|
-
/plan
|
|
383
|
+
/plan convert "Build an e-commerce store with product recommendations"
|
|
384
|
+
|
|
385
|
+
Output:
|
|
386
|
+
✅ Plan generated: 100 inferences
|
|
387
|
+
✅ Agents assigned: 15 specialists
|
|
388
|
+
✅ Quality loops: 3
|
|
389
|
+
✅ Dependencies: 24
|
|
105
390
|
```
|
|
106
391
|
|
|
107
|
-
|
|
392
|
+
### Example 2: View Plan with Agent Filter
|
|
393
|
+
|
|
394
|
+
```bash
|
|
395
|
+
/plan filter --agent=backend
|
|
396
|
+
|
|
397
|
+
Output:
|
|
398
|
+
Shows only backend inferences:
|
|
399
|
+
- Infer 11-20: Schema design
|
|
400
|
+
- Infer 41-50: Queries
|
|
401
|
+
- Infer 51-60: Mutations
|
|
108
402
|
```
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
403
|
+
|
|
404
|
+
### Example 3: Export and Share
|
|
405
|
+
|
|
406
|
+
```bash
|
|
407
|
+
/plan export markdown
|
|
408
|
+
|
|
409
|
+
Output:
|
|
410
|
+
📄 Created: one/plans/ecommerce-store.md
|
|
411
|
+
📊 Statistics: 100 inferences, 15 agents, 90 days
|
|
412
|
+
🔗 Share: /plan share
|
|
113
413
|
```
|
|
114
414
|
|
|
115
|
-
##
|
|
415
|
+
## Inference Workflow Integration
|
|
416
|
+
|
|
417
|
+
Once plan is created, use these commands:
|
|
116
418
|
|
|
117
419
|
```bash
|
|
118
|
-
/
|
|
119
|
-
/
|
|
420
|
+
/now # Show current inference (Infer 1)
|
|
421
|
+
/next # Advance to next inference
|
|
422
|
+
/done # Mark complete, capture lessons
|
|
423
|
+
/goto [N] # Jump to specific inference
|
|
424
|
+
/build # Start building with agents
|
|
120
425
|
```
|
|
121
426
|
|
|
122
|
-
##
|
|
427
|
+
## Key Principles
|
|
428
|
+
|
|
429
|
+
1. **Ideas → Plans:** Convert any idea into actionable 100-inference plan
|
|
430
|
+
2. **Automatic Assignment:** Agent assignments happen automatically based on inference type
|
|
431
|
+
3. **Quality First:** Tests defined before implementation
|
|
432
|
+
4. **Parallel Execution:** Maximize agent parallelization
|
|
433
|
+
5. **Complete Tracking:** Every inference tracked with status, dependencies, lessons
|
|
434
|
+
6. **Continuous Learning:** Capture lessons after each inference
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## See Also
|
|
123
439
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
4. **Skipped review:** Verify skipped inferences were correct
|
|
128
|
-
5. **Handoff:** Share plan with team members
|
|
440
|
+
- [CASCADE System](./cascade.md) - Full agent orchestration
|
|
441
|
+
- [Inference Workflow](../commands/done.md) - Mark inferences complete
|
|
442
|
+
- [Agent Dashboard](./one.md) - View all agents
|