oneie 3.5.0 → 3.6.0

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 (132) hide show
  1. package/.claude/agents/agent-director.md +902 -22
  2. package/.claude/agents/agent-onboard-example-output.md +600 -0
  3. package/.claude/agents/agent-onboard.md +576 -0
  4. package/.claude/commands/ONBOARDING_ENHANCEMENT_SUMMARY.md +266 -0
  5. package/.claude/commands/one.md +375 -5
  6. package/.claude/commands/release.md +64 -3
  7. package/CLAUDE.md +55 -69
  8. package/dist/commands/init.d.ts +5 -6
  9. package/dist/commands/init.d.ts.map +1 -1
  10. package/dist/commands/init.js +101 -101
  11. package/dist/commands/init.js.map +1 -1
  12. package/dist/index.js +6 -5
  13. package/dist/index.js.map +1 -1
  14. package/dist/utils/installation-setup.d.ts +24 -1
  15. package/dist/utils/installation-setup.d.ts.map +1 -1
  16. package/dist/utils/installation-setup.js +85 -1
  17. package/dist/utils/installation-setup.js.map +1 -1
  18. package/dist/utils/launch-claude.d.ts +6 -0
  19. package/dist/utils/launch-claude.d.ts.map +1 -0
  20. package/dist/utils/launch-claude.js +51 -0
  21. package/dist/utils/launch-claude.js.map +1 -0
  22. package/dist/utils/validation.d.ts +48 -0
  23. package/dist/utils/validation.d.ts.map +1 -0
  24. package/dist/utils/validation.js +73 -0
  25. package/dist/utils/validation.js.map +1 -0
  26. package/folders.yaml +1 -1
  27. package/one/.obsidian/core-plugins.json +33 -0
  28. package/one/.obsidian/workspace.json +20 -20
  29. package/one/connections/workflow-onboarding.md +683 -0
  30. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +354 -0
  31. package/one/events/CRITICAL-FIXES-COMPLETE.md +504 -0
  32. package/one/events/DEPLOYMENT.md +178 -0
  33. package/one/events/ECOMMERCE-DEMO-PLAN.md +225 -0
  34. package/one/events/ECOMMERCE-LIVE-DEMO.md +363 -0
  35. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +735 -0
  36. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +923 -0
  37. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +223 -0
  38. package/one/events/HANDOFF.md +313 -0
  39. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +503 -0
  40. package/one/events/IMPLEMENTATION_SUMMARY.md +529 -0
  41. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +666 -0
  42. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +642 -0
  43. package/one/events/LANDING-PAGE-QUICKSTART.md +407 -0
  44. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +1627 -0
  45. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +573 -0
  46. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +398 -0
  47. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +525 -0
  48. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +455 -0
  49. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +486 -0
  50. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +203 -0
  51. package/one/events/SECURITY-AUDIT-FIXES.md +376 -0
  52. package/one/events/SECURITY-SCAN-COMPLETE.md +281 -0
  53. package/one/events/SHOP-BUILD-STATUS.md +114 -0
  54. package/one/events/SHOP-PREMIUM-UPDATE.md +149 -0
  55. package/one/events/SITE-WIDE-GRADIENT-FIX.md +299 -0
  56. package/one/events/STORE-PRODUCTION-READY-STATUS.md +359 -0
  57. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +429 -0
  58. package/one/events/agent-director-enhancement-summary.md +386 -0
  59. package/one/events/agent-onboard-implementation-summary.md +457 -0
  60. package/one/events/clean-agent-ontology-cleanup-report.md +353 -0
  61. package/one/events/landing-page-generator.md +458 -0
  62. package/one/events/onboarding-implementation-complete.md +505 -0
  63. package/one/events/release.md +254 -0
  64. package/one/events/separate-implementation-status.md +537 -0
  65. package/one/knowledge/100-inference-quick-reference.md +431 -0
  66. package/one/knowledge/agent-onboard-usage.md +612 -0
  67. package/one/knowledge/cli-claude-handoff.md +718 -0
  68. package/one/knowledge/ontology-blog.yaml +31 -0
  69. package/one/knowledge/ontology-cheatsheet.md +591 -0
  70. package/one/knowledge/ontology-community.yaml +42 -0
  71. package/one/knowledge/ontology-core-universal.md +722 -0
  72. package/one/knowledge/ontology-core.yaml +50 -0
  73. package/one/knowledge/ontology-courses.yaml +53 -0
  74. package/one/knowledge/ontology-creator.md +376 -0
  75. package/one/knowledge/ontology-developer-guide.md +789 -0
  76. package/one/knowledge/ontology-education.md +920 -0
  77. package/one/knowledge/ontology-index.md +354 -0
  78. package/one/knowledge/ontology-migration-guide.md +811 -0
  79. package/one/knowledge/ontology-minimal.yaml +1 -1
  80. package/one/knowledge/ontology-portfolio.yaml +31 -0
  81. package/one/knowledge/ontology-quickstart.md +576 -0
  82. package/one/knowledge/ontology-shop.yaml +121 -0
  83. package/one/knowledge/ontology-tokens.yaml +32 -0
  84. package/one/knowledge/ontology-tutorial.md +434 -0
  85. package/one/knowledge/ontology-video-script.md +890 -0
  86. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +467 -0
  87. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +408 -0
  88. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +369 -0
  89. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +396 -0
  90. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +468 -0
  91. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +582 -0
  92. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +449 -0
  93. package/one/things/docs/ecommerce/QUICK-START.md +368 -0
  94. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +498 -0
  95. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +237 -0
  96. package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +171 -0
  97. package/one/things/docs/ecommerce/demo.astro +309 -0
  98. package/one/things/plans/agent-director-100-inference-plans.md +410 -0
  99. package/one/things/plans/dual-website-strategy.md +612 -0
  100. package/one/things/plans/feature-based-sites.md +821 -0
  101. package/one/things/plans/multi-ontology-architecture.md +836 -0
  102. package/one/things/plans/onboarding.md +32 -0
  103. package/one/things/plans/separate.md +15 -17
  104. package/one/things/plans/start-new.md +738 -0
  105. package/package.json +2 -2
  106. package/one/things/claude/hooks/agent-hook-manager.js +0 -525
  107. package/one/things/claude/hooks/agent-load-balancer.js +0 -271
  108. package/one/things/claude/hooks/agent-request-interceptor.js +0 -70
  109. package/one/things/claude/hooks/cascade-feedback.js +0 -297
  110. package/one/things/claude/hooks/cascade-integration-hooks.js +0 -648
  111. package/one/things/claude/hooks/continuous-improvement-monitor.js +0 -510
  112. package/one/things/claude/hooks/file-organization-engine.js +0 -427
  113. package/one/things/claude/hooks/file-organization-monitor.js +0 -269
  114. package/one/things/claude/hooks/hook-config-manager.js +0 -202
  115. package/one/things/claude/hooks/hook-orchestrator.js +0 -662
  116. package/one/things/claude/hooks/hook-performance-report.js +0 -120
  117. package/one/things/claude/hooks/mcp-cascade-integration.js +0 -816
  118. package/one/things/claude/hooks/memory-optimizer.js +0 -510
  119. package/one/things/claude/hooks/ontology-compliance.js +0 -394
  120. package/one/things/claude/hooks/ontology-hook-manager.js +0 -316
  121. package/one/things/claude/hooks/ontology-validation-engine.js +0 -317
  122. package/one/things/claude/hooks/performance-monitoring-hook.js +0 -422
  123. package/one/things/claude/hooks/quality-scoring-engine.js +0 -834
  124. package/one/things/claude/hooks/simple-load-balancer.js +0 -238
  125. package/one/things/claude/hooks/startup-optimizer.js +0 -625
  126. package/one/things/claude/hooks/story-scoring-system.js +0 -445
  127. package/one/things/claude/hooks/story-validation-engine.js +0 -473
  128. package/one/things/claude/hooks/structure-synchronizer.js +0 -194
  129. package/one/things/claude/hooks/sub-agent-output-validator.js +0 -647
  130. package/one/things/claude/hooks/sub-agent-validation-hook.js +0 -343
  131. package/one/things/claude/hooks/trinity-validation-system.js +0 -392
  132. package/one/things/plans/organizations-to-groups.md +0 -705
@@ -0,0 +1,576 @@
1
+ # Agent: Onboard
2
+
3
+ **Purpose:** Analyze existing websites and generate personalized ONE Platform ontologies
4
+
5
+ **Status:** Specification (Ready for Implementation)
6
+
7
+ **Trigger:** User runs `npx oneie init` and provides website URL
8
+
9
+ ---
10
+
11
+ ## Responsibilities
12
+
13
+ ### 1. Website Analysis
14
+ - Fetch and parse user's existing website
15
+ - Extract brand identity (colors, fonts, logo)
16
+ - Detect existing features and tools
17
+ - Identify target audience and tone
18
+ - Analyze content structure and patterns
19
+
20
+ ### 2. Feature Mapping
21
+ - Map detected features to universal 6-dimension ontology
22
+ - Identify which ontology dimensions apply
23
+ - Create installation-specific branding documentation
24
+ - Populate initial group structure
25
+
26
+ ### 3. Setup & Configuration
27
+ - Create installation folder structure
28
+ - Generate `.env.local` with configuration
29
+ - Write branding and feature documentation
30
+ - Set up initial group hierarchy
31
+
32
+ ---
33
+
34
+ ## Tools Available
35
+
36
+ - **WebFetch** - Fetch and analyze website content
37
+ - **Read** - Read existing files and templates
38
+ - **Write** - Create new documentation files
39
+ - **Edit** - Modify configuration files
40
+ - **Grep** - Search for patterns in website content
41
+ - **Bash** - Run CLI commands for setup
42
+
43
+ ---
44
+
45
+ ## Input Format
46
+
47
+ ```typescript
48
+ interface OnboardInput {
49
+ name: string; // "Tom O'Connor"
50
+ organizationName: string; // "ONE Platform"
51
+ websiteUrl: string; // "https://one.ie"
52
+ email: string; // "tom@one.ie"
53
+ installationSlug?: string; // Auto-generated from org name
54
+ }
55
+ ```
56
+
57
+ ---
58
+
59
+ ## Analysis Process
60
+
61
+ ### Step 1: Fetch Website
62
+
63
+ ```bash
64
+ WebFetch(url: websiteUrl, prompt: "Analyze this website and extract:
65
+ 1. Primary and secondary brand colors (hex codes)
66
+ 2. Logo URL
67
+ 3. Font families used (heading and body)
68
+ 4. Brand voice/tone (e.g., technical, friendly, formal)
69
+ 5. Target audience description
70
+ 6. Main features/products offered
71
+ 7. Existing technology stack (if detectable)
72
+ 8. Content types (blog, video, podcast, etc.)
73
+ ")
74
+ ```
75
+
76
+ ### Step 2: Extract Brand Identity
77
+
78
+ ```typescript
79
+ interface BrandIdentity {
80
+ colors: {
81
+ primary: string; // "#FF6B6B"
82
+ secondary: string; // "#4ECDC4"
83
+ accent?: string; // "#95E1D3"
84
+ };
85
+ logo: {
86
+ url: string;
87
+ format: 'svg' | 'png' | 'jpg';
88
+ };
89
+ fonts: {
90
+ heading: string; // "Inter, sans-serif"
91
+ body: string; // "Inter, sans-serif"
92
+ };
93
+ voice: {
94
+ tone: string; // "Technical, friendly, empowering"
95
+ audience: string; // "Developers, creators, entrepreneurs"
96
+ };
97
+ }
98
+ ```
99
+
100
+ ### Step 3: Detect Features & Tools
101
+
102
+ ```typescript
103
+ interface DetectedFeatures {
104
+ contentTypes: (
105
+ | 'blog' | 'video' | 'podcast' | 'newsletter'
106
+ | 'courses' | 'products' | 'services'
107
+ )[];
108
+
109
+ monetization: (
110
+ | 'subscriptions' | 'one-time-sales' | 'consulting'
111
+ | 'ads' | 'sponsorships' | 'donations'
112
+ )[];
113
+
114
+ community: (
115
+ | 'discord' | 'forum' | 'comments' | 'membership'
116
+ )[];
117
+
118
+ techStack: {
119
+ frontend?: string; // "Astro", "Next.js", etc.
120
+ backend?: string; // "Convex", "Supabase", etc.
121
+ hosting?: string; // "Cloudflare", "Vercel", etc.
122
+ };
123
+ }
124
+ ```
125
+
126
+ ### Step 4: Map Features to Universal Ontology
127
+
128
+ Based on detected features, identify which parts of the universal 6-dimension ontology apply:
129
+
130
+ ```typescript
131
+ interface OntologyMapping {
132
+ groups: {
133
+ applicable: boolean; // Does this business use groups?
134
+ types: string[]; // Which group types: ["organization", "team", "project"]
135
+ };
136
+
137
+ people: {
138
+ applicable: boolean;
139
+ roles: string[]; // Which roles: ["platform_owner", "developer", "creator"]
140
+ };
141
+
142
+ things: {
143
+ applicable: boolean;
144
+ types: string[]; // Which thing types: ["project", "website", "feature"]
145
+ };
146
+
147
+ connections: {
148
+ applicable: boolean;
149
+ types: string[]; // Which connections: ["owns", "collaborates_on"]
150
+ };
151
+
152
+ events: {
153
+ applicable: boolean;
154
+ types: string[]; // Which events: ["project_created", "deployed"]
155
+ };
156
+
157
+ knowledge: {
158
+ applicable: boolean;
159
+ types: string[]; // Which knowledge: ["documentation", "patterns"]
160
+ };
161
+ }
162
+ ```
163
+
164
+ ---
165
+
166
+ ## Output Structure
167
+
168
+ ### 1. Installation Folder
169
+
170
+ ```
171
+ /[installation-slug]/
172
+ ├── knowledge/
173
+ │ ├── brand-guide.md # Extracted brand identity
174
+ │ ├── features.md # Detected features
175
+ │ └── ontology-mapping.md # Which ontology dimensions apply
176
+ ├── groups/
177
+ │ └── [org-slug]/
178
+ │ └── README.md # Organization overview
179
+ └── things/
180
+ └── vision.md # Custom vision statement
181
+ ```
182
+
183
+ ### 2. Configuration Files
184
+
185
+ **`.env.local`:**
186
+ ```bash
187
+ # Organization
188
+ INSTALLATION_NAME="one-platform"
189
+ ORG_NAME="ONE Platform"
190
+ ORG_SLUG="one-platform"
191
+ ORG_OWNER_EMAIL="tom@one.ie"
192
+ ORG_OWNER_NAME="Tom O'Connor"
193
+
194
+ # Branding
195
+ BRAND_PRIMARY_COLOR="#FF6B6B"
196
+ BRAND_SECONDARY_COLOR="#4ECDC4"
197
+ BRAND_LOGO_URL="/logo.svg"
198
+
199
+ # Website
200
+ ORIGINAL_WEBSITE="https://one.ie"
201
+ ```
202
+
203
+ ### 3. Ontology Mapping Document
204
+
205
+ **`/[installation-slug]/knowledge/ontology-mapping.md`:**
206
+
207
+ ```markdown
208
+ # [Org Name] - Ontology Usage Guide
209
+
210
+ **Version:** 1.0.0
211
+ **Generated:** [timestamp]
212
+ **Source:** [websiteUrl]
213
+ **Based On:** Universal 6-Dimension Ontology
214
+
215
+ ## Overview
216
+
217
+ Based on analysis of [websiteUrl], your [business type] uses these dimensions from the universal ontology:
218
+
219
+ ## GROUPS: [Which group types you use]
220
+
221
+ Your business uses these group types from the universal ontology:
222
+ - organization (your main company)
223
+ - team (departments/divisions)
224
+ - project (specific initiatives)
225
+
226
+ ## PEOPLE: [Which roles you use]
227
+
228
+ Your business uses these roles from the universal ontology:
229
+ - platform_owner (system administrators)
230
+ - org_owner (company executives)
231
+ - org_user (employees, developers)
232
+ - customer (end users)
233
+
234
+ ## THINGS: [Which thing types you use]
235
+
236
+ Your business uses these entity types from the universal ontology:
237
+ - project, website, feature, deployment (for development)
238
+ - repository, integration, agent (for automation)
239
+ - documentation (for knowledge management)
240
+
241
+ ## CONNECTIONS: [Which relationships you use]
242
+
243
+ Your business uses these relationships from the universal ontology:
244
+ - owns (ownership)
245
+ - collaborates_on (teamwork)
246
+ - deployed_to (deployments)
247
+ - integrated_with (external systems)
248
+
249
+ ## EVENTS: [Which events you track]
250
+
251
+ Your business tracks these events from the universal ontology:
252
+ - project_created, feature_deployed, code_pushed
253
+ - agent_executed, integration_connected
254
+ - docs_updated
255
+
256
+ ## KNOWLEDGE: [Which knowledge types you use]
257
+
258
+ Your business uses these knowledge types from the universal ontology:
259
+ - documentation (technical docs)
260
+ - patterns (code patterns)
261
+ - best_practices (recommended approaches)
262
+ - lessons (lessons learned)
263
+
264
+ ---
265
+
266
+ **Note:** This is NOT a custom ontology. This is a guide to which parts of the universal 6-dimension ontology your business uses. All data is stored in the same universal ontology structure.
267
+ ```
268
+
269
+ ---
270
+
271
+ ## Example Execution
272
+
273
+ ### Input:
274
+ ```json
275
+ {
276
+ "name": "Tom O'Connor",
277
+ "organizationName": "ONE Platform",
278
+ "websiteUrl": "https://one.ie",
279
+ "email": "tom@one.ie"
280
+ }
281
+ ```
282
+
283
+ ### Analysis Output:
284
+ ```yaml
285
+ Brand Identity:
286
+ colors:
287
+ primary: "#FF6B6B"
288
+ secondary: "#4ECDC4"
289
+ logo: "/logo.svg"
290
+ fonts:
291
+ heading: "Inter"
292
+ body: "Inter"
293
+ voice:
294
+ tone: "Technical, friendly, empowering"
295
+ audience: "Developers, creators, entrepreneurs"
296
+
297
+ Detected Features:
298
+ contentTypes: [blog, documentation, products]
299
+ monetization: [subscriptions, one-time-sales]
300
+ community: [discord]
301
+ techStack:
302
+ frontend: "Astro"
303
+ backend: "Convex"
304
+ hosting: "Cloudflare"
305
+
306
+ Ontology Mapping:
307
+ groups:
308
+ applicable: true
309
+ types: [organization, team, project]
310
+ note: "Uses standard group types for development teams"
311
+
312
+ people:
313
+ applicable: true
314
+ roles: [platform_owner, developer, creator, user]
315
+ note: "Uses standard roles for platform access"
316
+
317
+ things:
318
+ applicable: true
319
+ types: [
320
+ project, website, feature, deployment,
321
+ repository, integration, agent, documentation
322
+ ]
323
+ note: "Uses software-related thing types"
324
+
325
+ connections:
326
+ applicable: true
327
+ types: [
328
+ owns, collaborates_on, deployed_to, integrated_with,
329
+ depends_on, documented_in, built_with
330
+ ]
331
+ note: "Uses development relationship types"
332
+
333
+ events:
334
+ applicable: true
335
+ types: [
336
+ project_created, feature_deployed, code_pushed,
337
+ agent_executed, integration_connected, docs_updated
338
+ ]
339
+ note: "Tracks development activity events"
340
+
341
+ knowledge:
342
+ applicable: true
343
+ types: [documentation, patterns, best_practices, lessons, tutorials]
344
+ note: "Uses knowledge types for technical learning"
345
+ ```
346
+
347
+ ### File Output:
348
+
349
+ **`/one-platform/knowledge/ontology-mapping.md`:**
350
+ ```markdown
351
+ # ONE Platform - Ontology Usage Guide
352
+
353
+ **Version:** 1.0.0
354
+ **Generated:** 2025-10-20
355
+ **Source:** https://one.ie
356
+ **Based On:** Universal 6-Dimension Ontology
357
+
358
+ ## Overview
359
+
360
+ Based on analysis of https://one.ie, your development platform
361
+ for building AI-native applications uses these parts of the universal ontology:
362
+
363
+ ## GROUPS: Development Organizations
364
+
365
+ Your platform uses these standard group types:
366
+ - **organization** - Top-level companies and enterprises
367
+ - **team** - Engineering teams within organizations
368
+ - **project** - Individual software projects
369
+
370
+ ## PEOPLE: Platform Roles
371
+
372
+ Your platform uses these standard roles:
373
+ - **platform_owner** - ONE Platform administrators
374
+ - **org_owner** - Organization executives
375
+ - **org_user** - Developers and engineers
376
+ - **customer** - End users of deployed applications
377
+
378
+ ## THINGS: Software Entities
379
+
380
+ Your platform uses these standard thing types:
381
+
382
+ **Projects & Code:**
383
+ - project, repository, feature, component, module
384
+
385
+ **Deployments:**
386
+ - deployment, release, environment, pipeline
387
+
388
+ **AI & Automation:**
389
+ - agent, workflow, integration, automation
390
+
391
+ **Knowledge:**
392
+ - documentation, tutorial, pattern, lesson
393
+
394
+ ## CONNECTIONS: Development Relationships
395
+
396
+ Your platform uses these standard connection types:
397
+ - **owns** - Developer → Project
398
+ - **collaborates_on** - Developer → Project
399
+ - **deployed_to** - Feature → Environment
400
+ - **integrated_with** - Project → External Service
401
+ - **depends_on** - Feature → Feature
402
+ - **documented_in** - Feature → Documentation
403
+
404
+ ## EVENTS: Development Activities
405
+
406
+ Your platform tracks these standard event types:
407
+ - **project_created** - New project initialized
408
+ - **feature_deployed** - Feature shipped to production
409
+ - **code_pushed** - Code committed to repository
410
+ - **agent_executed** - AI agent ran task
411
+ - **integration_connected** - External service linked
412
+ - **docs_updated** - Documentation modified
413
+
414
+ ## KNOWLEDGE: Development Intelligence
415
+
416
+ Your platform uses these standard knowledge types:
417
+ - **documentation** - Technical docs, API references
418
+ - **patterns** - Reusable code patterns
419
+ - **best_practices** - Recommended approaches
420
+ - **lessons** - Lessons learned from deployments
421
+ - **tutorials** - Step-by-step guides
422
+
423
+ ---
424
+
425
+ **Note:** All these types exist in the universal 6-dimension ontology. Your data is stored using the same schema as all other ONE installations, enabling cross-organization compatibility and seamless data portability.
426
+ ```
427
+
428
+ ---
429
+
430
+ ## Integration with Workflow
431
+
432
+ After agent-onboard completes:
433
+
434
+ 1. **agent-director** takes over
435
+ 2. Reads ontology mapping from installation folder
436
+ 3. Recommends features based on detected patterns
437
+ 4. User selects features to build
438
+ 5. agent-director generates 100-inference plan
439
+ 6. Specialized agents execute (agent-backend, agent-frontend, etc.)
440
+
441
+ ---
442
+
443
+ ## Feature Recommendation Logic
444
+
445
+ ```typescript
446
+ function recommendFeatures(detected: DetectedFeatures): Feature[] {
447
+ const features: Feature[] = [
448
+ // Always recommend foundation
449
+ FEATURES["landing-page"],
450
+ FEATURES["authentication"],
451
+ FEATURES["multi-tenant"],
452
+ ];
453
+
454
+ // Content-based recommendations
455
+ if (detected.contentTypes.includes('blog')) {
456
+ features.push(FEATURES["blog-cms"]);
457
+ }
458
+ if (detected.contentTypes.includes('video')) {
459
+ features.push(FEATURES["video-library"]);
460
+ }
461
+ if (detected.contentTypes.includes('courses')) {
462
+ features.push(FEATURES["course-platform"]);
463
+ }
464
+
465
+ // Monetization-based recommendations
466
+ if (detected.monetization.includes('subscriptions')) {
467
+ features.push(FEATURES["membership-tiers"]);
468
+ }
469
+ if (detected.monetization.includes('one-time-sales')) {
470
+ features.push(FEATURES["product-store"]);
471
+ }
472
+
473
+ // Community-based recommendations
474
+ if (detected.community.includes('discord')) {
475
+ features.push(FEATURES["discord-integration"]);
476
+ }
477
+
478
+ // Tech stack-based recommendations
479
+ if (detected.techStack.backend === 'Convex') {
480
+ features.push(FEATURES["real-time-sync"]);
481
+ }
482
+
483
+ return features;
484
+ }
485
+ ```
486
+
487
+ ---
488
+
489
+ ## Error Handling
490
+
491
+ ### Website Not Accessible
492
+ ```bash
493
+ ❌ Could not access https://example.com
494
+
495
+ Options:
496
+ 1. Check URL and try again
497
+ 2. Manually provide brand details
498
+ 3. Skip website analysis and use defaults
499
+
500
+ ? What would you like to do? ›
501
+ ```
502
+
503
+ ### Ambiguous Brand Identity
504
+ ```bash
505
+ ⚠️ Multiple brand colors detected
506
+
507
+ Detected colors:
508
+ 1. Primary: #FF6B6B, Secondary: #4ECDC4
509
+ 2. Primary: #3498DB, Secondary: #2ECC71
510
+
511
+ ? Which color scheme matches your brand? › 1
512
+ ```
513
+
514
+ ### No Features Detected
515
+ ```bash
516
+ ⚠️ Could not detect specific features from website
517
+
518
+ ? What type of platform are you building? ›
519
+ [ ] Creator Platform (content, community, monetization)
520
+ [ ] Developer Platform (projects, code, deployments)
521
+ [ ] Business Platform (CRM, projects, invoicing)
522
+ [ ] E-commerce (products, orders, customers)
523
+ [ ] Custom (define your own ontology)
524
+ ```
525
+
526
+ ---
527
+
528
+ ## Success Criteria
529
+
530
+ - [x] Website successfully fetched and analyzed
531
+ - [x] Brand colors extracted (or user-provided)
532
+ - [x] Logo URL identified
533
+ - [x] Target audience determined
534
+ - [x] Ontology mapping created
535
+ - [x] Installation folder created
536
+ - [x] Configuration files written
537
+ - [x] Features recommended
538
+ - [x] User ready to select features
539
+
540
+ ---
541
+
542
+ ## Next Steps After Onboarding
543
+
544
+ ```bash
545
+ ✅ Onboarding complete!
546
+
547
+ 📁 Created: /one-platform/
548
+ 📊 Ontology mapping: /one-platform/knowledge/ontology-mapping.md
549
+ 🎨 Brand guide: /one-platform/knowledge/brand-guide.md
550
+
551
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
552
+ ✨ RECOMMENDED FEATURES
553
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
554
+
555
+ Based on https://one.ie analysis:
556
+
557
+ FOUNDATION (Always recommended)
558
+ [x] Landing page (Infer 1-10, ~5 min)
559
+ [x] Authentication (Infer 11-20, ~10 min)
560
+ [x] Multi-tenant groups (Infer 21-30, ~10 min)
561
+
562
+ DETECTED FROM YOUR SITE
563
+ [ ] Blog CMS (Infer 31-40, ~15 min)
564
+ [ ] Real-time sync (Infer 41-50, ~15 min)
565
+ [ ] Discord integration (Infer 51-60, ~10 min)
566
+
567
+ AI & AUTOMATION
568
+ [ ] AI agents (Infer 61-70, ~20 min)
569
+ [ ] RAG knowledge base (Infer 71-80, ~15 min)
570
+
571
+ ? Select features to build: › (Space to toggle, Enter to continue)
572
+ ```
573
+
574
+ ---
575
+
576
+ **agent-onboard makes onboarding personal, intelligent, and fast!** 🚀