oneie 3.6.14 → 3.6.16
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-director.md +6 -6
- package/.claude/agents/agent-onboard.md +8 -8
- package/.claude/commands/cascade.md +49 -20
- package/.claude/commands/create.md +397 -0
- package/.claude/commands/npx.md +64 -113
- package/.claude/commands/one.md +10 -28
- package/.claude/commands/plan.md +65 -65
- package/.claude/commands/push.md +63 -452
- package/.claude/commands/release.md +26 -395
- package/.claude/hooks/README-knowledge-hooks.md +4 -4
- package/.claude/hooks/README.md +13 -13
- package/.claude/hooks/clean-root-markdown.sh +73 -0
- package/.claude/hooks/track-changes.sh +101 -0
- package/.claude/skills/ontology/README.md +1 -1
- package/CLAUDE.md +38 -25
- package/one/README.md +3 -3
- package/one/connections/documentation.md +1 -1
- package/one/connections/inference.md +9 -9
- package/one/connections/workflow-copy.md +1 -1
- package/one/connections/workflow-onboarding.md +85 -85
- package/one/connections/workflow.md +1 -1
- package/one/groups/groups.md +31 -31
- package/one/groups/one.md +26 -26
- package/one/knowledge/100-inference-quick-reference.md +38 -38
- package/one/knowledge/ai-token-crypto-analysis-framework.md +15 -15
- package/one/knowledge/archived/ontology.old.md +11 -11
- package/one/knowledge/audit-agent-onboard-alignment.md +1 -1
- package/one/knowledge/cli-claude-handoff.md +36 -36
- package/one/knowledge/crypto-analysis-strategy.md +8 -8
- package/one/knowledge/event-driven-documentation.md +270 -0
- package/one/knowledge/knowledge.md +28 -28
- package/one/knowledge/lessons-website-building-focus.md +1 -1
- package/one/knowledge/metadata-system.md +11 -11
- package/one/knowledge/ontology-crypto.md +19 -19
- package/one/knowledge/ontology-documentation.md +7 -7
- package/one/knowledge/ontology-engineering.md +3 -3
- package/one/knowledge/ontology-files.yaml +3 -3
- package/one/knowledge/ontology-release.md +3 -3
- package/one/knowledge/ontology.md +10 -10
- package/one/knowledge/ontology.yaml +7 -7
- package/one/knowledge/score.md +4 -4
- package/one/knowledge/todo-template.md +55 -55
- package/one/knowledge/todo.md +55 -55
- package/one/knowledge/typescript-patterns.md +1 -1
- package/one/knowledge/x402-research.md +1 -1
- package/one/people/anthony-o-connell.md +19 -19
- package/one/people/people.md +1 -1
- package/one/things/IMPLEMENTATION_STATUS.md +12 -12
- package/one/things/agents/agent-backend.md +4 -4
- package/one/things/agents/agent-clean.md +16 -16
- package/one/things/agents/agent-deploy.md +6 -6
- package/one/things/agents/agent-sales.md +6 -6
- package/one/things/claude/agents/nextjs-15-specialist.md +1 -1
- package/one/things/demo-design-summary.md +6 -6
- package/one/things/examples/enterprise/crm-saas.md +24 -24
- package/one/things/features/2-1-dataprovider-interface.md +6 -6
- package/one/things/features/2-3-effectts-services.md +7 -7
- package/one/things/features/2-4-react-hooks.md +4 -4
- package/one/things/features/2-cli.md +3 -3
- package/one/things/features/2-design.md +2 -2
- package/one/things/features/use-one-backend.md +2 -2
- package/one/things/files.yaml +3 -3
- package/one/things/implementation/backend-guide.md +1 -1
- package/one/things/interface.md +8 -8
- package/one/things/landing-page-implementation.md +10 -10
- package/one/things/legal/privacy-policy.md +2 -2
- package/one/things/legal/terms-of-service.md +6 -6
- package/one/things/master-workflow-plan.md +16 -16
- package/one/things/plans/0-in-sync.md +136 -0
- package/one/things/plans/SIMPLIFICATION-SUMMARY.md +4 -4
- package/one/things/plans/ai-elements.md +7 -7
- package/one/things/plans/ai-integration.md +3 -3
- package/one/things/plans/ai-sdk.md +8 -8
- package/one/things/plans/backend-cleanup-quickstart.md +3 -3
- package/one/things/plans/backend-ontology-conformance.md +40 -40
- package/one/things/plans/backend-status.md +6 -6
- package/one/things/plans/backend-target-structure.md +2 -2
- package/one/things/plans/backend.md +1 -1
- package/one/things/plans/better-auth-any-backend.md +1 -1
- package/one/things/plans/components.md +32 -32
- package/one/things/plans/convex-agents.md +8 -8
- package/one/things/plans/deep-researcher-agent.md +1 -1
- package/one/things/plans/development-plan.md +49 -49
- package/one/things/plans/development-workflow.md +1 -1
- package/one/things/plans/effect.md +6 -6
- package/one/things/plans/execution-strategy.md +61 -61
- package/one/things/plans/existing-infrastructure.md +1 -1
- package/one/things/plans/frontend-effects.md +10 -10
- package/one/things/plans/group-folder-multi-tenancy.md +95 -95
- package/one/things/plans/integrate-frontend-and-backend.md +9 -9
- package/one/things/plans/onboarding.md +2 -2
- package/one/things/plans/ontology-6-dimensions.md +7 -7
- package/one/things/plans/ontology-compliance-audit.md +1 -1
- package/one/things/plans/phase-1-foundation.md +12 -12
- package/one/things/plans/readme-backend-cleanup.md +3 -3
- package/one/things/plans/sequence.md +129 -129
- package/one/things/plans/skills.md +30 -30
- package/one/things/plans/start-new.md +5 -5
- package/one/things/plans/sync-checklist.md +4 -4
- package/one/things/plans/unified-implementation-plan.md +1 -1
- package/one/things/plans/update-demos.md +53 -53
- package/one/things/plans/use-our-backend.md +30 -30
- package/one/things/plans/wave1-onboarding-100-inferences.md +152 -152
- package/one/things/plans/wave1-onboarding-vision.md +7 -7
- package/one/things/plans/wave1-orchestration-summary.md +67 -67
- package/one/things/plans/wave1-specialist-assignments.md +121 -121
- package/one/things/products/ontology.md +2 -2
- package/one/things/repos/all-repos.md +0 -0
- package/one/things/structure.md +2 -2
- package/one/things/tests/2-1-dataprovider-interface.md +2 -2
- package/one/things/tests/2-1-test-analysis.md +1 -1
- package/one/things/things.md +3 -3
- package/one/things/todo-acp-integration.md +33 -33
- package/one/things/todo-ai.md +37 -37
- package/one/things/todo-api.md +114 -114
- package/one/things/todo-assignment.md +39 -39
- package/one/things/todo-buy-chatgpt.md +113 -113
- package/one/things/todo-components.md +211 -211
- package/one/things/todo-ecommerce-frontend.md +82 -82
- package/one/things/todo-ecommerce.md +36 -36
- package/one/things/todo-effects.md +36 -36
- package/one/things/todo-frontend-effects.md +25 -25
- package/one/things/todo-landing-page.md +63 -63
- package/one/things/todo-mail.md +73 -73
- package/one/things/todo-master-plan.md +32 -32
- package/one/things/todo-onboard.md +48 -48
- package/one/things/todo-one-ie.md +48 -48
- package/one/things/todo-page.md +42 -42
- package/one/things/todo-plans.md +48 -48
- package/one/things/todo-refactoring-plan.md +5 -5
- package/one/things/todo-sequence.md +98 -98
- package/one/things/todo-use-our-backend.md +219 -219
- package/one/things/todo-x402.md +116 -116
- package/one/things/video-script-ontology.md +20 -20
- package/package.json +7 -2
- package/.claude/commands/build.md +0 -293
- package/one/.claude/settings.local.json +0 -11
- package/one/.obsidian/app.json +0 -8
- package/one/.obsidian/appearance.json +0 -1
- package/one/.obsidian/community-plugins.json +0 -5
- package/one/.obsidian/core-plugins.json +0 -33
- package/one/.obsidian/plugins/easy-bake/main.js +0 -361
- package/one/.obsidian/plugins/easy-bake/manifest.json +0 -11
- package/one/.obsidian/plugins/easy-bake/styles.css +0 -10
- package/one/.obsidian/plugins/editing-toolbar/data.json +0 -328
- package/one/.obsidian/plugins/editing-toolbar/main.js +0 -12
- package/one/.obsidian/plugins/editing-toolbar/manifest.json +0 -10
- package/one/.obsidian/plugins/editing-toolbar/styles.css +0 -1338
- package/one/.obsidian/plugins/terminal/data.json +0 -154
- package/one/.obsidian/plugins/terminal/main.js +0 -197
- package/one/.obsidian/plugins/terminal/manifest.json +0 -14
- package/one/.obsidian/plugins/terminal/styles.css +0 -32
- package/one/.obsidian/workspace.json +0 -266
- package/one/events/2024-10-14-deployment-plan.md +0 -330
- package/one/events/2024-10-14-deployment-success.md +0 -447
- package/one/events/2024-10-14-final-sync-complete.md +0 -250
- package/one/events/2024-10-14-release-v2.0.6.md +0 -414
- package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -495
- package/one/events/2024-10-15-handoff-to-clean.md +0 -347
- package/one/events/2024-10-15-package-manager-tests.md +0 -442
- package/one/events/2024-10-15-release-command-complete.md +0 -416
- package/one/events/2025-10-15-private-files-secured.md +0 -359
- package/one/events/2025-10-15-unignore-public-group-docs.md +0 -298
- package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +0 -335
- package/one/events/ALIGNMENT_SUMMARY.md +0 -280
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -280
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -654
- package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +0 -598
- package/one/events/BEFORE_AFTER_COMPARISON.md +0 -978
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -372
- package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -430
- package/one/events/CLAUDE copy.md +0 -897
- package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
- package/one/events/CONNECTIONS_DEMO.md +0 -519
- package/one/events/CREATE-WEBSITE.md +0 -460
- package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -522
- package/one/events/CUSTOM-DOMAIN.md +0 -375
- package/one/events/DELIVERABLES.md +0 -450
- package/one/events/DEMO-GROUPS-PAGE.md +0 -410
- package/one/events/DEMO-TESTING-SUMMARY.md +0 -536
- package/one/events/DEMO_COMPONENTS.md +0 -505
- package/one/events/DEMO_HOOKS_INDEX.md +0 -352
- package/one/events/DEMO_INFRASTRUCTURE.md +0 -923
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -588
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -449
- package/one/events/DEMO_QUICK_REFERENCE.md +0 -459
- package/one/events/DEMO_SETUP.md +0 -494
- package/one/events/DEPLOYMENT copy.md +0 -444
- package/one/events/DEPLOYMENT.md +0 -196
- package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -267
- package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -243
- package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -594
- package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -439
- package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -381
- package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -214
- package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -414
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -753
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -941
- package/one/events/EFFECT_TS_API_PATTERN.md +0 -496
- package/one/events/FEATURE-2-4-COMPLETE.md +0 -320
- package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -241
- package/one/events/GROUPS-MIGRATION.md +0 -643
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -432
- package/one/events/HANDOFF.md +0 -331
- package/one/events/HOOKS-DEMO.md +0 -459
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -521
- package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
- package/one/events/INSTALL-TESTS.md +0 -311
- package/one/events/INSTALLATION_FOLDERS.md +0 -534
- package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -223
- package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -437
- package/one/events/INTEGRATION-ARCHITECTURE.md +0 -579
- package/one/events/INTEGRATION-CHECKLIST.md +0 -1252
- package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2641
- package/one/events/INTEGRATION-SUMMARY.md +0 -671
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -684
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -660
- package/one/events/LANDING-PAGE-QUICKSTART.md +0 -425
- package/one/events/LICENSE.md +0 -107
- package/one/events/MCP-CONFIGURATION.md +0 -354
- package/one/events/MCP-SETUP-COMPLETE.md +0 -223
- package/one/events/MIGRATION-REPORT.md +0 -453
- package/one/events/MIGRATION.md +0 -87
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1645
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -591
- package/one/events/NODE-UPGRADE.md +0 -129
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -416
- package/one/events/ONTOLOGY-HOOKS-README.md +0 -718
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -383
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -543
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -473
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -504
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -221
- package/one/events/PACKAGE-STRUCTURE.md +0 -328
- package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -349
- package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
- package/one/events/QA-CHECKLIST.md +0 -692
- package/one/events/QUICK-START-ONTOLOGY.md +0 -426
- package/one/events/README-archived.md +0 -537
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -657
- package/one/events/SEARCH_DEMO_DELIVERY.md +0 -433
- package/one/events/SEARCH_DEMO_SUMMARY.md +0 -321
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -399
- package/one/events/SECURITY-AUDIT-FIXES.md +0 -394
- package/one/events/SECURITY-SCAN-COMPLETE.md +0 -299
- package/one/events/SHOP-BUILD-STATUS.md +0 -132
- package/one/events/SHOP-PREMIUM-UPDATE.md +0 -165
- package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -280
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -317
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -377
- package/one/events/STRIPE-INTEGRATION.md +0 -432
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -447
- package/one/events/STRIPE-SETUP-GUIDE.md +0 -480
- package/one/events/TEST-PLAN-INDEX.md +0 -364
- package/one/events/TEST-PLAN.md +0 -1435
- package/one/events/TEST-SUMMARY.md +0 -411
- package/one/events/TESTING-DELIVERY.txt +0 -372
- package/one/events/TESTS-QUICK-REF.md +0 -280
- package/one/events/TRANSITIONS-QUICK-START.md +0 -159
- package/one/events/TRANSPARENCY-FIXES.md +0 -293
- package/one/events/TYPESCRIPT_FIXES.md +0 -170
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -359
- package/one/events/VIEW-TRANSITIONS.md +0 -446
- package/one/events/agent-director-enhancement-summary.md +0 -404
- package/one/events/agent-onboard-implementation-summary.md +0 -475
- package/one/events/agent-ontology-alignment-completion.md +0 -263
- package/one/events/backend-integration-tests.md +0 -624
- package/one/events/backend-structure-diagram.txt +0 -393
- package/one/events/backend-structure-summary.txt +0 -269
- package/one/events/clean-agent-ontology-cleanup-report.md +0 -371
- package/one/events/clean-agent-todo-analysis-summary.md +0 -336
- package/one/events/cloudflare-automation-complete.md +0 -350
- package/one/events/cloudflare-pages-infrastructure-setup.md +0 -282
- package/one/events/contact-page-complete.md +0 -316
- package/one/events/convex-analysis-index.md +0 -322
- package/one/events/convex-structure-analysis.md +0 -718
- package/one/events/deployment-installation-folders.md +0 -178
- package/one/events/deployment-ops-summary.md +0 -386
- package/one/events/deployment-verification.md +0 -366
- package/one/events/design-spec-complete.md +0 -226
- package/one/events/documentation-audit-index.md +0 -473
- package/one/events/documentation-audit-summary.md +0 -417
- package/one/events/documentation-improvement-roadmap.md +0 -906
- package/one/events/documentation-standards-compliance-report.md +0 -538
- package/one/events/events.md +0 -563
- package/one/events/frontend-effects-complete.md +0 -584
- package/one/events/frontend-effects-orchestration.md +0 -1356
- package/one/events/frontend-effects-risk-register.md +0 -1055
- package/one/events/frontend-effects-week1-assignments.md +0 -1594
- package/one/events/hook-ontology-alignment-summary.md +0 -528
- package/one/events/installation-folders-workflow-integration.md +0 -458
- package/one/events/landing-page-generator.md +0 -476
- package/one/events/legal-assessment-2025-10-16.md +0 -1917
- package/one/events/onboarding-implementation-complete.md +0 -523
- package/one/events/ontology-test-examples.md +0 -580
- package/one/events/phase1-backend-implementation-complete.md +0 -536
- package/one/events/release.md +0 -272
- package/one/events/root-cleanup-alignment-report.md +0 -265
- package/one/events/separate-implementation-status.md +0 -555
- package/one/events/session-summary-2025-10-18.md +0 -366
- package/one/events/skills-complete.md +0 -351
- package/one/events/skills-infer-6-10-summary.md +0 -70
- package/one/events/skills-phase1-complete.md +0 -281
- package/one/events/structural-analysis-architecture-vs-plans.md +0 -559
- package/one/events/test-dashboard.md +0 -363
- package/one/events/test-index.md +0 -379
- package/one/events/test-report-ontology.md +0 -600
- package/one/events/testing-summary.md +0 -362
- package/one/events/todo-refactoring-complete.md +0 -408
- package/one/events/wave1-backend-implementation-complete.md +0 -698
package/one/things/interface.md
CHANGED
|
@@ -99,7 +99,7 @@ Current command interfaces overwhelm users with:
|
|
|
99
99
|
1. Sees elegant logo and tagline: "Make Your Ideas Real"
|
|
100
100
|
2. Understands instantly: 3 categories, 8 commands
|
|
101
101
|
3. Types `/now` to start
|
|
102
|
-
4. Guided through 100-
|
|
102
|
+
4. Guided through 100-cycle sequence automatically
|
|
103
103
|
|
|
104
104
|
### Experienced User
|
|
105
105
|
|
|
@@ -184,7 +184,7 @@ Current command interfaces overwhelm users with:
|
|
|
184
184
|
|
|
185
185
|
## Technical Implementation
|
|
186
186
|
|
|
187
|
-
### Phase 1: Foundation (
|
|
187
|
+
### Phase 1: Foundation (Cycle 1-10) ✅
|
|
188
188
|
|
|
189
189
|
- ✅ Validated against 6-dimension ontology
|
|
190
190
|
- ✅ Mapped to entity types (interface, command, documentation)
|
|
@@ -195,7 +195,7 @@ Current command interfaces overwhelm users with:
|
|
|
195
195
|
- ✅ Defined people roles (4 roles with permissions)
|
|
196
196
|
- ✅ Created high-level vision (this document)
|
|
197
197
|
|
|
198
|
-
### Phase 2: Backend (
|
|
198
|
+
### Phase 2: Backend (Cycle 11-20)
|
|
199
199
|
|
|
200
200
|
- Update schema for command tracking
|
|
201
201
|
- Create CommandService with Effect.ts
|
|
@@ -203,7 +203,7 @@ Current command interfaces overwhelm users with:
|
|
|
203
203
|
- Add event logging for all commands
|
|
204
204
|
- Create analytics queries for `/see`
|
|
205
205
|
|
|
206
|
-
### Phase 3: Frontend (
|
|
206
|
+
### Phase 3: Frontend (Cycle 21-30)
|
|
207
207
|
|
|
208
208
|
- Redesign `/one` command output
|
|
209
209
|
- Update README.md with elegant hero
|
|
@@ -211,14 +211,14 @@ Current command interfaces overwhelm users with:
|
|
|
211
211
|
- Create interactive command palette
|
|
212
212
|
- Implement keyboard shortcuts
|
|
213
213
|
|
|
214
|
-
### Phase 4: Knowledge & Analytics (
|
|
214
|
+
### Phase 4: Knowledge & Analytics (Cycle 51-60)
|
|
215
215
|
|
|
216
216
|
- Generate embeddings for command descriptions
|
|
217
217
|
- Build RAG pipeline for `/see` insights
|
|
218
218
|
- Create recommendation engine
|
|
219
219
|
- Implement semantic search for docs
|
|
220
220
|
|
|
221
|
-
### Phase 5: Deployment (
|
|
221
|
+
### Phase 5: Deployment (Cycle 91-100)
|
|
222
222
|
|
|
223
223
|
- Deploy updated command interface
|
|
224
224
|
- Update all documentation
|
|
@@ -252,6 +252,6 @@ This feature directly enables:
|
|
|
252
252
|
---
|
|
253
253
|
|
|
254
254
|
**Created:** 2025-10-14
|
|
255
|
-
**Status:** In Development (
|
|
255
|
+
**Status:** In Development (Cycle 8/100)
|
|
256
256
|
**Owner:** Engineering Director
|
|
257
|
-
**Next:** Generate initial plan with feature breakdown (
|
|
257
|
+
**Next:** Generate initial plan with feature breakdown (Cycle 9)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
title: Landing Page Implementation
|
|
3
3
|
dimension: things
|
|
4
4
|
category: landing-page-implementation.md
|
|
5
|
-
tags: ai, architecture,
|
|
5
|
+
tags: ai, architecture, cycle, ontology
|
|
6
6
|
related_dimensions: connections, events, people
|
|
7
7
|
scope: global
|
|
8
8
|
created: 2025-11-03
|
|
@@ -21,7 +21,7 @@ ai_context: |
|
|
|
21
21
|
**Status:** ✅ Phase 1-3 Complete
|
|
22
22
|
**Build Status:** ✅ Successful (All tests passing)
|
|
23
23
|
**Date:** October 30, 2025
|
|
24
|
-
**Timeline:** 91/100
|
|
24
|
+
**Timeline:** 91/100 cycles (Phase 1-3 foundation complete)
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
@@ -273,7 +273,7 @@ web/src/
|
|
|
273
273
|
└── date.ts (new utility functions)
|
|
274
274
|
|
|
275
275
|
one/things/
|
|
276
|
-
└── todo-page.md (comprehensive 100-
|
|
276
|
+
└── todo-page.md (comprehensive 100-cycle plan)
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
---
|
|
@@ -313,49 +313,49 @@ Components tested and verified on:
|
|
|
313
313
|
|
|
314
314
|
## What's Next (Phase 4-10)
|
|
315
315
|
|
|
316
|
-
### Phase 4: Integration & Connections (
|
|
316
|
+
### Phase 4: Integration & Connections (Cycle 31-40)
|
|
317
317
|
|
|
318
318
|
- [ ] Connect to Convex backend
|
|
319
319
|
- [ ] Implement data persistence
|
|
320
320
|
- [ ] Add form submission handling
|
|
321
321
|
- [ ] Create creator dashboard
|
|
322
322
|
|
|
323
|
-
### Phase 5: Authentication & Authorization (
|
|
323
|
+
### Phase 5: Authentication & Authorization (Cycle 41-50)
|
|
324
324
|
|
|
325
325
|
- [ ] Access control (public/private pages)
|
|
326
326
|
- [ ] Creator authentication
|
|
327
327
|
- [ ] Form spam protection
|
|
328
328
|
- [ ] Rate limiting
|
|
329
329
|
|
|
330
|
-
### Phase 6: Knowledge & RAG (
|
|
330
|
+
### Phase 6: Knowledge & RAG (Cycle 51-60)
|
|
331
331
|
|
|
332
332
|
- [ ] Store landing page templates
|
|
333
333
|
- [ ] AI recommendations
|
|
334
334
|
- [ ] Design pattern library
|
|
335
335
|
- [ ] Conversion best practices
|
|
336
336
|
|
|
337
|
-
### Phase 7: Quality & Testing (
|
|
337
|
+
### Phase 7: Quality & Testing (Cycle 61-70)
|
|
338
338
|
|
|
339
339
|
- [ ] Unit tests for components
|
|
340
340
|
- [ ] Integration tests
|
|
341
341
|
- [ ] E2E tests
|
|
342
342
|
- [ ] Performance benchmarks
|
|
343
343
|
|
|
344
|
-
### Phase 8: Design & Wireframes (
|
|
344
|
+
### Phase 8: Design & Wireframes (Cycle 71-80)
|
|
345
345
|
|
|
346
346
|
- [ ] Component variants
|
|
347
347
|
- [ ] Design tokens
|
|
348
348
|
- [ ] Accessibility audit
|
|
349
349
|
- [ ] Design system documentation
|
|
350
350
|
|
|
351
|
-
### Phase 9: Performance & Optimization (
|
|
351
|
+
### Phase 9: Performance & Optimization (Cycle 81-90)
|
|
352
352
|
|
|
353
353
|
- [ ] Image optimization
|
|
354
354
|
- [ ] Code splitting
|
|
355
355
|
- [ ] Caching strategy
|
|
356
356
|
- [ ] Core Web Vitals optimization
|
|
357
357
|
|
|
358
|
-
### Phase 10: Deployment & Documentation (
|
|
358
|
+
### Phase 10: Deployment & Documentation (Cycle 91-100)
|
|
359
359
|
|
|
360
360
|
- [ ] Production deployment
|
|
361
361
|
- [ ] User documentation
|
|
@@ -234,7 +234,7 @@ Relationships are retained as long as both entities exist and the relationship i
|
|
|
234
234
|
|
|
235
235
|
**AI & Agent Events:**
|
|
236
236
|
|
|
237
|
-
- clone_created, agent_executed,
|
|
237
|
+
- clone_created, agent_executed, cycle_request, cycle_completed
|
|
238
238
|
- Purpose: AI operation monitoring, usage billing, debugging
|
|
239
239
|
- Retention: 30 days (execution logs), 1 year (creation records)
|
|
240
240
|
|
|
@@ -340,7 +340,7 @@ We use the following service providers to operate the Platform:
|
|
|
340
340
|
|
|
341
341
|
### 3.2 AI Service Providers
|
|
342
342
|
|
|
343
|
-
**OpenAI (AI
|
|
343
|
+
**OpenAI (AI Cycle)**
|
|
344
344
|
|
|
345
345
|
- Service: GPT models for AI agents and content generation
|
|
346
346
|
- Data Shared: User prompts, entity data for AI processing
|
|
@@ -136,7 +136,7 @@ If you fail to complete required verification, we may:
|
|
|
136
136
|
|
|
137
137
|
- Personal use only
|
|
138
138
|
- Limited to 1 group
|
|
139
|
-
- 100 AI
|
|
139
|
+
- 100 AI cycle calls per month
|
|
140
140
|
- 1 GB storage
|
|
141
141
|
- Community support
|
|
142
142
|
|
|
@@ -144,7 +144,7 @@ If you fail to complete required verification, we may:
|
|
|
144
144
|
|
|
145
145
|
- Commercial use permitted
|
|
146
146
|
- Up to 10 groups
|
|
147
|
-
- 10,000 AI
|
|
147
|
+
- 10,000 AI cycle calls per month
|
|
148
148
|
- 100 GB storage
|
|
149
149
|
- Email support
|
|
150
150
|
- Custom domain support
|
|
@@ -152,7 +152,7 @@ If you fail to complete required verification, we may:
|
|
|
152
152
|
**Enterprise Plan (Custom pricing):**
|
|
153
153
|
|
|
154
154
|
- Unlimited groups
|
|
155
|
-
- Unlimited AI
|
|
155
|
+
- Unlimited AI cycle calls
|
|
156
156
|
- Unlimited storage
|
|
157
157
|
- Priority support (SLA)
|
|
158
158
|
- White-label options
|
|
@@ -231,10 +231,10 @@ Each plan specifies:
|
|
|
231
231
|
|
|
232
232
|
### 4.4 Overage Charges
|
|
233
233
|
|
|
234
|
-
**AI
|
|
234
|
+
**AI Cycle Overage:**
|
|
235
235
|
|
|
236
|
-
- Free plan: $0.10 per
|
|
237
|
-
- Pro plan: $0.01 per
|
|
236
|
+
- Free plan: $0.10 per cycle over limit
|
|
237
|
+
- Pro plan: $0.01 per cycle over limit
|
|
238
238
|
- Enterprise: No overage (unlimited)
|
|
239
239
|
|
|
240
240
|
**Storage Overage:**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
title: Master Workflow Plan
|
|
3
3
|
dimension: things
|
|
4
4
|
category: master-workflow-plan.md
|
|
5
|
-
tags: agent, ai, architecture,
|
|
5
|
+
tags: agent, ai, architecture, cycle, ontology
|
|
6
6
|
related_dimensions: events, people
|
|
7
7
|
scope: global
|
|
8
8
|
created: 2025-11-03
|
|
@@ -19,8 +19,8 @@ ai_context: |
|
|
|
19
19
|
# ONE Platform: Master Workflow Plan v1.0.0
|
|
20
20
|
|
|
21
21
|
**Status:** Complete architecture for 6-todo, 6-specialist, multi-wave execution
|
|
22
|
-
**Total Build:** ~3,600
|
|
23
|
-
**Timeline:** 8-12
|
|
22
|
+
**Total Build:** ~3,600 cycles across 6 specialists
|
|
23
|
+
**Timeline:** 8-12 cycles/specialist/day = 3-4 weeks critical path
|
|
24
24
|
**Approach:** Parallel execution with strategic wave sequencing
|
|
25
25
|
|
|
26
26
|
---
|
|
@@ -58,7 +58,7 @@ ONE Platform is a complete creator economy + AI agent marketplace built on a 6-d
|
|
|
58
58
|
|
|
59
59
|
### The Specialists (6 Agents)
|
|
60
60
|
|
|
61
|
-
| Agent | Role |
|
|
61
|
+
| Agent | Role | Cycles | Expertise |
|
|
62
62
|
| -------------------- | ----------------------------------------------------- | ---------- | ------------------------------------------------------ |
|
|
63
63
|
| **agent-backend** | Convex schema, mutations, queries, Effect.ts services | ~1,200 | Database design, payment logic, event streaming |
|
|
64
64
|
| **agent-frontend** | React components, Astro pages, UI/UX | ~850 | Component architecture, user flows, accessibility |
|
|
@@ -70,9 +70,9 @@ ONE Platform is a complete creator economy + AI agent marketplace built on a 6-d
|
|
|
70
70
|
|
|
71
71
|
### Key Metrics
|
|
72
72
|
|
|
73
|
-
- **Critical Path:** todo-onboard (Wave 1) → todo-x402 (Wave 1) → todo-ecommerce (Wave 2) = **~300
|
|
73
|
+
- **Critical Path:** todo-onboard (Wave 1) → todo-x402 (Wave 1) → todo-ecommerce (Wave 2) = **~300 cycles**
|
|
74
74
|
- **Parallel Opportunities:** 5+ todos can run simultaneously with proper dependency management
|
|
75
|
-
- **
|
|
75
|
+
- **Cycle Density:** 8-12 cycles/specialist/day typical = 30-40 days elapsed time (with 5+ running in parallel)
|
|
76
76
|
- **Wave Overlap:** Waves 2 and 2.5 overlap significantly; Wave 3 (launch) only needs Wave 1-2 complete
|
|
77
77
|
|
|
78
78
|
---
|
|
@@ -297,7 +297,7 @@ Final Path:
|
|
|
297
297
|
```
|
|
298
298
|
┌──────────────────┐ ┌──────────────────┐
|
|
299
299
|
│ todo-onboard │ │ todo-x402 │
|
|
300
|
-
│
|
|
300
|
+
│ Cycle 1-100 │ ◄──────►│ Cycle 1-100 │
|
|
301
301
|
│ (Blocking time) │ (async) │ (Blocking time) │
|
|
302
302
|
└──────────────────┘ └──────────────────┘
|
|
303
303
|
Backend: Schema creation
|
|
@@ -312,7 +312,7 @@ Final Path:
|
|
|
312
312
|
|
|
313
313
|
┌───────────────────┐
|
|
314
314
|
│ todo-ecommerce │ (depends: X402 + onboard)
|
|
315
|
-
│
|
|
315
|
+
│ Cycle 1-100 │
|
|
316
316
|
└───────────────────┘
|
|
317
317
|
↓ ↓ ↓
|
|
318
318
|
┌─────────┴────────┴────────┴─────────┐
|
|
@@ -320,7 +320,7 @@ Final Path:
|
|
|
320
320
|
┌────────────────┐ ┌────────────────────┐
|
|
321
321
|
│ Product CRUD │ │ Checkout + Payment │
|
|
322
322
|
│ (Backend) │ │ (Backend + Frontend)
|
|
323
|
-
│
|
|
323
|
+
│ Cycle 11-30 │ │ Cycle 31-50 │
|
|
324
324
|
└────────────────┘ └────────────────────┘
|
|
325
325
|
```
|
|
326
326
|
|
|
@@ -500,7 +500,7 @@ todo-one-ie (40 infers):
|
|
|
500
500
|
|
|
501
501
|
**Todos:** todo-onboard, todo-x402
|
|
502
502
|
**Specialists:** All 6 agents (parallel)
|
|
503
|
-
**
|
|
503
|
+
**Cycles:** ~200 (100 per todo)
|
|
504
504
|
**Elapsed Time:** 5-7 days (with full parallelization)
|
|
505
505
|
|
|
506
506
|
```
|
|
@@ -535,7 +535,7 @@ OUTPUTS:
|
|
|
535
535
|
**Todos:** todo-ecommerce
|
|
536
536
|
**Dependency:** Requires todo-onboard + todo-x402 (Wave 1 complete)
|
|
537
537
|
**Specialists:** All 6 agents (parallel)
|
|
538
|
-
**
|
|
538
|
+
**Cycles:** ~100
|
|
539
539
|
**Elapsed Time:** 3-5 days
|
|
540
540
|
|
|
541
541
|
```
|
|
@@ -568,7 +568,7 @@ OUTPUTS:
|
|
|
568
568
|
**Todos:** todo-buy-chatgpt, todo-acp-integration
|
|
569
569
|
**Dependency:** Soft (products helpful, not required)
|
|
570
570
|
**Specialists:** All 6 agents (focus: integrator, builder)
|
|
571
|
-
**
|
|
571
|
+
**Cycles:** ~200 (100 per todo)
|
|
572
572
|
**Elapsed Time:** 5-7 days (parallel, no blocking)
|
|
573
573
|
|
|
574
574
|
```
|
|
@@ -592,7 +592,7 @@ todo-acp-integration (Agent Network):
|
|
|
592
592
|
**Todos:** todo-one-ie
|
|
593
593
|
**Dependency:** Requires Waves 1-3 complete
|
|
594
594
|
**Specialists:** All 6 agents (focus: frontend, designer, quality)
|
|
595
|
-
**
|
|
595
|
+
**Cycles:** ~100
|
|
596
596
|
**Elapsed Time:** 3-4 days
|
|
597
597
|
|
|
598
598
|
```
|
|
@@ -780,7 +780,7 @@ TOTAL ELAPSED TIME:
|
|
|
780
780
|
- **6 Todos:** Foundation → Monetization → Advanced → Launch
|
|
781
781
|
- **6 Specialists:** Each owns their domain
|
|
782
782
|
- **4 Waves:** Sequential with significant parallelization
|
|
783
|
-
- **3,600+
|
|
783
|
+
- **3,600+ Cycles:** ~3-4 weeks critical path with parallelization
|
|
784
784
|
- **100% Coverage:** Every feature mapped to ontology
|
|
785
785
|
|
|
786
786
|
### Key Success Factors
|
|
@@ -794,8 +794,8 @@ TOTAL ELAPSED TIME:
|
|
|
794
794
|
### Next Steps
|
|
795
795
|
|
|
796
796
|
1. **Week 1:** Assign specialists to Wave 1 using this matrix
|
|
797
|
-
2. **Day 1:** Begin
|
|
798
|
-
3. **Daily:** Update `.claude/state/
|
|
797
|
+
2. **Day 1:** Begin Cycle 1-10 of todo-onboard + todo-x402 (parallel)
|
|
798
|
+
3. **Daily:** Update `.claude/state/cycle.json` with progress
|
|
799
799
|
4. **Weekly:** Team standup + risk review
|
|
800
800
|
5. **Wave Complete:** Emit event, prepare next wave
|
|
801
801
|
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# In-Sync Development Strategy
|
|
2
|
+
|
|
3
|
+
**Status:** Active
|
|
4
|
+
**Phase:** Development Workflow
|
|
5
|
+
**Target:** Develop in `/web`, sync to private `one.ie`, override custom pages
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
Three-repository strategy (you have this set up):
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
/ (root repo)
|
|
15
|
+
origin → github.com/one-ie/one.git
|
|
16
|
+
↓ (develop in /web, push entire root)
|
|
17
|
+
github.com/one-ie/one (public template on GitHub)
|
|
18
|
+
↓ (clone entire repo)
|
|
19
|
+
/one.ie (your local working copy)
|
|
20
|
+
origin → github.com/one-ie/one.git (pulls from same upstream)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Key:** Root repo (`/`) has `origin` pointing to `github.com/one-ie/one.git`. Your `/one.ie` clone also pulls from the same repo. When you push from root, `/one.ie` pulls to sync.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Workflow
|
|
28
|
+
|
|
29
|
+
### 1. Develop in `/web` (inside root repo)
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
cd /Users/toc/Server/ONE/web
|
|
33
|
+
|
|
34
|
+
# Make template changes here
|
|
35
|
+
# (or anywhere in the root repo - /one, /.claude, etc.)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 2. Commit & Push Entire Root
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
cd /Users/toc/Server/ONE
|
|
42
|
+
|
|
43
|
+
# Stage all changes (web updates + anything else)
|
|
44
|
+
git add -A
|
|
45
|
+
|
|
46
|
+
# Commit
|
|
47
|
+
git commit -m "feat: update web components and docs"
|
|
48
|
+
|
|
49
|
+
# Push entire root to one-ie/one
|
|
50
|
+
git push origin main
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### 3. Sync Everything to `one.ie`
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
cd /Users/toc/Server/ONE/one.ie
|
|
57
|
+
|
|
58
|
+
# Pull all updates (web, one, .claude, etc.)
|
|
59
|
+
git pull origin main
|
|
60
|
+
|
|
61
|
+
# This syncs everything from the root repo
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 4. Override Custom Pages in `one.ie`
|
|
65
|
+
|
|
66
|
+
- Keep your custom `web/src/pages/index.astro` (home page)
|
|
67
|
+
- On sync conflicts, keep your version
|
|
68
|
+
- Update everything else (components, layouts, one docs, etc.)
|
|
69
|
+
- Git will preserve your custom files
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## File Strategy
|
|
74
|
+
|
|
75
|
+
**Develop in `/web`:**
|
|
76
|
+
|
|
77
|
+
- `src/components/` - UI components
|
|
78
|
+
- `src/layouts/` - Page layouts
|
|
79
|
+
- `src/lib/` - Utilities
|
|
80
|
+
- `src/styles/` - Global CSS
|
|
81
|
+
- `astro.config.mjs` - Core config
|
|
82
|
+
- `package.json` - Dependencies
|
|
83
|
+
- `src/pages/` - Template pages (standard)
|
|
84
|
+
|
|
85
|
+
**Custom in `one.ie` (your private clone):**
|
|
86
|
+
|
|
87
|
+
- `web/src/pages/index.astro` - Custom home page (override)
|
|
88
|
+
- Any other pages you want different
|
|
89
|
+
- Custom branding/styling overrides
|
|
90
|
+
- `.env.local` - Deployment config
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Example: Updating Web Components
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# 1. Make a change in /web
|
|
98
|
+
cd /Users/toc/Server/ONE/web/src/components
|
|
99
|
+
# Edit Button.tsx
|
|
100
|
+
|
|
101
|
+
# 2. Commit & push from root
|
|
102
|
+
cd /Users/toc/Server/ONE
|
|
103
|
+
git add -A
|
|
104
|
+
git commit -m "fix: Button component loading state"
|
|
105
|
+
git push origin main
|
|
106
|
+
|
|
107
|
+
# 3. Sync to one.ie
|
|
108
|
+
cd /Users/toc/Server/ONE/one.ie
|
|
109
|
+
git pull origin main
|
|
110
|
+
|
|
111
|
+
# 4. If you have custom pages that conflict, resolve them:
|
|
112
|
+
# git will show the conflicts, keep your versions
|
|
113
|
+
git checkout --ours web/src/pages/index.astro
|
|
114
|
+
git add web/src/pages/index.astro
|
|
115
|
+
git commit -m "Merge: keep custom home page"
|
|
116
|
+
git push origin main
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## That's It
|
|
122
|
+
|
|
123
|
+
Simple workflow:
|
|
124
|
+
|
|
125
|
+
1. Develop in `/web` (or anywhere in root repo)
|
|
126
|
+
2. Commit & push entire root
|
|
127
|
+
3. Pull into `/one.ie` to sync everything
|
|
128
|
+
4. Keep your custom files (git preserves them)
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Change Tracking
|
|
133
|
+
|
|
134
|
+
All commits are automatically logged to `one/events/0-changes.md` with directory grouping.
|
|
135
|
+
|
|
136
|
+
**Last Updated:** 2025-11-05
|
|
@@ -379,14 +379,14 @@ try {
|
|
|
379
379
|
|
|
380
380
|
## Implementation Timeline
|
|
381
381
|
|
|
382
|
-
### Week 1: Infrastructure (
|
|
382
|
+
### Week 1: Infrastructure (Cycle 1-10)
|
|
383
383
|
|
|
384
384
|
- Create new hook templates
|
|
385
385
|
- Set up parallel implementations
|
|
386
386
|
- Plan migration path
|
|
387
387
|
- **Output:** Ready to migrate
|
|
388
388
|
|
|
389
|
-
### Weeks 2-3: Feature Migration (
|
|
389
|
+
### Weeks 2-3: Feature Migration (Cycle 11-50)
|
|
390
390
|
|
|
391
391
|
- Migrate Thing operations
|
|
392
392
|
- Migrate Group operations
|
|
@@ -394,14 +394,14 @@ try {
|
|
|
394
394
|
- Migrate Event logging
|
|
395
395
|
- **Output:** 50% of hooks converted
|
|
396
396
|
|
|
397
|
-
### Weeks 3-4: Completion (
|
|
397
|
+
### Weeks 3-4: Completion (Cycle 51-80)
|
|
398
398
|
|
|
399
399
|
- Migrate remaining hooks
|
|
400
400
|
- Flatten services
|
|
401
401
|
- Delete abstraction layers
|
|
402
402
|
- **Output:** 100% simplified, tests passing
|
|
403
403
|
|
|
404
|
-
### Week 4: Validation (
|
|
404
|
+
### Week 4: Validation (Cycle 81-100)
|
|
405
405
|
|
|
406
406
|
- Confidence testing
|
|
407
407
|
- Performance validation
|
|
@@ -45,7 +45,7 @@ ai_context: |
|
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
48
|
-
## Installation & Setup (
|
|
48
|
+
## Installation & Setup (Cycle 1-10)
|
|
49
49
|
|
|
50
50
|
### Prerequisites
|
|
51
51
|
|
|
@@ -109,7 +109,7 @@ OPENAI_API_KEY=sk-...
|
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
|
-
## Components Library (
|
|
112
|
+
## Components Library (Cycle 11-30)
|
|
113
113
|
|
|
114
114
|
### Core Chat Components
|
|
115
115
|
|
|
@@ -645,7 +645,7 @@ import { Toolbar } from "@/components/ui/ai-elements/toolbar";
|
|
|
645
645
|
|
|
646
646
|
---
|
|
647
647
|
|
|
648
|
-
## Fully Functional Chat UI (
|
|
648
|
+
## Fully Functional Chat UI (Cycle 31-50)
|
|
649
649
|
|
|
650
650
|
### Complete Chat Component
|
|
651
651
|
|
|
@@ -866,7 +866,7 @@ if (!thread) {
|
|
|
866
866
|
|
|
867
867
|
---
|
|
868
868
|
|
|
869
|
-
## Styling & Theming (
|
|
869
|
+
## Styling & Theming (Cycle 51-70)
|
|
870
870
|
|
|
871
871
|
### Tailwind Configuration
|
|
872
872
|
|
|
@@ -965,7 +965,7 @@ export function useAITheme() {
|
|
|
965
965
|
|
|
966
966
|
---
|
|
967
967
|
|
|
968
|
-
## Integration with AI SDK & Convex (
|
|
968
|
+
## Integration with AI SDK & Convex (Cycle 71-90)
|
|
969
969
|
|
|
970
970
|
### Hook for Complete Flow
|
|
971
971
|
|
|
@@ -1028,7 +1028,7 @@ export function useCompleteChatFlow(groupId: string, agentId: string) {
|
|
|
1028
1028
|
|
|
1029
1029
|
---
|
|
1030
1030
|
|
|
1031
|
-
## Performance Optimization (
|
|
1031
|
+
## Performance Optimization (Cycle 91-100)
|
|
1032
1032
|
|
|
1033
1033
|
### Message Virtualization
|
|
1034
1034
|
|
|
@@ -1094,7 +1094,7 @@ export function setCachedMessage(id: string, message: any) {
|
|
|
1094
1094
|
|
|
1095
1095
|
---
|
|
1096
1096
|
|
|
1097
|
-
## Testing (
|
|
1097
|
+
## Testing (Cycle 101+)
|
|
1098
1098
|
|
|
1099
1099
|
### Component Tests
|
|
1100
1100
|
|
|
@@ -241,7 +241,7 @@ Convex Agents Runtime
|
|
|
241
241
|
└─ Re-includes results in context
|
|
242
242
|
↓
|
|
243
243
|
LLM Provider API
|
|
244
|
-
└─ Processes
|
|
244
|
+
└─ Processes cycle
|
|
245
245
|
↓
|
|
246
246
|
Stream Returns to Frontend
|
|
247
247
|
├─ Chunks received via WebSocket
|
|
@@ -581,7 +581,7 @@ tables: {
|
|
|
581
581
|
}
|
|
582
582
|
```
|
|
583
583
|
|
|
584
|
-
### Layer 7: LLM Providers (
|
|
584
|
+
### Layer 7: LLM Providers (Cycle)
|
|
585
585
|
|
|
586
586
|
```typescript
|
|
587
587
|
// Supported providers via AI SDK
|
|
@@ -769,7 +769,7 @@ const result = await generateText({
|
|
|
769
769
|
| Message save | ~50ms | Convex DB insert |
|
|
770
770
|
| Event log | ~50ms | Convex DB insert |
|
|
771
771
|
|
|
772
|
-
**Total: 2-5 seconds for complete interaction** (dominated by LLM
|
|
772
|
+
**Total: 2-5 seconds for complete interaction** (dominated by LLM cycle time)
|
|
773
773
|
|
|
774
774
|
---
|
|
775
775
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
title: Ai Sdk
|
|
3
3
|
dimension: things
|
|
4
4
|
category: plans
|
|
5
|
-
tags: agent, ai, architecture, artificial-intelligence, backend,
|
|
5
|
+
tags: agent, ai, architecture, artificial-intelligence, backend, cycle
|
|
6
6
|
related_dimensions: people
|
|
7
7
|
scope: global
|
|
8
8
|
created: 2025-11-03
|
|
@@ -34,7 +34,7 @@ The **AI SDK** (by Vercel) is a unified TypeScript toolkit for building AI-power
|
|
|
34
34
|
- **Provider Agnostic**: One API works with OpenAI, Anthropic, Google, Azure, DeepSeek, etc.
|
|
35
35
|
- **Unified Interface**: Generate text, objects, tool calls with consistent methods
|
|
36
36
|
- **React Hooks**: Built-in hooks for chat, streaming, and state management
|
|
37
|
-
- **Type-Safe**: Full TypeScript support with automatic type
|
|
37
|
+
- **Type-Safe**: Full TypeScript support with automatic type cycle
|
|
38
38
|
- **Framework Support**: Works with React, Vue, Svelte, Node.js, and more
|
|
39
39
|
|
|
40
40
|
---
|
|
@@ -62,7 +62,7 @@ LLM Providers (OpenAI, Anthropic, etc.)
|
|
|
62
62
|
3. **AI SDK Hooks**: `useChat()`, `useCompletion()`, `useObject()` for real-time updates
|
|
63
63
|
4. **Convex Backend**: Mutations that call AI SDK `generateText()` or stream to clients
|
|
64
64
|
5. **Convex Agents**: Manage conversation threads, tool calls, message history
|
|
65
|
-
6. **LLM Providers**: Process
|
|
65
|
+
6. **LLM Providers**: Process cycle requests
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
@@ -139,7 +139,7 @@ const LLMServiceLive = Layer.effect(
|
|
|
139
139
|
|
|
140
140
|
## Implementation Phases
|
|
141
141
|
|
|
142
|
-
### Phase 1: Setup & Configuration (
|
|
142
|
+
### Phase 1: Setup & Configuration (Cycle 1-10)
|
|
143
143
|
|
|
144
144
|
#### Dependencies
|
|
145
145
|
|
|
@@ -201,7 +201,7 @@ export const selectModel = (provider: string, tier: "fast" | "powerful") => {
|
|
|
201
201
|
|
|
202
202
|
---
|
|
203
203
|
|
|
204
|
-
### Phase 2: Convex Mutations (
|
|
204
|
+
### Phase 2: Convex Mutations (Cycle 11-20)
|
|
205
205
|
|
|
206
206
|
#### Schema Extension
|
|
207
207
|
|
|
@@ -367,7 +367,7 @@ export const streamAgentResponse = mutation({
|
|
|
367
367
|
|
|
368
368
|
---
|
|
369
369
|
|
|
370
|
-
### Phase 3: Frontend Integration (
|
|
370
|
+
### Phase 3: Frontend Integration (Cycle 21-30)
|
|
371
371
|
|
|
372
372
|
#### useChat Hook Integration
|
|
373
373
|
|
|
@@ -485,7 +485,7 @@ export function AIChat({ groupId, agentId, systemPrompt }: AIChatProps) {
|
|
|
485
485
|
|
|
486
486
|
---
|
|
487
487
|
|
|
488
|
-
### Phase 4: Advanced Features (
|
|
488
|
+
### Phase 4: Advanced Features (Cycle 41-50)
|
|
489
489
|
|
|
490
490
|
#### Structured Output (Objects)
|
|
491
491
|
|
|
@@ -575,7 +575,7 @@ export const generateWithTools = mutation({
|
|
|
575
575
|
|
|
576
576
|
---
|
|
577
577
|
|
|
578
|
-
### Phase 5: Monitoring & Observability (
|
|
578
|
+
### Phase 5: Monitoring & Observability (Cycle 61-70)
|
|
579
579
|
|
|
580
580
|
#### Token Usage Tracking
|
|
581
581
|
|
|
@@ -72,11 +72,11 @@ ai_context: |
|
|
|
72
72
|
|
|
73
73
|
### 2. `/one/things/plans/backend-ontology-conformance.md`
|
|
74
74
|
|
|
75
|
-
**What**: Complete 100-
|
|
75
|
+
**What**: Complete 100-cycle execution plan
|
|
76
76
|
**Content**:
|
|
77
77
|
|
|
78
78
|
- 5 phases (Audit, Consolidation, Reorganization, Cleanup, Verification)
|
|
79
|
-
- 60 detailed
|
|
79
|
+
- 60 detailed cycle steps (Cycle 1-100)
|
|
80
80
|
- Execution timeline
|
|
81
81
|
- Success criteria
|
|
82
82
|
**Use this to**: Follow the step-by-step execution plan
|
|
@@ -355,7 +355,7 @@ echo "Backend cleanup complete! 🎉"
|
|
|
355
355
|
|
|
356
356
|
**Pick one of these**:
|
|
357
357
|
|
|
358
|
-
1. **Read full plan**: `/one/things/plans/backend-ontology-conformance.md` (100-
|
|
358
|
+
1. **Read full plan**: `/one/things/plans/backend-ontology-conformance.md` (100-cycle sequence)
|
|
359
359
|
2. **See the vision**: `/one/things/plans/backend-target-structure.md` (before/after)
|
|
360
360
|
3. **Just execute it**: Follow "Quick Cleanup (Just Fix It)" section above
|
|
361
361
|
|