oneie 3.6.14 → 3.6.15

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 (312) hide show
  1. package/.claude/agents/agent-director.md +6 -6
  2. package/.claude/agents/agent-onboard.md +8 -8
  3. package/.claude/commands/cascade.md +49 -20
  4. package/.claude/commands/create.md +397 -0
  5. package/.claude/commands/npx.md +64 -113
  6. package/.claude/commands/one.md +10 -28
  7. package/.claude/commands/plan.md +65 -65
  8. package/.claude/commands/push.md +63 -452
  9. package/.claude/commands/release.md +26 -395
  10. package/.claude/hooks/README-knowledge-hooks.md +4 -4
  11. package/.claude/hooks/README.md +13 -13
  12. package/.claude/hooks/clean-root-markdown.sh +73 -0
  13. package/.claude/hooks/track-changes.sh +101 -0
  14. package/.claude/skills/ontology/README.md +1 -1
  15. package/CLAUDE.md +38 -25
  16. package/one/README.md +3 -3
  17. package/one/connections/documentation.md +1 -1
  18. package/one/connections/inference.md +9 -9
  19. package/one/connections/workflow-copy.md +1 -1
  20. package/one/connections/workflow-onboarding.md +85 -85
  21. package/one/connections/workflow.md +1 -1
  22. package/one/groups/groups.md +31 -31
  23. package/one/groups/one.md +26 -26
  24. package/one/knowledge/100-inference-quick-reference.md +38 -38
  25. package/one/knowledge/ai-token-crypto-analysis-framework.md +15 -15
  26. package/one/knowledge/archived/ontology.old.md +11 -11
  27. package/one/knowledge/audit-agent-onboard-alignment.md +1 -1
  28. package/one/knowledge/cli-claude-handoff.md +36 -36
  29. package/one/knowledge/crypto-analysis-strategy.md +8 -8
  30. package/one/knowledge/event-driven-documentation.md +270 -0
  31. package/one/knowledge/knowledge.md +28 -28
  32. package/one/knowledge/lessons-website-building-focus.md +1 -1
  33. package/one/knowledge/metadata-system.md +11 -11
  34. package/one/knowledge/ontology-crypto.md +19 -19
  35. package/one/knowledge/ontology-documentation.md +7 -7
  36. package/one/knowledge/ontology-engineering.md +3 -3
  37. package/one/knowledge/ontology-files.yaml +3 -3
  38. package/one/knowledge/ontology-release.md +3 -3
  39. package/one/knowledge/ontology.md +10 -10
  40. package/one/knowledge/ontology.yaml +7 -7
  41. package/one/knowledge/score.md +4 -4
  42. package/one/knowledge/todo-template.md +55 -55
  43. package/one/knowledge/todo.md +55 -55
  44. package/one/knowledge/typescript-patterns.md +1 -1
  45. package/one/knowledge/x402-research.md +1 -1
  46. package/one/people/anthony-o-connell.md +19 -19
  47. package/one/people/people.md +1 -1
  48. package/one/things/IMPLEMENTATION_STATUS.md +12 -12
  49. package/one/things/agents/agent-backend.md +4 -4
  50. package/one/things/agents/agent-clean.md +16 -16
  51. package/one/things/agents/agent-deploy.md +6 -6
  52. package/one/things/agents/agent-sales.md +6 -6
  53. package/one/things/claude/agents/nextjs-15-specialist.md +1 -1
  54. package/one/things/demo-design-summary.md +6 -6
  55. package/one/things/examples/enterprise/crm-saas.md +24 -24
  56. package/one/things/features/2-1-dataprovider-interface.md +6 -6
  57. package/one/things/features/2-3-effectts-services.md +7 -7
  58. package/one/things/features/2-4-react-hooks.md +4 -4
  59. package/one/things/features/2-cli.md +3 -3
  60. package/one/things/features/2-design.md +2 -2
  61. package/one/things/features/use-one-backend.md +2 -2
  62. package/one/things/files.yaml +3 -3
  63. package/one/things/implementation/backend-guide.md +1 -1
  64. package/one/things/interface.md +8 -8
  65. package/one/things/landing-page-implementation.md +10 -10
  66. package/one/things/legal/privacy-policy.md +2 -2
  67. package/one/things/legal/terms-of-service.md +6 -6
  68. package/one/things/master-workflow-plan.md +16 -16
  69. package/one/things/plans/0-in-sync.md +136 -0
  70. package/one/things/plans/SIMPLIFICATION-SUMMARY.md +4 -4
  71. package/one/things/plans/ai-elements.md +7 -7
  72. package/one/things/plans/ai-integration.md +3 -3
  73. package/one/things/plans/ai-sdk.md +8 -8
  74. package/one/things/plans/backend-cleanup-quickstart.md +3 -3
  75. package/one/things/plans/backend-ontology-conformance.md +40 -40
  76. package/one/things/plans/backend-status.md +6 -6
  77. package/one/things/plans/backend-target-structure.md +2 -2
  78. package/one/things/plans/backend.md +1 -1
  79. package/one/things/plans/better-auth-any-backend.md +1 -1
  80. package/one/things/plans/components.md +32 -32
  81. package/one/things/plans/convex-agents.md +8 -8
  82. package/one/things/plans/deep-researcher-agent.md +1 -1
  83. package/one/things/plans/development-plan.md +49 -49
  84. package/one/things/plans/development-workflow.md +1 -1
  85. package/one/things/plans/effect.md +6 -6
  86. package/one/things/plans/execution-strategy.md +61 -61
  87. package/one/things/plans/existing-infrastructure.md +1 -1
  88. package/one/things/plans/frontend-effects.md +10 -10
  89. package/one/things/plans/group-folder-multi-tenancy.md +95 -95
  90. package/one/things/plans/integrate-frontend-and-backend.md +9 -9
  91. package/one/things/plans/onboarding.md +2 -2
  92. package/one/things/plans/ontology-6-dimensions.md +7 -7
  93. package/one/things/plans/ontology-compliance-audit.md +1 -1
  94. package/one/things/plans/phase-1-foundation.md +12 -12
  95. package/one/things/plans/readme-backend-cleanup.md +3 -3
  96. package/one/things/plans/sequence.md +129 -129
  97. package/one/things/plans/skills.md +30 -30
  98. package/one/things/plans/start-new.md +5 -5
  99. package/one/things/plans/sync-checklist.md +4 -4
  100. package/one/things/plans/unified-implementation-plan.md +1 -1
  101. package/one/things/plans/update-demos.md +53 -53
  102. package/one/things/plans/use-our-backend.md +30 -30
  103. package/one/things/plans/wave1-onboarding-100-inferences.md +152 -152
  104. package/one/things/plans/wave1-onboarding-vision.md +7 -7
  105. package/one/things/plans/wave1-orchestration-summary.md +67 -67
  106. package/one/things/plans/wave1-specialist-assignments.md +121 -121
  107. package/one/things/products/ontology.md +2 -2
  108. package/one/things/repos/all-repos.md +0 -0
  109. package/one/things/structure.md +2 -2
  110. package/one/things/tests/2-1-dataprovider-interface.md +2 -2
  111. package/one/things/tests/2-1-test-analysis.md +1 -1
  112. package/one/things/things.md +3 -3
  113. package/one/things/todo-acp-integration.md +33 -33
  114. package/one/things/todo-ai.md +37 -37
  115. package/one/things/todo-api.md +114 -114
  116. package/one/things/todo-assignment.md +39 -39
  117. package/one/things/todo-buy-chatgpt.md +113 -113
  118. package/one/things/todo-components.md +211 -211
  119. package/one/things/todo-ecommerce-frontend.md +82 -82
  120. package/one/things/todo-ecommerce.md +36 -36
  121. package/one/things/todo-effects.md +36 -36
  122. package/one/things/todo-frontend-effects.md +25 -25
  123. package/one/things/todo-landing-page.md +63 -63
  124. package/one/things/todo-mail.md +73 -73
  125. package/one/things/todo-master-plan.md +32 -32
  126. package/one/things/todo-onboard.md +48 -48
  127. package/one/things/todo-one-ie.md +48 -48
  128. package/one/things/todo-page.md +42 -42
  129. package/one/things/todo-plans.md +48 -48
  130. package/one/things/todo-refactoring-plan.md +5 -5
  131. package/one/things/todo-sequence.md +98 -98
  132. package/one/things/todo-use-our-backend.md +219 -219
  133. package/one/things/todo-x402.md +116 -116
  134. package/one/things/video-script-ontology.md +20 -20
  135. package/package.json +7 -2
  136. package/.claude/commands/build.md +0 -293
  137. package/one/.claude/settings.local.json +0 -11
  138. package/one/.obsidian/app.json +0 -8
  139. package/one/.obsidian/appearance.json +0 -1
  140. package/one/.obsidian/community-plugins.json +0 -5
  141. package/one/.obsidian/core-plugins.json +0 -33
  142. package/one/.obsidian/plugins/easy-bake/main.js +0 -361
  143. package/one/.obsidian/plugins/easy-bake/manifest.json +0 -11
  144. package/one/.obsidian/plugins/easy-bake/styles.css +0 -10
  145. package/one/.obsidian/plugins/editing-toolbar/data.json +0 -328
  146. package/one/.obsidian/plugins/editing-toolbar/main.js +0 -12
  147. package/one/.obsidian/plugins/editing-toolbar/manifest.json +0 -10
  148. package/one/.obsidian/plugins/editing-toolbar/styles.css +0 -1338
  149. package/one/.obsidian/plugins/terminal/data.json +0 -154
  150. package/one/.obsidian/plugins/terminal/main.js +0 -197
  151. package/one/.obsidian/plugins/terminal/manifest.json +0 -14
  152. package/one/.obsidian/plugins/terminal/styles.css +0 -32
  153. package/one/.obsidian/workspace.json +0 -266
  154. package/one/events/2024-10-14-deployment-plan.md +0 -330
  155. package/one/events/2024-10-14-deployment-success.md +0 -447
  156. package/one/events/2024-10-14-final-sync-complete.md +0 -250
  157. package/one/events/2024-10-14-release-v2.0.6.md +0 -414
  158. package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -495
  159. package/one/events/2024-10-15-handoff-to-clean.md +0 -347
  160. package/one/events/2024-10-15-package-manager-tests.md +0 -442
  161. package/one/events/2024-10-15-release-command-complete.md +0 -416
  162. package/one/events/2025-10-15-private-files-secured.md +0 -359
  163. package/one/events/2025-10-15-unignore-public-group-docs.md +0 -298
  164. package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +0 -335
  165. package/one/events/ALIGNMENT_SUMMARY.md +0 -280
  166. package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -280
  167. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -654
  168. package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +0 -598
  169. package/one/events/BEFORE_AFTER_COMPARISON.md +0 -978
  170. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -372
  171. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -430
  172. package/one/events/CLAUDE copy.md +0 -897
  173. package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
  174. package/one/events/CONNECTIONS_DEMO.md +0 -519
  175. package/one/events/CREATE-WEBSITE.md +0 -460
  176. package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -522
  177. package/one/events/CUSTOM-DOMAIN.md +0 -375
  178. package/one/events/DELIVERABLES.md +0 -450
  179. package/one/events/DEMO-GROUPS-PAGE.md +0 -410
  180. package/one/events/DEMO-TESTING-SUMMARY.md +0 -536
  181. package/one/events/DEMO_COMPONENTS.md +0 -505
  182. package/one/events/DEMO_HOOKS_INDEX.md +0 -352
  183. package/one/events/DEMO_INFRASTRUCTURE.md +0 -923
  184. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -588
  185. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -449
  186. package/one/events/DEMO_QUICK_REFERENCE.md +0 -459
  187. package/one/events/DEMO_SETUP.md +0 -494
  188. package/one/events/DEPLOYMENT copy.md +0 -444
  189. package/one/events/DEPLOYMENT.md +0 -196
  190. package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -267
  191. package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -243
  192. package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -594
  193. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -439
  194. package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -381
  195. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -214
  196. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -414
  197. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -753
  198. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -941
  199. package/one/events/EFFECT_TS_API_PATTERN.md +0 -496
  200. package/one/events/FEATURE-2-4-COMPLETE.md +0 -320
  201. package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
  202. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -241
  203. package/one/events/GROUPS-MIGRATION.md +0 -643
  204. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -432
  205. package/one/events/HANDOFF.md +0 -331
  206. package/one/events/HOOKS-DEMO.md +0 -459
  207. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -521
  208. package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
  209. package/one/events/INSTALL-TESTS.md +0 -311
  210. package/one/events/INSTALLATION_FOLDERS.md +0 -534
  211. package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -223
  212. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -437
  213. package/one/events/INTEGRATION-ARCHITECTURE.md +0 -579
  214. package/one/events/INTEGRATION-CHECKLIST.md +0 -1252
  215. package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2641
  216. package/one/events/INTEGRATION-SUMMARY.md +0 -671
  217. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -684
  218. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -660
  219. package/one/events/LANDING-PAGE-QUICKSTART.md +0 -425
  220. package/one/events/LICENSE.md +0 -107
  221. package/one/events/MCP-CONFIGURATION.md +0 -354
  222. package/one/events/MCP-SETUP-COMPLETE.md +0 -223
  223. package/one/events/MIGRATION-REPORT.md +0 -453
  224. package/one/events/MIGRATION.md +0 -87
  225. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1645
  226. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -591
  227. package/one/events/NODE-UPGRADE.md +0 -129
  228. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -416
  229. package/one/events/ONTOLOGY-HOOKS-README.md +0 -718
  230. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -383
  231. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -543
  232. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -473
  233. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -504
  234. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -221
  235. package/one/events/PACKAGE-STRUCTURE.md +0 -328
  236. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -349
  237. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
  238. package/one/events/QA-CHECKLIST.md +0 -692
  239. package/one/events/QUICK-START-ONTOLOGY.md +0 -426
  240. package/one/events/README-archived.md +0 -537
  241. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -657
  242. package/one/events/SEARCH_DEMO_DELIVERY.md +0 -433
  243. package/one/events/SEARCH_DEMO_SUMMARY.md +0 -321
  244. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -399
  245. package/one/events/SECURITY-AUDIT-FIXES.md +0 -394
  246. package/one/events/SECURITY-SCAN-COMPLETE.md +0 -299
  247. package/one/events/SHOP-BUILD-STATUS.md +0 -132
  248. package/one/events/SHOP-PREMIUM-UPDATE.md +0 -165
  249. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -280
  250. package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -317
  251. package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -377
  252. package/one/events/STRIPE-INTEGRATION.md +0 -432
  253. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -447
  254. package/one/events/STRIPE-SETUP-GUIDE.md +0 -480
  255. package/one/events/TEST-PLAN-INDEX.md +0 -364
  256. package/one/events/TEST-PLAN.md +0 -1435
  257. package/one/events/TEST-SUMMARY.md +0 -411
  258. package/one/events/TESTING-DELIVERY.txt +0 -372
  259. package/one/events/TESTS-QUICK-REF.md +0 -280
  260. package/one/events/TRANSITIONS-QUICK-START.md +0 -159
  261. package/one/events/TRANSPARENCY-FIXES.md +0 -293
  262. package/one/events/TYPESCRIPT_FIXES.md +0 -170
  263. package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
  264. package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -359
  265. package/one/events/VIEW-TRANSITIONS.md +0 -446
  266. package/one/events/agent-director-enhancement-summary.md +0 -404
  267. package/one/events/agent-onboard-implementation-summary.md +0 -475
  268. package/one/events/agent-ontology-alignment-completion.md +0 -263
  269. package/one/events/backend-integration-tests.md +0 -624
  270. package/one/events/backend-structure-diagram.txt +0 -393
  271. package/one/events/backend-structure-summary.txt +0 -269
  272. package/one/events/clean-agent-ontology-cleanup-report.md +0 -371
  273. package/one/events/clean-agent-todo-analysis-summary.md +0 -336
  274. package/one/events/cloudflare-automation-complete.md +0 -350
  275. package/one/events/cloudflare-pages-infrastructure-setup.md +0 -282
  276. package/one/events/contact-page-complete.md +0 -316
  277. package/one/events/convex-analysis-index.md +0 -322
  278. package/one/events/convex-structure-analysis.md +0 -718
  279. package/one/events/deployment-installation-folders.md +0 -178
  280. package/one/events/deployment-ops-summary.md +0 -386
  281. package/one/events/deployment-verification.md +0 -366
  282. package/one/events/design-spec-complete.md +0 -226
  283. package/one/events/documentation-audit-index.md +0 -473
  284. package/one/events/documentation-audit-summary.md +0 -417
  285. package/one/events/documentation-improvement-roadmap.md +0 -906
  286. package/one/events/documentation-standards-compliance-report.md +0 -538
  287. package/one/events/events.md +0 -563
  288. package/one/events/frontend-effects-complete.md +0 -584
  289. package/one/events/frontend-effects-orchestration.md +0 -1356
  290. package/one/events/frontend-effects-risk-register.md +0 -1055
  291. package/one/events/frontend-effects-week1-assignments.md +0 -1594
  292. package/one/events/hook-ontology-alignment-summary.md +0 -528
  293. package/one/events/installation-folders-workflow-integration.md +0 -458
  294. package/one/events/landing-page-generator.md +0 -476
  295. package/one/events/legal-assessment-2025-10-16.md +0 -1917
  296. package/one/events/onboarding-implementation-complete.md +0 -523
  297. package/one/events/ontology-test-examples.md +0 -580
  298. package/one/events/phase1-backend-implementation-complete.md +0 -536
  299. package/one/events/release.md +0 -272
  300. package/one/events/root-cleanup-alignment-report.md +0 -265
  301. package/one/events/separate-implementation-status.md +0 -555
  302. package/one/events/session-summary-2025-10-18.md +0 -366
  303. package/one/events/skills-complete.md +0 -351
  304. package/one/events/skills-infer-6-10-summary.md +0 -70
  305. package/one/events/skills-phase1-complete.md +0 -281
  306. package/one/events/structural-analysis-architecture-vs-plans.md +0 -559
  307. package/one/events/test-dashboard.md +0 -363
  308. package/one/events/test-index.md +0 -379
  309. package/one/events/test-report-ontology.md +0 -600
  310. package/one/events/testing-summary.md +0 -362
  311. package/one/events/todo-refactoring-complete.md +0 -408
  312. package/one/events/wave1-backend-implementation-complete.md +0 -698
@@ -145,7 +145,7 @@ Every intelligent system needs a coherent model of reality. Traditional systems
145
145
 
146
146
  **All actions and state changes over time**
147
147
 
148
- - **67+ event types** including inference and blockchain events
148
+ - **67+ event types** including cycle and blockchain events
149
149
  - Complete audit trail with actor (person), target (thing), timestamp
150
150
  - **Consolidated event families** with metadata.protocol for multi-protocol support
151
151
  - Scoped to organizations
@@ -155,7 +155,7 @@ Every intelligent system needs a coherent model of reality. Traditional systems
155
155
 
156
156
  - **Thing lifecycle**: thing_created, thing_updated, thing_published, thing_archived, thing_deleted
157
157
  - **User actions**: purchased, enrolled, completed, rated, shared, bookmarked
158
- - **AI/Agent**: clone_voice_created, inference_request, inference_completed, agent_trained
158
+ - **AI/Agent**: clone_voice_created, cycle_request, cycle_completed, agent_trained
159
159
  - **Token/NFT**: tokens_purchased, tokens_earned, tokens_transferred, nft_minted, nft_transferred
160
160
  - **Content**: content_viewed, content_liked, content_commented, scheduled, published
161
161
  - **Knowledge**: knowledge_indexed, knowledge_linked, prompt_template_created
Binary file
@@ -335,7 +335,7 @@ The `/release` command in `.claude/commands/release.md`:
335
335
 
336
336
  **Daily flow:**
337
337
 
338
- 1. Read `one/things/todo.md` (100-inference plan)
338
+ 1. Read `one/things/todo.md` (100-cycle plan)
339
339
  2. Update statuses based on completed work
340
340
  3. Identify blockers and P0 decisions
341
341
  4. Delegate tasks to Clone agents via A2A protocol
@@ -388,7 +388,7 @@ The `/release` command in `.claude/commands/release.md`:
388
388
  ### For Platform Owners
389
389
 
390
390
  - **`one/things/strategy.md`** → Vision + 8 core features
391
- - **`one/things/todo.md`** → 100-inference release plan
391
+ - **`one/things/todo.md`** → 100-cycle release plan
392
392
  - **`one-inc/groups/revenue.md`** → Revenue model + pricing
393
393
 
394
394
  ### For Developers
@@ -114,7 +114,7 @@ describe("DataProvider Interface Types", () => {
114
114
 
115
115
  - All operations return `Effect<T, E, never>`
116
116
  - All errors extend base `DataProviderError` with `_tag` field
117
- - Type inference works correctly (no `any` types)
117
+ - Type cycle works correctly (no `any` types)
118
118
  - Autocomplete works in IDE
119
119
 
120
120
  **Performance:** N/A (type-only)
@@ -1174,7 +1174,7 @@ PERFORMANCE_BASELINE_FILE=./tests/performance/baseline.json
1174
1174
 
1175
1175
  - **Hook API:** Matches Convex ergonomics
1176
1176
  - **Error Messages:** Clear and actionable
1177
- - **Type Inference:** Full autocomplete
1177
+ - **Type Cycle:** Full autocomplete
1178
1178
  - **Documentation:** Complete examples
1179
1179
  - **Migration Path:** Straightforward
1180
1180
 
@@ -114,7 +114,7 @@ ai_context: |
114
114
 
115
115
  5. **Type Safety** (Type-only)
116
116
  - Zero TypeScript errors
117
- - Full type inference
117
+ - Full type cycle
118
118
  - No `any` types (except properties)
119
119
  - Effect.ts integration
120
120
 
@@ -262,10 +262,10 @@ Each thing type has specific properties. Examples:
262
262
  slug: string,
263
263
  domain?: string,
264
264
  plan: "starter" | "pro" | "enterprise",
265
- limits: { users: number; storage: number; apiCalls: number; inferences: number },
266
- usage: { users: number; storage: number; apiCalls: number; inferences: number },
265
+ limits: { users: number; storage: number; apiCalls: number; cycles: number },
266
+ usage: { users: number; storage: number; apiCalls: number; cycles: number },
267
267
  billing: { customerId?: string; cryptoEnabled: boolean },
268
- settings: { inferenceEnabled: boolean; inferenceModels: string[] },
268
+ settings: { cycleEnabled: boolean; cycleModels: string[] },
269
269
  revenueShare?: number,
270
270
  }
271
271
  ```
@@ -3,7 +3,7 @@ title: Todo Acp Integration
3
3
  dimension: things
4
4
  primary_dimension: connections
5
5
  category: todo-acp-integration.md
6
- tags: agent, ai, inference, protocol
6
+ tags: agent, ai, cycle, protocol
7
7
  related_dimensions: events, groups, people, connections, things
8
8
  scope: global
9
9
  created: 2025-11-03
@@ -20,8 +20,8 @@ ai_context: |
20
20
  # ONE Platform: ACP (Agent Communication Protocol) Integration v1.0.0
21
21
 
22
22
  **Focus:** Enable agents to discover, communicate, and collaborate via ACP standard
23
- **Process:** `Infer 1-100 inference sequence`
24
- **Timeline:** 8-12 inferences per specialist per day
23
+ **Process:** `Cycle 1-100 cycle sequence`
24
+ **Timeline:** 8-12 cycles per specialist per day
25
25
  **Target:** Foundation for multi-agent orchestration (Wave 2 - CRITICAL PATH EXTENSION)
26
26
  **Spec:** https://agentcommunicationprotocol.dev/
27
27
 
@@ -41,11 +41,11 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
41
41
 
42
42
  ---
43
43
 
44
- ## PHASE 1: FOUNDATION & SETUP (Infer 1-10)
44
+ ## PHASE 1: FOUNDATION & SETUP (Cycle 1-10)
45
45
 
46
46
  **Purpose:** Understand ACP, map to ONE ontology, plan integration
47
47
 
48
- ### Infer 1: Understand ACP Protocol Deeply
48
+ ### Cycle 1: Understand ACP Protocol Deeply
49
49
 
50
50
  - [ ] Read ACP spec: https://agentcommunicationprotocol.dev/
51
51
  - [ ] Key concepts:
@@ -64,7 +64,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
64
64
  - [ ] GET /agents/{id}/capabilities (what can it do?)
65
65
  - [ ] GET /agents (discover agents)
66
66
 
67
- ### Infer 2: Map ACP to 6-Dimension Ontology
67
+ ### Cycle 2: Map ACP to 6-Dimension Ontology
68
68
 
69
69
  - [ ] **Groups:** Agent network (group of agents that can communicate)
70
70
  - [ ] **People:** Agent metadata (provider, version, support contact)
@@ -94,7 +94,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
94
94
  - [ ] agent_embedding (for semantic capability search)
95
95
  - [ ] agent_performance (rating, reliability, speed)
96
96
 
97
- ### Infer 3: Define ACP Integration Scope
97
+ ### Cycle 3: Define ACP Integration Scope
98
98
 
99
99
  - [ ] **MVP (this todo file):**
100
100
  - [ ] ACP server implementation in /web + /backend
@@ -113,7 +113,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
113
113
  - [ ] Rollback/retry logic
114
114
  - [ ] Multi-agent conversation (3+ agents)
115
115
 
116
- ### Infer 4: Identify Integration Points
116
+ ### Cycle 4: Identify Integration Points
117
117
 
118
118
  - [ ] **Chat agent** (from todo-buy-chatgpt):
119
119
  - [ ] Can delegate recommendations to expert agents
@@ -135,7 +135,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
135
135
  - [ ] Payment agent settles transaction (X402)
136
136
  - [ ] Revenue flows to service provider (creator)
137
137
 
138
- ### Infer 5: Define Agent Types on ONE Platform
138
+ ### Cycle 5: Define Agent Types on ONE Platform
139
139
 
140
140
  - [ ] **System Agents** (built by ONE):
141
141
  - [ ] Chat advisor agent (conversational commerce)
@@ -161,7 +161,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
161
161
  - [ ] Human approves large transactions
162
162
  - [ ] Human escalation for complex issues
163
163
 
164
- ### Infer 6: Plan Agent Registry
164
+ ### Cycle 6: Plan Agent Registry
165
165
 
166
166
  - [ ] Central registry of all agents:
167
167
  - [ ] Endpoint URL
@@ -182,7 +182,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
182
182
  - [ ] Rate limiting per agent (prevent abuse)
183
183
  - [ ] Reputation scoring (track success/failure)
184
184
 
185
- ### Infer 7: Define Message Routing
185
+ ### Cycle 7: Define Message Routing
186
186
 
187
187
  - [ ] How messages get from Agent A → Agent B:
188
188
  1. Agent A sends POST to ONE /api/acp/agents/agent-b/messages
@@ -203,7 +203,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
203
203
  - [ ] Dead letter queue (failed messages stored)
204
204
  - [ ] Message idempotency (same message twice = same result)
205
205
 
206
- ### Infer 8: Plan Task Delegation
206
+ ### Cycle 8: Plan Task Delegation
207
207
 
208
208
  - [ ] Task = async work assigned to agent
209
209
  - [ ] Lifecycle:
@@ -226,7 +226,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
226
226
  - [ ] Timeout enforcement (kill if exceeds deadline)
227
227
  - [ ] Error handling (retry or fail gracefully)
228
228
 
229
- ### Infer 9: Define Security & Authentication
229
+ ### Cycle 9: Define Security & Authentication
230
230
 
231
231
  - [ ] Authentication:
232
232
  - [ ] API keys (simple: one per agent)
@@ -249,7 +249,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
249
249
  - [ ] Timeout enforcement (prevent infinite loops)
250
250
  - [ ] Resource limits (max message size, task timeout)
251
251
 
252
- ### Infer 10: Define Success Metrics
252
+ ### Cycle 10: Define Success Metrics
253
253
 
254
254
  - [ ] ACP integration complete when:
255
255
  - [ ] [ ] ACP server endpoint live (/api/acp/\*)
@@ -267,11 +267,11 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
267
267
 
268
268
  ---
269
269
 
270
- ## PHASE 2: BACKEND SCHEMA & SERVICES (Infer 11-20)
270
+ ## PHASE 2: BACKEND SCHEMA & SERVICES (Cycle 11-20)
271
271
 
272
272
  **Purpose:** Extend Convex schema for ACP agents + messages
273
273
 
274
- ### Infer 11: Create Agent Thing Type
274
+ ### Cycle 11: Create Agent Thing Type
275
275
 
276
276
  - [ ] New thing type: `agent`
277
277
 
@@ -337,7 +337,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
337
337
  }
338
338
  ```
339
339
 
340
- ### Infer 12: Create ACP Message Thing Type
340
+ ### Cycle 12: Create ACP Message Thing Type
341
341
 
342
342
  - [ ] New thing type: `acp_message`
343
343
 
@@ -387,7 +387,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
387
387
  }
388
388
  ```
389
389
 
390
- ### Infer 13: Create ACP Task Thing Type
390
+ ### Cycle 13: Create ACP Task Thing Type
391
391
 
392
392
  - [ ] New thing type: `acp_task`
393
393
 
@@ -453,7 +453,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
453
453
  }
454
454
  ```
455
455
 
456
- ### Infer 14: Create Agent Capability Relationship
456
+ ### Cycle 14: Create Agent Capability Relationship
457
457
 
458
458
  - [ ] New connection type: `has_capability`
459
459
  - [ ] Agent → Capability
@@ -469,7 +469,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
469
469
  - [ ] totalMessages
470
470
  - [ ] successRate
471
471
 
472
- ### Infer 15: Create ACP Service (Effect.ts)
472
+ ### Cycle 15: Create ACP Service (Effect.ts)
473
473
 
474
474
  - [ ] Service: `backend/convex/services/acp.ts`
475
475
  - [ ] Methods:
@@ -484,7 +484,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
484
484
  - [ ] `healthCheckAgents()` → mark online/offline
485
485
  - [ ] `logACPEvent(type, data)` → event recorded
486
486
 
487
- ### Infer 16: Implement Message Routing
487
+ ### Cycle 16: Implement Message Routing
488
488
 
489
489
  - [ ] Algorithm:
490
490
  1. Receive message for Agent B
@@ -503,7 +503,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
503
503
  - [ ] Timeout → Return error to sender
504
504
  - [ ] Invalid format → Reject with error
505
505
 
506
- ### Infer 17: Implement Agent Discovery
506
+ ### Cycle 17: Implement Agent Discovery
507
507
 
508
508
  - [ ] Endpoints:
509
509
  - [ ] `GET /api/acp/agents` - List all agents
@@ -522,7 +522,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
522
522
  - [ ] Invalidate on agent registration/deletion
523
523
  - [ ] Use Redis for speed
524
524
 
525
- ### Infer 18: Implement Task Queue
525
+ ### Cycle 18: Implement Task Queue
526
526
 
527
527
  - [ ] Queue system for async tasks:
528
528
  - [ ] Tasks table ordered by priority + created time
@@ -540,7 +540,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
540
540
  - [ ] Processing rate (tasks per minute)
541
541
  - [ ] Average latency
542
542
 
543
- ### Infer 19: Implement Health Checks
543
+ ### Cycle 19: Implement Health Checks
544
544
 
545
545
  - [ ] Background job (every 5 minutes):
546
546
  - [ ] Ping all registered agents
@@ -555,7 +555,7 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
555
555
  - [ ] Exponential backoff (don't spam offline agents)
556
556
  - [ ] Parallel pings (don't block on one agent)
557
557
 
558
- ### Infer 20: Create Convex Queries for ACP
558
+ ### Cycle 20: Create Convex Queries for ACP
559
559
 
560
560
  - [ ] `queries/acp.ts`:
561
561
  - [ ] `getAgent(agentId)` → agent details
@@ -575,56 +575,56 @@ ACP is the **lingua franca** for inter-agent communication. Integration enables:
575
575
 
576
576
  ### Summary of Remaining Phases:
577
577
 
578
- **Phase 3 (Infer 21-30):** Frontend dashboard + admin UI
578
+ **Phase 3 (Cycle 21-30):** Frontend dashboard + admin UI
579
579
 
580
580
  - Agent registry browser
581
581
  - Message/task monitoring
582
582
  - Agent health dashboard
583
583
  - Test console (send messages manually)
584
584
 
585
- **Phase 4 (Infer 31-40):** API routes + middleware
585
+ **Phase 4 (Cycle 31-40):** API routes + middleware
586
586
 
587
587
  - `/api/acp/agents` - REST endpoints
588
588
  - `/api/acp/messages` - Message routing
589
589
  - `/api/acp/tasks` - Task delegation
590
590
  - Authentication + rate limiting
591
591
 
592
- **Phase 5 (Infer 41-50):** Integration points
592
+ **Phase 5 (Cycle 41-50):** Integration points
593
593
 
594
594
  - Chat agent ↔ Expert agents
595
595
  - Payment agent ↔ Checkout system
596
596
  - Content agents ↔ Product descriptions
597
597
  - Analytics agent ↔ Dashboard
598
598
 
599
- **Phase 6 (Infer 51-60):** Testing
599
+ **Phase 6 (Cycle 51-60):** Testing
600
600
 
601
601
  - Unit tests (message routing, discovery)
602
602
  - Integration tests (multi-agent workflows)
603
603
  - E2E tests (chat → expert → payment)
604
604
  - Load tests (1000 concurrent agents)
605
605
 
606
- **Phase 7 (Infer 61-70):** Design + UX
606
+ **Phase 7 (Cycle 61-70):** Design + UX
607
607
 
608
608
  - Agent registry UI (search, filter, details)
609
609
  - Message monitoring dashboard
610
610
  - Task execution tracker
611
611
  - Performance metrics charts
612
612
 
613
- **Phase 8 (Infer 71-80):** Performance
613
+ **Phase 8 (Cycle 71-80):** Performance
614
614
 
615
615
  - Message batching
616
616
  - Agent caching
617
617
  - Connection pooling
618
618
  - Database query optimization
619
619
 
620
- **Phase 9 (Infer 81-90):** Deployment
620
+ **Phase 9 (Cycle 81-90):** Deployment
621
621
 
622
622
  - Deploy ACP server
623
623
  - Load testing
624
624
  - Monitoring + alerts
625
625
  - Documentation
626
626
 
627
- **Phase 10 (Infer 91-100):** Knowledge capture
627
+ **Phase 10 (Cycle 91-100):** Knowledge capture
628
628
 
629
629
  - Lessons learned
630
630
  - Common patterns
@@ -3,7 +3,7 @@ title: Todo Ai
3
3
  dimension: things
4
4
  primary_dimension: things
5
5
  category: todo-ai.md
6
- tags: ai, artificial-intelligence, backend, connections, events, inference, knowledge, ontology, things
6
+ tags: ai, artificial-intelligence, backend, connections, events, cycle, knowledge, ontology, things
7
7
  related_dimensions: connections, events, groups, knowledge, people
8
8
  scope: global
9
9
  created: 2025-11-03
@@ -12,12 +12,12 @@ version: 1.0.0
12
12
  ai_context: |
13
13
  This document is part of the things dimension in the todo-ai.md category.
14
14
  Location: one/things/todo-ai.md
15
- Purpose: Documents ai implementation: 100-inference roadmap
15
+ Purpose: Documents ai implementation: 100-cycle roadmap
16
16
  Related dimensions: connections, events, groups, knowledge, people
17
17
  For AI agents: Read this to understand todo ai.
18
18
  ---
19
19
 
20
- # AI Implementation: 100-Inference Roadmap
20
+ # AI Implementation: 100-Cycle Roadmap
21
21
 
22
22
  **Feature:** AI Chat with Vercel AI SDK + Prompt Kit
23
23
  **Version:** 1.0.0
@@ -38,11 +38,11 @@ This roadmap sequences the complete implementation of AI capabilities using **Ve
38
38
  - **Ontology Aligned**: Every AI interaction maps to 6 dimensions (Things, Connections, Events, Knowledge)
39
39
  - **Streaming Support**: Real-time responses with token tracking
40
40
  - **Multi-Tenant**: Each group has isolated AI quotas and configurations
41
- - **Type Safe**: Full TypeScript with automatic inference
41
+ - **Type Safe**: Full TypeScript with automatic cycle
42
42
 
43
43
  ---
44
44
 
45
- ## Inference 1-10: Foundation & Setup
45
+ ## Cycle 1-10: Foundation & Setup
46
46
 
47
47
  **1. [INFER-001]** Validate AI feature against 6-dimension ontology
48
48
 
@@ -104,14 +104,14 @@ This roadmap sequences the complete implementation of AI capabilities using **Ve
104
104
 
105
105
  **9. [INFER-009]** Generate initial plan with feature breakdown
106
106
 
107
- - Phase 1 (Infer 1-10): Setup and dependencies
108
- - Phase 2 (Infer 11-20): Backend schema and services
109
- - Phase 3 (Infer 21-30): Frontend components and pages
110
- - Phase 4 (Infer 41-50): Advanced features (tools, reasoning, streaming)
111
- - Phase 5 (Infer 61-70): Monitoring and analytics
112
- - Phase 6 (Infer 71-80): Design and polish
113
- - Phase 7 (Infer 81-90): Performance optimization
114
- - Phase 8 (Infer 91-100): Deployment and documentation
107
+ - Phase 1 (Cycle 1-10): Setup and dependencies
108
+ - Phase 2 (Cycle 11-20): Backend schema and services
109
+ - Phase 3 (Cycle 21-30): Frontend components and pages
110
+ - Phase 4 (Cycle 41-50): Advanced features (tools, reasoning, streaming)
111
+ - Phase 5 (Cycle 61-70): Monitoring and analytics
112
+ - Phase 6 (Cycle 71-80): Design and polish
113
+ - Phase 7 (Cycle 81-90): Performance optimization
114
+ - Phase 8 (Cycle 91-100): Deployment and documentation
115
115
 
116
116
  **10. [INFER-010]** Assign features to specialists
117
117
 
@@ -123,7 +123,7 @@ This roadmap sequences the complete implementation of AI capabilities using **Ve
123
123
 
124
124
  ---
125
125
 
126
- ## Inference 11-20: Backend Schema & Services
126
+ ## Cycle 11-20: Backend Schema & Services
127
127
 
128
128
  **11. [INFER-011]** Design database schema changes
129
129
 
@@ -218,7 +218,7 @@ aiMessages: {
218
218
 
219
219
  ---
220
220
 
221
- ## Inference 21-30: Frontend Pages & Components
221
+ ## Cycle 21-30: Frontend Pages & Components
222
222
 
223
223
  **21. [INFER-021]** Create Astro chat page with SSR data fetching
224
224
 
@@ -292,7 +292,7 @@ aiMessages: {
292
292
 
293
293
  ---
294
294
 
295
- ## Inference 31-40: Integration & Connections
295
+ ## Cycle 31-40: Integration & Connections
296
296
 
297
297
  **31. [INFER-031]** Map Prompt Kit to ontology
298
298
 
@@ -362,7 +362,7 @@ aiMessages: {
362
362
 
363
363
  ---
364
364
 
365
- ## Inference 41-50: Advanced Features
365
+ ## Cycle 41-50: Advanced Features
366
366
 
367
367
  **41. [INFER-041]** Implement structured output (objects)
368
368
 
@@ -436,7 +436,7 @@ aiMessages: {
436
436
 
437
437
  ---
438
438
 
439
- ## Inference 51-60: Knowledge & RAG
439
+ ## Cycle 51-60: Knowledge & RAG
440
440
 
441
441
  **51. [INFER-051]** Create knowledge records with labels
442
442
 
@@ -512,7 +512,7 @@ aiMessages: {
512
512
 
513
513
  ---
514
514
 
515
- ## Inference 61-70: Quality & Testing
515
+ ## Cycle 61-70: Quality & Testing
516
516
 
517
517
  **61. [INFER-061]** Define user flows
518
518
 
@@ -590,7 +590,7 @@ aiMessages: {
590
590
 
591
591
  ---
592
592
 
593
- ## Inference 71-80: Design & Wireframes
593
+ ## Cycle 71-80: Design & Wireframes
594
594
 
595
595
  **71. [INFER-071]** Create wireframes for chat interface
596
596
 
@@ -667,7 +667,7 @@ aiMessages: {
667
667
 
668
668
  ---
669
669
 
670
- ## Inference 81-90: Performance & Optimization
670
+ ## Cycle 81-90: Performance & Optimization
671
671
 
672
672
  **81. [INFER-081]** Optimize database queries
673
673
 
@@ -741,7 +741,7 @@ aiMessages: {
741
741
 
742
742
  ---
743
743
 
744
- ## Inference 91-100: Deployment & Documentation
744
+ ## Cycle 91-100: Deployment & Documentation
745
745
 
746
746
  **91. [INFER-091]** Build production bundle
747
747
 
@@ -819,39 +819,39 @@ aiMessages: {
819
819
 
820
820
  ### Sequential Execution
821
821
 
822
- - Always do the **next inference** in sequence
823
- - Each inference builds on previous work
822
+ - Always do the **next cycle** in sequence
823
+ - Each cycle builds on previous work
824
824
  - Dependencies are implicit in ordering
825
825
 
826
826
  ### Context Loading
827
827
 
828
- - Use hooks to load current inference
828
+ - Use hooks to load current cycle
829
829
  - Hooks provide:
830
- - Inference number and task
830
+ - Cycle number and task
831
831
  - Required ontology dimensions
832
832
  - Specialist assignments
833
833
  - Dependencies
834
834
 
835
835
  ### Completion Tracking
836
836
 
837
- - Mark inference complete when done
837
+ - Mark cycle complete when done
838
838
  - Update progress tracker
839
- - Load context for next inference
839
+ - Load context for next cycle
840
840
  - Capture lessons learned
841
841
 
842
842
  ### Parallel Execution
843
843
 
844
- After schema is defined (Infer 12):
844
+ After schema is defined (Cycle 12):
845
845
 
846
- - **Backend + Frontend:** Infer 11-20 and 21-30 in parallel
847
- - **Tests + Design:** Infer 61-70 and 71-80 interdependent
848
- - **Documentation:** Infer 95-99 can start earlier
846
+ - **Backend + Frontend:** Cycle 11-20 and 21-30 in parallel
847
+ - **Tests + Design:** Cycle 61-70 and 71-80 interdependent
848
+ - **Documentation:** Cycle 95-99 can start earlier
849
849
 
850
850
  ### Adaptive Planning
851
851
 
852
852
  - Adjust based on complexity
853
- - Skip inferences if not applicable
854
- - Add inferences for special needs
853
+ - Skip cycles if not applicable
854
+ - Add cycles for special needs
855
855
  - Let judgment refine the list
856
856
 
857
857
  ---
@@ -900,7 +900,7 @@ After schema is defined (Infer 12):
900
900
 
901
901
  ## Specialist Assignments
902
902
 
903
- | Inference Range | Specialist | Focus |
903
+ | Cycle Range | Specialist | Focus |
904
904
  | --------------- | ---------- | --------------------------- |
905
905
  | 1-10 | Director | Planning and architecture |
906
906
  | 11-20 | Backend | Schema, services, mutations |
@@ -917,7 +917,7 @@ After schema is defined (Infer 12):
917
917
 
918
918
  ## Success Metrics
919
919
 
920
- - **Completion Rate:** 100% of inferences completed
920
+ - **Completion Rate:** 100% of cycles completed
921
921
  - **Test Coverage:** > 85% code coverage
922
922
  - **Performance:** Lighthouse > 90 across metrics
923
923
  - **Accessibility:** WCAG AA compliance
@@ -926,7 +926,7 @@ After schema is defined (Infer 12):
926
926
 
927
927
  ---
928
928
 
929
- **Philosophy:** Plan in inferences (not days). 100 inferences = 1 complete feature, flawlessly executed.
929
+ **Philosophy:** Plan in cycles (not days). 100 cycles = 1 complete feature, flawlessly executed.
930
930
 
931
931
  **Golden Rule:** Do the next thing, perfectly.
932
932