oneie 2.0.2 → 2.0.3

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 (405) hide show
  1. package/AGENTS.md +245 -0
  2. package/CLAUDE.md +534 -0
  3. package/one/.obsidian/app.json +1 -0
  4. package/one/.obsidian/appearance.json +1 -0
  5. package/one/.obsidian/core-plugins.json +33 -0
  6. package/one/.obsidian/workspace.json +211 -0
  7. package/one/connections/a2a.md +551 -0
  8. package/one/connections/acp.md +761 -0
  9. package/one/connections/acps.md +731 -0
  10. package/one/connections/agui.md +767 -0
  11. package/one/connections/any-backend.md +1702 -0
  12. package/one/connections/ap2.md +998 -0
  13. package/one/connections/api-docs.md +1891 -0
  14. package/one/connections/api.md +2190 -0
  15. package/one/connections/architecture-diagram.md +94 -0
  16. package/one/connections/communications.md +449 -0
  17. package/one/connections/connections.md +339 -0
  18. package/one/connections/cryptonetworks.md +781 -0
  19. package/one/connections/documentation.md +1120 -0
  20. package/one/connections/effect.md +279 -0
  21. package/one/connections/elizaos.md +1290 -0
  22. package/one/connections/inference.md +58 -0
  23. package/one/connections/kyc.md +632 -0
  24. package/one/connections/mcp.md +842 -0
  25. package/one/connections/membership.md +1152 -0
  26. package/one/connections/middleware.md +1067 -0
  27. package/one/connections/multitenant.md +1341 -0
  28. package/one/connections/n8n.md +1015 -0
  29. package/one/connections/patterns.md +89 -0
  30. package/one/connections/protocols.md +279 -0
  31. package/one/connections/relationships.md +107 -0
  32. package/one/connections/schema.md +587 -0
  33. package/one/connections/service-layer.md +550 -0
  34. package/one/connections/structure.md +0 -0
  35. package/one/connections/vectors.md +207 -0
  36. package/one/connections/wordpress.md +1302 -0
  37. package/one/connections/workflow-copy.md +905 -0
  38. package/one/connections/workflow-examples.md +741 -0
  39. package/one/connections/workflow.md +905 -0
  40. package/one/connections/workflows/delegation.md +885 -0
  41. package/one/connections/workflows/frontend.md +1037 -0
  42. package/one/connections/workflows/strategy.md +903 -0
  43. package/one/connections/workflows/tasks.md +698 -0
  44. package/one/connections/x402.md +1249 -0
  45. package/one/events/events.md +545 -0
  46. package/one/knowledge/ai-platform.md +305 -0
  47. package/one/knowledge/architecture-diagram.md +94 -0
  48. package/one/knowledge/architecture-frontend.md +930 -0
  49. package/one/knowledge/architecture.md +2077 -0
  50. package/one/knowledge/crypto.md +960 -0
  51. package/one/knowledge/dsl.md +1660 -0
  52. package/one/knowledge/files.md +2471 -0
  53. package/one/knowledge/frontend.md +1038 -0
  54. package/one/knowledge/hono.md +2109 -0
  55. package/one/knowledge/implementation-examples.md +2536 -0
  56. package/one/knowledge/inference-score.md +159 -0
  57. package/one/knowledge/knowledge.md +642 -0
  58. package/one/knowledge/language.md +980 -0
  59. package/one/knowledge/lessons-learned.md +70 -0
  60. package/one/knowledge/ontology-6-dimensions.md +0 -0
  61. package/one/knowledge/ontology-documentation.md +356 -0
  62. package/one/knowledge/ontology-engineering-specification.md +1292 -0
  63. package/one/knowledge/ontology-engineering.md +1652 -0
  64. package/one/knowledge/ontology-frontend-copy-2.md +1492 -0
  65. package/one/knowledge/ontology-frontend-copy.md +753 -0
  66. package/one/knowledge/ontology-frontend-specifications.md +2188 -0
  67. package/one/knowledge/ontology-frontend.md +2427 -0
  68. package/one/knowledge/ontology-minimal.yaml +299 -0
  69. package/one/knowledge/ontology.md +2819 -0
  70. package/one/knowledge/ontology.yaml +1165 -0
  71. package/one/knowledge/patterns/backend/convex-mutation-pattern.md +100 -0
  72. package/one/knowledge/patterns/backend/convex-query-pattern.md +88 -0
  73. package/one/knowledge/patterns/backend/mutation-template.md +231 -0
  74. package/one/knowledge/patterns/backend/query-template.md +267 -0
  75. package/one/knowledge/patterns/backend/service-template.md +237 -0
  76. package/one/knowledge/patterns/design/component-architecture.md +399 -0
  77. package/one/knowledge/patterns/design/test-driven-design-pattern.md +162 -0
  78. package/one/knowledge/patterns/design/wireframe-template.md +216 -0
  79. package/one/knowledge/patterns/frontend/component-template.md +195 -0
  80. package/one/knowledge/patterns/frontend/form-template.md +276 -0
  81. package/one/knowledge/patterns/frontend/page-template.md +178 -0
  82. package/one/knowledge/patterns/frontend/react-component-pattern.md +128 -0
  83. package/one/knowledge/patterns/test/acceptance-criteria-template.md +378 -0
  84. package/one/knowledge/patterns/test/technical-test-template.md +544 -0
  85. package/one/knowledge/patterns/test/test-driven-pattern.md +140 -0
  86. package/one/knowledge/patterns/test/user-flow-template.md +254 -0
  87. package/one/knowledge/quality-loop.md +401 -0
  88. package/one/knowledge/readme.md +131 -0
  89. package/one/knowledge/rules.md +626 -0
  90. package/one/knowledge/score.md +67 -0
  91. package/one/knowledge/specifications.md +855 -0
  92. package/one/knowledge/tags.md +130 -0
  93. package/one/organisation/one.md +599 -0
  94. package/one/organisation/organisation.md +438 -0
  95. package/one/organisation/revenue.md +673 -0
  96. package/one/organisation/strategy.md +869 -0
  97. package/one/organisation/vision.md +98 -0
  98. package/one/people/anthony-o-connell.md +440 -0
  99. package/one/people/people.md +567 -0
  100. package/one/repomix-output.md +92634 -0
  101. package/one/things/agentkit.md +349 -0
  102. package/one/things/agents/agent-backend.md +1401 -0
  103. package/one/things/agents/agent-builder.md +955 -0
  104. package/one/things/agents/agent-clean.md +709 -0
  105. package/one/things/agents/agent-clone.md +1341 -0
  106. package/one/things/agents/agent-designer.md +2177 -0
  107. package/one/things/agents/agent-director.md +1508 -0
  108. package/one/things/agents/agent-documenter.md +1049 -0
  109. package/one/things/agents/agent-frontend.md +1119 -0
  110. package/one/things/agents/agent-integrator.md +1192 -0
  111. package/one/things/agents/agent-problem-solver.md +1379 -0
  112. package/one/things/agents/agent-quality.md +1353 -0
  113. package/one/things/agents/agent-sales.md +986 -0
  114. package/one/things/cascade/cascade.yaml +464 -0
  115. package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +470 -0
  116. package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +264 -0
  117. package/one/things/cascade/docs/examples/1-1-agent-prompts.md +486 -0
  118. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +497 -0
  119. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +227 -0
  120. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +516 -0
  121. package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +544 -0
  122. package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +223 -0
  123. package/one/things/cascade/docs/examples/1-3-event-coordination.md +508 -0
  124. package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +609 -0
  125. package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +195 -0
  126. package/one/things/cascade/docs/examples/1-4-knowledge-management.md +577 -0
  127. package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +797 -0
  128. package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +212 -0
  129. package/one/things/cascade/docs/examples/1-5-quality-loops.md +641 -0
  130. package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +610 -0
  131. package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +213 -0
  132. package/one/things/cascade/docs/examples/1-6-numbering-structure.md +575 -0
  133. package/one/things/cascade/docs/examples/readme.md +222 -0
  134. package/one/things/cascade/docs/getting-started.md +515 -0
  135. package/one/things/cascade/docs/workflow.md +1372 -0
  136. package/one/things/cascade/readme.md +336 -0
  137. package/one/things/cascade/templates/feature-template.md +267 -0
  138. package/one/things/claude/agents/advocacy-activation-manager.md +685 -0
  139. package/one/things/claude/agents/advocacy-campaign-designer.md +663 -0
  140. package/one/things/claude/agents/analyst.md +483 -0
  141. package/one/things/claude/agents/architect.md +480 -0
  142. package/one/things/claude/agents/brand-identity-specialist.md +513 -0
  143. package/one/things/claude/agents/bstp-token-strategist.md +667 -0
  144. package/one/things/claude/agents/builder-repo.md +489 -0
  145. package/one/things/claude/agents/bullstamp-community-builder.md +574 -0
  146. package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +506 -0
  147. package/one/things/claude/agents/bulltilt-platform-growth.md +567 -0
  148. package/one/things/claude/agents/company-bullstamp-character.md +587 -0
  149. package/one/things/claude/agents/company-bullstamp-community.md +292 -0
  150. package/one/things/claude/agents/company-bullstamp-marketing.md +292 -0
  151. package/one/things/claude/agents/company-bullstamp-token.md +292 -0
  152. package/one/things/claude/agents/company-bulltilt-growth.md +292 -0
  153. package/one/things/claude/agents/content-bibliography-formatter.md +381 -0
  154. package/one/things/claude/agents/content-calendar-planner.md +448 -0
  155. package/one/things/claude/agents/content-chapter-formatter.md +488 -0
  156. package/one/things/claude/agents/content-formatter.md +546 -0
  157. package/one/things/claude/agents/content-hook-specialist.md +462 -0
  158. package/one/things/claude/agents/content-image-formatter.md +535 -0
  159. package/one/things/claude/agents/content-introduction-formatter.md +485 -0
  160. package/one/things/claude/agents/content-multiplication-engine.md +556 -0
  161. package/one/things/claude/agents/content-playbook-writer.md +448 -0
  162. package/one/things/claude/agents/content-team-manager.md +622 -0
  163. package/one/things/claude/agents/content-toc-formatter.md +522 -0
  164. package/one/things/claude/agents/convex-backend-specialist.md +2561 -0
  165. package/one/things/claude/agents/core-manager.md +582 -0
  166. package/one/things/claude/agents/core-master.md +403 -0
  167. package/one/things/claude/agents/cross-functional-manager.md +471 -0
  168. package/one/things/claude/agents/crypto-airdrop-strategist.md +602 -0
  169. package/one/things/claude/agents/crypto-analytics-educator.md +553 -0
  170. package/one/things/claude/agents/crypto-architecture-specialist.md +466 -0
  171. package/one/things/claude/agents/crypto-community-analyst.md +298 -0
  172. package/one/things/claude/agents/crypto-community-psychologist.md +509 -0
  173. package/one/things/claude/agents/crypto-dex-optimization-expert.md +538 -0
  174. package/one/things/claude/agents/crypto-dex-optimizer.md +292 -0
  175. package/one/things/claude/agents/crypto-diamond-formation-specialist.md +513 -0
  176. package/one/things/claude/agents/crypto-diamond-hands.md +292 -0
  177. package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +554 -0
  178. package/one/things/claude/agents/crypto-engagement-specialist.md +540 -0
  179. package/one/things/claude/agents/crypto-market-researcher.md +292 -0
  180. package/one/things/claude/agents/crypto-marketing-orchestrator.md +523 -0
  181. package/one/things/claude/agents/crypto-network-effect-amplifier.md +569 -0
  182. package/one/things/claude/agents/crypto-optimization-analyst.md +554 -0
  183. package/one/things/claude/agents/crypto-strategic-synthesizer.md +517 -0
  184. package/one/things/claude/agents/crypto-team-manager.md +387 -0
  185. package/one/things/claude/agents/crypto-token-analyst.md +278 -0
  186. package/one/things/claude/agents/crypto-viral-content-creator.md +546 -0
  187. package/one/things/claude/agents/crypto-wallet-identification-expert.md +517 -0
  188. package/one/things/claude/agents/crypto-wallet-identifier.md +292 -0
  189. package/one/things/claude/agents/customer-journey-designer.md +481 -0
  190. package/one/things/claude/agents/customer-success-manager.md +581 -0
  191. package/one/things/claude/agents/dev.md +413 -0
  192. package/one/things/claude/agents/documenter.md +546 -0
  193. package/one/things/claude/agents/elevate-marketing-orchestrator.md +410 -0
  194. package/one/things/claude/agents/engagement-specialist.md +509 -0
  195. package/one/things/claude/agents/engineering-architect.md +387 -0
  196. package/one/things/claude/agents/engineering-business-analyst.md +537 -0
  197. package/one/things/claude/agents/engineering-developer.md +387 -0
  198. package/one/things/claude/agents/engineering-director.md +282 -0
  199. package/one/things/claude/agents/engineering-ingestor.md +649 -0
  200. package/one/things/claude/agents/engineering-product-manager.md +537 -0
  201. package/one/things/claude/agents/engineering-product-owner.md +537 -0
  202. package/one/things/claude/agents/engineering-project-coordinator.md +537 -0
  203. package/one/things/claude/agents/engineering-quality-assurance.md +393 -0
  204. package/one/things/claude/agents/engineering-team-manager.md +512 -0
  205. package/one/things/claude/agents/engineering-user-experience.md +387 -0
  206. package/one/things/claude/agents/framework-elevate-manager.md +294 -0
  207. package/one/things/claude/agents/improver.md +763 -0
  208. package/one/things/claude/agents/intelligence-team-manager.md +385 -0
  209. package/one/things/claude/agents/lead-capture-expert.md +466 -0
  210. package/one/things/claude/agents/lead-magnet-creator.md +453 -0
  211. package/one/things/claude/agents/market-research-analyst.md +412 -0
  212. package/one/things/claude/agents/marketing-brand-identity.md +314 -0
  213. package/one/things/claude/agents/marketing-content-hooks.md +450 -0
  214. package/one/things/claude/agents/marketing-content-multiplier.md +326 -0
  215. package/one/things/claude/agents/marketing-content-poster.md +361 -0
  216. package/one/things/claude/agents/marketing-customer-journey.md +326 -0
  217. package/one/things/claude/agents/marketing-director.md +397 -0
  218. package/one/things/claude/agents/marketing-engagement.md +326 -0
  219. package/one/things/claude/agents/marketing-lead-capture.md +326 -0
  220. package/one/things/claude/agents/marketing-lead-magnet.md +326 -0
  221. package/one/things/claude/agents/marketing-network-effects.md +326 -0
  222. package/one/things/claude/agents/marketing-nurture-campaigns.md +326 -0
  223. package/one/things/claude/agents/marketing-share-optimizer.md +326 -0
  224. package/one/things/claude/agents/marketing-team-manager.md +446 -0
  225. package/one/things/claude/agents/marketing-viral-growth.md +201 -0
  226. package/one/things/claude/agents/mission-commander.md +373 -0
  227. package/one/things/claude/agents/network-effect-analyst.md +587 -0
  228. package/one/things/claude/agents/nextjs-15-specialist.md +1547 -0
  229. package/one/things/claude/agents/npx.md +890 -0
  230. package/one/things/claude/agents/nurture-campaign-manager.md +531 -0
  231. package/one/things/claude/agents/one-master.md +355 -0
  232. package/one/things/claude/agents/one-orchestrator.md +315 -0
  233. package/one/things/claude/agents/one.md +601 -0
  234. package/one/things/claude/agents/playbook-generator.md +503 -0
  235. package/one/things/claude/agents/pm.md +326 -0
  236. package/one/things/claude/agents/po.md +345 -0
  237. package/one/things/claude/agents/qa.md +336 -0
  238. package/one/things/claude/agents/research-foundation-analyst.md +307 -0
  239. package/one/things/claude/agents/research-intelligence-gatherer.md +408 -0
  240. package/one/things/claude/agents/research-market-analyst.md +307 -0
  241. package/one/things/claude/agents/research-team-manager.md +482 -0
  242. package/one/things/claude/agents/sales-environment-optimizer.md +494 -0
  243. package/one/things/claude/agents/sales-team-manager.md +400 -0
  244. package/one/things/claude/agents/sales-upsell-strategist.md +307 -0
  245. package/one/things/claude/agents/service-advocacy-campaigns.md +307 -0
  246. package/one/things/claude/agents/service-advocacy-manager.md +307 -0
  247. package/one/things/claude/agents/service-success-manager.md +307 -0
  248. package/one/things/claude/agents/service-team-manager.md +400 -0
  249. package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +2302 -0
  250. package/one/things/claude/agents/share-optimization-specialist.md +551 -0
  251. package/one/things/claude/agents/sm.md +327 -0
  252. package/one/things/claude/agents/story-teller.md +473 -0
  253. package/one/things/claude/agents/task-master.md +596 -0
  254. package/one/things/claude/agents/tauri-cross-platform-specialist.md +1827 -0
  255. package/one/things/claude/agents/tester.md +556 -0
  256. package/one/things/claude/agents/the-bull-character-manager.md +580 -0
  257. package/one/things/claude/agents/tools-playbook-generator.md +489 -0
  258. package/one/things/claude/agents/turbo-repo-builder.md +316 -0
  259. package/one/things/claude/agents/upsell-strategist.md +480 -0
  260. package/one/things/claude/agents/ux-expert.md +335 -0
  261. package/one/things/claude/agents/viral-growth-orchestrator.md +497 -0
  262. package/one/things/claude/claude-code-hooks-development.json +21 -0
  263. package/one/things/claude/claude-code-hooks-production.json +21 -0
  264. package/one/things/claude/claude-code-hooks.json +25 -0
  265. package/one/things/claude/commands/agent.md +104 -0
  266. package/one/things/claude/commands/cascade-status.md +128 -0
  267. package/one/things/claude/commands/ingest.md +290 -0
  268. package/one/things/claude/commands/ingestor.md +136 -0
  269. package/one/things/claude/commands/mission.md +83 -0
  270. package/one/things/claude/commands/npx.md +133 -0
  271. package/one/things/claude/commands/one.md +440 -0
  272. package/one/things/claude/commands/quality-check.md +204 -0
  273. package/one/things/claude/commands/smart-route.md +220 -0
  274. package/one/things/claude/commands/start.md +121 -0
  275. package/one/things/claude/commands/story.md +83 -0
  276. package/one/things/claude/commands/task.md +173 -0
  277. package/one/things/claude/hook-bypass.json +32 -0
  278. package/one/things/claude/hooks/agent-hook-config.json +427 -0
  279. package/one/things/claude/hooks/agent-hook-manager.js +525 -0
  280. package/one/things/claude/hooks/agent-load-balancer.js +271 -0
  281. package/one/things/claude/hooks/agent-request-interceptor.js +70 -0
  282. package/one/things/claude/hooks/build-hook.sh +156 -0
  283. package/one/things/claude/hooks/cascade-feedback.js +297 -0
  284. package/one/things/claude/hooks/cascade-integration-hooks.js +648 -0
  285. package/one/things/claude/hooks/cleanup-hook.sh +201 -0
  286. package/one/things/claude/hooks/continuous-improvement-monitor.js +510 -0
  287. package/one/things/claude/hooks/file-organization-engine.js +427 -0
  288. package/one/things/claude/hooks/file-organization-hook.sh +80 -0
  289. package/one/things/claude/hooks/file-organization-monitor.js +269 -0
  290. package/one/things/claude/hooks/format-hook.sh +43 -0
  291. package/one/things/claude/hooks/hook-bypass.sh +293 -0
  292. package/one/things/claude/hooks/hook-config-manager.js +202 -0
  293. package/one/things/claude/hooks/hook-debouncer.sh +62 -0
  294. package/one/things/claude/hooks/hook-logger.sh +89 -0
  295. package/one/things/claude/hooks/hook-orchestrator.js +662 -0
  296. package/one/things/claude/hooks/hook-performance-report.js +120 -0
  297. package/one/things/claude/hooks/lint-hook.sh +140 -0
  298. package/one/things/claude/hooks/mcp-cascade-integration.js +816 -0
  299. package/one/things/claude/hooks/memory-optimizer.js +510 -0
  300. package/one/things/claude/hooks/notification-hook.sh +204 -0
  301. package/one/things/claude/hooks/ontology-compliance.js +394 -0
  302. package/one/things/claude/hooks/ontology-hook-manager.js +316 -0
  303. package/one/things/claude/hooks/ontology-validation-engine.js +317 -0
  304. package/one/things/claude/hooks/ontology-validation-hook.sh +86 -0
  305. package/one/things/claude/hooks/performance-metrics.json +25 -0
  306. package/one/things/claude/hooks/performance-monitoring-hook.js +422 -0
  307. package/one/things/claude/hooks/quality-scoring-engine.js +834 -0
  308. package/one/things/claude/hooks/security-hook.sh +256 -0
  309. package/one/things/claude/hooks/simple-load-balancer.js +238 -0
  310. package/one/things/claude/hooks/startup-optimizer.js +625 -0
  311. package/one/things/claude/hooks/story-scoring-system.js +445 -0
  312. package/one/things/claude/hooks/story-validation-engine.js +473 -0
  313. package/one/things/claude/hooks/story-validation-hook-enhanced.sh +210 -0
  314. package/one/things/claude/hooks/story-validation-hook.sh +145 -0
  315. package/one/things/claude/hooks/structure-synchronizer.js +194 -0
  316. package/one/things/claude/hooks/sub-agent-output-validator.js +647 -0
  317. package/one/things/claude/hooks/sub-agent-validation-hook.js +343 -0
  318. package/one/things/claude/hooks/test-hook.sh +145 -0
  319. package/one/things/claude/hooks/test-story-validation.sh +170 -0
  320. package/one/things/claude/hooks/trinity-validation-system.js +392 -0
  321. package/one/things/claude/settings-local.json +86 -0
  322. package/one/things/cli-code.md +652 -0
  323. package/one/things/cli-compiler-code.md +652 -0
  324. package/one/things/cli.md +1045 -0
  325. package/one/things/components/card-shadcn.md +929 -0
  326. package/one/things/components/card.md +1050 -0
  327. package/one/things/components.md +1669 -0
  328. package/one/things/componets.md +4 -0
  329. package/one/things/copilotkit.md +1559 -0
  330. package/one/things/creator-diagram.md +166 -0
  331. package/one/things/examples/children/lemonade-stand.md +366 -0
  332. package/one/things/examples/enterprise/crm-saas.md +1429 -0
  333. package/one/things/features/1-1-agent-prompts/design.md +470 -0
  334. package/one/things/features/1-1-agent-prompts/tests.md +264 -0
  335. package/one/things/features/1-1-agent-prompts.md +486 -0
  336. package/one/things/features/1-2-yaml-orchestrator/design.md +497 -0
  337. package/one/things/features/1-2-yaml-orchestrator/tests.md +227 -0
  338. package/one/things/features/1-2-yaml-orchestrator.md +516 -0
  339. package/one/things/features/1-3-event-coordination/design.md +544 -0
  340. package/one/things/features/1-3-event-coordination/tests.md +223 -0
  341. package/one/things/features/1-3-event-coordination.md +508 -0
  342. package/one/things/features/1-4-knowledge-management/design.md +609 -0
  343. package/one/things/features/1-4-knowledge-management/tests.md +195 -0
  344. package/one/things/features/1-4-knowledge-management.md +577 -0
  345. package/one/things/features/1-5-quality-loops/design.md +797 -0
  346. package/one/things/features/1-5-quality-loops/tests.md +212 -0
  347. package/one/things/features/1-5-quality-loops.md +641 -0
  348. package/one/things/features/1-6-numbering-structure/design.md +610 -0
  349. package/one/things/features/1-6-numbering-structure/tests.md +213 -0
  350. package/one/things/features/1-6-numbering-structure.md +575 -0
  351. package/one/things/features/2-cli.md +1235 -0
  352. package/one/things/features/use-one-backend.md +1180 -0
  353. package/one/things/ideas/1-create-workflow.md +189 -0
  354. package/one/things/plans/1-create-workflow-status.md +555 -0
  355. package/one/things/plans/1-create-workflow.md +713 -0
  356. package/one/things/plans/app.md +761 -0
  357. package/one/things/plans/better-auth-any-backend-revised.md +1065 -0
  358. package/one/things/plans/better-auth-any-backend.md +1852 -0
  359. package/one/things/plans/better-auth-available-features.md +235 -0
  360. package/one/things/plans/big-plan.md +38 -0
  361. package/one/things/plans/convex-better-auth.md +1109 -0
  362. package/one/things/plans/convex-on-off.md +389 -0
  363. package/one/things/plans/desktop.md +1121 -0
  364. package/one/things/plans/effect-components.md +1669 -0
  365. package/one/things/plans/effect.md +973 -0
  366. package/one/things/plans/email.md +953 -0
  367. package/one/things/plans/enhance-auth.md +1669 -0
  368. package/one/things/plans/install-components.md +198 -0
  369. package/one/things/plans/landing.md +728 -0
  370. package/one/things/plans/layout.md +205 -0
  371. package/one/things/plans/mail-backend.md +1308 -0
  372. package/one/things/plans/mail.md +2624 -0
  373. package/one/things/plans/next-features.md +83 -0
  374. package/one/things/plans/one.md +658 -0
  375. package/one/things/plans/ontology-6-dimensions.md +2216 -0
  376. package/one/things/plans/ontology-driven-strategy.md +866 -0
  377. package/one/things/plans/ontology-ui-approach.md +357 -0
  378. package/one/things/plans/open-agent.md +785 -0
  379. package/one/things/plans/performace.md +90 -0
  380. package/one/things/plans/releases.md +809 -0
  381. package/one/things/plans/repos.md +76 -0
  382. package/one/things/plans/separate-copy-2.md +1293 -0
  383. package/one/things/plans/separate-copy-3.md +2458 -0
  384. package/one/things/plans/separate-copy.md +1293 -0
  385. package/one/things/plans/separate.md +1983 -0
  386. package/one/things/plans/shadcn-integration-summary.md +450 -0
  387. package/one/things/plans/sidebar.md +172 -0
  388. package/one/things/plans/small-fixes.md +5 -0
  389. package/one/things/plans/test-backend-connection.md +476 -0
  390. package/one/things/plans/workflow-files.md +1196 -0
  391. package/one/things/plans/workflow.md +1372 -0
  392. package/one/things/products/cascade-landing-page.md +737 -0
  393. package/one/things/products/cascade.md +1518 -0
  394. package/one/things/products/context-engineering.md +1427 -0
  395. package/one/things/products/onthology.md +0 -0
  396. package/one/things/products/ontology-ui-shadcn.md +1280 -0
  397. package/one/things/products/ontology-ui.md +1387 -0
  398. package/one/things/products/ontology.md +717 -0
  399. package/one/things/products/sdk.md +557 -0
  400. package/one/things/promptkit.md +903 -0
  401. package/one/things/service-providers-new.md +982 -0
  402. package/one/things/service-providers.md +1092 -0
  403. package/one/things/things.md +349 -0
  404. package/one/things/todo.md +1248 -0
  405. package/package.json +5 -2
@@ -0,0 +1,1248 @@
1
+ # ONE Thing To Do
2
+
3
+ Now
4
+
5
+ - [ ] This is calculated automatically.
6
+
7
+ ---
8
+
9
+ Next
10
+ Human
11
+
12
+ - [ ] This is my task - split the /one / frontend / backend. see one/plans/separate.md and add the tasks needed to be completed below.
13
+
14
+ ## 🤖 Agents - Team Builder & Orchestrator
15
+
16
+ ### Director Agent (Strategy Agent) ✅ CREATED
17
+
18
+ **Status:** Specification complete, implementation pending
19
+ **Location:** `one/things/agents/director.md`, `convex/services/agents/director/`
20
+
21
+ - [x] Create director agent specification
22
+ - [ ] Implement todo management (read, update, prioritize)
23
+ - [ ] Implement workflow orchestration
24
+ - [ ] Implement task delegation to specialist agents
25
+ - [ ] Implement progress monitoring
26
+ - [ ] Implement daily reporting to owner
27
+
28
+ ### Designer Agent (Design Agent)
29
+
30
+ **Status:** ⏸️ Planned
31
+ **Responsibilities:** Components, design system, animations
32
+ **Location:** `convex/services/agents/business/design/`
33
+
34
+ - [ ] Create designer agent specification
35
+ - [ ] Implement DesignAgent service
36
+ - [ ] Implement component design generation (shadcn/ui patterns)
37
+ - [ ] Implement design system creation (tokens, variables)
38
+ - [ ] Implement animation generation (Framer Motion, CSS)
39
+ - [ ] Implement Figma export integration
40
+ - [ ] Implement asset generation (icons, backgrounds, patterns)
41
+ - [ ] Tools: `component_design`, `figma_export`, `asset_generation`
42
+
43
+ ### Backend Agent (Engineering Agent)
44
+
45
+ **Status:** ⏸️ Planned
46
+ **Responsibilities:** Convex, Effect.ts, Hono
47
+ **Location:** `convex/services/agents/business/engineering/`
48
+
49
+ - [ ] Create backend agent specification
50
+ - [ ] Implement BackendAgent service
51
+ - [ ] Implement Convex mutation generation
52
+ - [ ] Implement Effect.ts service generation
53
+ - [ ] Implement Hono route generation
54
+ - [ ] Implement schema updates
55
+ - [ ] Tools: `generate_mutation`, `generate_service`, `generate_route`
56
+
57
+ ### AI Specialist Agent
58
+
59
+ **Status:** ⏸️ Planned
60
+ **Responsibilities:** Hono + AI SDK integration
61
+ **Location:** `convex/services/agents/business/ai/`
62
+
63
+ - [ ] Create AI specialist agent specification
64
+ - [ ] Implement AIAgent service
65
+ - [ ] Implement AI SDK route generation
66
+ - [ ] Implement streaming responses
67
+ - [ ] Implement RAG integration
68
+ - [ ] Implement LLM provider switching (OpenAI, Anthropic, etc.)
69
+ - [ ] Tools: `generate_ai_route`, `implement_streaming`, `integrate_rag`
70
+
71
+ ### Frontend Engineer Agent
72
+
73
+ **Status:** ⏸️ Planned
74
+ **Responsibilities:** Astro specialist, React 19, shadcn/ui
75
+ **Location:** `convex/services/agents/business/frontend/`
76
+
77
+ - [ ] Create frontend engineer specification
78
+ - [ ] Implement FrontendAgent service
79
+ - [ ] Implement Astro page generation
80
+ - [ ] Implement React 19 component generation
81
+ - [ ] Implement shadcn/ui component integration
82
+ - [ ] Implement responsive layouts
83
+ - [ ] Tools: `generate_page`, `generate_component`, `add_shadcn`
84
+
85
+ ### Copywriter Agent (Marketing Agent)
86
+
87
+ **Status:** ⏸️ Planned
88
+ **Responsibilities:** Content writing, SEO, messaging
89
+ **Location:** `convex/services/agents/business/marketing/`
90
+
91
+ - [ ] Create copywriter agent specification
92
+ - [ ] Implement CopywriterAgent service
93
+ - [ ] Implement blog post generation
94
+ - [ ] Implement landing page copy
95
+ - [ ] Implement SEO optimization
96
+ - [ ] Implement email templates
97
+ - [ ] Tools: `generate_blog_post`, `optimize_seo`, `write_email`
98
+
99
+ ### Mobile Designer Agent
100
+
101
+ **Status:** ⏸️ Planned
102
+ **Responsibilities:** Mobile-first design, responsive patterns
103
+ **Location:** `convex/services/agents/business/mobile/`
104
+
105
+ - [ ] Create mobile designer specification
106
+ - [ ] Implement MobileAgent service
107
+ - [ ] Implement mobile-first layouts
108
+ - [ ] Implement touch interactions
109
+ - [ ] Implement PWA features
110
+ - [ ] Tools: `design_mobile_layout`, `add_pwa_features`
111
+
112
+ ### Ingestor Agent (Data Migration Agent) ✅ SPECIFIED
113
+
114
+ **Status:** Specification exists in AGENTS.md
115
+ **Responsibilities:** Migrate data from one.ie and bullfm
116
+ **Location:** `convex/services/agents/specialized/ingestor/`
117
+
118
+ - [ ] Create ingestor agent implementation
119
+ - [ ] Implement data extraction from old systems
120
+ - [ ] Implement data transformation (to 6-dimension ontology)
121
+ - [ ] Implement data validation
122
+ - [ ] Implement migration reports
123
+ - [ ] Tools: `extract_data`, `transform_data`, `validate_migration`
124
+
125
+ ### Testor Agent (QA Agent)
126
+
127
+ **Status:** ⏸️ Planned
128
+ **Responsibilities:** Testing, quality assurance
129
+ **Location:** `convex/services/agents/specialized/qa/`
130
+
131
+ - [ ] Create testor agent specification
132
+ - [ ] Implement TestorAgent service
133
+ - [ ] Implement unit test generation
134
+ - [ ] Implement integration test generation
135
+ - [ ] Implement E2E test generation
136
+ - [ ] Implement test execution and reporting
137
+ - [ ] Tools: `generate_tests`, `run_tests`, `analyze_coverage`
138
+
139
+ ### Documentor Agent
140
+
141
+ **Status:** ⏸️ Planned
142
+ **Responsibilities:** Documentation updates, API docs
143
+ **Location:** `convex/services/agents/specialized/docs/`
144
+
145
+ - [ ] Create documentor agent specification
146
+ - [ ] Implement DocumentorAgent service
147
+ - [ ] Implement documentation updates (sync with code)
148
+ - [ ] Implement API documentation generation
149
+ - [ ] Implement changelog generation
150
+ - [ ] Tools: `update_docs`, `generate_api_docs`, `generate_changelog`
151
+
152
+ ### Performance Optimiser Agent (Intelligence Agent)
153
+
154
+ **Status:** ⏸️ Planned
155
+ **Responsibilities:** Performance analysis, optimization
156
+ **Location:** `convex/services/agents/business/intelligence/`
157
+
158
+ - [ ] Create performance optimizer specification
159
+ - [ ] Implement PerformanceAgent service
160
+ - [ ] Implement performance metric tracking
161
+ - [ ] Implement bottleneck detection
162
+ - [ ] Implement optimization recommendations
163
+ - [ ] Tools: `analyze_performance`, `detect_bottlenecks`, `suggest_optimizations`
164
+
165
+ ### SEO Agent (Marketing Sub-Agent)
166
+
167
+ **Status:** ⏸️ Planned
168
+ **Responsibilities:** SEO optimization, meta tags, sitemap
169
+ **Location:** `convex/services/agents/business/seo/`
170
+
171
+ - [ ] Create SEO agent specification
172
+ - [ ] Implement SEOAgent service
173
+ - [ ] Implement meta tag optimization
174
+ - [ ] Implement sitemap generation
175
+ - [ ] Implement structured data (JSON-LD)
176
+ - [ ] Implement keyword optimization
177
+ - [ ] Tools: `optimize_meta`, `generate_sitemap`, `add_structured_data`
178
+
179
+ ---
180
+
181
+ ## 🪝 Hooks - Application Enhancement
182
+
183
+ ### Structure Hooks
184
+
185
+ **Purpose:** Organize codebase structure, enforce patterns
186
+
187
+ - [ ] **Pre-commit hook:** Validate file naming conventions
188
+ - [ ] **Pre-commit hook:** Validate TypeScript strict mode
189
+ - [ ] **Pre-commit hook:** Validate no 'any' types (except properties)
190
+ - [ ] **Pre-commit hook:** Validate imports use path aliases (@/\*)
191
+ - [ ] **Post-merge hook:** Run `bunx astro sync` to regenerate types
192
+ - [ ] **Post-merge hook:** Run `bun install` if package.json changed
193
+
194
+ ### Secrets Hooks
195
+
196
+ **Purpose:** Prevent secret leakage, enforce security
197
+
198
+ - [ ] **Pre-commit hook:** Scan for API keys in code
199
+ - [ ] **Pre-commit hook:** Scan for private keys
200
+ - [ ] **Pre-commit hook:** Scan for .env files in git
201
+ - [ ] **Pre-commit hook:** Validate environment variables used are documented
202
+ - [ ] **CI/CD hook:** Rotate secrets on deployment
203
+ - [ ] **Runtime hook:** Validate all secrets are encrypted (Better Auth, Stripe, etc.)
204
+
205
+ ### Ontology Hooks
206
+
207
+ **Purpose:** Enforce 6-dimension ontology patterns
208
+
209
+ - [ ] **Pre-mutation hook:** Validate entity type exists in ontology
210
+ - [ ] **Pre-mutation hook:** Validate connection type exists in ontology
211
+ - [ ] **Pre-mutation hook:** Validate event type exists in ontology
212
+ - [ ] **Post-mutation hook:** Auto-log events for entity changes
213
+ - [ ] **Query hook:** Enforce org-scoped queries (multi-tenant isolation)
214
+ - [ ] **Query hook:** Validate protocol metadata format
215
+
216
+ ### Files Hooks
217
+
218
+ **Purpose:** Keep file system organized
219
+
220
+ - [ ] **Pre-commit hook:** Validate file locations match files.md
221
+ - [ ] **Pre-commit hook:** Validate new files update files.md
222
+ - [ ] **Post-file-create hook:** Auto-generate barrel exports (index.ts)
223
+ - [ ] **Pre-delete hook:** Check for references before deleting
224
+ - [ ] **Post-move hook:** Update all imports automatically
225
+
226
+ ### Patterns Hooks
227
+
228
+ **Purpose:** Enforce code patterns from patterns.md
229
+
230
+ - [ ] **Pre-commit hook:** Validate Effect.ts services follow pattern
231
+ - [ ] **Pre-commit hook:** Validate Convex mutations are thin wrappers
232
+ - [ ] **Pre-commit hook:** Validate React components use Convex hooks
233
+ - [ ] **Pre-commit hook:** Validate Astro pages use SSR patterns
234
+ - [ ] **Code review hook:** Auto-comment with pattern violations
235
+
236
+ ---
237
+
238
+ ## 🎮 Commands - Developer Experience
239
+
240
+ ### /design Command
241
+
242
+ **Purpose:** Generate design system components
243
+ **Location:** `.claude/commands/design.ts`
244
+
245
+ - [ ] Implement `/design` command handler
246
+ - [ ] Integrate with designer agent
247
+ - [ ] Generate design tokens (colors, spacing, typography)
248
+ - [ ] Generate component variants
249
+ - [ ] Generate Tailwind CSS configuration
250
+ - [ ] Generate Figma tokens export
251
+ - **Usage:** `/design button primary | /design colors light-mode`
252
+
253
+ ### /push Command ✅ EXISTS
254
+
255
+ **Purpose:** Build, fix errors, commit, and push
256
+ **Location:** Configured in slash commands
257
+
258
+ - [x] Command exists and works
259
+ - [ ] Enhance with pre-push validation
260
+ - [ ] Add automatic changelog generation
261
+ - [ ] Add deployment trigger option
262
+ - **Usage:** `/push "feat: add password reset"`
263
+
264
+ ### /deploy Command
265
+
266
+ **Purpose:** Deploy to production (Cloudflare Pages)
267
+ **Location:** `.claude/commands/deploy.ts`
268
+
269
+ - [ ] Implement `/deploy` command handler
270
+ - [ ] Build production bundle
271
+ - [ ] Run all tests
272
+ - [ ] Deploy to Cloudflare Pages
273
+ - [ ] Verify deployment health
274
+ - [ ] Rollback on failure
275
+ - **Usage:** `/deploy production | /deploy staging`
276
+
277
+ ---
278
+
279
+ ## 🖥️ CLI - Command Line Interface
280
+
281
+ ### npx oneie CLI
282
+
283
+ **Purpose:** Bootstrap and manage ONE projects
284
+ **Location:** `packages/cli/` (future package)
285
+ **Status:** ⏸️ Planned - see `one/things/cli.md`
286
+
287
+ - [ ] Create @one/cli package
288
+ - [ ] Implement `npx oneie create` (bootstrap project)
289
+ - [ ] Implement `npx oneie add` (add features)
290
+ - [ ] Implement `npx oneie agent` (spawn agents)
291
+ - [ ] Implement `npx oneie deploy` (deploy project)
292
+ - [ ] Implement `npx oneie status` (show org status)
293
+ - [ ] Implement `npx oneie docs` (open documentation)
294
+
295
+ ---
296
+
297
+ ## 🔌 MCP's - Model Context Protocols
298
+
299
+ ### Convex MCP ✅ CONFIGURED
300
+
301
+ **Status:** Configured in `.mcp.json`
302
+ **Purpose:** Convex deployment management
303
+
304
+ - [x] MCP configured and working
305
+ - [ ] Enhance with inference quota tracking
306
+ - [ ] Enhance with organization usage tracking
307
+ - [ ] Add real-time log streaming
308
+ - **Tools:** `status`, `data`, `tables`, `functionSpec`, `run`, `envList`, `logs`
309
+
310
+ ### Chrome DevTools MCP
311
+
312
+ **Purpose:** Browser debugging integration
313
+ **Status:** ⏸️ Not yet configured
314
+
315
+ - [ ] Research chrome-devtools MCP implementation
316
+ - [ ] Configure in `.mcp.json`
317
+ - [ ] Integrate with frontend testing workflow
318
+ - [ ] Enable remote debugging for mobile
319
+
320
+ ### Error Tracking MCP (Sentry/Similar)
321
+
322
+ **Purpose:** Production error monitoring
323
+ **Status:** ⏸️ Not yet configured
324
+
325
+ - [ ] Choose error tracking service (Sentry, Rollbar, or custom)
326
+ - [ ] Create error tracking MCP
327
+ - [ ] Configure in `.mcp.json`
328
+ - [ ] Integrate with agent alert system
329
+ - [ ] Auto-create issues for critical errors
330
+
331
+ ---
332
+
333
+ ## 🎨 Design - Design System
334
+
335
+ ### Design System Foundation
336
+
337
+ **Status:** ⏸️ Planned
338
+ **Location:** `src/styles/design-system.css`
339
+
340
+ - [ ] Create design system documentation
341
+ - [ ] Define design tokens (CSS custom properties)
342
+ - [ ] Define spacing scale (4px, 8px, 16px, 24px, 32px, 48px, 64px)
343
+ - [ ] Define typography scale (xs, sm, base, lg, xl, 2xl, 3xl, 4xl)
344
+ - [ ] Define breakpoints (sm: 640px, md: 768px, lg: 1024px, xl: 1280px, 2xl: 1536px)
345
+ - [ ] Define z-index scale (modal, dropdown, sticky, fixed)
346
+
347
+ ### Light / Dark Mode ✅ IMPLEMENTED
348
+
349
+ **Status:** Implemented with Tailwind v4
350
+ **Location:** `src/styles/global.css`, `src/components/ModeToggle.tsx`
351
+
352
+ - [x] Light mode colors defined
353
+ - [x] Dark mode colors defined
354
+ - [x] Mode toggle component working
355
+ - [ ] Enhance with system preference detection
356
+ - [ ] Add theme transition animations
357
+ - [ ] Add per-user theme persistence (Better Auth)
358
+
359
+ ### Color System
360
+
361
+ **Status:** Partial - Needs expansion
362
+ **Location:** `src/styles/global.css` (@theme blocks)
363
+
364
+ - [ ] Define primary brand colors (with HSL values)
365
+ - [ ] Define secondary colors
366
+ - [ ] Define accent colors
367
+ - [ ] Define semantic colors (success, warning, error, info)
368
+ - [ ] Define surface colors (background, card, popover)
369
+ - [ ] Define text colors (foreground, muted, muted-foreground)
370
+ - [ ] Test WCAG contrast ratios (AA minimum)
371
+
372
+ ### Logo Assets
373
+
374
+ **Status:** ⏸️ Needed
375
+ **Location:** `public/logo/`
376
+
377
+ - [ ] Design ONE Platform logo (light version)
378
+ - [ ] Design ONE Platform logo (dark version)
379
+ - [ ] Export SVG (optimized)
380
+ - [ ] Export PNG (multiple sizes: 32px, 64px, 128px, 256px, 512px)
381
+ - [ ] Export favicon (16px, 32px, ICO format)
382
+ - [ ] Add to Layout.astro
383
+
384
+ ### Icon System
385
+
386
+ **Status:** Partial - Lucide React icons in use
387
+ **Location:** `src/components/ui/`, `public/icons/`
388
+
389
+ - [ ] Audit current icon usage (Lucide React)
390
+ - [ ] Create custom icons for ONE-specific concepts
391
+ - [ ] Export custom icons as SVG sprites
392
+ - [ ] Document icon usage patterns
393
+ - [ ] Create icon component wrapper
394
+
395
+ ### Backgrounds
396
+
397
+ **Status:** ⏸️ Needed
398
+ **Location:** `public/backgrounds/`
399
+
400
+ - [ ] Design hero background (light mode)
401
+ - [ ] Design hero background (dark mode)
402
+ - [ ] Design section backgrounds (features, pricing, testimonials)
403
+ - [ ] Design authentication page backgrounds
404
+ - [ ] Design dashboard backgrounds
405
+ - [ ] Optimize for web (WebP, lazy loading)
406
+
407
+ ### Patterns & Gradients
408
+
409
+ **Status:** ⏸️ Needed
410
+ **Location:** `src/styles/patterns.css`
411
+
412
+ - [ ] Create dot grid pattern
413
+ - [ ] Create mesh gradient pattern
414
+ - [ ] Create noise texture overlay
415
+ - [ ] Create animated gradient backgrounds
416
+ - [ ] Create card hover effects
417
+ - [ ] Document pattern usage
418
+
419
+ ### Button System ✅ SHADCN CONFIGURED
420
+
421
+ **Status:** shadcn/ui buttons installed
422
+ **Location:** `src/components/ui/button.tsx`
423
+
424
+ - [x] Primary button variant
425
+ - [x] Secondary button variant
426
+ - [x] Outline button variant
427
+ - [x] Ghost button variant
428
+ - [x] Link button variant
429
+ - [ ] Add loading state variant
430
+ - [ ] Add icon button variant
431
+ - [ ] Document button usage patterns
432
+
433
+ ---
434
+
435
+ ## 🎬 Animation - Motion Design
436
+
437
+ ### Scroll Animations
438
+
439
+ **Status:** ⏸️ Planned
440
+ **Library:** Framer Motion or CSS Scroll-driven Animations
441
+ **Location:** `src/components/animations/`
442
+
443
+ - [ ] Choose animation library (Framer Motion vs CSS scroll-driven)
444
+ - [ ] Implement fade-in on scroll
445
+ - [ ] Implement slide-up on scroll
446
+ - [ ] Implement parallax effects
447
+ - [ ] Implement stagger animations (for lists)
448
+ - [ ] Implement scroll progress indicators
449
+ - [ ] Add `prefers-reduced-motion` support
450
+ - [ ] Document animation patterns
451
+
452
+ ### Page Transitions
453
+
454
+ **Status:** ⏸️ Planned
455
+ **Location:** `src/layouts/Layout.astro`, `src/components/PageTransition.astro`
456
+
457
+ - [ ] Implement page transition component
458
+ - [ ] Add route change animations
459
+ - [ ] Add loading indicators
460
+ - [ ] Optimize for performance (60fps target)
461
+
462
+ ### Micro-interactions
463
+
464
+ **Status:** ⏸️ Planned
465
+ **Location:** `src/components/ui/` (enhance existing components)
466
+
467
+ - [ ] Add button click ripple effect
468
+ - [ ] Add input focus animations
469
+ - [ ] Add checkbox/switch toggle animations
470
+ - [ ] Add toast notification animations
471
+ - [ ] Add modal enter/exit animations
472
+ - [ ] Add dropdown slide animations
473
+
474
+ ---
475
+
476
+ ## 🧩 Components - UI Building Blocks
477
+
478
+ ### Search Component
479
+
480
+ **Status:** ⏸️ Planned - Need to choose implementation
481
+ **Options:**
482
+
483
+ 1. **Astro Content Collection Search** (built-in, type-safe)
484
+ 2. **Pagefind** (static search, fast, no backend)
485
+ 3. **Convex Full-Text Search** (real-time, dynamic content)
486
+
487
+ **Decision Needed:** Which search approach?
488
+
489
+ - [ ] **Option A: Astro Content Collection Search**
490
+
491
+ - [ ] Implement search index generation
492
+ - [ ] Create SearchInput component
493
+ - [ ] Add fuzzy matching
494
+ - [ ] Add filters (by type, tag, date)
495
+ - **Pros:** Type-safe, built-in
496
+ - **Cons:** Static only (no user-generated content)
497
+
498
+ - [ ] **Option B: Pagefind**
499
+
500
+ - [ ] Install Pagefind
501
+ - [ ] Configure build-time indexing
502
+ - [ ] Create SearchInput component
503
+ - [ ] Integrate Pagefind UI
504
+ - [ ] Style to match design system
505
+ - **Pros:** Fast, no backend, works with static + dynamic
506
+ - **Cons:** Requires build step
507
+
508
+ - [ ] **Option C: Convex Search**
509
+ - [ ] Implement full-text search in Convex
510
+ - [ ] Create SearchInput component
511
+ - [ ] Add real-time search results
512
+ - [ ] Add search analytics
513
+ - **Pros:** Real-time, dynamic content, rich features
514
+ - **Cons:** Requires backend, query costs
515
+
516
+ **Recommendation:** Start with Pagefind (best of both worlds), upgrade to Convex when user-generated content scales.
517
+
518
+ **Location:** `src/components/Search.tsx`, `src/components/SearchResults.tsx`
519
+
520
+ ---
521
+
522
+ ## 📐 Layouts - Page Structure
523
+
524
+ ### Layout System ✅ EXISTS
525
+
526
+ **Status:** Base layouts exist
527
+ **Location:** `src/layouts/`
528
+
529
+ - [x] `Layout.astro` - Base layout with header, footer
530
+ - [x] `Blog.astro` - Blog post layout with ToC
531
+ - [ ] `AppLayout.astro` - Application layout (dashboard, authenticated pages)
532
+ - [ ] `LandingLayout.astro` - Landing page layout (marketing)
533
+ - [ ] `AuthLayout.astro` - Authentication layout (signin, signup)
534
+ - [ ] `DocsLayout.astro` - Documentation layout
535
+
536
+ ### Page Templates
537
+
538
+ **Status:** Partial - Some pages exist
539
+ **Location:** `src/pages/`
540
+
541
+ - [ ] Marketing pages (home, features, pricing, about, contact)
542
+ - [ ] Authentication pages (✅ exist in /account/)
543
+ - [ ] Dashboard pages (platform owner, org owner, org user, customer)
544
+ - [ ] Application pages (agents, workflows, todos)
545
+ - [ ] Documentation pages (guides, API reference, examples)
546
+ - [ ] Error pages (404, 500, maintenance)
547
+
548
+ ---
549
+
550
+ ## 📊 Current Phase: Foundation Setup
551
+
552
+ **Goal:** Establish core infrastructure and agent orchestration system
553
+ **Timeline:** Weeks 1-4 of 12-week implementation roadmap
554
+ **Progress:** 15% complete (documentation system established)
555
+
556
+ ---
557
+
558
+ ## 🎯 Active Todos (High Priority)
559
+
560
+ ### Phase 1A: Documentation & Planning (15% Complete)
561
+
562
+ #### ✅ Completed
563
+
564
+ - [x] Create documentation ecosystem (90 .md files, 73k lines) - **DONE**
565
+ - [x] Define ontology (6 dimensions: things, connections, events, knowledge, people, protocols) - **DONE**
566
+ - [x] Define architecture (Effect.ts, Convex, Astro, Hono) - **DONE**
567
+ - [x] Create strategy documentation (8 core features) - **DONE**
568
+ - [x] Create workflow documentation (ontology-driven development) - **DONE**
569
+
570
+ **Status:** Documentation foundation is EXCELLENT. All patterns defined.
571
+
572
+ #### ⏳ In Progress
573
+
574
+ 1. **Convex Schema Implementation**
575
+ **Priority:** P0
576
+ **Effort:** M
577
+ **Assigned to:** Director Agent
578
+ **Dependencies:** None (ontology spec complete)
579
+ **Status:** ⏳ Need to verify schema.ts matches ontology.md exactly
580
+ **Location:** `convex/schema.ts`
581
+ **Checklist:**
582
+
583
+ - [ ] Verify `entities` table matches 66 thing types
584
+ - [ ] Verify `connections` table matches 25 connection types
585
+ - [ ] Verify `events` table matches 67 event types
586
+ - [ ] Add `knowledge` table (labels + chunks + vectors)
587
+ - [ ] Add `thingKnowledge` junction table
588
+ - [ ] Verify all indexes are optimized
589
+ - [ ] Verify Better Auth tables (users, sessions, etc.)
590
+ - [ ] Run `bunx astro check` to verify types
591
+ - [ ] Deploy to Convex
592
+
593
+ 2. **ConvexDatabase Effect.ts Service**
594
+ **Priority:** P0
595
+ **Effort:** M
596
+ **Assigned to:** Director Agent
597
+ **Dependencies:** Schema implementation complete
598
+ **Status:** ⏳ Waiting for schema verification
599
+ **Location:** `convex/services/database/convexDatabase.ts`
600
+ **Checklist:**
601
+
602
+ - [ ] Create ConvexDatabase service (Effect.ts)
603
+ - [ ] Implement CRUD operations (insert, get, query, patch, delete)
604
+ - [ ] Implement connection queries (from_type, to_type, bidirectional)
605
+ - [ ] Implement event queries (by_entity, by_type, by_timestamp)
606
+ - [ ] Implement knowledge queries (by_type, by_source, vector search)
607
+ - [ ] Add typed errors (DatabaseError, NotFoundError, etc.)
608
+ - [ ] Add retry logic (3 attempts, exponential backoff)
609
+ - [ ] Add timeout (30 seconds for mutations)
610
+ - [ ] Write unit tests (mock Convex context)
611
+ - [ ] Document in patterns.md
612
+
613
+ 3. **Better Auth Integration**
614
+ **Priority:** P0
615
+ **Effort:** L
616
+ **Assigned to:** Director Agent
617
+ **Dependencies:** Schema implementation complete
618
+ **Status:** ⏳ Waiting for schema verification
619
+ **Location:** `convex/auth/` and `src/pages/account/`
620
+ **Checklist:**
621
+ - [ ] Verify Better Auth schema tables exist
622
+ - [ ] Create AuthService (Effect.ts)
623
+ - [ ] Implement authentication mutations (signin, signup, signout)
624
+ - [ ] Implement password reset flow (request, verify, complete)
625
+ - [ ] Implement email verification flow
626
+ - [ ] Implement magic link flow
627
+ - [ ] Implement 2FA flow (totp, backup codes)
628
+ - [ ] Add session management (create, verify, invalidate)
629
+ - [ ] Add OAuth integration (GitHub, Google)
630
+ - [ ] Link users to entities table (users.thingId → entities.\_id)
631
+ - [ ] Write integration tests
632
+ - [ ] Document in patterns.md
633
+
634
+ ### Phase 1B: Core Services (0% Complete)
635
+
636
+ 4. **Directory Structure for Agents**
637
+ **Priority:** P1
638
+ **Effort:** S
639
+ **Assigned to:** Director Agent
640
+ **Dependencies:** ConvexDatabase service complete
641
+ **Status:** ⏸️ Waiting for P0 tasks
642
+ **Location:** `convex/services/agents/`
643
+ **Checklist:**
644
+
645
+ - [ ] Create `convex/services/agents/` directory
646
+ - [ ] Create `convex/services/agents/director/` (orchestrator)
647
+ - [ ] Create `convex/services/agents/clone/` (AI clones)
648
+ - [ ] Create `convex/services/agents/business/` (10 business agents)
649
+ - [ ] Create agent schema types in ontology
650
+ - [ ] Document agent patterns in `one/agents/README.md`
651
+
652
+ 5. **Agent Orchestration Service**
653
+ **Priority:** P1
654
+ **Effort:** XL
655
+ **Assigned to:** Director Agent
656
+ **Dependencies:** ConvexDatabase service, directory structure
657
+ **Status:** ⏸️ Waiting for P0 tasks
658
+ **Location:** `convex/services/agents/orchestrator.ts`
659
+ **Checklist:**
660
+
661
+ - [ ] Create AgentOrchestrator service (Effect.ts)
662
+ - [ ] Implement agent registration (create agent entity)
663
+ - [ ] Implement agent discovery (query by type)
664
+ - [ ] Implement task delegation (create delegated connection)
665
+ - [ ] Implement task status tracking (events)
666
+ - [ ] Implement agent communication (A2A protocol)
667
+ - [ ] Add typed errors (AgentNotFoundError, TaskFailedError)
668
+ - [ ] Add retry logic (exponential backoff per agent)
669
+ - [ ] Write unit tests (mock agents)
670
+ - [ ] Document in patterns.md
671
+
672
+ 6. **Director Agent Implementation**
673
+ **Priority:** P1
674
+ **Effort:** XL
675
+ **Assigned to:** Platform Owner (with AI assistance)
676
+ **Dependencies:** AgentOrchestrator service
677
+ **Status:** ⏸️ Waiting for orchestration service
678
+ **Location:** `convex/services/agents/director/`
679
+ **Checklist:**
680
+
681
+ - [ ] Create DirectorAgent service (Effect.ts)
682
+ - [ ] Implement todo management (read, update, prioritize)
683
+ - [ ] Implement work delegation (assign tasks to clone agents)
684
+ - [ ] Implement progress tracking (monitor task events)
685
+ - [ ] Implement decision making (analyze blockers, suggest solutions)
686
+ - [ ] Implement reporting (daily summary to owner)
687
+ - [ ] Add communication with clone agents (A2A protocol)
688
+ - [ ] Add communication with business agents (A2A protocol)
689
+ - [ ] Write integration tests
690
+ - [ ] Document in `one/agents/director.md`
691
+
692
+ 7. **Clone Agent Implementation**
693
+ **Priority:** P1
694
+ **Effort:** XL
695
+ **Assigned to:** Director Agent (with AI assistance)
696
+ **Dependencies:** AgentOrchestrator service
697
+ **Status:** ⏸️ Waiting for orchestration service
698
+ **Location:** `convex/services/agents/clone/`
699
+ **Checklist:**
700
+ - [ ] Create CloneAgent service (Effect.ts)
701
+ - [ ] Implement code generation (use patterns from patterns.md)
702
+ - [ ] Implement PR creation (via gh CLI)
703
+ - [ ] Implement testing (run tests, verify results)
704
+ - [ ] Implement documentation updates (keep docs current)
705
+ - [ ] Add communication with director (A2A protocol)
706
+ - [ ] Add self-improvement (learn from mistakes)
707
+ - [ ] Write integration tests
708
+ - [ ] Document in `one/agents/clone.md`
709
+
710
+ ---
711
+
712
+ ## 📋 Next Phase: Core Services (0% Complete)
713
+
714
+ ### Phase 2A: Token Economy (Planned)
715
+
716
+ 8. **TokenService Implementation**
717
+ **Priority:** P2
718
+ **Effort:** L
719
+ **Assigned to:** Clone Agent (future)
720
+ **Dependencies:** ConvexDatabase, Multi-chain providers (Sui, Base, Solana)
721
+ **Status:** ⏸️ Planned
722
+ **Location:** `convex/services/tokens/`
723
+ **Checklist:**
724
+
725
+ - [ ] Create TokenService (Effect.ts)
726
+ - [ ] Implement token creation (mint on SUI blockchain)
727
+ - [ ] Implement token purchase (fiat via Stripe OR crypto direct)
728
+ - [ ] Implement token balance queries (connection: holds_tokens)
729
+ - [ ] Implement token burn (deflationary mechanism)
730
+ - [ ] Implement token staking (connection: staked_in)
731
+ - [ ] Implement token transfers (update connections)
732
+ - [ ] Add multi-chain support (Sui, Base, Solana)
733
+ - [ ] Add typed errors per blockchain
734
+ - [ ] Write unit tests (mock blockchain providers)
735
+ - [ ] Document in patterns.md
736
+
737
+ 9. **Multi-Chain Provider Implementations**
738
+ **Priority:** P2
739
+ **Effort:** XL
740
+ **Assigned to:** Clone Agent (future)
741
+ **Dependencies:** TokenService design complete
742
+ **Status:** ⏸️ Planned
743
+ **Location:** `convex/services/providers/`
744
+ **Checklist:**
745
+ - [ ] Create SuiProvider (Effect.ts) - Move language contracts
746
+ - [ ] Create BaseProvider (Effect.ts) - EVM-compatible L2
747
+ - [ ] Create SolanaProvider (Effect.ts) - High-speed, low-cost
748
+ - [ ] Implement wallet connection (each chain)
749
+ - [ ] Implement token minting (each chain)
750
+ - [ ] Implement token burning (each chain)
751
+ - [ ] Implement token transfers (each chain)
752
+ - [ ] Implement NFT minting (each chain)
753
+ - [ ] Add chain-specific error types
754
+ - [ ] Add retry logic per chain
755
+ - [ ] Write integration tests (testnet transactions)
756
+ - [ ] Document in `one/connections/cryptonetworks.md`
757
+
758
+ ### Phase 2B: Content & AI (Planned)
759
+
760
+ 10. **ContentService Implementation**
761
+ **Priority:** P2
762
+ **Effort:** L
763
+ **Assigned to:** Clone Agent (future)
764
+ **Dependencies:** ConvexDatabase, OpenAI provider
765
+ **Status:** ⏸️ Planned
766
+ **Location:** `convex/services/content/`
767
+ **Checklist:**
768
+
769
+ - [ ] Create ContentService (Effect.ts)
770
+ - [ ] Implement content creation (blog, video, social, email)
771
+ - [ ] Implement content publishing (status: draft → published)
772
+ - [ ] Implement content distribution (multi-platform)
773
+ - [ ] Implement content generation (AI via OpenAI)
774
+ - [ ] Implement content RAG (chunk + embed + store in knowledge)
775
+ - [ ] Add typed errors
776
+ - [ ] Write unit tests
777
+ - [ ] Document in patterns.md
778
+
779
+ 11. **AICloneService Implementation**
780
+ **Priority:** P2
781
+ **Effort:** XL
782
+ **Assigned to:** Clone Agent (future)
783
+ **Dependencies:** ContentService, ElevenLabs, D-ID/HeyGen providers
784
+ **Status:** ⏸️ Planned
785
+ **Location:** `convex/services/agents/clone/`
786
+ **Checklist:**
787
+
788
+ - [ ] Create AICloneService (Effect.ts)
789
+ - [ ] Implement voice cloning (ElevenLabs)
790
+ - [ ] Implement appearance cloning (D-ID or HeyGen)
791
+ - [ ] Implement personality extraction (OpenAI + RAG)
792
+ - [ ] Implement clone interaction (chat with users)
793
+ - [ ] Implement clone content generation (in creator's style)
794
+ - [ ] Implement clone teaching (course delivery)
795
+ - [ ] Add typed errors
796
+ - [ ] Write integration tests
797
+ - [ ] Document in patterns.md
798
+
799
+ 12. **RAG Knowledge Ingestion**
800
+ **Priority:** P2
801
+ **Effort:** L
802
+ **Assigned to:** Clone Agent (future)
803
+ **Dependencies:** ContentService, OpenAI embeddings
804
+ **Status:** ⏸️ Planned
805
+ **Location:** `convex/services/knowledge/`
806
+ **Checklist:**
807
+ - [ ] Create KnowledgeService (Effect.ts)
808
+ - [ ] Implement document chunking (800 tokens, 200 overlap)
809
+ - [ ] Implement embedding generation (OpenAI text-embedding-3-large)
810
+ - [ ] Implement knowledge storage (knowledge table)
811
+ - [ ] Implement thingKnowledge linking (junction table)
812
+ - [ ] Implement semantic search (vector similarity)
813
+ - [ ] Implement label management (taxonomy)
814
+ - [ ] Add typed errors
815
+ - [ ] Write unit tests
816
+ - [ ] Document in ontology.md (RAG section)
817
+
818
+ ### Phase 2C: Community & Courses (Planned)
819
+
820
+ 13. **CommunityService Implementation**
821
+ **Priority:** P3
822
+ **Effort:** M
823
+ **Assigned to:** Clone Agent (future)
824
+ **Dependencies:** ConvexDatabase
825
+ **Status:** ⏸️ Planned
826
+ **Location:** `convex/services/community/`
827
+ **Checklist:**
828
+
829
+ - [ ] Create CommunityService (Effect.ts)
830
+ - [ ] Implement community creation
831
+ - [ ] Implement member management (invite, join, remove)
832
+ - [ ] Implement message threads (conversation entity)
833
+ - [ ] Implement real-time chat (Convex subscriptions)
834
+ - [ ] Implement moderation (AI + human)
835
+ - [ ] Add typed errors
836
+ - [ ] Write unit tests
837
+ - [ ] Document in patterns.md
838
+
839
+ 14. **CourseService Implementation**
840
+ **Priority:** P3
841
+ **Effort:** L
842
+ **Assigned to:** Clone Agent (future)
843
+ **Dependencies:** ContentService, TokenService
844
+ **Status:** ⏸️ Planned
845
+ **Location:** `convex/services/courses/`
846
+ **Checklist:**
847
+ - [ ] Create CourseService (Effect.ts)
848
+ - [ ] Implement course creation (AI-generated)
849
+ - [ ] Implement lesson creation (modular units)
850
+ - [ ] Implement enrollment (connection: enrolled_in)
851
+ - [ ] Implement progress tracking (metadata: progress %)
852
+ - [ ] Implement completion (event: course_completed)
853
+ - [ ] Implement token-gating (check holds_tokens balance)
854
+ - [ ] Implement gamification (rewards, achievements)
855
+ - [ ] Add typed errors
856
+ - [ ] Write unit tests
857
+ - [ ] Document in patterns.md
858
+
859
+ ---
860
+
861
+ ## 🔮 Future Phase: Integration (Planned)
862
+
863
+ ### Phase 3: External Integrations
864
+
865
+ 15. **SUI Blockchain Contracts**
866
+ **Priority:** P3
867
+ **Effort:** XL
868
+ **Assigned to:** External contractor + Clone Agent
869
+ **Dependencies:** SuiProvider complete
870
+ **Status:** ⏸️ Planned
871
+ **Checklist:**
872
+
873
+ - [ ] Design Move contract for creator tokens (ERC-20 equivalent)
874
+ - [ ] Design Move contract for NFTs (ERC-721 equivalent)
875
+ - [ ] Design Move contract for token vesting
876
+ - [ ] Implement contracts in Move language
877
+ - [ ] Deploy to SUI testnet
878
+ - [ ] Write integration tests
879
+ - [ ] Deploy to SUI mainnet
880
+ - [ ] Document in `one/connections/cryptonetworks.md`
881
+
882
+ 16. **ElevenLabs Voice Cloning**
883
+ **Priority:** P2
884
+ **Effort:** M
885
+ **Assigned to:** Clone Agent (future)
886
+ **Dependencies:** AICloneService design
887
+ **Status:** ⏸️ Planned
888
+ **Checklist:**
889
+
890
+ - [ ] Create ElevenLabsProvider (Effect.ts)
891
+ - [ ] Implement voice cloning API integration
892
+ - [ ] Implement voice synthesis (text-to-speech)
893
+ - [ ] Implement voice storage (save voiceId in ai_clone entity)
894
+ - [ ] Add typed errors
895
+ - [ ] Write integration tests
896
+ - [ ] Document in service-providers.md
897
+
898
+ 17. **Protocol Implementations**
899
+ **Priority:** P3
900
+ **Effort:** XL
901
+ **Assigned to:** Clone Agent (future)
902
+ **Dependencies:** AgentOrchestrator, external agents
903
+ **Status:** ⏸️ Planned
904
+ **Checklist:**
905
+ - [ ] Implement A2A (Agent-to-Agent) protocol
906
+ - [ ] Implement ACP (Agentic Commerce Protocol)
907
+ - [ ] Implement AP2 (Agent Payments Protocol)
908
+ - [ ] Implement X402 (HTTP Micropayments)
909
+ - [ ] Implement AG-UI (Generative UI Protocol)
910
+ - [ ] Document in `one/knowledge/specifications.md`
911
+
912
+ ---
913
+
914
+ ## 🚧 Blockers
915
+
916
+ ### Critical Blockers (P0)
917
+
918
+ **None currently** - Documentation foundation is complete, ready to implement.
919
+
920
+ ### Potential Blockers
921
+
922
+ 1. **API Keys Missing**
923
+
924
+ - ElevenLabs API key (voice cloning)
925
+ - D-ID or HeyGen API key (appearance cloning)
926
+ - OpenAI API key (embeddings, chat)
927
+ - Resend API key (emails)
928
+ - Stripe API keys (fiat payments)
929
+ - SUI wallet private keys (testnet/mainnet)
930
+ - **Resolution:** Set up API keys in Convex environment variables
931
+
932
+ 2. **Blockchain Testnet Tokens**
933
+
934
+ - Need testnet tokens for Sui, Base, Solana
935
+ - **Resolution:** Request from faucets once providers are implemented
936
+
937
+ 3. **Voice Samples for Cloning**
938
+ - Need high-quality voice samples (15+ minutes)
939
+ - **Resolution:** Record samples from creator (Anthony O'Connell)
940
+
941
+ ---
942
+
943
+ ## 🤔 Decisions Needed
944
+
945
+ ### Immediate Decisions (This Week)
946
+
947
+ 1. **Which AI clone provider?**
948
+
949
+ - Option A: D-ID (cheaper, good quality)
950
+ - Option B: HeyGen (premium, best quality)
951
+ - Option C: Build custom (Wav2Lip + Stable Diffusion)
952
+ - **Recommendation:** Start with D-ID, upgrade to HeyGen if needed
953
+ - **Owner Decision:** Pending
954
+
955
+ 2. **Which blockchain for launch?**
956
+
957
+ - Option A: Sui (high throughput, Move language, new)
958
+ - Option B: Base (Coinbase L2, EVM-compatible, established)
959
+ - Option C: Solana (high speed, low cost, proven)
960
+ - Option D: All three (multi-chain from day 1)
961
+ - **Recommendation:** Start with Sui (aligns with strategy.md), add Base + Solana later
962
+ - **Owner Decision:** Pending
963
+
964
+ 3. **Development sequence priority?**
965
+ - Option A: Agents first (director + clone agents) - enables autonomous development
966
+ - Option B: Features first (tokens + courses) - enables revenue faster
967
+ - **Recommendation:** Agents first (multiplies development speed)
968
+ - **Owner Decision:** Pending
969
+
970
+ ### Strategic Decisions (Next 2 Weeks)
971
+
972
+ 4. **Revenue model priority?**
973
+
974
+ - Platform subscriptions (€99-499/month)
975
+ - Course revenue share (10-20%)
976
+ - Token transaction fees (2-5%)
977
+ - **Decision:** Start with platform subscriptions (predictable revenue)
978
+
979
+ 5. **Beta creator selection criteria?**
980
+ - Minimum followers (25K+)
981
+ - Active community (engagement rate >5%)
982
+ - Niche diversity (fitness, business, art, tech)
983
+ - **Decision:** Define exact criteria before Phase 3
984
+
985
+ ---
986
+
987
+ ## 📚 Resources
988
+
989
+ ### Documentation Links (Critical Reading)
990
+
991
+ - **[one/connections/documentation.md](../connections/documentation.md)** - Complete doc ecosystem map
992
+ - **[one/connections/modes.md](../connections/modes.md)** - Standalone vs API mode
993
+ - **[one/connections/development.md](../connections/development.md)** - Using `npx oneie` CLI with Claude Code
994
+ - **[AGENTS.md](../../AGENTS.md)** - Convex development patterns
995
+ - **[one/knowledge/rules.md](./rules.md)** - Golden rules for AI code generation
996
+ - **[one/connections/workflow.md](../connections/workflow.md)** - Ontology-driven development flow
997
+ - **[one/connections/patterns.md](../connections/patterns.md)** - Proven code patterns
998
+ - **[one/knowledge/architecture.md](./architecture.md)** - System architecture & functional programming
999
+ - **[one/things/frontend.md](./frontend.md)** - Astro frontend with content collections
1000
+ - **[one/connections/middleware.md](../connections/middleware.md)** - Convex hooks, API client, Effect.ts services
1001
+ - **[one/things/hono.md](./hono.md)** - Hono API backend with Effect.ts services
1002
+ - **[one/things/files.md](./files.md)** - File system map
1003
+ - **[one/things/strategy.md](./strategy.md)** - Platform vision & 8 core features
1004
+ - **[one/knowledge/ontology.md](../knowledge/ontology.md)** - 6-dimension data model
1005
+ - **[one/connections/dashboard.md](../connections/dashboard.md)** - Multi-tenant UI
1006
+ - **[one/knowledge/specifications.md](./specifications.md)** - Protocol integration patterns
1007
+ - **[one/connections/implementation.md](../connections/implementation.md)** - 12-week roadmap
1008
+
1009
+ ### API Documentation
1010
+
1011
+ - **Convex:** https://docs.convex.dev
1012
+ - **Effect.ts:** https://effect.website
1013
+ - **Confect:** https://github.com/get-convex/confect
1014
+ - **Astro:** https://docs.astro.build
1015
+ - **Hono:** https://hono.dev
1016
+ - **Better Auth:** https://www.better-auth.com
1017
+ - **ElevenLabs:** https://docs.elevenlabs.io
1018
+ - **SUI Move:** https://docs.sui.io
1019
+
1020
+ ### Code Patterns
1021
+
1022
+ - **CRUD Operations:** See `one/connections/patterns.md` - Entity CRUD
1023
+ - **Agent Communication:** See `one/connections/patterns.md` - A2A Protocol
1024
+ - **Multi-Chain:** See `one/knowledge/architecture.md` - Multi-Chain Providers
1025
+ - **RAG Ingestion:** See `one/knowledge/ontology.md` - RAG Strategy
1026
+
1027
+ ---
1028
+
1029
+ ## 📊 Progress Tracking
1030
+
1031
+ ### Overall Progress: 15% Complete
1032
+
1033
+ **Phase 1: Foundation (15% of 100% total)**
1034
+
1035
+ - [x] Documentation (100% complete)
1036
+ - [ ] Core services (0% complete)
1037
+ - [ ] Schema implementation
1038
+ - [ ] ConvexDatabase service
1039
+ - [ ] Better Auth integration
1040
+ - [ ] Agent infrastructure
1041
+
1042
+ **Phase 2: Core Features (0% of 40% total)**
1043
+
1044
+ - [ ] Token economy
1045
+ - [ ] Content & AI
1046
+ - [ ] Community & courses
1047
+
1048
+ **Phase 3: Integration (0% of 35% total)**
1049
+
1050
+ - [ ] Blockchain contracts
1051
+ - [ ] External services
1052
+ - [ ] Protocol implementations
1053
+
1054
+ **Phase 4: Launch (0% of 10% total)**
1055
+
1056
+ - [ ] Beta testing
1057
+ - [ ] Production deployment
1058
+ - [ ] First 10 creators
1059
+
1060
+ ### Velocity Metrics
1061
+
1062
+ - **Current:** 1 documentation file per day (90 files in 90 days)
1063
+ - **Target:** 1 feature per week (once agents are operational)
1064
+ - **Bottleneck:** No code generation yet (waiting for agents)
1065
+
1066
+ ### Risk Assessment
1067
+
1068
+ - **Documentation Risk:** LOW (complete, comprehensive)
1069
+ - **Technical Risk:** MEDIUM (new architecture, unproven at scale)
1070
+ - **Timeline Risk:** MEDIUM (12 weeks is aggressive)
1071
+ - **Team Risk:** HIGH (single developer + AI agents - untested)
1072
+
1073
+ ---
1074
+
1075
+ ## 🎯 Success Criteria
1076
+
1077
+ ### Phase 1 Complete When:
1078
+
1079
+ - [x] All 90 documentation files exist and are accurate
1080
+ - [ ] Convex schema deployed and verified
1081
+ - [ ] ConvexDatabase service passes all unit tests
1082
+ - [ ] Better Auth working (signin, signup, password reset)
1083
+ - [ ] Director agent can read and update this todo list
1084
+ - [ ] Clone agent can generate simple CRUD operations
1085
+
1086
+ ### Phase 2 Complete When:
1087
+
1088
+ - [ ] Users can purchase tokens (fiat or crypto)
1089
+ - [ ] AI clone can generate content in creator's voice
1090
+ - [ ] Courses can be created and enrolled in
1091
+ - [ ] RAG knowledge search returns relevant results
1092
+ - [ ] Community messaging works in real-time
1093
+
1094
+ ### Phase 3 Complete When:
1095
+
1096
+ - [ ] SUI smart contracts deployed to mainnet
1097
+ - [ ] Voice cloning produces high-quality output
1098
+ - [ ] At least 2 protocols (A2A + ACP) fully implemented
1099
+ - [ ] External agents can communicate via A2A
1100
+
1101
+ ### Launch Complete When:
1102
+
1103
+ - [ ] 10 beta creators onboarded
1104
+ - [ ] €10K+ in monthly recurring revenue
1105
+ - [ ] All core features stable in production
1106
+ - [ ] NPS score >50 from beta creators
1107
+
1108
+ ---
1109
+
1110
+ ## 💡 Notes for AI Agents
1111
+
1112
+ ### For Director Agent
1113
+
1114
+ **Your job:** Manage this todo list, prioritize tasks, delegate to clone agents, report progress.
1115
+
1116
+ **Daily Tasks:**
1117
+
1118
+ 1. Review active todos (check ⏳ items)
1119
+ 2. Update progress (change statuses, check boxes)
1120
+ 3. Identify blockers (add to blockers section)
1121
+ 4. Prioritize decisions (add to decisions needed)
1122
+ 5. Report to owner (daily summary via email)
1123
+
1124
+ **Communication Protocol:**
1125
+
1126
+ - Use A2A protocol for all agent communication
1127
+ - Log all decisions as events (event type: decision_made)
1128
+ - Create connections for task delegation (connection type: delegated)
1129
+
1130
+ **Success Metrics:**
1131
+
1132
+ - All P0 tasks completed within 1 week
1133
+ - All P1 tasks completed within 2 weeks
1134
+ - Zero blockers older than 3 days
1135
+ - Clone agents report 90%+ task success rate
1136
+
1137
+ ### For Clone Agents
1138
+
1139
+ **Your job:** Execute tasks delegated by director, follow patterns exactly, report status.
1140
+
1141
+ **Task Workflow:**
1142
+
1143
+ 1. Receive task from director (via A2A protocol)
1144
+ 2. Read relevant documentation (links in checklist)
1145
+ 3. Generate code (follow patterns.md exactly)
1146
+ 4. Write tests (unit + integration)
1147
+ 5. Verify types (`bunx astro check`)
1148
+ 6. Update documentation (patterns.md, files.md)
1149
+ 7. Report completion (via A2A protocol)
1150
+
1151
+ **Code Generation Rules:**
1152
+
1153
+ - 100% Effect.ts for business logic (NO async/await)
1154
+ - Typed errors with `_tag` pattern
1155
+ - Dependency injection via Effect layers
1156
+ - Map all features to 6-dimension ontology
1157
+ - Follow patterns.md examples exactly
1158
+
1159
+ **Success Metrics:**
1160
+
1161
+ - 90%+ code generation accuracy (compiles first time)
1162
+ - 100% test coverage for new code
1163
+ - Zero breaking changes to existing code
1164
+ - All PRs approved within 1 day
1165
+
1166
+ ### For Platform Owner (Human)
1167
+
1168
+ **Your job:** Make strategic decisions, provide vision, approve critical changes.
1169
+
1170
+ **Daily Tasks:**
1171
+
1172
+ 1. Review director agent's progress report
1173
+ 2. Make decisions on blockers (if needed)
1174
+ 3. Approve high-risk changes (blockchain, payments)
1175
+ 4. Provide feedback on AI-generated code
1176
+
1177
+ **Weekly Tasks:**
1178
+
1179
+ 1. Review overall progress (vs 12-week roadmap)
1180
+ 2. Adjust priorities based on user feedback
1181
+ 3. Make strategic decisions (revenue model, beta criteria)
1182
+ 4. Communicate vision to agents
1183
+
1184
+ **Success Metrics:**
1185
+
1186
+ - All P0 decisions made within 24 hours
1187
+ - All P1 decisions made within 1 week
1188
+ - Zero critical bugs in production
1189
+ - Platform on track for 12-week launch
1190
+
1191
+ ---
1192
+
1193
+ ## 🚀 Next Actions (This Week)
1194
+
1195
+ ### Monday (Priority Order)
1196
+
1197
+ 1. **Verify Convex Schema** (Director Agent)
1198
+
1199
+ - Compare `convex/schema.ts` to `one/knowledge/ontology.md`
1200
+ - Ensure all 66 thing types, 25 connections, 67 events are represented
1201
+ - Add `knowledge` table if missing
1202
+ - Deploy to Convex
1203
+ - Verify with `bunx astro check`
1204
+
1205
+ 2. **Create ConvexDatabase Service** (Clone Agent)
1206
+
1207
+ - Read `one/connections/patterns.md` - Database Patterns
1208
+ - Generate `convex/services/database/convexDatabase.ts`
1209
+ - Implement all CRUD operations
1210
+ - Write unit tests
1211
+ - Update `one/connections/patterns.md`
1212
+
1213
+ 3. **Create Better Auth Service** (Clone Agent)
1214
+ - Read `AGENTS.md` - Better Auth section
1215
+ - Generate `convex/auth/authService.ts`
1216
+ - Implement signin, signup, password reset
1217
+ - Write integration tests
1218
+ - Update `one/connections/patterns.md`
1219
+
1220
+ ### Tuesday-Friday
1221
+
1222
+ 4. **Agent Infrastructure** (Director + Clone)
1223
+ 5. **Agent Orchestration** (Director)
1224
+ 6. **First AI-Generated Feature** (Clone Agent test)
1225
+
1226
+ ---
1227
+
1228
+ ## 📈 Long-Term Vision (12 Weeks)
1229
+
1230
+ **Week 1-4: Foundation** (Current Phase)
1231
+ → Core services, agent infrastructure, basic CRUD
1232
+
1233
+ **Week 5-8: Core Features**
1234
+ → Tokens, content, AI clones, courses
1235
+
1236
+ **Week 9-10: Integration**
1237
+ → Blockchain, external services, protocols
1238
+
1239
+ **Week 11-12: Launch**
1240
+ → Beta testing, first 10 creators, production
1241
+
1242
+ **Result:** AI-native creator platform generating €10K+ MRR with 10 beta creators and autonomous agent workforce.
1243
+
1244
+ ---
1245
+
1246
+ **END OF TODO LIST**
1247
+
1248
+ _This list is managed by the Director Agent and updated daily. Last human edit: 2025-10-08_