oneie 3.6.6 → 3.6.11

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 (166) hide show
  1. package/.claude/agents/agent-backend.md +83 -0
  2. package/.claude/agents/agent-designer.md +97 -0
  3. package/.claude/agents/agent-director.md +118 -7
  4. package/.claude/agents/agent-documenter.md +93 -0
  5. package/.claude/agents/agent-frontend.md +96 -0
  6. package/.claude/agents/agent-ops.md +182 -25
  7. package/.claude/agents/agent-problem-solver.md +166 -0
  8. package/.claude/agents/agent-quality.md +127 -0
  9. package/.claude/commands/build.md +293 -0
  10. package/.claude/commands/cascade.md +231 -127
  11. package/.claude/commands/mcp-toggle.md +93 -0
  12. package/.claude/commands/onboard.md +179 -0
  13. package/.claude/commands/one.md +236 -516
  14. package/.claude/commands/plan.md +394 -80
  15. package/.claude/commands/release.md +41 -19
  16. package/.claude/commands/server.md +335 -0
  17. package/.claude/hooks/root-cleanup.py +75 -0
  18. package/.claude/skills/INDEX.md +523 -0
  19. package/.claude/skills/REGISTRY.md +529 -0
  20. package/.claude/skills/agent-backend-create-mutation.md +319 -0
  21. package/.claude/skills/agent-designer-create-wireframe.md +341 -0
  22. package/.claude/skills/agent-frontend-create-page.md +413 -0
  23. package/.claude/skills/agents/README.md +238 -0
  24. package/dist/clone-web.js +1 -1
  25. package/dist/clone-web.js.map +1 -1
  26. package/folders.yaml +1 -1
  27. package/one/.obsidian/workspace.json +38 -38
  28. package/one/connections/api/queries-reference.md +842 -0
  29. package/one/connections/api-reference.md +1011 -0
  30. package/one/connections/integration-examples.md +875 -0
  31. package/one/connections/integration-guide.md +869 -0
  32. package/one/connections/integration-phase2.md +736 -0
  33. package/one/events/API_ROUTES_FIXES_SUMMARY.md +262 -0
  34. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +636 -0
  35. package/one/events/BEFORE_AFTER_COMPARISON.md +960 -0
  36. package/one/events/CONNECTIONS_DEMO.md +501 -0
  37. package/one/events/DELIVERABLES.md +432 -0
  38. package/one/events/DEMO-GROUPS-PAGE.md +392 -0
  39. package/one/events/DEMO-TESTING-SUMMARY.md +518 -0
  40. package/one/events/DEMO_COMPONENTS.md +487 -0
  41. package/one/events/DEMO_HOOKS_INDEX.md +334 -0
  42. package/one/events/DEMO_INFRASTRUCTURE.md +905 -0
  43. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +570 -0
  44. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +431 -0
  45. package/one/events/DEMO_QUICK_REFERENCE.md +441 -0
  46. package/one/events/DEMO_SETUP.md +476 -0
  47. package/one/events/EFFECT_TS_API_PATTERN.md +478 -0
  48. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +414 -0
  49. package/one/events/HOOKS-DEMO.md +441 -0
  50. package/one/events/ONTOLOGY-HOOKS-README.md +700 -0
  51. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +365 -0
  52. package/one/events/QA-CHECKLIST.md +674 -0
  53. package/one/events/QUICK-START-ONTOLOGY.md +408 -0
  54. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +639 -0
  55. package/one/events/SEARCH_DEMO_DELIVERY.md +415 -0
  56. package/one/events/SEARCH_DEMO_SUMMARY.md +303 -0
  57. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +381 -0
  58. package/one/events/TEST-PLAN-INDEX.md +346 -0
  59. package/one/events/TEST-PLAN.md +1417 -0
  60. package/one/events/TESTING-DELIVERY.txt +372 -0
  61. package/one/events/TRANSITIONS-QUICK-START.md +141 -0
  62. package/one/events/TYPESCRIPT_FIXES.md +152 -0
  63. package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +412 -0
  64. package/one/events/TYPESCRIPT_FIXES_INDEX.md +341 -0
  65. package/one/events/VIEW-TRANSITIONS.md +428 -0
  66. package/one/events/backend-integration-tests.md +606 -0
  67. package/one/events/backend-structure-diagram.txt +393 -0
  68. package/one/events/backend-structure-summary.txt +269 -0
  69. package/one/events/cloudflare-pages-infrastructure-setup.md +264 -0
  70. package/one/events/convex-analysis-index.md +304 -0
  71. package/one/events/convex-structure-analysis.md +700 -0
  72. package/one/events/design-spec-complete.md +208 -0
  73. package/one/events/ontology-test-examples.md +562 -0
  74. package/one/events/phase1-backend-implementation-complete.md +518 -0
  75. package/one/events/test-dashboard.md +345 -0
  76. package/one/events/test-index.md +361 -0
  77. package/one/events/test-report-ontology.md +582 -0
  78. package/one/events/testing-summary.md +344 -0
  79. package/one/groups/features.md +2878 -0
  80. package/one/groups/strategy copy.md +869 -0
  81. package/one/knowledge/backend-api-reference.md +710 -0
  82. package/one/knowledge/documentation-summary.md +285 -0
  83. package/one/knowledge/lessons-learned.md +294 -4
  84. package/one/knowledge/ontology-visual-guide.md +360 -0
  85. package/one/knowledge/ontology.md +9 -17
  86. package/one/things/demo-accessibility-animations.md +999 -0
  87. package/one/things/demo-components.md +1304 -0
  88. package/one/things/demo-design-summary.md +629 -0
  89. package/one/things/demo-design-system.md +919 -0
  90. package/one/things/demo-page-layouts.md +989 -0
  91. package/one/things/designs/accessibility-audit.md +790 -0
  92. package/one/things/designs/component-specifications.md +757 -0
  93. package/one/things/designs/design-overview.md +318 -0
  94. package/one/things/designs/design-tokens.md +414 -0
  95. package/one/things/designs/wireframes-dashboard.md +653 -0
  96. package/one/things/docs/api-requests.md +923 -0
  97. package/one/things/features/0 All Features.md +2 -0
  98. package/one/things/implementation/backend-guide.md +412 -0
  99. package/one/things/plans/2-backend-agnostic-frontend.md +11 -8
  100. package/one/things/plans/ai-elements.md +1259 -0
  101. package/one/things/plans/ai-integration.md +947 -0
  102. package/one/things/plans/ai-sdk.md +761 -0
  103. package/one/things/plans/app.md +1 -1
  104. package/one/things/plans/architecture-summary.md +283 -0
  105. package/one/things/plans/async-ai-agents.md +215 -0
  106. package/one/things/plans/backend-agnostic-frontend.md +11 -6
  107. package/one/things/plans/backend-cleanup-quickstart.md +346 -0
  108. package/one/things/plans/backend-ontology-conformance.md +416 -0
  109. package/one/things/plans/backend-status.md +541 -0
  110. package/one/things/plans/backend-structure.md +799 -0
  111. package/one/things/plans/backend-target-structure.md +438 -0
  112. package/one/things/plans/backend.md +1133 -0
  113. package/one/things/plans/better-auth-any-backend.md +11 -11
  114. package/one/things/plans/cli-updates-required.md +280 -0
  115. package/one/things/plans/complete-step-by-step.md +1302 -0
  116. package/one/things/plans/convex-agents.md +1005 -0
  117. package/one/things/plans/deployment-architecture.md +426 -0
  118. package/one/things/plans/development-plan.md +1220 -0
  119. package/one/things/plans/effect.md +808 -48
  120. package/one/things/plans/integrate-frontend-and-backend.md +579 -0
  121. package/one/things/plans/mcp-clear-context-prompt.md +60 -0
  122. package/one/things/plans/mcp-simple.md +228 -0
  123. package/one/things/plans/one.md +8 -7
  124. package/one/things/plans/ontology-6-dimensions.md +20 -14
  125. package/one/things/plans/quick-wins.md +1273 -0
  126. package/one/things/plans/readme-backend-cleanup.md +361 -0
  127. package/one/things/plans/separate-demo.md +830 -0
  128. package/one/things/plans/separate.md +3 -3
  129. package/one/things/plans/sequence.md +1897 -0
  130. package/one/things/plans/sync-checklist.md +321 -0
  131. package/one/things/plans/unified-implementation-plan.md +3 -3
  132. package/one/things/plans/update-demos.md +513 -0
  133. package/package.json +1 -1
  134. package/.claude/agents/backend-specialist.md +0 -169
  135. package/.claude/agents/designer.md +0 -216
  136. package/.claude/agents/frontend-specialist.md +0 -236
  137. package/.claude/commands/done.md +0 -35
  138. package/.claude/commands/infer.md +0 -138
  139. package/.claude/commands/next.md +0 -53
  140. package/.claude/commands/one copy.md +0 -565
  141. package/.claude/commands/one-template.md +0 -106
  142. package/.claude/commands/one-v1.md +0 -609
  143. package/.claude/hooks/__pycache__/knowledge-post.cpython-313.pyc +0 -0
  144. package/.claude/hooks/__pycache__/knowledge-pre.cpython-313.pyc +0 -0
  145. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  146. package/one/groups/nine-padel-customers.md +0 -138
  147. package/one/groups/nine-padel-data-structure.md +0 -167
  148. package/one/groups/nine-padel-ontology-specification.md +0 -359
  149. package/one/groups/nine-padel-ontology.md +0 -143
  150. package/one/groups/nine-padel-strategy.md +0 -234
  151. package/one/groups/nine-padel.md +0 -211
  152. package/one/groups/nine-padle-contents.baked.md +0 -1252
  153. package/one/groups/nine-padle-contents.md +0 -6
  154. package/one/things/features/1-1-agent-prompts/design.md +0 -470
  155. package/one/things/features/1-1-agent-prompts/tests.md +0 -264
  156. package/one/things/features/1-2-yaml-orchestrator/design.md +0 -497
  157. package/one/things/features/1-2-yaml-orchestrator/tests.md +0 -227
  158. package/one/things/features/1-3-event-coordination/design.md +0 -544
  159. package/one/things/features/1-3-event-coordination/tests.md +0 -223
  160. package/one/things/features/1-4-knowledge-management/design.md +0 -609
  161. package/one/things/features/1-4-knowledge-management/tests.md +0 -195
  162. package/one/things/features/1-5-quality-loops/design.md +0 -797
  163. package/one/things/features/1-5-quality-loops/tests.md +0 -212
  164. package/one/things/features/1-6-numbering-structure/design.md +0 -610
  165. package/one/things/features/1-6-numbering-structure/tests.md +0 -213
  166. package/one/things/features/dataprovider-interface/1-tests.md +0 -1522
@@ -1,565 +1,285 @@
1
- **DISPLAY THIS TO USER - START**
1
+ # /one - ONE Platform Command Center
2
2
 
3
- # Welcome to ONE
3
+ 🌟 **Transform Ideas into Production-Ready Code with agent-director**
4
4
 
5
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5
+ The `/one` command launches the ONE Platform orchestration system powered by agent-director and 15 specialized agents.
6
6
 
7
- ```
8
- .
9
- ██████╗ ███╗ ██╗███████╗
10
- ██╔═══██╗████╗ ██║██╔════╝
11
- ██║ ██║██╔██╗ ██║█████╗
12
- ██║ ██║██║╚██╗██║██╔══╝
13
- ╚██████╔╝██║ ╚████║███████╗
14
- ╚═════╝ ╚═╝ ╚═══╝╚══════╝
15
-
16
- Make Your Ideas Real
17
- https://one.ie • npx oneie
18
- ```
7
+ ## Quick Start
19
8
 
20
- **Control Your AI. Build Anything.**
9
+ When user types `/one`, display the ONE Platform welcome screen.
21
10
 
22
- Server Started at http://localhost:4321
11
+ ### Step 1: Check Status (< 1 second)
23
12
 
24
- [If account owner found from .oneie/installation.json, display:]
25
- Account: [owner name]
26
-
27
- [If organization found from .oneie/installation.json, display:]
28
- Organization: [org name] - [org url]
29
-
30
- Type:
31
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
32
- now next todo done
33
- build design deploy see
34
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
35
-
36
- **Launch Your Agents:** director • backend • frontend • integrator • quality • designer • solver • documenter | **?:** Help
37
-
38
- or type anything...
39
-
40
- **DISPLAY THIS TO USER - END**
41
-
42
- ---
43
-
44
- ## INSTRUCTIONS FOR CLAUDE (DO NOT DISPLAY TO USER)
45
-
46
- You are ONE, an AI Agent helping users build apps, websites, and agent teams.
47
-
48
- **CRITICAL - Initialization Checks:** Before displaying anything, run these checks in order:
49
-
50
- 1. **Onboarding Check (NEW):**
51
- - Check ALL installation folders for `.onboarding.json`
52
- - Use Bash: `find . -maxdepth 2 -name ".onboarding.json" -type f 2>/dev/null | head -1`
53
- - If found:
54
- - Read the file
55
- - Check `status` field
56
- - If status is `"pending_analysis"`:
57
- - **START ONBOARDING FLOW** (see "Onboarding Flow" section below)
58
- - DO NOT continue to normal /one menu
59
- - If status is `"building"`:
60
- - Show progress summary (see "Progress Check" section)
61
- - DO NOT continue to normal /one menu
62
- - If status is `"completed"`:
63
- - Show completion summary (see "Completion Summary" section)
64
- - Then continue to normal /one menu
65
- - If not found or status is anything else:
66
- - Continue to normal /one behavior (steps 2-5 below)
67
-
68
- 2. **Git Repository Check:**
69
- - Use Bash: `[ -d .git ] && echo "exists" || echo ""`
70
- - If empty output (no .git):
71
- - Output to user: "📦 Initializing git repository..."
72
- - Run: `git init`
73
- - Run: `git add .`
74
- - Run: `git commit -m "chore: initialize ONE Platform repository"`
75
- - Output: "✓ Git repository initialized"
76
- - DO NOT show bash output or errors
77
-
78
- 3. **Account Owner Check:**
79
- - Check for CLI installation metadata: `[ -f .oneie/installation.json ] && cat .oneie/installation.json || echo "{}"`
80
- - Extract owner info from installation.json (if exists)
81
- - Store owner name for display
82
-
83
- 4. **Organization Check:**
84
- - Check for organization metadata in installation.json
85
- - Extract org name and URL (if exists)
86
- - Store org info for display
87
-
88
- 5. **Dev Server Check:**
89
- - Use Bash: `lsof -ti:4321 2>/dev/null || echo ""`
90
- - If empty output (server not running):
91
- - Output to user: "🚀 Starting dev server..."
92
- - Start server in background: `cd /Users/toc/Server/ONE/web && bun run dev`
93
- - DO NOT show bash output or errors
94
-
95
- 6. **Then display the welcome screen with:**
96
- - Logo and menu
97
- - Account owner (if found): "Account: [owner name]"
98
- - Organization (if found): "Organization: [org name] - [org url]"
99
- - Server URL: http://localhost:4321
100
-
101
- **CRITICAL:** Always display the logo and menu above (between "DISPLAY THIS TO USER" markers) FIRST before any other response.
102
-
103
- **Progressive Disclosure:**
104
-
105
- If user types **"1-5"** or **"Quick Start"**, show:
13
+ Run quick parallel checks:
106
14
 
15
+ ```bash
16
+ find . -maxdepth 2 -name ".onboarding.json" -type f 2>/dev/null | head -1 && \
17
+ lsof -ti:4321 2>/dev/null
107
18
  ```
108
- 🚀 QUICK START
109
-
110
- 1. Start New Idea → Transform any idea into working code
111
- 2. Build Your Plan → Create feature collections & assign work
112
- 3. Launch Big Feature → Specifications with quality gates
113
- 4. Create Tests & Design → User flows that drive implementation
114
- 5. Get Things Done → Execute with 8 AI agents in parallel
115
-
116
- Type a number or /one to go back
117
- ```
118
-
119
- If user types **"6-D"** or **"Agents"**, show:
120
-
121
- ```
122
- 🤖 AI AGENTS
123
-
124
- 6. Engineering Director → Validates ideas, creates plans
125
- 7. Backend Specialist → Services, mutations, queries
126
- 8. Frontend Specialist → Pages, components, UI/UX
127
- 9. Integration Specialist → Connections, data flows
128
- A. Quality Agent → Tests, validation, criteria
129
- B. Design Agent → Wireframes, components
130
- C. Problem Solver → Ultrathink mode, root cause
131
- D. Documenter → Feature docs, guides
132
-
133
- Type a number/letter or /one to go back
134
- ```
135
-
136
- If user types **"?"** or **"Help"**, show:
137
-
138
- ```
139
- 📖 HELP
140
-
141
- Commands: /now /next /todo /done /build /design /deploy /see
142
- Features: Type 1-5 for Quick Start, 6-D for AI Agents
143
-
144
- Type /one to go back to main menu
145
- ```
146
-
147
- **For specific selections (1, 2, 3... 6, 7... A, B, C, D):**
148
-
149
- - Guide user through that specific flow
150
- - Use context from one/knowledge/ontology.yaml and one/things/todo.md as needed
151
-
152
- ### 2. Breadcrumb System
153
-
154
- Always show current location:
155
-
156
- ```
157
- ONE > Engineering Director > Create Plan > Course Platform
158
- ↑ Current Location
159
- ```
160
-
161
- ### 3. Progressive Disclosure
162
-
163
- - **Level 1**: Show most common actions (1-5)
164
- - **Level 2**: Show AI agents (6-9, A-D)
165
- - **Level 3**: Show advanced features (T, W, S)
166
- - **Level 4**: Show help and reference (H, ?)
167
-
168
- ## Menu Handlers
169
-
170
- ### Quick Start Actions (1-5)
171
-
172
- #### 1. Start New Idea
173
-
174
- ```yaml
175
- action: launch_idea_creation_flow
176
- display: |
177
- 💡 **TURN YOUR IDEA INTO REALITY**
178
-
179
- Agent ONE validates your idea against the 6-dimension ontology:
180
-
181
- 🌟 What's your idea?
182
-
183
- 1. Tech & Software → Apps, websites, digital products
184
- 2. Business & Services → Companies, consulting, coaching
185
- 3. Creative & Content → Art, writing, videos, courses
186
- 4. Custom Project → Tell me about your unique vision
187
-
188
- Behind the scenes: Engineering Director automatically validates against
189
- ontology (organizations, people, things, connections, events, knowledge).
190
-
191
- B. Back to Main Menu
192
-
193
-
194
- next_actions:
195
- 1: tech_software_idea_flow
196
- 2: business_services_idea_flow
197
- 3: creative_content_idea_flow
198
- 4: custom_idea_flow
199
-
200
- Essential Commands:
201
- 1. /one → Main CASCADE interface (you are here)
202
- 2. /start → Quick idea start with 6-level workflow
203
- 3. /plan → Plan creation with feature assignments
204
- 4. /feature → Feature specification with quality gates
205
- 5. /task → Parallel task execution management
206
- 6. /agent → Direct access to 8 AI agents
207
-
208
- CASCADE-Specific Commands:
209
- 7. /test → Execute Quality Agent (define tests)
210
- 8. /design → Run Design Agent (create wireframes)
211
- 9. /solve → Launch Problem Solver (ultrathink mode)
212
- 10. /document → Run Documenter Agent (auto-generation)
213
- ```
214
-
215
- ---
216
-
217
- ## ONBOARDING FLOW (NEW)
218
-
219
- This section describes how to handle users coming from `npx oneie init` with `.onboarding.json`.
220
-
221
- ### When to Trigger Onboarding
222
-
223
- Onboarding starts ONLY when:
224
- 1. `.onboarding.json` exists in an installation folder
225
- 2. `status` field is `"pending_analysis"`
226
-
227
- ### Onboarding Flow Steps
228
-
229
- #### Step 1: Display Welcome with Context
230
-
231
- ```
232
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
233
- 🚀 ONE PLATFORM ONBOARDING
234
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
235
-
236
- Welcome, [user.name]!
237
-
238
- ✅ Found onboarding context:
239
- • Organization: [organization.name]
240
- • Website: [website.url]
241
- • Status: Pending analysis
242
-
243
- Let's analyze your website and build your platform!
244
-
245
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
246
- 🤖 Starting agent-onboard
247
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
248
- ```
249
-
250
- #### Step 2: Invoke agent-onboard
251
19
 
252
- **CRITICAL:** Use the Task tool to invoke agent-onboard (DO NOT use direct function calls).
20
+ **Parse output:**
21
+ - Line 1: Path to `.onboarding.json` (if exists)
22
+ - Line 2: Server PID (if running)
253
23
 
254
- ```yaml
255
- Task to delegate: |
256
- Analyze website [website.url] for onboarding:
24
+ ### Step 2: Read Onboarding Data (if exists)
257
25
 
258
- 1. Extract brand identity (colors, logo, fonts, tone)
259
- 2. Detect existing features and content types
260
- 3. Map detected features to universal 6-dimension ontology
261
- 4. Create installation-specific branding documentation
262
- 5. Recommend features based on analysis
26
+ If `.onboarding.json` found, read to extract:
27
+ - `user.name`
28
+ - `organization.name`
29
+ - `website.url`
263
30
 
264
- Save results to:
265
- - /[org-slug]/knowledge/brand-guide.md
266
- - /[org-slug]/knowledge/features.md
267
- - /[org-slug]/knowledge/ontology-mapping.md
31
+ ### Step 3: Display Welcome Screen
268
32
 
269
- Update .onboarding.json with results.
33
+ **WITH onboarding data:**
270
34
 
271
- Agent: agent-onboard
272
35
  ```
36
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
273
37
 
274
- #### Step 3: Wait for Analysis
275
-
276
- While agent-onboard is running, show:
277
-
278
- ```
279
- Analyzing [website.url]...
280
-
281
- [Wait for agent-onboard to complete]
282
- ```
283
-
284
- **DO NOT proceed until agent-onboard completes.**
285
-
286
- #### Step 4: Present Recommended Features
287
-
288
- After agent-onboard completes, read updated `.onboarding.json` and display:
289
-
290
- ```
291
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
292
- ✨ ANALYSIS COMPLETE
293
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
294
-
295
- ✅ Brand extracted:
296
- • Primary color: [brand.colors.primary]
297
- • Secondary color: [brand.colors.secondary]
298
- • Logo: [brand.logo]
299
- • Voice: [brand.voice]
300
- • Audience: [brand.audience]
301
-
302
- ✅ Ontology mapping created:
303
- • Groups: [mapping.groups] (which group types apply)
304
- • People: [mapping.people] (which roles apply)
305
- • Things: [mapping.things] (which thing types apply)
306
- • Connections: [mapping.connections] (which relationships apply)
307
- • Events: [mapping.events] (which events tracked)
308
- • Knowledge: [mapping.knowledge] (which knowledge types used)
309
-
310
- 📄 Documentation saved:
311
- • /[org-slug]/knowledge/ontology-mapping.md
312
- • /[org-slug]/knowledge/brand-guide.md
313
- • /[org-slug]/knowledge/features.md
314
-
315
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
316
- ✨ RECOMMENDED FEATURES
317
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
318
-
319
- Based on [website.url] analysis:
320
-
321
- FOUNDATION (Always recommended)
322
- [x] [feature.name] (Infer [feature.inferences[0]]-[feature.inferences[1]], [feature.duration])
323
- [... for each required feature ...]
324
-
325
- DETECTED FROM YOUR SITE
326
- [ ] [feature.name] (Infer [feature.inferences[0]]-[feature.inferences[1]], [feature.duration])
327
- [... for each detected feature ...]
328
-
329
- AI & AUTOMATION (Optional)
330
- [ ] [feature.name] (Infer [feature.inferences[0]]-[feature.inferences[1]], [feature.duration])
331
- [... for each AI feature ...]
332
-
333
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
334
-
335
- Which features would you like to build?
336
-
337
- Type feature names (comma-separated) or "all foundation" or "all":
338
- ```
339
-
340
- #### Step 5: Accept User Feature Selection
341
-
342
- User responds with selections like:
343
- - `landing page, authentication, multi-tenant`
344
- - `all foundation`
345
- - `all`
346
- - Feature IDs: `landing-page, authentication, multi-tenant, ai-agents`
347
-
348
- Parse the response and extract selected feature IDs.
349
-
350
- #### Step 6: Invoke agent-director
351
-
352
- **CRITICAL:** Use the Task tool to invoke agent-director.
353
-
354
- ```yaml
355
- Task to delegate: |
356
- Create 100-inference plan for selected features:
357
- [list of selected feature IDs]
358
-
359
- Based on universal 6-dimension ontology.
360
- Reference ontology mapping at:
361
- /[org-slug]/knowledge/ontology-mapping.md
362
-
363
- Generate:
364
- 1. Feature collection (plan document)
365
- 2. 100-inference sequence
366
- 3. Specialist assignments
367
- 4. Dependency mapping
368
- 5. Timeline estimates
369
-
370
- Update .onboarding.json with plan details.
38
+ ██████╗ ███╗ ██╗███████╗
39
+ ██╔═══██╗████╗ ██║██╔════╝
40
+ ██║ ██║██╔██╗ ██║█████╗
41
+ ██║ ██║██║╚██╗██║██╔══╝
42
+ ╚██████╔╝██║ ╚████║███████╗
43
+ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
371
44
 
372
- Start execution immediately after plan created.
45
+ ONE Platform v1.0.0
46
+ Transform Ideas into Code
373
47
 
374
- Agent: agent-director
375
- ```
48
+ https://one.ie • npx oneie
376
49
 
377
- #### Step 7: Show Plan Summary
50
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
378
51
 
379
- After agent-director completes planning, display:
52
+ Welcome back, [user.name]!
380
53
 
54
+ Organization: [organization.name]
55
+ Website: [website.url]
56
+ Dev Server: http://localhost:4321 [✓ Running / ⭕ Stopped]
57
+
58
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
59
+ 🚀 QUICK START: Your Idea → Full Implementation Plan
60
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
61
+
62
+ 1. Tell me your idea:
63
+ "I want to build a course platform with AI tutors"
64
+
65
+ 2. Create a plan:
66
+ /plan convert [your-idea]
67
+ → Generates 100-inference plan
68
+ → Assigns tasks to agents
69
+ → Shows timeline + dependencies
70
+
71
+ 3. Execute with agents:
72
+ /now - See current inference
73
+ /next - Advance to next task
74
+ /done - Mark task complete
75
+ /build - Start building with specialists
76
+
77
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
78
+ 🎯 ORCHESTRATION & PLANNING
79
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
80
+
81
+ Plan Management:
82
+ • /plan - View current 100-inference plan
83
+ • /plan convert [idea] - Convert idea to full task plan
84
+ • /plan show - Display plan with agent assignments
85
+ • /plan export - Export plan (markdown, json, csv)
86
+ • /plan dependencies - Show task dependencies
87
+ • /plan filter --agent - Filter tasks by agent
88
+
89
+ Inference Workflow:
90
+ • /now - Show current inference & task
91
+ • /next - Advance to next inference
92
+ • /done - Mark inference complete & learn
93
+ • /goto [N] - Jump to inference N
94
+
95
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
96
+ 🤖 AGENT COMMAND CENTER (15 Specialists, agent-director Leads)
97
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
98
+
99
+ Orchestration:
100
+ • /agent director - View orchestrator dashboard
101
+ • /agent dashboard - See all agents' current work
102
+ • /agent delegate [task] - Manually delegate to agent
103
+
104
+ Core Specialists:
105
+ • /agent backend - Backend specialist (Convex, mutations, queries)
106
+ • /agent frontend - Frontend specialist (Astro, React, pages)
107
+ • /agent designer - Design specialist (wireframes, tokens)
108
+ • /agent quality - Quality specialist (tests, validation)
109
+
110
+ Support Specialists:
111
+ • /agent builder - Feature builder (coordinates implementation)
112
+ • /agent problem-solver - Problem solver (analyzes failures)
113
+ • /agent documenter - Documenter (writes docs, captures lessons)
114
+ • /agent ops - Operations (deployment, CI/CD)
115
+
116
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
117
+ ⚙️ DEVELOPMENT TOOLS
118
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
119
+
120
+ Server & Environment:
121
+ • /server start - Start development server
122
+ • /server stop - Stop development server
123
+ • /server status - Check server status
124
+
125
+ Onboarding & Analysis:
126
+ • /onboard - Analyze website & extract brand identity
127
+
128
+ Build & Deploy (Frontend-First by Default):
129
+ • /build - Build features using existing /web components
130
+ • /build [feature] - Build specific frontend feature
131
+ • /build backend [feature] - Build custom backend (when explicitly needed)
132
+ • /build list - See available components in /web
133
+ • /build help - Full build documentation
134
+ • /deploy - Deploy to production
135
+
136
+ Analytics:
137
+ • /see - View analytics & explore insights
138
+
139
+ Existing Features Ready to Use:
140
+ • Shop (ecommerce): /web/src/pages/shop.astro
141
+ • Blog (content): /web/src/pages/blog/
142
+ • Portfolio: /web/src/pages/portfolio.astro
143
+ • More: Explore /web/src/pages/ for available components
144
+
145
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
146
+ ✨ WHAT WOULD YOU LIKE TO BUILD?
147
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
148
+
149
+ Just describe your frontend feature:
150
+ • "Add a course shop page (we have shop.astro)"
151
+ • "Create a blog with featured articles"
152
+ • "Build a portfolio gallery with filtering"
153
+ • "Add product recommendation system"
154
+ • "Create a testimonials showcase section"
155
+
156
+ Or customize existing features:
157
+ • "Redesign the shop page with new branding"
158
+ • "Add advanced filtering to portfolio"
159
+ • "Create course preview pages"
160
+ • "Build instructor profile pages"
161
+
162
+ Or request custom backend (when needed):
163
+ • "build backend AI tutor integration"
164
+ • "build backend token economy system"
165
+ • "build backend custom analytics"
166
+
167
+ Start with: /plan convert [your-idea]
168
+
169
+ Then I'll:
170
+ 1. Check existing /web components for reuse
171
+ 2. Plan frontend modifications needed
172
+ 3. Assign to frontend agent if backend not needed
173
+ 4. Execute step-by-step with /now, /next, /done
174
+
175
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
381
176
  ```
382
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
383
- ✅ PLAN GENERATED
384
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
385
177
 
386
- Total inferences: [plan.totalInferences]
387
- Estimated duration: [plan.estimatedDuration]
178
+ **WITHOUT onboarding data:**
388
179
 
389
- PHASES:
390
- [for each phase:]
391
- [phase.name] (Infer [phase.inferences[0]]-[phase.inferences[1]])
392
- Specialist: [phase.specialist]
393
- Status: [phase.status]
394
-
395
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
396
- 🚀 STARTING BUILD
397
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
398
-
399
- Building your platform...
400
- Progress updates will appear as features complete.
401
-
402
- You can check progress anytime by running /one again.
403
180
  ```
181
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
404
182
 
405
- #### Step 8: Update Status and Let Specialists Work
406
-
407
- 1. Update `.onboarding.json` status to `"building"`
408
- 2. Let agent-director coordinate specialist agents
409
- 3. DO NOT micromanage - trust the workflow system
410
- 4. Specialist agents will:
411
- - agent-backend: Implement backend features
412
- - agent-frontend: Build UI/UX
413
- - agent-integrator: Connect external systems
414
- - agent-quality: Validate and test
415
- - agent-designer: Create wireframes
416
- - agent-documenter: Write documentation
183
+ ██████╗ ███╗ ██╗███████╗
184
+ ██╔═══██╗████╗ ██║██╔════╝
185
+ ██║ ██║██╔██╗ ██║█████╗
186
+ ██║ ██║██║╚██╗██║██╔══╝
187
+ ╚██████╔╝██║ ╚████║███████╗
188
+ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
417
189
 
418
- ### Progress Check
190
+ ONE Platform v1.0.0
191
+ Make Your Ideas Real
419
192
 
420
- If user runs `/one` again while status is `"building"`:
193
+ https://one.ie • npx oneie
421
194
 
422
- ```
423
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
424
- 🔨 BUILD IN PROGRESS
425
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
195
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
426
196
 
427
- Organization: [organization.name]
428
- Current progress: [plan.currentInference]/[plan.totalInferences] ([plan.progress]%)
197
+ Dev Server: http://localhost:4321 [✓ Running / ⭕ Stopped]
429
198
 
430
- PHASE STATUS:
431
- [for each phase:]
432
- [✅/🔨/⏳] [phase.name]
433
- Status: [phase.status]
434
- [if completed:] Completed: [phase.completedAt formatted]
435
- [if completed and has URL:] URL: [phase.url]
436
- [if in_progress:] Started: [phase.startedAt formatted]
199
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
200
+ 🚀 QUICK START: Turn Your Idea Into a Detailed Task Plan
201
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
437
202
 
438
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
203
+ 1. Start your idea:
204
+ /plan convert "I want to build a course platform"
439
205
 
440
- Building continues in background.
441
- Check back later for updates, or type /see for live URLs.
442
- ```
206
+ This will:
207
+ ✅ Create a 100-inference plan
208
+ ✅ Assign tasks to 15 specialists
209
+ ✅ Show dependencies and timeline
210
+ ✅ List all ontology dimensions involved
443
211
 
444
- ### Completion Summary
212
+ 2. Execute step-by-step:
213
+ /now - See current task
214
+ /next - Move to next inference
215
+ /done - Mark complete & advance
445
216
 
446
- If user runs `/one` again while status is `"completed"`:
217
+ 3. See your agents working:
218
+ /agent dashboard - See all agents' current work
219
+ /agent [name] - View specific agent's tasks
447
220
 
448
- ```
449
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
450
- ✨ ONBOARDING COMPLETE!
451
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
221
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
222
+ 📋 ESSENTIAL COMMANDS
223
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
452
224
 
453
- Congratulations, [user.name]!
225
+ Planning:
226
+ /plan convert [idea] - Convert idea to 100-inference plan
227
+ /plan show - Show current plan with agent assignments
228
+ /plan dependencies - Show task dependencies
454
229
 
455
- Your [organization.name] platform is ready:
230
+ Execution:
231
+ /now - View current inference & task
232
+ /next - Advance to next inference
233
+ /done - Mark complete & advance
234
+ /build [feature] - Build with specialists
456
235
 
457
- COMPLETED FEATURES:
458
- [for each completed phase:]
459
- ✅ [phase.name]
460
- [if has URL:] 🌐 [phase.url]
236
+ Agents:
237
+ /agent dashboard - See all agents at work
238
+ /agent director - View orchestrator status
239
+ /agent [name] - View specific agent
461
240
 
462
- DOCUMENTATION:
463
- 📖 Ontology mapping: /[org-slug]/knowledge/ontology-mapping.md
464
- 🎨 Brand guide: /[org-slug]/knowledge/brand-guide.md
465
- 📚 Knowledge base: /[org-slug]/knowledge/
241
+ Setup:
242
+ /server start - Start dev server
243
+ /onboard - Analyze your website
466
244
 
467
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
468
- NEXT STEPS
469
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
245
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
246
+ ✨ READY TO TRANSFORM YOUR IDEA?
247
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
470
248
 
471
- Your platform is live and ready to use!
249
+ Start here:
250
+ /plan convert "Your idea here"
472
251
 
473
- Continue building:
474
- /build → Add more features
475
- /design → Create custom UI components
476
- /deploy → Deploy updates
252
+ Examples:
253
+ • /plan convert "Build a course platform with AI tutors"
254
+ • /plan convert "Create a blog with SEO and analytics"
255
+ • /plan convert "Add real-time notifications to my app"
477
256
 
478
- Explore:
479
- /see → View analytics and insights
257
+ Then:
258
+ • /plan show - See your full plan
259
+ • /now - Start executing
260
+ • /agent dashboard - Watch your agents work
480
261
 
481
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
262
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
482
263
  ```
483
264
 
484
- Then continue to display normal `/one` menu.
485
-
486
265
  ---
487
266
 
488
- ## CRITICAL RULES FOR ONBOARDING
489
-
490
- 1. **ALWAYS check for `.onboarding.json` FIRST** before normal /one behavior
491
- 2. **NEVER skip agent-onboard** - website analysis is critical for personalization
492
- 3. **ALWAYS use Task tool** to invoke agents (agent-onboard, agent-director)
493
- 4. **WAIT for agents to complete** before proceeding to next step
494
- 5. **UPDATE `.onboarding.json`** after each major step (analysis complete, features selected, plan generated, building, completed)
495
- 6. **SHOW PROGRESS** to user - be transparent about what's happening
496
- 7. **ENABLE RESUMPTION** - if interrupted, user can run /one again to see status
497
- 8. **BACKWARD COMPATIBLE** - if no `.onboarding.json`, use normal /one menu
498
-
499
- ---
500
-
501
- ## FILE UPDATES DURING ONBOARDING
502
-
503
- ### After agent-onboard Completes
504
-
505
- Update `.onboarding.json` with:
506
- ```json
507
- {
508
- "status": "features_presented",
509
- "website": {
510
- "analyzed": true,
511
- "analyzedAt": [timestamp],
512
- "brandExtracted": true,
513
- "ontologyGenerated": true
514
- },
515
- "brand": { ... },
516
- "ontology": { ... },
517
- "features": {
518
- "recommended": [ ... ]
519
- }
520
- }
521
- ```
522
-
523
- ### After User Selects Features
524
-
525
- Update `.onboarding.json` with:
526
- ```json
527
- {
528
- "status": "plan_generated",
529
- "features": {
530
- "selected": ["landing-page", "authentication", ...]
531
- }
532
- }
533
- ```
534
-
535
- ### After agent-director Creates Plan
536
-
537
- Update `.onboarding.json` with:
538
- ```json
539
- {
540
- "status": "building",
541
- "plan": {
542
- "status": "in_progress",
543
- "totalInferences": 70,
544
- "estimatedDuration": "~50 min",
545
- "currentInference": 0,
546
- "progress": 0,
547
- "phases": [ ... ]
548
- }
549
- }
550
- ```
551
-
552
- ### After All Phases Complete
553
-
554
- Update `.onboarding.json` with:
555
- ```json
556
- {
557
- "status": "completed",
558
- "plan": {
559
- "status": "completed",
560
- "completedAt": [timestamp]
561
- }
562
- }
563
- ```
564
-
565
- ---
267
+ ## Implementation Notes
268
+
269
+ **DO NOT:**
270
+ - Start server automatically
271
+ - Launch agent-onboard automatically
272
+ - Block waiting for processes
273
+
274
+ **DO:**
275
+ - Show current status (server, onboarding)
276
+ - Guide users to `/plan convert [idea]` as first step
277
+ - Reference cascade system for orchestration
278
+ - Show agent-director as central coordinator
279
+ - Highlight 15-specialist availability
280
+
281
+ **Key Integration Points:**
282
+ - `/plan convert` merges CASCADE planning into plan command
283
+ - Agent assignments are automatic based on inference type
284
+ - Dependencies are calculated and shown
285
+ - Quality loop is visualized in task breakdown