oneie 2.0.2 → 2.0.5

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 (459) hide show
  1. package/AGENTS.md +245 -0
  2. package/CLAUDE.md +725 -0
  3. package/LICENSE.md +84 -0
  4. package/README.md +489 -931
  5. package/folders.yaml +78 -17
  6. package/one/.obsidian/app.json +1 -0
  7. package/one/.obsidian/appearance.json +1 -0
  8. package/one/.obsidian/core-plugins.json +33 -0
  9. package/one/.obsidian/workspace.json +211 -0
  10. package/one/connections/a2a.md +551 -0
  11. package/one/connections/acp.md +761 -0
  12. package/one/connections/acps.md +731 -0
  13. package/one/connections/agentkit.md +349 -0
  14. package/one/connections/agui.md +767 -0
  15. package/one/connections/any-backend.md +1702 -0
  16. package/one/connections/ap2.md +998 -0
  17. package/one/connections/api-docs.md +1891 -0
  18. package/one/connections/api.md +2190 -0
  19. package/one/connections/architecture-diagram.md +94 -0
  20. package/one/connections/communications.md +449 -0
  21. package/one/connections/connections.md +339 -0
  22. package/one/connections/copilotkit.md +1559 -0
  23. package/one/connections/cryptonetworks.md +781 -0
  24. package/one/connections/documentation.md +1120 -0
  25. package/one/connections/effect.md +279 -0
  26. package/one/connections/elizaos.md +1290 -0
  27. package/one/connections/inference.md +58 -0
  28. package/one/connections/kyc.md +632 -0
  29. package/one/connections/mcp.md +842 -0
  30. package/one/connections/membership.md +1152 -0
  31. package/one/connections/middleware.md +1067 -0
  32. package/one/connections/multitenant.md +1341 -0
  33. package/one/connections/n8n.md +1015 -0
  34. package/one/connections/patterns.md +89 -0
  35. package/one/connections/protocols.md +279 -0
  36. package/one/connections/relationships.md +107 -0
  37. package/one/connections/schema.md +587 -0
  38. package/one/connections/service-layer.md +550 -0
  39. package/one/connections/structure.md +0 -0
  40. package/one/connections/vectors.md +207 -0
  41. package/one/connections/wordpress.md +1302 -0
  42. package/one/connections/workflow-copy.md +905 -0
  43. package/one/connections/workflow-examples.md +741 -0
  44. package/one/connections/workflow.md +905 -0
  45. package/one/connections/workflows/delegation.md +885 -0
  46. package/one/connections/workflows/frontend.md +1037 -0
  47. package/one/connections/workflows/strategy.md +903 -0
  48. package/one/connections/workflows/tasks.md +698 -0
  49. package/one/connections/x402.md +1249 -0
  50. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +412 -0
  51. package/one/events/FEATURE-2-4-COMPLETE.md +302 -0
  52. package/one/events/FEATURE_2_3_COMPLETE.md +575 -0
  53. package/one/events/GROUPS-MIGRATION.md +625 -0
  54. package/one/events/INSTALL-TESTS.md +293 -0
  55. package/one/events/INTEGRATION-ARCHITECTURE.md +561 -0
  56. package/one/events/INTEGRATION-CHECKLIST.md +1234 -0
  57. package/one/events/INTEGRATION-ORCHESTRATION.md +2623 -0
  58. package/one/events/INTEGRATION-SUMMARY.md +653 -0
  59. package/one/events/MIGRATION-REPORT.md +435 -0
  60. package/one/events/MIGRATION.md +69 -0
  61. package/one/events/README-archived.md +519 -0
  62. package/one/events/TEST-SUMMARY.md +393 -0
  63. package/one/events/TESTS-QUICK-REF.md +262 -0
  64. package/one/events/events.md +545 -0
  65. package/one/groups/groups.md +543 -0
  66. package/one/groups/one.md +599 -0
  67. package/one/groups/revenue.md +673 -0
  68. package/one/groups/strategy.md +869 -0
  69. package/one/groups/vision.md +98 -0
  70. package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +49 -0
  71. package/one/knowledge/ai-platform.md +305 -0
  72. package/one/knowledge/architecture-any-backend.md +1366 -0
  73. package/one/knowledge/architecture-diagram.md +94 -0
  74. package/one/knowledge/architecture-frontend.md +930 -0
  75. package/one/knowledge/architecture.md +2077 -0
  76. package/one/knowledge/crypto.md +960 -0
  77. package/one/knowledge/docs/flow.md +0 -0
  78. package/one/knowledge/dsl.md +1660 -0
  79. package/one/knowledge/files.md +2471 -0
  80. package/one/knowledge/frontend.md +1038 -0
  81. package/one/knowledge/hono.md +2109 -0
  82. package/one/knowledge/implementation-examples.md +2536 -0
  83. package/one/knowledge/inference-score.md +159 -0
  84. package/one/knowledge/knowledge.md +642 -0
  85. package/one/knowledge/language.md +980 -0
  86. package/one/knowledge/lessons-learned.md +70 -0
  87. package/one/knowledge/ontology-6-dimensions.md +0 -0
  88. package/one/knowledge/ontology-documentation.md +356 -0
  89. package/one/knowledge/ontology-engineering-specification.md +1292 -0
  90. package/one/knowledge/ontology-engineering.md +1652 -0
  91. package/one/knowledge/ontology-frontend-copy-2.md +1492 -0
  92. package/one/knowledge/ontology-frontend-copy.md +753 -0
  93. package/one/knowledge/ontology-frontend-specifications.md +2188 -0
  94. package/one/knowledge/ontology-frontend.md +2427 -0
  95. package/one/knowledge/ontology-minimal.yaml +299 -0
  96. package/one/knowledge/ontology.md +2830 -0
  97. package/one/knowledge/ontology.md.backup +2822 -0
  98. package/one/knowledge/ontology.yaml +1165 -0
  99. package/one/knowledge/patterns/backend/convex-mutation-pattern.md +100 -0
  100. package/one/knowledge/patterns/backend/convex-query-pattern.md +88 -0
  101. package/one/knowledge/patterns/backend/mutation-template.md +231 -0
  102. package/one/knowledge/patterns/backend/query-template.md +267 -0
  103. package/one/knowledge/patterns/backend/service-template.md +237 -0
  104. package/one/knowledge/patterns/design/component-architecture.md +399 -0
  105. package/one/knowledge/patterns/design/test-driven-design-pattern.md +162 -0
  106. package/one/knowledge/patterns/design/wireframe-template.md +216 -0
  107. package/one/knowledge/patterns/frontend/component-template.md +195 -0
  108. package/one/knowledge/patterns/frontend/form-template.md +276 -0
  109. package/one/knowledge/patterns/frontend/page-template.md +178 -0
  110. package/one/knowledge/patterns/frontend/react-component-pattern.md +128 -0
  111. package/one/knowledge/patterns/test/acceptance-criteria-template.md +378 -0
  112. package/one/knowledge/patterns/test/technical-test-template.md +544 -0
  113. package/one/knowledge/patterns/test/test-driven-pattern.md +140 -0
  114. package/one/knowledge/patterns/test/user-flow-template.md +254 -0
  115. package/one/knowledge/provider-creation-guide.md +1064 -0
  116. package/one/knowledge/quality-loop.md +401 -0
  117. package/one/knowledge/readme.md +131 -0
  118. package/one/knowledge/rules.md +626 -0
  119. package/one/knowledge/score.md +67 -0
  120. package/one/knowledge/specifications.md +855 -0
  121. package/one/knowledge/tags.md +130 -0
  122. package/one/knowledge/todo.md +251 -0
  123. package/one/license.md +84 -0
  124. package/one/people/anthony-o-connell.md +440 -0
  125. package/one/people/people.md +567 -0
  126. package/one/things/CHECKLIST.md +356 -0
  127. package/one/things/ONE.md +510 -0
  128. package/one/things/agents/agent-backend.md +1401 -0
  129. package/one/things/agents/agent-builder.md +955 -0
  130. package/one/things/agents/agent-clean.md +709 -0
  131. package/one/things/agents/agent-clone.md +1341 -0
  132. package/one/things/agents/agent-designer.md +2177 -0
  133. package/one/things/agents/agent-director.md +1508 -0
  134. package/one/things/agents/agent-documenter.md +1049 -0
  135. package/one/things/agents/agent-frontend.md +1119 -0
  136. package/one/things/agents/agent-integrator.md +1192 -0
  137. package/one/things/agents/agent-problem-solver.md +1379 -0
  138. package/one/things/agents/agent-quality.md +1353 -0
  139. package/one/things/agents/agent-sales.md +986 -0
  140. package/one/things/cascade/cascade.yaml +464 -0
  141. package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +470 -0
  142. package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +264 -0
  143. package/one/things/cascade/docs/examples/1-1-agent-prompts.md +486 -0
  144. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +497 -0
  145. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +227 -0
  146. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +516 -0
  147. package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +544 -0
  148. package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +223 -0
  149. package/one/things/cascade/docs/examples/1-3-event-coordination.md +508 -0
  150. package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +609 -0
  151. package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +195 -0
  152. package/one/things/cascade/docs/examples/1-4-knowledge-management.md +577 -0
  153. package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +797 -0
  154. package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +212 -0
  155. package/one/things/cascade/docs/examples/1-5-quality-loops.md +641 -0
  156. package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +610 -0
  157. package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +213 -0
  158. package/one/things/cascade/docs/examples/1-6-numbering-structure.md +575 -0
  159. package/one/things/cascade/docs/examples/readme.md +222 -0
  160. package/one/things/cascade/docs/getting-started.md +515 -0
  161. package/one/things/cascade/docs/workflow.md +1372 -0
  162. package/one/things/cascade/readme.md +336 -0
  163. package/one/things/cascade/templates/feature-template.md +267 -0
  164. package/one/things/claude/agents/advocacy-activation-manager.md +685 -0
  165. package/one/things/claude/agents/advocacy-campaign-designer.md +663 -0
  166. package/one/things/claude/agents/analyst.md +483 -0
  167. package/one/things/claude/agents/architect.md +480 -0
  168. package/one/things/claude/agents/brand-identity-specialist.md +513 -0
  169. package/one/things/claude/agents/bstp-token-strategist.md +667 -0
  170. package/one/things/claude/agents/builder-repo.md +489 -0
  171. package/one/things/claude/agents/bullstamp-community-builder.md +574 -0
  172. package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +506 -0
  173. package/one/things/claude/agents/bulltilt-platform-growth.md +567 -0
  174. package/one/things/claude/agents/company-bullstamp-character.md +587 -0
  175. package/one/things/claude/agents/company-bullstamp-community.md +292 -0
  176. package/one/things/claude/agents/company-bullstamp-marketing.md +292 -0
  177. package/one/things/claude/agents/company-bullstamp-token.md +292 -0
  178. package/one/things/claude/agents/company-bulltilt-growth.md +292 -0
  179. package/one/things/claude/agents/content-bibliography-formatter.md +381 -0
  180. package/one/things/claude/agents/content-calendar-planner.md +448 -0
  181. package/one/things/claude/agents/content-chapter-formatter.md +488 -0
  182. package/one/things/claude/agents/content-formatter.md +546 -0
  183. package/one/things/claude/agents/content-hook-specialist.md +462 -0
  184. package/one/things/claude/agents/content-image-formatter.md +535 -0
  185. package/one/things/claude/agents/content-introduction-formatter.md +485 -0
  186. package/one/things/claude/agents/content-multiplication-engine.md +556 -0
  187. package/one/things/claude/agents/content-playbook-writer.md +448 -0
  188. package/one/things/claude/agents/content-team-manager.md +622 -0
  189. package/one/things/claude/agents/content-toc-formatter.md +522 -0
  190. package/one/things/claude/agents/convex-backend-specialist.md +2561 -0
  191. package/one/things/claude/agents/core-manager.md +582 -0
  192. package/one/things/claude/agents/core-master.md +403 -0
  193. package/one/things/claude/agents/cross-functional-manager.md +471 -0
  194. package/one/things/claude/agents/crypto-airdrop-strategist.md +602 -0
  195. package/one/things/claude/agents/crypto-analytics-educator.md +553 -0
  196. package/one/things/claude/agents/crypto-architecture-specialist.md +466 -0
  197. package/one/things/claude/agents/crypto-community-analyst.md +298 -0
  198. package/one/things/claude/agents/crypto-community-psychologist.md +509 -0
  199. package/one/things/claude/agents/crypto-dex-optimization-expert.md +538 -0
  200. package/one/things/claude/agents/crypto-dex-optimizer.md +292 -0
  201. package/one/things/claude/agents/crypto-diamond-formation-specialist.md +513 -0
  202. package/one/things/claude/agents/crypto-diamond-hands.md +292 -0
  203. package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +554 -0
  204. package/one/things/claude/agents/crypto-engagement-specialist.md +540 -0
  205. package/one/things/claude/agents/crypto-market-researcher.md +292 -0
  206. package/one/things/claude/agents/crypto-marketing-orchestrator.md +523 -0
  207. package/one/things/claude/agents/crypto-network-effect-amplifier.md +569 -0
  208. package/one/things/claude/agents/crypto-optimization-analyst.md +554 -0
  209. package/one/things/claude/agents/crypto-strategic-synthesizer.md +517 -0
  210. package/one/things/claude/agents/crypto-team-manager.md +387 -0
  211. package/one/things/claude/agents/crypto-token-analyst.md +278 -0
  212. package/one/things/claude/agents/crypto-viral-content-creator.md +546 -0
  213. package/one/things/claude/agents/crypto-wallet-identification-expert.md +517 -0
  214. package/one/things/claude/agents/crypto-wallet-identifier.md +292 -0
  215. package/one/things/claude/agents/customer-journey-designer.md +481 -0
  216. package/one/things/claude/agents/customer-success-manager.md +581 -0
  217. package/one/things/claude/agents/dev.md +413 -0
  218. package/one/things/claude/agents/documenter.md +546 -0
  219. package/one/things/claude/agents/elevate-marketing-orchestrator.md +410 -0
  220. package/one/things/claude/agents/engagement-specialist.md +509 -0
  221. package/one/things/claude/agents/engineering-architect.md +387 -0
  222. package/one/things/claude/agents/engineering-business-analyst.md +537 -0
  223. package/one/things/claude/agents/engineering-developer.md +387 -0
  224. package/one/things/claude/agents/engineering-director.md +282 -0
  225. package/one/things/claude/agents/engineering-ingestor.md +649 -0
  226. package/one/things/claude/agents/engineering-product-manager.md +537 -0
  227. package/one/things/claude/agents/engineering-product-owner.md +537 -0
  228. package/one/things/claude/agents/engineering-project-coordinator.md +537 -0
  229. package/one/things/claude/agents/engineering-quality-assurance.md +393 -0
  230. package/one/things/claude/agents/engineering-team-manager.md +512 -0
  231. package/one/things/claude/agents/engineering-user-experience.md +387 -0
  232. package/one/things/claude/agents/framework-elevate-manager.md +294 -0
  233. package/one/things/claude/agents/improver.md +763 -0
  234. package/one/things/claude/agents/intelligence-team-manager.md +385 -0
  235. package/one/things/claude/agents/lead-capture-expert.md +466 -0
  236. package/one/things/claude/agents/lead-magnet-creator.md +453 -0
  237. package/one/things/claude/agents/market-research-analyst.md +412 -0
  238. package/one/things/claude/agents/marketing-brand-identity.md +314 -0
  239. package/one/things/claude/agents/marketing-content-hooks.md +450 -0
  240. package/one/things/claude/agents/marketing-content-multiplier.md +326 -0
  241. package/one/things/claude/agents/marketing-content-poster.md +361 -0
  242. package/one/things/claude/agents/marketing-customer-journey.md +326 -0
  243. package/one/things/claude/agents/marketing-director.md +397 -0
  244. package/one/things/claude/agents/marketing-engagement.md +326 -0
  245. package/one/things/claude/agents/marketing-lead-capture.md +326 -0
  246. package/one/things/claude/agents/marketing-lead-magnet.md +326 -0
  247. package/one/things/claude/agents/marketing-network-effects.md +326 -0
  248. package/one/things/claude/agents/marketing-nurture-campaigns.md +326 -0
  249. package/one/things/claude/agents/marketing-share-optimizer.md +326 -0
  250. package/one/things/claude/agents/marketing-team-manager.md +446 -0
  251. package/one/things/claude/agents/marketing-viral-growth.md +201 -0
  252. package/one/things/claude/agents/mission-commander.md +373 -0
  253. package/one/things/claude/agents/network-effect-analyst.md +587 -0
  254. package/one/things/claude/agents/nextjs-15-specialist.md +1547 -0
  255. package/one/things/claude/agents/npx.md +890 -0
  256. package/one/things/claude/agents/nurture-campaign-manager.md +531 -0
  257. package/one/things/claude/agents/one-master.md +355 -0
  258. package/one/things/claude/agents/one-orchestrator.md +315 -0
  259. package/one/things/claude/agents/one.md +601 -0
  260. package/one/things/claude/agents/playbook-generator.md +503 -0
  261. package/one/things/claude/agents/pm.md +326 -0
  262. package/one/things/claude/agents/po.md +345 -0
  263. package/one/things/claude/agents/qa.md +336 -0
  264. package/one/things/claude/agents/research-foundation-analyst.md +307 -0
  265. package/one/things/claude/agents/research-intelligence-gatherer.md +408 -0
  266. package/one/things/claude/agents/research-market-analyst.md +307 -0
  267. package/one/things/claude/agents/research-team-manager.md +482 -0
  268. package/one/things/claude/agents/sales-environment-optimizer.md +494 -0
  269. package/one/things/claude/agents/sales-team-manager.md +400 -0
  270. package/one/things/claude/agents/sales-upsell-strategist.md +307 -0
  271. package/one/things/claude/agents/service-advocacy-campaigns.md +307 -0
  272. package/one/things/claude/agents/service-advocacy-manager.md +307 -0
  273. package/one/things/claude/agents/service-success-manager.md +307 -0
  274. package/one/things/claude/agents/service-team-manager.md +400 -0
  275. package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +2302 -0
  276. package/one/things/claude/agents/share-optimization-specialist.md +551 -0
  277. package/one/things/claude/agents/sm.md +327 -0
  278. package/one/things/claude/agents/story-teller.md +473 -0
  279. package/one/things/claude/agents/task-master.md +596 -0
  280. package/one/things/claude/agents/tauri-cross-platform-specialist.md +1827 -0
  281. package/one/things/claude/agents/tester.md +556 -0
  282. package/one/things/claude/agents/the-bull-character-manager.md +580 -0
  283. package/one/things/claude/agents/tools-playbook-generator.md +489 -0
  284. package/one/things/claude/agents/turbo-repo-builder.md +316 -0
  285. package/one/things/claude/agents/upsell-strategist.md +480 -0
  286. package/one/things/claude/agents/ux-expert.md +335 -0
  287. package/one/things/claude/agents/viral-growth-orchestrator.md +497 -0
  288. package/one/things/claude/claude-code-hooks-development.json +21 -0
  289. package/one/things/claude/claude-code-hooks-production.json +21 -0
  290. package/one/things/claude/claude-code-hooks.json +25 -0
  291. package/one/things/claude/commands/agent.md +104 -0
  292. package/one/things/claude/commands/cascade-status.md +128 -0
  293. package/one/things/claude/commands/ingest.md +290 -0
  294. package/one/things/claude/commands/ingestor.md +136 -0
  295. package/one/things/claude/commands/mission.md +83 -0
  296. package/one/things/claude/commands/npx.md +133 -0
  297. package/one/things/claude/commands/one.md +440 -0
  298. package/one/things/claude/commands/quality-check.md +204 -0
  299. package/one/things/claude/commands/smart-route.md +220 -0
  300. package/one/things/claude/commands/start.md +121 -0
  301. package/one/things/claude/commands/story.md +83 -0
  302. package/one/things/claude/commands/task.md +173 -0
  303. package/one/things/claude/hook-bypass.json +32 -0
  304. package/one/things/claude/hooks/agent-hook-config.json +427 -0
  305. package/one/things/claude/hooks/agent-hook-manager.js +525 -0
  306. package/one/things/claude/hooks/agent-load-balancer.js +271 -0
  307. package/one/things/claude/hooks/agent-request-interceptor.js +70 -0
  308. package/one/things/claude/hooks/build-hook.sh +156 -0
  309. package/one/things/claude/hooks/cascade-feedback.js +297 -0
  310. package/one/things/claude/hooks/cascade-integration-hooks.js +648 -0
  311. package/one/things/claude/hooks/cleanup-hook.sh +201 -0
  312. package/one/things/claude/hooks/continuous-improvement-monitor.js +510 -0
  313. package/one/things/claude/hooks/file-organization-engine.js +427 -0
  314. package/one/things/claude/hooks/file-organization-hook.sh +80 -0
  315. package/one/things/claude/hooks/file-organization-monitor.js +269 -0
  316. package/one/things/claude/hooks/format-hook.sh +43 -0
  317. package/one/things/claude/hooks/hook-bypass.sh +293 -0
  318. package/one/things/claude/hooks/hook-config-manager.js +202 -0
  319. package/one/things/claude/hooks/hook-debouncer.sh +62 -0
  320. package/one/things/claude/hooks/hook-logger.sh +89 -0
  321. package/one/things/claude/hooks/hook-orchestrator.js +662 -0
  322. package/one/things/claude/hooks/hook-performance-report.js +120 -0
  323. package/one/things/claude/hooks/lint-hook.sh +140 -0
  324. package/one/things/claude/hooks/mcp-cascade-integration.js +816 -0
  325. package/one/things/claude/hooks/memory-optimizer.js +510 -0
  326. package/one/things/claude/hooks/notification-hook.sh +204 -0
  327. package/one/things/claude/hooks/ontology-compliance.js +394 -0
  328. package/one/things/claude/hooks/ontology-hook-manager.js +316 -0
  329. package/one/things/claude/hooks/ontology-validation-engine.js +317 -0
  330. package/one/things/claude/hooks/ontology-validation-hook.sh +86 -0
  331. package/one/things/claude/hooks/performance-metrics.json +25 -0
  332. package/one/things/claude/hooks/performance-monitoring-hook.js +422 -0
  333. package/one/things/claude/hooks/quality-scoring-engine.js +834 -0
  334. package/one/things/claude/hooks/security-hook.sh +256 -0
  335. package/one/things/claude/hooks/simple-load-balancer.js +238 -0
  336. package/one/things/claude/hooks/startup-optimizer.js +625 -0
  337. package/one/things/claude/hooks/story-scoring-system.js +445 -0
  338. package/one/things/claude/hooks/story-validation-engine.js +473 -0
  339. package/one/things/claude/hooks/story-validation-hook-enhanced.sh +210 -0
  340. package/one/things/claude/hooks/story-validation-hook.sh +145 -0
  341. package/one/things/claude/hooks/structure-synchronizer.js +194 -0
  342. package/one/things/claude/hooks/sub-agent-output-validator.js +647 -0
  343. package/one/things/claude/hooks/sub-agent-validation-hook.js +343 -0
  344. package/one/things/claude/hooks/test-hook.sh +145 -0
  345. package/one/things/claude/hooks/test-story-validation.sh +170 -0
  346. package/one/things/claude/hooks/trinity-validation-system.js +392 -0
  347. package/one/things/claude/settings-local.json +86 -0
  348. package/one/things/cli/cli-code.md +652 -0
  349. package/one/things/cli/cli-compiler-code.md +652 -0
  350. package/one/things/cli/cli.md +1068 -0
  351. package/one/things/components/card-shadcn.md +929 -0
  352. package/one/things/components/card.md +1050 -0
  353. package/one/things/components.md +1669 -0
  354. package/one/things/componets.md +4 -0
  355. package/one/things/creator-diagram.md +166 -0
  356. package/one/things/examples/children/lemonade-stand.md +366 -0
  357. package/one/things/examples/enterprise/crm-saas.md +1429 -0
  358. package/one/things/features/1-1-agent-prompts/design.md +470 -0
  359. package/one/things/features/1-1-agent-prompts/tests.md +264 -0
  360. package/one/things/features/1-1-agent-prompts.md +486 -0
  361. package/one/things/features/1-2-yaml-orchestrator/design.md +497 -0
  362. package/one/things/features/1-2-yaml-orchestrator/tests.md +227 -0
  363. package/one/things/features/1-2-yaml-orchestrator.md +516 -0
  364. package/one/things/features/1-3-event-coordination/design.md +544 -0
  365. package/one/things/features/1-3-event-coordination/tests.md +223 -0
  366. package/one/things/features/1-3-event-coordination.md +508 -0
  367. package/one/things/features/1-4-knowledge-management/design.md +609 -0
  368. package/one/things/features/1-4-knowledge-management/tests.md +195 -0
  369. package/one/things/features/1-4-knowledge-management.md +577 -0
  370. package/one/things/features/1-5-quality-loops/design.md +797 -0
  371. package/one/things/features/1-5-quality-loops/tests.md +212 -0
  372. package/one/things/features/1-5-quality-loops.md +641 -0
  373. package/one/things/features/1-6-numbering-structure/design.md +610 -0
  374. package/one/things/features/1-6-numbering-structure/tests.md +213 -0
  375. package/one/things/features/1-6-numbering-structure.md +575 -0
  376. package/one/things/features/2-1-dataprovider-interface.md +2358 -0
  377. package/one/things/features/2-2-config-system.md +3075 -0
  378. package/one/things/features/2-3-effectts-services.md +1498 -0
  379. package/one/things/features/2-4-react-hooks.md +2120 -0
  380. package/one/things/features/2-5-auth-migration.md +2046 -0
  381. package/one/things/features/2-6-dashboard-migration.md +1985 -0
  382. package/one/things/features/2-7-alternative-providers.md +2505 -0
  383. package/one/things/features/2-7-implementation-report.md +680 -0
  384. package/one/things/features/2-cli.md +1235 -0
  385. package/one/things/features/2-design.md +1738 -0
  386. package/one/things/features/2-tests.md +520 -0
  387. package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +521 -0
  388. package/one/things/features/DECOUPLING.md +272 -0
  389. package/one/things/features/DEPLOYMENT.md +452 -0
  390. package/one/things/features/IMPLEMENTATION_SUMMARY.md +316 -0
  391. package/one/things/features/dataprovider-interface/1-tests.md +1522 -0
  392. package/one/things/features/improve.md +843 -0
  393. package/one/things/features/remove-convex-deps.md +45 -0
  394. package/one/things/features/top-features.md +79 -0
  395. package/one/things/features/use-one-backend.md +1180 -0
  396. package/one/things/ideas/1-create-workflow.md +189 -0
  397. package/one/things/ideas/2-backend-agnostic-frontend.md +384 -0
  398. package/one/things/plans/1-create-workflow-status.md +555 -0
  399. package/one/things/plans/1-create-workflow.md +713 -0
  400. package/one/things/plans/2-backend-agnostic-frontend.md +543 -0
  401. package/one/things/plans/3-groups.md +502 -0
  402. package/one/things/plans/app.md +761 -0
  403. package/one/things/plans/backend-agnostic-frontend.md +323 -0
  404. package/one/things/plans/better-auth-any-backend-revised.md +1065 -0
  405. package/one/things/plans/better-auth-any-backend.md +1852 -0
  406. package/one/things/plans/better-auth-available-features.md +235 -0
  407. package/one/things/plans/big-plan.md +38 -0
  408. package/one/things/plans/convex-better-auth.md +1109 -0
  409. package/one/things/plans/convex-on-off.md +389 -0
  410. package/one/things/plans/deploy-to-cloudflare.md +581 -0
  411. package/one/things/plans/desktop.md +1121 -0
  412. package/one/things/plans/effect-components.md +1669 -0
  413. package/one/things/plans/effect.md +973 -0
  414. package/one/things/plans/email.md +953 -0
  415. package/one/things/plans/enhance-auth.md +1669 -0
  416. package/one/things/plans/install-components.md +198 -0
  417. package/one/things/plans/landing.md +728 -0
  418. package/one/things/plans/layout.md +205 -0
  419. package/one/things/plans/mail-backend.md +1308 -0
  420. package/one/things/plans/mail.md +2624 -0
  421. package/one/things/plans/next-features.md +83 -0
  422. package/one/things/plans/one.md +658 -0
  423. package/one/things/plans/ontology-6-dimensions.md +2216 -0
  424. package/one/things/plans/ontology-driven-strategy.md +866 -0
  425. package/one/things/plans/ontology-ui-approach.md +357 -0
  426. package/one/things/plans/open-agent.md +785 -0
  427. package/one/things/plans/organizations-to-groups.md +705 -0
  428. package/one/things/plans/performace.md +90 -0
  429. package/one/things/plans/release.md +432 -0
  430. package/one/things/plans/releases.md +809 -0
  431. package/one/things/plans/repos.md +76 -0
  432. package/one/things/plans/separate-copy-2.md +1293 -0
  433. package/one/things/plans/separate-copy-3.md +2458 -0
  434. package/one/things/plans/separate-copy.md +1293 -0
  435. package/one/things/plans/separate.md +1983 -0
  436. package/one/things/plans/shadcn-integration-summary.md +450 -0
  437. package/one/things/plans/sidebar.md +172 -0
  438. package/one/things/plans/small-fixes.md +5 -0
  439. package/one/things/plans/test-backend-connection.md +476 -0
  440. package/one/things/plans/workflow-files.md +1196 -0
  441. package/one/things/plans/workflow.md +1372 -0
  442. package/one/things/products/cascade-landing-page.md +737 -0
  443. package/one/things/products/cascade.md +1518 -0
  444. package/one/things/products/context-engineering.md +1427 -0
  445. package/one/things/products/onthology.md +0 -0
  446. package/one/things/products/ontology-ui-shadcn.md +1280 -0
  447. package/one/things/products/ontology-ui.md +1387 -0
  448. package/one/things/products/ontology.md +717 -0
  449. package/one/things/products/sdk.md +557 -0
  450. package/one/things/promptkit.md +903 -0
  451. package/one/things/service-providers-new.md +982 -0
  452. package/one/things/service-providers.md +1092 -0
  453. package/one/things/system.md +600 -0
  454. package/one/things/tests/2-1-dataprovider-interface.md +1144 -0
  455. package/one/things/tests/2-1-test-analysis.md +496 -0
  456. package/one/things/things.md +349 -0
  457. package/one/things/todo.md +1248 -0
  458. package/one/things/vision/elegant-interface.md +214 -0
  459. package/package.json +5 -2
@@ -0,0 +1,1120 @@
1
+ # ONE Documentation
2
+
3
+ **Version:** 1.1.0
4
+ **Last Updated:** 2025-01-16
5
+ **Purpose:** Visual map showing how all documentation files work together
6
+ **Total Files:** 48 (added Modes.md)
7
+
8
+ ---
9
+
10
+ ## Documentation Ecosystem Overview
11
+
12
+ The ONE Platform documentation forms an integrated system where each file serves a specific purpose and references related files. This map shows the information flow from vision → design → specification → implementation.
13
+
14
+ ---
15
+
16
+ ## The Documentation Pyramid
17
+
18
+ ```
19
+ ┌─────────────┐
20
+ │ STRATEGY │ ← Vision & Model
21
+ └──────┬──────┘
22
+ │
23
+ ┌──────────┴──────────┐
24
+ │ │
25
+ ┌─────▼─────┐ ┌─────▼─────┐
26
+ │ ONTOLOGY │ │ ARCHITECTURE │ ← Design
27
+ └─────┬─────┘ └─────┬──────┘
28
+ │ │
29
+ ┌──────────┴──────────┬──────────┴──────────┐
30
+ │ │ │
31
+ ┌────▼────┐ ┌────▼────┐ ┌─────▼─────┐
32
+ │ Language│ │PROTOCOLS│ │ SERVICES │ ← Archiceture
33
+ └────┬────┘ └────┬────┘ └─────┬─────┘
34
+ │ │ │
35
+ └────────────┬───────┴───────┬───────────────┘
36
+ │ │
37
+ ┌───────▼───────┐ ┌───▼────────┐
38
+ │IMPLEMENTATION │ │ INTEGRATION│ ← Build
39
+ └───────────────┘ └────────────┘
40
+ ```
41
+
42
+ ---
43
+
44
+ ## Layer 1: Strategic Foundation
45
+
46
+ ### Strategy.md (The Vision)
47
+
48
+ **Purpose:** Business vision, platform features, economic model
49
+ **Defines:** 8 core platform features
50
+ **Referenced by:** Ontology.md, Implementation.md, README.md
51
+
52
+ **Platform Features:**
53
+
54
+ 1. AI Clone Technology
55
+ 2. Content Automation
56
+ 3. Interactive Avatar
57
+ 4. UGC Engine
58
+ 5. AI-Powered LMS
59
+ 6. Living Community
60
+ 7. Business OS
61
+ 8. Token Economy
62
+
63
+ **Dependency Chain:**
64
+
65
+ ```
66
+ Strategy.md → Ontology.md (feature-to-thing mapping)
67
+ → Implementation.md (feature roadmap)
68
+ → Files.md (feature file structure)
69
+ ```
70
+
71
+ ---
72
+
73
+ ## Layer 2: System Design
74
+
75
+ ### Ontology.md (The Data Model)
76
+
77
+ **Purpose:** 4-table universal data model (things, connections, events, tags)
78
+ **Defines:** 66 thing types, 25 connection types, 55 event types, 12 tag categories
79
+ **Referenced by:** DSL files, Schema files, Implementation.md, Patterns.md
80
+ **Version:** 2.0.0 - Frontend Complete
81
+
82
+ **Core Types:**
83
+
84
+ - **66 Thing Types** (creator, ai_clone, organization, business_agents[10], content[12], tokens, courses, auth[5], UI preferences, etc.)
85
+ - **25 Connection Types** (18 specific + 7 consolidated with metadata)
86
+ - **55 Event Types** (44 specific + 11 consolidated with metadata - includes auth, org, UI events)
87
+ - **12 Tag Categories** (industry, skill, goal, content_type, etc.)
88
+
89
+ **Key Innovation:** Protocol-agnostic design - all protocols map TO ontology via metadata
90
+
91
+ **Dependency Chain:**
92
+
93
+ ```
94
+ Ontology.md → ONE DSL.md (technical syntax)
95
+ → ONE DSL English.md (plain english syntax)
96
+ → OntologyUpdates.md (historical reference)
97
+ → Schema files (Convex schema)
98
+ → All service files (business logic)
99
+ ```
100
+
101
+ ### Architecture.md (The Technical Design)
102
+
103
+ **Purpose:** System architecture, functional programming patterns, tech stack
104
+ **Defines:** Effect.ts patterns, Convex integration, service layer design
105
+ **Referenced by:** Patterns.md, Rules.md, Service Layer.md
106
+
107
+ **Core Concepts:**
108
+
109
+ - Effect.ts service layer (pure functional)
110
+ - Convex backend (real-time database)
111
+ - Astro + React frontend (islands architecture)
112
+ - Type-safe error handling
113
+ - Dependency injection
114
+
115
+ **Dependency Chain:**
116
+
117
+ ```
118
+ Architecture.md → Service Layer.md (Effect.ts patterns)
119
+ → Service Providers.md (provider implementations)
120
+ → Patterns.md (code examples)
121
+ → Implementation.md (tech stack decisions)
122
+ → Hono.md (API backend separation)
123
+ ```
124
+
125
+ ### Modes.md (Operating Modes)
126
+
127
+ **Purpose:** Two operating modes - Standalone (content-only) vs API Mode (full-stack)
128
+ **Defines:** Feature availability, configuration, and use cases for each mode
129
+ **Referenced by:** Development.md, Frontend.md, Hono.md, CLAUDE.md
130
+
131
+ **Core Concepts:**
132
+
133
+ - **Standalone Mode**: Content collections (markdown) + AI inference + static site
134
+ - **API Mode**: Everything + authentication + agents + real-time + multi-tenant
135
+ - Progressive enhancement from simple to full-featured
136
+ - Environment-based feature switching
137
+
138
+ **Mode Comparison:**
139
+
140
+ - **Standalone**: Perfect for blogs, docs, marketing sites (no backend needed)
141
+ - **API Mode**: SaaS platforms, user accounts, dynamic features (full backend)
142
+ - **Hybrid**: Marketing static, application dynamic (best of both worlds)
143
+
144
+ **Configuration:**
145
+
146
+ - Standalone: Markdown files + optional AI keys
147
+ - API Mode: Convex, Better Auth, OAuth, Stripe (via .env)
148
+ - Switch modes by adding/removing PUBLIC_CONVEX_URL
149
+
150
+ **Dependency Chain:**
151
+
152
+ ```
153
+ Modes.md → Development.md (workflow guide)
154
+ → Frontend.md (content collections usage)
155
+ → Hono.md (API backend - only in API mode)
156
+ → Dashboard.md (multi-tenant UI - only in API mode)
157
+ → Middleware.md (integration patterns)
158
+ ```
159
+
160
+ ### Hono.md (API Backend Separation)
161
+
162
+ **Purpose:** Hono-based API backend architecture for separation of concerns
163
+ **Defines:** API backend with Hono + Better Auth + Convex, dual integration pattern
164
+ **Referenced by:** Implementation.md, Files.md, Multitenant.md, Modes.md
165
+
166
+ **Core Concepts:**
167
+
168
+ - Hono API backend (Cloudflare Workers)
169
+ - Better Auth integration
170
+ - Convex integration layer
171
+ - API client for Astro frontend
172
+ - "Vibe code" workflow for rapid frontend development
173
+ - Multi-tenant frontend support
174
+
175
+ **Architecture:**
176
+
177
+ - **API Backend**: Hono + Better Auth + Convex (business logic, auth, data)
178
+ - **Astro Frontend**: UI components connecting to API (user-customizable)
179
+ - **Dual Integration**: Hono API for business logic + Convex hooks for real-time data
180
+
181
+ **Use Cases:**
182
+
183
+ - Separate frontend/backend deployment
184
+ - Multi-tenant custom frontends
185
+ - Rapid prototyping ("vibe code" with Convex hooks)
186
+ - API portability across platforms
187
+
188
+ **Dependency Chain:**
189
+
190
+ ```
191
+ Hono.md → Architecture.md (tech stack)
192
+ → Service Layer.md (Effect.ts services in Hono routes)
193
+ → Files.md (api/ directory structure)
194
+ → Implementation.md (migration phases)
195
+ → Multitenant.md (multi-org architecture)
196
+ → Modes.md (API mode configuration)
197
+ ```
198
+
199
+ ### Multitenant.md (Multi-Tenant Architecture)
200
+
201
+ **Purpose:** Multi-organization architecture using 6-dimension ontology (organizations, people, things, connections, events, knowledge)
202
+ **Defines:** Organization isolation, RBAC, custom frontends, billing/quotas
203
+ **Referenced by:** Implementation.md, Files.md
204
+
205
+ **Core Concepts:**
206
+
207
+ - Organizations as first-class entities
208
+ - Data isolation via `orgId` filtering
209
+ - Per-org custom branding and features
210
+ - Role-based access control (admin, member, viewer)
211
+ - Subdomain routing (`org.oneie.com`)
212
+ - Per-org billing and quotas
213
+ - Shared infrastructure (single API + database)
214
+
215
+ **Ontology Integration:**
216
+
217
+ - **Entities**: `organization`, `user` (with org context)
218
+ - **Connections**: `member_of` (user→org), `owns` (org→resources)
219
+ - **Events**: All events tagged with `orgId` for audit trail
220
+ - **Tags**: Organization categorization (industry, size)
221
+
222
+ **Use Cases:**
223
+
224
+ - SaaS with multiple organizations
225
+ - Enterprise multi-tenant deployment
226
+ - Per-org customization and branding
227
+ - Flexible billing per organization
228
+
229
+ **Dependency Chain:**
230
+
231
+ ```
232
+ Multitenant.md → Ontology.md (4-table data model)
233
+ → Hono.md (API backend with org middleware)
234
+ → Service Layer.md (OrganizationService)
235
+ → Files.md (organization services location)
236
+ → Implementation.md (migration phases)
237
+ ```
238
+
239
+ ### Hono-Effect.md (Full Effect.ts Pipeline)
240
+
241
+ **Purpose:** 100% Effect.ts coverage throughout the entire stack
242
+ **Defines:** Functional programming from frontend to backend, unified error handling
243
+ **Referenced by:** Implementation.md, Files.md, Patterns.md
244
+
245
+ **Core Concepts:**
246
+
247
+ - Effect.ts in React components (frontend)
248
+ - Effect.ts route handlers in Hono (API layer)
249
+ - Effect.ts services (business logic)
250
+ - Effect.ts wrappers for Convex (data layer)
251
+ - Effect.ts wrappers for external providers
252
+ - Unified dependency injection across stack
253
+
254
+ **Pipeline Coverage:**
255
+
256
+ ```
257
+ Frontend (React + Effect.ts)
258
+ ↓
259
+ Hono API (Effect.ts handlers)
260
+ ↓
261
+ Business Logic (Effect.ts services)
262
+ ↓
263
+ Convex + Providers (Effect.ts wrappers)
264
+ ```
265
+
266
+ **Benefits:**
267
+
268
+ - Consistent error handling (typed errors everywhere)
269
+ - Composable effects (small functions combine)
270
+ - Testable (no mocking, use test layers)
271
+ - Type-safe (compiler catches errors)
272
+ - Observable (built-in logging/tracing)
273
+ - Resilient (retry, timeout, circuit breakers)
274
+
275
+ **Key Patterns:**
276
+
277
+ - `runEffectHandler` - Run Effect programs in Hono routes
278
+ - `useEffectRunner` - React hook for Effect programs
279
+ - `ConvexDatabase.Live` - Effect layer for Convex
280
+ - Service composition with dependency injection
281
+ - Test layers instead of mocks
282
+
283
+ **Dependency Chain:**
284
+
285
+ ```
286
+ Hono-Effect.md → Architecture.md (Effect.ts principles)
287
+ → Hono.md (API backend architecture)
288
+ → Service Layer.md (Effect.ts service patterns)
289
+ → Service Providers.md (provider wrappers)
290
+ → Patterns.md (functional patterns)
291
+ → Implementation.md (migration phases)
292
+ ```
293
+
294
+ ---
295
+
296
+ ## Layer 3: Domain Specific Languages
297
+
298
+ ### DSL.md (DSL Overview)
299
+
300
+ **Purpose:** Introduction to ONE's two DSL systems
301
+ **Defines:** Why we need DSLs, how they work together
302
+ **Referenced by:** ONE DSL.md, ONE DSL English.md
303
+
304
+ ### ONE DSL.md (Technical DSL)
305
+
306
+ **Purpose:** JSON-like DSL for precise ontology operations
307
+ **Defines:** Syntax for entities, connections, events, tags
308
+ **Uses:** Ontology.md types (56 entities, 25 connections, 35 events)
309
+ **Referenced by:** Implementation Examples.md, Patterns.md
310
+
311
+ **Example:**
312
+
313
+ ```javascript
314
+ ENTITY creator "Sarah" WITH {
315
+ type: "creator",
316
+ properties: { industry: "fitness", expertise: ["yoga", "pilates"] }
317
+ }
318
+
319
+ CONNECT creator "Sarah" TO ai_clone "Sarah's Clone"
320
+ VIA "owns"
321
+ WITH { createdAt: "2025-01-01" }
322
+
323
+ EVENT "course_created" BY creator "Sarah"
324
+ ON entity course "Yoga Fundamentals"
325
+ WITH { price: 99, duration: "8 weeks" }
326
+ ```
327
+
328
+ ### ONE DSL English.md (Plain English DSL)
329
+
330
+ **Purpose:** Plain English commands that compile to ONE DSL
331
+ **Compiles to:** ONE DSL.md syntax
332
+ **Referenced by:** Implementation.md, AI agent prompts
333
+
334
+ **Example:**
335
+
336
+ ```
337
+ Sarah creates an AI clone named "Sarah's Clone"
338
+ → compiles to ENTITY + CONNECT + EVENT
339
+
340
+ Sarah publishes a course "Yoga Fundamentals" for $99
341
+ → compiles to ENTITY + CONNECT + EVENT with commerce metadata
342
+ ```
343
+
344
+ **Dependency Chain:**
345
+
346
+ ```
347
+ DSL.md → ONE DSL.md (technical syntax)
348
+ → ONE DSL English.md (plain english)
349
+ → Implementation Examples.md (code examples)
350
+ → CLAUDE.md (AI agent instructions)
351
+ ```
352
+
353
+ ---
354
+
355
+ ## Layer 4: Protocol Specifications
356
+
357
+ ### README-Protocols.md (Protocol Overview)
358
+
359
+ **Purpose:** Quick reference for all 5 protocols
360
+ **Summarizes:** A2A, ACP, AP2, X402, ACPayments
361
+ **Referenced by:** All protocol docs
362
+
363
+ ### A2A.md (Agent-to-Agent Communication)
364
+
365
+ **Purpose:** A2A protocol specification for inter-agent communication
366
+ **Official Spec:** https://a2a-protocol.org/latest/
367
+ **Maps to Ontology:**
368
+
369
+ - Events: `task_delegated`, `communication_event` with `metadata.protocol: "a2a"`
370
+ - Connections: `communicated` with `metadata.protocol: "a2a"`
371
+
372
+ **Use Cases:**
373
+
374
+ - External agent integration (ElizaOS, CrewAI, LangGraph)
375
+ - Multi-agent workflows
376
+ - Task delegation
377
+
378
+ ### ACP.md (Agent Communication Protocol - REST)
379
+
380
+ **Purpose:** REST API for agent-to-frontend communication
381
+ **Maps to Ontology:**
382
+
383
+ - Events: `commerce_event` with `metadata.protocol: "acp"`
384
+ - Connections: `transacted` with `metadata.protocol: "acp"`
385
+
386
+ **Use Cases:**
387
+
388
+ - Agent-initiated purchases
389
+ - ChatGPT agent commerce
390
+ - Token purchases via conversational AI
391
+
392
+ ### AP2.md (Agent Payments Protocol)
393
+
394
+ **Purpose:** Autonomous agent payment authorization (mandates)
395
+ **Maps to Ontology:**
396
+
397
+ - Events: `mandate_event`, `price_event` with `metadata.protocol: "ap2"`
398
+ - Connections: `fulfilled` with `metadata.protocol: "ap2"`
399
+ - Entities: `intent_mandate`, `cart_mandate`
400
+
401
+ **Use Cases:**
402
+
403
+ - "Buy when price drops below $X"
404
+ - Subscription renewals
405
+ - Automated purchasing
406
+
407
+ ### X402.md (HTTP Micropayments)
408
+
409
+ **Purpose:** HTTP 402 Payment Required standard for micropayments
410
+ **Maps to Ontology:**
411
+
412
+ - Events: `payment_event` with `metadata.protocol: "x402"`
413
+ - Connections: `transacted` with `metadata.protocol: "x402"`
414
+
415
+ **Use Cases:**
416
+
417
+ - Pay-per-view content
418
+ - Blockchain micropayments
419
+ - Streaming payments
420
+
421
+ ### ACPayments.md (Unified Payment Ecosystem)
422
+
423
+ **Purpose:** Unified layer combining ACP, AP2, X402
424
+ **Coordinates:** All payment protocols
425
+ **Maps to Ontology:**
426
+
427
+ - All payment events have `metadata.protocol` to identify source
428
+
429
+ **Dependency Chain:**
430
+
431
+ ```
432
+ README-Protocols.md → A2A.md, ACP.md, AP2.md, X402.md, ACPayments.md
433
+ → Specifications.md (detailed integration)
434
+ → Ontology.md (protocol mapping via metadata)
435
+ ```
436
+
437
+ ### Specifications.md (Complete Protocol Integration)
438
+
439
+ **Purpose:** How all protocols work together in ONE
440
+ **Integrates:** All 5 protocols + ontology mapping patterns
441
+ **Referenced by:** Implementation.md, Service files
442
+
443
+ ---
444
+
445
+ ## Layer 5: External Integrations
446
+
447
+ ### ElizaOS.md (External AI Agents)
448
+
449
+ **Purpose:** ElizaOS integration for external AI agents
450
+ **Protocol Used:** A2A
451
+ **Maps to Ontology:**
452
+
453
+ - Entity type: `external_agent`
454
+ - Connection type: `communicated` with `metadata.protocol: "a2a"`
455
+ - Event type: `communication_event` with `metadata.protocol: "a2a"`
456
+
457
+ ### CopilotKit.md (Generative UI)
458
+
459
+ **Purpose:** CopilotKit integration for agent-driven UI generation
460
+ **Protocol Used:** AG-UI (inspired by CopilotKit)
461
+ **Maps to Ontology:**
462
+
463
+ - Event type: `communication_event` with `metadata.protocol: "ag-ui"`
464
+
465
+ ### PromptKit.md (AI UI Components)
466
+
467
+ **Purpose:** Production-ready AI/chat UI components
468
+ **Built on:** shadcn/ui
469
+ **Components:** 17 AI-specific React components
470
+ **Related Files:**
471
+
472
+ - `src/components/prompt-kit/*` (17 component files)
473
+ - `convex/services/protocols/ag-ui/*` (5 backend services)
474
+
475
+ ### MCP.md (Model Context Protocol)
476
+
477
+ **Purpose:** Anthropic's Model Context Protocol for tool/resource access
478
+ **Complementary to:** A2A protocol
479
+ **Distinction:**
480
+
481
+ - MCP: Agent ↔ Tool/Resource
482
+ - A2A: Agent ↔ Agent
483
+
484
+ ### N8N.md (Workflow Automation)
485
+
486
+ **Purpose:** n8n integration for no-code workflow automation
487
+ **Maps to Ontology:**
488
+
489
+ - Event type: `task_event` with `metadata.protocol: "n8n"`
490
+
491
+ ### Agent-Communications.md (Communication Patterns)
492
+
493
+ **Purpose:** Agent communication patterns across protocols
494
+ **Synthesizes:** A2A, ACP, AG-UI, MCP patterns
495
+
496
+ **Dependency Chain:**
497
+
498
+ ```
499
+ ElizaOS.md → A2A.md (uses A2A protocol)
500
+ → Agent-Communications.md (communication patterns)
501
+ → Ontology.md (entity/event types)
502
+
503
+ CopilotKit.md → AGUI.md (AG-UI protocol)
504
+ → PromptKit.md (UI components)
505
+
506
+ MCP.md → A2A.md (complementary protocols)
507
+ ```
508
+
509
+ ---
510
+
511
+ ## Layer 6: Service & Component Architecture
512
+
513
+ ### Service Layer.md (Effect.ts Architecture)
514
+
515
+ **Purpose:** Effect.ts service layer patterns
516
+ **Defines:** Pure functional services, dependency injection, error handling
517
+ **Referenced by:** Service Providers.md, Patterns.md, Implementation.md
518
+
519
+ **Core Pattern:**
520
+
521
+ ```typescript
522
+ export class TokenService extends Effect.Service<TokenService>()(
523
+ "TokenService",
524
+ {
525
+ effect: Effect.gen(function* () {
526
+ const db = yield* ConvexDatabase;
527
+ return {
528
+ purchase: (args) =>
529
+ Effect.gen(function* () {
530
+ /* ... */
531
+ }),
532
+ };
533
+ }),
534
+ dependencies: [ConvexDatabase.Default],
535
+ }
536
+ ) {}
537
+ ```
538
+
539
+ ### Service Providers.md (External Provider Wrappers)
540
+
541
+ **Purpose:** Effect.ts wrappers for 26 external providers
542
+ **Categories:** 7 (AI/LLM, Blockchain, Payment, Communication, Media, Integration, Social)
543
+ **All files:** `convex/services/providers/*.ts`
544
+
545
+ **26 Providers:**
546
+
547
+ - **AI/LLM (5):** OpenAI, Anthropic, ElevenLabs, D-ID, HeyGen
548
+ - **Blockchain (4):** Base, Alchemy, Uniswap, WalletConnect
549
+ - **Payment (2):** Stripe, Coinbase
550
+ - **Communication (4):** Resend, SendGrid, Twilio, Pusher
551
+ - **Media/Storage (2):** AWS S3, Cloudflare Stream
552
+ - **Integration (3):** ElizaOS, CopilotKit, n8n
553
+ - **Social Media (6):** Twitter, Instagram, YouTube, TikTok, LinkedIn, Facebook
554
+
555
+ ### Service Providers - New.md (New Provider Specs)
556
+
557
+ **Purpose:** Specifications for newly added providers (D-ID, HeyGen, etc.)
558
+ **Supplements:** Service Providers.md
559
+
560
+ ### Components.md (Convex Components)
561
+
562
+ **Purpose:** Integration patterns for Convex components
563
+ **9 Components:** agent, workflow, rag, rate-limiter, action-retrier, workpool, persistent-text-streaming, crons, resend
564
+ **All wrapped with:** Effect.ts service layer
565
+
566
+ **Dependency Chain:**
567
+
568
+ ```
569
+ Service Layer.md → Service Providers.md (26 provider implementations)
570
+ → Service Providers - New.md (new specs)
571
+ → Components.md (Convex component wrappers)
572
+ → Patterns.md (usage examples)
573
+ ```
574
+
575
+ ---
576
+
577
+ ## Layer 7: Development Guidelines
578
+
579
+ ### Rules.md (Golden Rules)
580
+
581
+ **Purpose:** Non-negotiable development rules
582
+ **Defines:** Type safety, error handling, ontology-first approach
583
+ **Referenced by:** CLAUDE.md, Patterns.md, Workflow.md
584
+
585
+ **Golden Rules:**
586
+
587
+ 1. Everything maps to 4 tables
588
+ 2. Explicit types everywhere (no `any`)
589
+ 3. Typed errors with `_tag`
590
+ 4. Pure functions in services
591
+ 5. Thin Convex wrappers
592
+ 6. Test everything
593
+
594
+ ### Patterns.md (Code Patterns)
595
+
596
+ **Purpose:** Proven code patterns to replicate
597
+ **Examples:** Entity creation, relationship queries, event logging
598
+ **Referenced by:** Implementation Examples.md, CLAUDE.md
599
+
600
+ ### Workflow.md (Development Flow)
601
+
602
+ **Purpose:** Ontology-driven development workflow
603
+ **Process:** Map to ontology → Design types → Generate code → Test
604
+ **Referenced by:** CLAUDE.md, Implementation.md
605
+
606
+ ### Files.md (File System Map)
607
+
608
+ **Purpose:** Exact location for every file type
609
+ **Defines:** 170+ frontend files, 100+ backend files
610
+ **Referenced by:** All AI agents, Implementation.md
611
+
612
+ **Dependency Chain:**
613
+
614
+ ```
615
+ Rules.md → Patterns.md (example implementations)
616
+ → Workflow.md (development process)
617
+ → Files.md (file locations)
618
+ → CLAUDE.md (AI agent instructions)
619
+ ```
620
+
621
+ ---
622
+
623
+ ## Layer 8: Implementation & Examples
624
+
625
+ ### Schema.md (Convex Schema Implementation)
626
+
627
+ **Purpose:** Complete Convex schema implementation with 56 entities, 25 connections, 35 events
628
+ **Status:** Plain Convex (migrated from Convex Ents)
629
+ **References:** Ontology.md, OntologyUpdates.md
630
+
631
+ **NOTE:** Schema.md contains actual schema code ready for `convex/schema.ts`
632
+
633
+ ### Implementation.md (Build Guide)
634
+
635
+ **Purpose:** Complete implementation roadmap
636
+ **Timeline:** 12 weeks to MVP, 24 weeks to Scale
637
+ **References:** Ontology.md, Architecture.md, all protocol docs
638
+
639
+ **Implementation Phases:**
640
+
641
+ 1. Foundation (Week 1-2): Schema + ConvexDatabase service
642
+ 2. Core Services (Week 3-6): Entity/connection/event operations
643
+ 3. Protocol Services (Week 7-10): A2A, ACP, AP2, X402, ACPayments
644
+ 4. Platform Features (Week 11-18): AI Clone, Content, Courses, etc.
645
+ 5. External Integrations (Week 19-22): ElizaOS, CopilotKit, n8n
646
+ 6. Polish & Scale (Week 23-24): Performance, security, deployment
647
+
648
+ ### Development.md (Developer Experience Guide)
649
+
650
+ **Purpose:** Complete guide for developers using ONE Platform with Claude Code
651
+ **Topics:** npx oneie CLI, template generation, API connection, vibe coding workflow
652
+ **References:** Ontology.md, API.md, Files.md, CLAUDE.md
653
+
654
+ **Key Workflows:**
655
+
656
+ 1. Frontend-only mode (connect to api.one.ie)
657
+ 2. Embedded backend mode (full source control)
658
+ 3. Claude Code integration (AI-native development)
659
+ 4. Custom entity/event/product creation
660
+ 5. Multi-tenant deployment
661
+
662
+ **Dependency Chain:**
663
+
664
+ ```
665
+ Development.md → CLAUDE.md (AI development patterns)
666
+ → Files.md (project structure)
667
+ → API.md (backend endpoints)
668
+ → Implementation.md (technical implementation)
669
+ ```
670
+
671
+ ### Implementation Examples.md (Code Examples)
672
+
673
+ **Purpose:** Real working code examples for common patterns
674
+ **Uses:** DSL syntax, Effect.ts patterns, Convex functions
675
+
676
+ ### Workflow Examples.md (Complete Workflow Code)
677
+
678
+ **Purpose:** Full end-to-end workflow implementations
679
+ **Examples:** Creator onboarding, AI clone creation, token purchase flows
680
+ **Uses:** Effect.ts services, Convex functions, complete patterns
681
+
682
+ ### OntologyUpdates.md (Implementation Plan)
683
+
684
+ **Purpose:** Detailed migration plan from Convex Ents to plain Convex
685
+ **Status:** Design complete, ready for implementation
686
+ **References:** Ontology.md, Schema files
687
+
688
+ ### Agent Ingestor.md (Migration Agent Spec)
689
+
690
+ **Purpose:** Specification for migrating data from one.ie and bullfm to new platform
691
+ **Role:** Migration specialist agent
692
+ **References:** Ontology.md (target structure), Schema.md (target schema)
693
+
694
+ ### Migration-Guide.md (DELETED)
695
+
696
+ **Status:** Removed (outdated after Better Auth migration)
697
+ **Replaced by:** OntologyUpdates.md
698
+
699
+ **Dependency Chain:**
700
+
701
+ ```
702
+ Implementation.md → OntologyUpdates.md (schema migration)
703
+ → Implementation Examples.md (code patterns)
704
+ → Files.md (file structure)
705
+ → All protocol docs
706
+ → All integration docs
707
+ ```
708
+
709
+ ---
710
+
711
+ ## Layer 9: Tooling & Reference
712
+
713
+ ### CLI.md (CLI Tool Specification)
714
+
715
+ **Purpose:** Specification for `oneie` CLI tool for Plain English feature generation
716
+ **Commands:** `one create-feature`, `one compile`, `one test`
717
+ **References:** ONE DSL English.md, ONE DSL.md, Ontology.md
718
+
719
+ ### CLI Code.md (CLI Implementation)
720
+
721
+ **Purpose:** Complete implementation code for `oneie` CLI package
722
+ **Includes:** Parser, validator, compiler, test generator
723
+ **Technology:** TypeScript, Commander.js, Effect.ts
724
+
725
+ ### CLI Compiler Code.md (Compiler Implementation)
726
+
727
+ **Purpose:** Detailed compiler implementation (Plain English → Technical DSL → TypeScript)
728
+ **Process:** Parse → Validate → Compile → Generate Tests
729
+ **Output:** Service files, Convex functions, React components, tests
730
+
731
+ ### API.md (API Reference)
732
+
733
+ **Purpose:** Complete API reference for all Convex functions, services, and integrations
734
+ **Sections:** Queries, Mutations, Actions, Service Layer, External Providers
735
+ **References:** Schema.md, Service Layer.md, Service Providers.md
736
+
737
+ ### API-docs.md (Auto-Generated API Docs)
738
+
739
+ **Purpose:** Auto-generated API documentation from code comments
740
+ **Generated from:** Convex function signatures, TypeScript types
741
+ **Format:** OpenAPI-style reference
742
+
743
+ ### Architecture Diagram.md (Visual Architecture)
744
+
745
+ **Purpose:** Visual diagrams showing system architecture
746
+ **Diagrams:** Component architecture, data flow, service dependencies
747
+ **References:** Architecture.md, Service Layer.md
748
+
749
+ ### Creator Diagram.md (Creator Journey Visuals)
750
+
751
+ **Purpose:** Visual diagrams of creator user journeys
752
+ **Flows:** Onboarding, AI clone creation, content generation, monetization
753
+ **References:** Strategy.md, Workflow Examples.md
754
+
755
+ ---
756
+
757
+ ## Special Files
758
+
759
+ ### CLAUDE.md (AI Agent Instructions)
760
+
761
+ **Purpose:** Complete instructions for Claude Code AI
762
+ **Location:** Root directory (not in docs/)
763
+ **Synthesizes:** All documentation into actionable AI instructions
764
+
765
+ **Includes:**
766
+
767
+ - Quick reference links to all docs
768
+ - Development commands
769
+ - Architecture overview
770
+ - Step-by-step feature implementation process
771
+ - Technology stack rules
772
+ - Pre/post-generation checklists
773
+
774
+ **References:**
775
+
776
+ - AGENTS.md (Convex patterns)
777
+ - Rules.md (golden rules)
778
+ - Workflow.md (development flow)
779
+ - Patterns.md (code patterns)
780
+ - Files.md (file locations)
781
+ - All other docs as needed
782
+
783
+ ### AGENTS.md (Convex Development)
784
+
785
+ **Purpose:** Convex-specific development patterns
786
+ **Location:** Root directory (not in docs/)
787
+ **Covers:** Queries, mutations, actions, schema, Effect.ts integration
788
+
789
+ **Dependency Chain:**
790
+
791
+ ```
792
+ CLAUDE.md → AGENTS.md (Convex patterns)
793
+ → one/knowledge/rules.md (golden rules)
794
+ → one/connections/workflow.md (development flow)
795
+ → one/connections/patterns.md (code patterns)
796
+ → one/knowledge/architecture.md (tech stack)
797
+ → ALL other docs (as needed)
798
+ ```
799
+
800
+ ---
801
+
802
+ ## Information Flow: Vision → Code
803
+
804
+ ### The Complete Chain
805
+
806
+ ```
807
+ 1. VISION
808
+ Strategy.md (8 platform features)
809
+ ↓
810
+
811
+ 2. DATA MODEL
812
+ Ontology.md (56 entities, 25 connections, 35 events)
813
+ ↓
814
+
815
+ 3. LANGUAGES
816
+ DSL.md → ONE DSL.md (technical) + ONE DSL English.md (plain english)
817
+ ↓
818
+
819
+ 4. PROTOCOLS
820
+ README-Protocols.md → A2A, ACP, AP2, X402, ACPayments
821
+ Specifications.md (integration patterns)
822
+ ↓
823
+
824
+ 5. INTEGRATIONS
825
+ ElizaOS, CopilotKit, PromptKit, MCP, N8N
826
+ Agent-Communications.md (communication patterns)
827
+ ↓
828
+
829
+ 6. ARCHITECTURE
830
+ Architecture.md (tech stack, FP patterns)
831
+ Hono.md (API backend separation)
832
+ Multitenant.md (multi-org architecture)
833
+ Hono-Effect.md (full Effect.ts pipeline)
834
+ Service Layer.md (Effect.ts services)
835
+ Service Providers.md (26 external providers)
836
+ Components.md (9 Convex components)
837
+ ↓
838
+
839
+ 7. DEVELOPMENT
840
+ Rules.md (golden rules)
841
+ Patterns.md (code patterns)
842
+ Workflow.md (development process)
843
+ Files.md (file locations)
844
+ ↓
845
+
846
+ 8. IMPLEMENTATION
847
+ Implementation.md (12-week roadmap)
848
+ OntologyUpdates.md (schema migration)
849
+ Implementation Examples.md (code examples)
850
+ ↓
851
+
852
+ 9. AI EXECUTION
853
+ CLAUDE.md (synthesizes all docs)
854
+ AGENTS.md (Convex patterns)
855
+ → Generated code in convex/ and src/
856
+ ```
857
+
858
+ ---
859
+
860
+ ## File Relationship Matrix
861
+
862
+ | File | Depends On | Referenced By |
863
+ | ------------------------------ | ---------------------------------------------------------------- | ----------------------------------------------------------- |
864
+ | **Strategy.md** | None (foundation) | Ontology.md, Implementation.md, Files.md |
865
+ | **Ontology.md** | Strategy.md | DSL files, Schema, All services, Patterns.md |
866
+ | **Architecture.md** | Strategy.md | Service Layer.md, Patterns.md, Implementation.md, Hono.md |
867
+ | **Hono.md** | Architecture.md, Service Layer.md | Implementation.md, Files.md, Multitenant.md, Hono-Effect.md |
868
+ | **Multitenant.md** | Ontology.md, Hono.md, Service Layer.md | Implementation.md, Files.md |
869
+ | **Hono-Effect.md** | Architecture.md, Hono.md, Service Layer.md, Service Providers.md | Implementation.md, Files.md, Patterns.md |
870
+ | **DSL.md** | Ontology.md | ONE DSL.md, ONE DSL English.md |
871
+ | **ONE DSL.md** | DSL.md, Ontology.md | Implementation Examples.md, CLAUDE.md |
872
+ | **ONE DSL English.md** | ONE DSL.md | Implementation.md, CLAUDE.md |
873
+ | **README-Protocols.md** | Ontology.md | All protocol docs |
874
+ | **A2A.md** | README-Protocols.md, Ontology.md | ElizaOS.md, Specifications.md |
875
+ | **ACP.md** | README-Protocols.md, Ontology.md | Specifications.md, ACPayments.md |
876
+ | **AP2.md** | README-Protocols.md, Ontology.md | Specifications.md, ACPayments.md |
877
+ | **X402.md** | README-Protocols.md, Ontology.md | Specifications.md, ACPayments.md |
878
+ | **ACPayments.md** | ACP.md, AP2.md, X402.md | Specifications.md |
879
+ | **AGUI.md** | Ontology.md | CopilotKit.md, PromptKit.md |
880
+ | **Specifications.md** | All protocol docs, Ontology.md | Implementation.md, Service files |
881
+ | **ElizaOS.md** | A2A.md, Ontology.md | Agent-Communications.md, Implementation.md |
882
+ | **CopilotKit.md** | AGUI.md | PromptKit.md, Implementation.md |
883
+ | **PromptKit.md** | AGUI.md, CopilotKit.md | Files.md, Component files |
884
+ | **MCP.md** | A2A.md | Agent-Communications.md |
885
+ | **N8N.md** | Ontology.md | Implementation.md |
886
+ | **Agent-Communications.md** | A2A.md, ElizaOS.md, MCP.md | Implementation.md |
887
+ | **Service Layer.md** | Architecture.md | Service Providers.md, Patterns.md |
888
+ | **Service Providers.md** | Service Layer.md | Files.md, Implementation.md |
889
+ | **Service Providers - New.md** | Service Providers.md | Files.md |
890
+ | **Components.md** | Service Layer.md | Files.md, Implementation.md |
891
+ | **Rules.md** | Architecture.md | Patterns.md, Workflow.md, CLAUDE.md |
892
+ | **Patterns.md** | Rules.md, Ontology.md | Implementation Examples.md, CLAUDE.md |
893
+ | **Workflow.md** | Rules.md, Ontology.md | CLAUDE.md, Implementation.md |
894
+ | **Files.md** | All docs (maps all files) | CLAUDE.md, All AI agents |
895
+ | **Implementation.md** | ALL docs (synthesis) | None (execution layer) |
896
+ | **Development.md** | Ontology.md, API.md, Files.md, CLAUDE.md | Implementation.md |
897
+ | **OntologyUpdates.md** | Ontology.md, Implementation.md | Schema files |
898
+ | **Implementation Examples.md** | Patterns.md, ONE DSL.md | CLAUDE.md |
899
+ | **CLAUDE.md** | ALL docs (complete synthesis) | None (AI execution) |
900
+ | **AGENTS.md** | Architecture.md, Service Layer.md | CLAUDE.md |
901
+
902
+ ---
903
+
904
+ ## Critical Paths
905
+
906
+ ### Path 1: Strategy → Implementation
907
+
908
+ ```
909
+ Strategy.md
910
+ → Ontology.md (map features to entities)
911
+ → Implementation.md (build roadmap)
912
+ → Files.md (file structure)
913
+ → Code generation
914
+ ```
915
+
916
+ ### Path 2: Ontology → Code
917
+
918
+ ```
919
+ Ontology.md
920
+ → ONE DSL.md (syntax)
921
+ → OntologyUpdates.md (schema plan)
922
+ → Schema files (convex/schema.ts)
923
+ → Service files (business logic)
924
+ → Convex functions (API layer)
925
+ ```
926
+
927
+ ### Path 3: Protocols → Services
928
+
929
+ ```
930
+ README-Protocols.md
931
+ → Individual protocol docs (A2A, ACP, AP2, X402, ACPayments)
932
+ → Specifications.md (integration patterns)
933
+ → Service files (convex/services/protocols/*)
934
+ → Ontology mapping (via metadata.protocol)
935
+ ```
936
+
937
+ ### Path 4: Architecture → Implementation
938
+
939
+ ```
940
+ Architecture.md
941
+ → Service Layer.md (Effect.ts patterns)
942
+ → Service Providers.md (26 providers)
943
+ → Patterns.md (code examples)
944
+ → Implementation Examples.md (working code)
945
+ → Code generation
946
+ ```
947
+
948
+ ### Path 5: Multi-Tenant Implementation
949
+
950
+ ```
951
+ Multitenant.md
952
+ → Ontology.md (organization entity, member_of connections)
953
+ → Hono.md (API backend with org middleware)
954
+ → Service Layer.md (OrganizationService pattern)
955
+ → Files.md (convex/services/organizations/)
956
+ → Implementation.md (migration phases)
957
+ → Generate code
958
+ ```
959
+
960
+ ### Path 6: Effect.ts Pipeline Implementation
961
+
962
+ ```
963
+ Hono-Effect.md
964
+ → Architecture.md (Effect.ts principles)
965
+ → Service Layer.md (Effect.ts service patterns)
966
+ → Hono.md (API integration)
967
+ → Service Providers.md (provider wrappers)
968
+ → Patterns.md (functional patterns)
969
+ → Files.md (service locations)
970
+ → Implementation.md (migration strategy)
971
+ → Generate Effect.ts code
972
+ ```
973
+
974
+ ### Path 7: AI Agent Execution
975
+
976
+ ```
977
+ CLAUDE.md (reads all docs)
978
+ → AGENTS.md (Convex patterns)
979
+ → Rules.md (validate approach)
980
+ → Workflow.md (follow process)
981
+ → Ontology.md (map feature to tables)
982
+ → Patterns.md (replicate patterns)
983
+ → Files.md (determine file locations)
984
+ → Generate code
985
+ → Verify against Implementation Examples.md
986
+ ```
987
+
988
+ ### Path 8: Developer Quick Start (Using ONE CLI + Claude Code)
989
+
990
+ ```
991
+ Development.md
992
+ → npx oneie create (bootstrap project)
993
+ → CLAUDE.md (AI development workflow)
994
+ → Ontology.md (understand data model)
995
+ → API.md (backend endpoints)
996
+ → Files.md (project structure)
997
+ → Vibe code with Claude (rapid frontend development)
998
+ → Deploy
999
+ ```
1000
+
1001
+ ---
1002
+
1003
+ ## Documentation Health Checklist
1004
+
1005
+ ### ✅ Complete
1006
+
1007
+ - [x] All 47 .md files mapped in Files.md
1008
+ - [x] Strategy defines all 8 platform features
1009
+ - [x] Ontology covers all features (100% coverage verified)
1010
+ - [x] DSL supports all ontology types (hybrid approach: 25 connections, 35 events)
1011
+ - [x] All 6 protocols specified (A2A, ACP, AP2, X402, ACPayments, AG-UI)
1012
+ - [x] All integrations documented (ElizaOS, CopilotKit, PromptKit, MCP, N8N)
1013
+ - [x] Service layer fully specified (26 providers + 9 Convex components)
1014
+ - [x] Development guidelines complete (Rules, Patterns, Workflow, Files)
1015
+ - [x] Implementation roadmap ready (12-week plan)
1016
+ - [x] AI agent instructions complete (CLAUDE.md)
1017
+ - [x] CLI tooling specified (CLI.md, CLI Code.md, CLI Compiler Code.md)
1018
+ - [x] API documentation complete (API.md, API-docs.md)
1019
+ - [x] Schema implementation ready (Schema.md)
1020
+ - [x] Migration agent specified (Agent Ingestor.md)
1021
+ - [x] API backend architecture specified (Hono.md)
1022
+ - [x] Multi-tenant architecture specified (Multitenant.md)
1023
+ - [x] Full Effect.ts pipeline coverage specified (Hono-Effect.md)
1024
+
1025
+ ### 🚧 In Progress
1026
+
1027
+ - [ ] Actual code implementation (convex/ and src/ directories)
1028
+ - [ ] Automated tests
1029
+ - [ ] CLI tooling
1030
+
1031
+ ### 📋 Future Enhancements
1032
+
1033
+ - [ ] Video tutorials
1034
+ - [ ] Interactive documentation
1035
+ - [ ] API reference (auto-generated from code)
1036
+ - [ ] Component storybook
1037
+
1038
+ ---
1039
+
1040
+ ## How to Use This Map
1041
+
1042
+ ### For Human Developers
1043
+
1044
+ **Quick Start (Using ONE Platform):**
1045
+
1046
+ 1. Start with **Development.md** for rapid setup using npx oneie CLI
1047
+ 2. Read **CLAUDE.md** for AI-assisted development workflow
1048
+ 3. Use **API.md** to understand available backend endpoints
1049
+ 4. Reference **Files.md** for project structure
1050
+
1051
+ **Deep Dive (Building from Scratch):**
1052
+
1053
+ 1. Start with **Strategy.md** to understand the vision
1054
+ 2. Read **Ontology.md** to understand the data model
1055
+ 3. Check **Architecture.md** for tech stack decisions
1056
+ 4. Review **Rules.md** and **Patterns.md** for development guidelines
1057
+ 5. Follow **Workflow.md** for feature development process
1058
+ 6. Reference **Files.md** for file locations
1059
+ 7. Use **Implementation.md** for roadmap and timeline
1060
+
1061
+ ### For AI Agents (Claude Code)
1062
+
1063
+ 1. **ALWAYS** start with **CLAUDE.md** (synthesizes all docs)
1064
+ 2. Read **AGENTS.md** for Convex-specific patterns
1065
+ 3. Read **Rules.md** for non-negotiable rules
1066
+ 4. Read **Workflow.md** for step-by-step process
1067
+ 5. Read **Ontology.md** to map feature to 4 tables
1068
+ 6. Read **Patterns.md** to find similar code
1069
+ 7. Read **Files.md** to determine file locations
1070
+ 8. Generate code following proven patterns
1071
+ 9. Verify against **Implementation Examples.md**
1072
+
1073
+ ### For Protocol Implementers
1074
+
1075
+ 1. Read **README-Protocols.md** for overview
1076
+ 2. Read specific protocol doc (A2A.md, ACP.md, etc.)
1077
+ 3. Read **Specifications.md** for integration patterns
1078
+ 4. Read **Ontology.md** for data model mapping
1079
+ 5. Check **Service Layer.md** for Effect.ts patterns
1080
+ 6. Implement service in `convex/services/protocols/`
1081
+
1082
+ ### For External Integration
1083
+
1084
+ 1. Read **Agent-Communications.md** for communication patterns
1085
+ 2. Read relevant integration doc (ElizaOS.md, CopilotKit.md, etc.)
1086
+ 3. Check protocol used (A2A, AG-UI, MCP, etc.)
1087
+ 4. Read **Service Providers.md** for wrapper patterns
1088
+ 5. Implement wrapper in `convex/services/providers/`
1089
+
1090
+ ---
1091
+
1092
+ ## Summary
1093
+
1094
+ The ONE Platform documentation is a **complete, integrated system** where:
1095
+
1096
+ - **Strategy.md** defines the vision (8 features)
1097
+ - **Ontology.md** defines the data model (4 tables, 128 types)
1098
+ - **DSL files** provide two languages for ontology operations
1099
+ - **Protocol docs** specify external standards integration
1100
+ - **Integration docs** define external system connections
1101
+ - **Service docs** specify Effect.ts architecture
1102
+ - **Development docs** guide code generation
1103
+ - **Implementation docs** provide roadmap and examples
1104
+ - **CLAUDE.md** synthesizes everything for AI agents
1105
+
1106
+ **Every file has a purpose. Every file references related files. Everything flows from Strategy → Ontology → Implementation.**
1107
+
1108
+ **The system is designed for AI-generated code at scale while maintaining consistency and type safety.**
1109
+
1110
+ ---
1111
+
1112
+ **Next Steps:**
1113
+
1114
+ 1. Read this map to understand the documentation ecosystem
1115
+ 2. Follow the critical paths for your use case
1116
+ 3. Reference the file relationship matrix for dependencies
1117
+ 4. Use the information flow diagram to understand the complete chain
1118
+ 5. Start implementation following the 12-week roadmap in Implementation.md
1119
+
1120
+ **This map ensures no documentation file is orphaned and every file's role is clear.**