oneie 3.6.13 → 3.6.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (768) hide show
  1. package/.claude/agents/AUDIT-agent-ops-alignment.md +379 -0
  2. package/.claude/agents/NEWS-QUICKSTART.md +321 -0
  3. package/.claude/agents/NEWS-README.md +353 -0
  4. package/.claude/agents/agent-backend.md +1 -1
  5. package/.claude/agents/agent-builder.md +220 -151
  6. package/.claude/agents/agent-clean.md +39 -31
  7. package/.claude/agents/agent-clone.md +107 -54
  8. package/.claude/agents/agent-designer.md +76 -71
  9. package/.claude/agents/agent-director.md +170 -7
  10. package/.claude/agents/agent-documenter.md +169 -132
  11. package/.claude/agents/agent-frontend.md +442 -446
  12. package/.claude/agents/agent-integrator.md +30 -23
  13. package/.claude/agents/agent-lawyer.md +145 -98
  14. package/.claude/agents/agent-news.md +363 -0
  15. package/.claude/agents/agent-onboard.md +107 -77
  16. package/.claude/agents/agent-ontology.md +585 -0
  17. package/.claude/agents/agent-ops.md +178 -171
  18. package/.claude/agents/agent-problem-solver.md +132 -115
  19. package/.claude/agents/agent-quality.md +94 -77
  20. package/.claude/agents/agent-sales.md +89 -67
  21. package/.claude/commands/cascade.md +49 -20
  22. package/.claude/commands/create.md +397 -0
  23. package/.claude/commands/npx.md +64 -113
  24. package/.claude/commands/one.md +10 -28
  25. package/.claude/commands/plan.md +65 -65
  26. package/.claude/commands/push.md +63 -452
  27. package/.claude/commands/release.md +26 -393
  28. package/.claude/hooks/README-knowledge-hooks.md +267 -81
  29. package/.claude/hooks/README-root-cleanup.md +200 -0
  30. package/.claude/hooks/README.md +284 -0
  31. package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
  32. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  33. package/.claude/hooks/check-filenames.py +169 -32
  34. package/.claude/hooks/clean-post.py +195 -28
  35. package/.claude/hooks/clean-pre.py +96 -11
  36. package/.claude/hooks/clean-root-markdown.sh +73 -0
  37. package/.claude/hooks/done.py +74 -13
  38. package/.claude/hooks/format-hook.sh +105 -17
  39. package/.claude/hooks/hook-logger.sh +121 -7
  40. package/.claude/hooks/knowledge-post.py +136 -32
  41. package/.claude/hooks/knowledge-pre.py +129 -34
  42. package/.claude/hooks/notification-hook.sh +184 -17
  43. package/.claude/hooks/root-cleanup.py +181 -39
  44. package/.claude/hooks/security-hook.sh +248 -8
  45. package/.claude/hooks/tag-all-docs.py +175 -49
  46. package/.claude/hooks/test-validate-ontology.sh +170 -0
  47. package/.claude/hooks/todo.py +92 -22
  48. package/.claude/hooks/track-changes.sh +101 -0
  49. package/.claude/hooks/validate-ontology-structure-summary.md +243 -0
  50. package/.claude/hooks/validate-ontology-structure.py +83 -20
  51. package/.claude/skills/ontology/README.md +1 -1
  52. package/AGENTS.md +60 -245
  53. package/CLAUDE.md +108 -26
  54. package/README.md +25 -0
  55. package/one/README.md +21 -3
  56. package/one/connections/a2a.md +49 -0
  57. package/one/connections/acp.md +47 -0
  58. package/one/connections/acps.md +18 -0
  59. package/one/connections/agentkit.md +18 -0
  60. package/one/connections/agui.md +18 -0
  61. package/one/connections/any-backend.md +39 -21
  62. package/one/connections/ap2.md +74 -0
  63. package/one/connections/api/queries-reference.md +18 -0
  64. package/one/connections/api-docs.md +18 -0
  65. package/one/connections/api-reference.md +18 -0
  66. package/one/connections/api.md +18 -0
  67. package/one/connections/architecture-diagram.md +18 -0
  68. package/one/connections/communications.md +18 -0
  69. package/one/connections/connections.md +18 -0
  70. package/one/connections/copilotkit.md +18 -0
  71. package/one/connections/cryptonetworks.md +18 -0
  72. package/one/connections/documentation.md +19 -1
  73. package/one/connections/effect.md +18 -0
  74. package/one/connections/elizaos.md +18 -0
  75. package/one/connections/groups.md +814 -0
  76. package/one/connections/inference.md +21 -3
  77. package/one/connections/integration-examples.md +18 -0
  78. package/one/connections/integration-guide.md +18 -0
  79. package/one/connections/integration-phase2.md +32 -14
  80. package/one/connections/kyc.md +18 -0
  81. package/one/connections/mcp.md +18 -0
  82. package/one/connections/membership.md +18 -0
  83. package/one/connections/middleware.md +18 -0
  84. package/one/connections/multitenant.md +18 -0
  85. package/one/connections/n8n.md +18 -0
  86. package/one/connections/patterns.md +18 -0
  87. package/one/connections/protocols.md +20 -2
  88. package/one/connections/relationships.md +18 -0
  89. package/one/connections/schema.md +18 -0
  90. package/one/connections/service-layer.md +18 -0
  91. package/one/connections/vectors.md +18 -0
  92. package/one/connections/wordpress.md +18 -0
  93. package/one/connections/workflow-copy.md +19 -1
  94. package/one/connections/workflow-examples.md +18 -0
  95. package/one/connections/workflow-onboarding.md +102 -84
  96. package/one/connections/workflow.md +19 -1
  97. package/one/connections/workflows/delegation.md +18 -0
  98. package/one/connections/workflows/frontend.md +18 -0
  99. package/one/connections/workflows/strategy.md +18 -0
  100. package/one/connections/workflows/tasks.md +18 -0
  101. package/one/connections/x402-baazar.md +131 -0
  102. package/one/connections/x402.md +268 -164
  103. package/one/groups/features.md +26 -0
  104. package/one/groups/groups.md +112 -68
  105. package/one/groups/one.md +71 -51
  106. package/one/groups/{strategy copy.md → strategy-copy.md} +23 -5
  107. package/one/knowledge/.obsidian/ecommerce-ontology.md +18 -0
  108. package/one/knowledge/100-inference-quick-reference.md +49 -31
  109. package/one/knowledge/agent-onboard-usage.md +18 -0
  110. package/one/knowledge/agentic-commerce.md +146 -0
  111. package/one/knowledge/ai-agents-vs-memecoins-thesis.md +683 -0
  112. package/one/knowledge/ai-platform.md +18 -0
  113. package/one/knowledge/ai-token-crypto-analysis-framework.md +1191 -0
  114. package/one/knowledge/ai-token-paradigm-shift-2025.md +732 -0
  115. package/one/knowledge/altcoin-cycle-prediction-ontology.md +884 -0
  116. package/one/knowledge/altcoin-cycle-trading-strategy.md +642 -0
  117. package/one/knowledge/architecture-any-backend.md +265 -42
  118. package/one/knowledge/architecture-diagram.md +404 -94
  119. package/one/knowledge/architecture-frontend.md +130 -51
  120. package/one/knowledge/architecture.md +1496 -1831
  121. package/one/knowledge/{ontology.md.backup → archived/ontology.old.md} +28 -10
  122. package/one/knowledge/astro-effect-complete-vision.md +2148 -0
  123. package/one/knowledge/astro-effect-simple-architecture.md +717 -0
  124. package/one/knowledge/audit-agent-onboard-alignment.md +481 -0
  125. package/one/knowledge/audit-agent-sales-alignment.md +444 -0
  126. package/one/knowledge/backend-api-reference.md +18 -0
  127. package/one/knowledge/cli-claude-handoff.md +54 -36
  128. package/one/knowledge/context-engineering.md +610 -0
  129. package/one/knowledge/crypto-analysis-strategy.md +1276 -0
  130. package/one/knowledge/crypto-cycle-2024-2025-analysis.md +44 -0
  131. package/one/knowledge/crypto.md +18 -0
  132. package/one/knowledge/docs.md +627 -0
  133. package/one/knowledge/dsl.md +18 -0
  134. package/one/knowledge/event-driven-documentation.md +270 -0
  135. package/one/knowledge/files.md +18 -0
  136. package/one/knowledge/frontend.md +18 -0
  137. package/one/knowledge/hono.md +18 -0
  138. package/one/knowledge/implementation-examples.md +18 -0
  139. package/one/knowledge/installation-folders.md +18 -0
  140. package/one/knowledge/institutional-cycle-paradigm-2025.md +555 -0
  141. package/one/knowledge/knowledge.md +44 -26
  142. package/one/knowledge/language.md +18 -0
  143. package/one/knowledge/lessons-learned.md +18 -0
  144. package/one/knowledge/lessons-website-building-focus.md +19 -1
  145. package/one/knowledge/merge-report.md +254 -0
  146. package/one/knowledge/metadata-system.md +11 -11
  147. package/one/knowledge/nine-padel-playbook.md +18 -0
  148. package/one/knowledge/ontology-blog.yaml +42 -26
  149. package/one/knowledge/ontology-cheatsheet.md +18 -0
  150. package/one/knowledge/ontology-community.yaml +60 -37
  151. package/one/knowledge/ontology-core-universal.md +19 -1
  152. package/one/knowledge/ontology-core.yaml +58 -45
  153. package/one/knowledge/ontology-courses.yaml +71 -48
  154. package/one/knowledge/ontology-creator.md +30 -4
  155. package/one/knowledge/ontology-crypto.md +1603 -0
  156. package/one/knowledge/ontology-developer-guide.md +18 -0
  157. package/one/knowledge/ontology-documentation.md +52 -31
  158. package/one/knowledge/ontology-ecommerce.md +24 -6
  159. package/one/knowledge/ontology-education.md +18 -0
  160. package/one/knowledge/ontology-engineering-specification.md +22 -4
  161. package/one/knowledge/ontology-engineering.md +70 -46
  162. package/one/knowledge/ontology-files.yaml +525 -0
  163. package/one/knowledge/ontology-frontend-master.md +2898 -0
  164. package/one/knowledge/ontology-frontend-specifications.md +57 -49
  165. package/one/knowledge/ontology-frontend.md +40 -22
  166. package/one/knowledge/ontology-index.md +18 -0
  167. package/one/knowledge/ontology-minimal.yaml +18 -16
  168. package/one/knowledge/ontology-portfolio.yaml +40 -26
  169. package/one/knowledge/ontology-quickstart.md +18 -0
  170. package/one/knowledge/ontology-release.md +317 -0
  171. package/one/knowledge/ontology-shop.yaml +146 -119
  172. package/one/knowledge/ontology-tokens.yaml +46 -27
  173. package/one/knowledge/ontology-tutorial.md +18 -0
  174. package/one/knowledge/ontology-video-script.md +18 -0
  175. package/one/knowledge/ontology-visual-guide.md +20 -2
  176. package/one/knowledge/ontology.md +1334 -309
  177. package/one/knowledge/ontology.yaml +766 -278
  178. package/one/knowledge/patterns/backend/convex-mutation-pattern.md +48 -18
  179. package/one/knowledge/patterns/backend/convex-query-pattern.md +78 -23
  180. package/one/knowledge/patterns/backend/mutation-template.md +28 -10
  181. package/one/knowledge/patterns/backend/query-template.md +44 -25
  182. package/one/knowledge/patterns/backend/service-template.md +35 -14
  183. package/one/knowledge/patterns/design/component-architecture.md +45 -9
  184. package/one/knowledge/patterns/design/test-driven-design-pattern.md +37 -3
  185. package/one/knowledge/patterns/design/wireframe-template.md +36 -2
  186. package/one/knowledge/patterns/frontend/component-template.md +91 -40
  187. package/one/knowledge/patterns/frontend/form-template.md +131 -59
  188. package/one/knowledge/patterns/frontend/page-template.md +59 -28
  189. package/one/knowledge/patterns/frontend/react-component-pattern.md +87 -27
  190. package/one/knowledge/patterns/test/acceptance-criteria-template.md +28 -10
  191. package/one/knowledge/patterns/test/technical-test-template.md +48 -26
  192. package/one/knowledge/patterns/test/test-driven-pattern.md +25 -5
  193. package/one/knowledge/patterns/test/user-flow-template.md +18 -0
  194. package/one/knowledge/provider-agnostic-content.md +995 -0
  195. package/one/knowledge/provider-creation-guide.md +18 -0
  196. package/one/knowledge/quality-loop.md +18 -0
  197. package/one/knowledge/readme-architecture.md +158 -0
  198. package/one/knowledge/readme.md +18 -0
  199. package/one/knowledge/rules.md +18 -0
  200. package/one/knowledge/score.md +20 -2
  201. package/one/knowledge/specifications.md +18 -0
  202. package/one/knowledge/tags.md +18 -0
  203. package/one/knowledge/todo-template.md +71 -53
  204. package/one/knowledge/todo.md +71 -53
  205. package/one/knowledge/typescript-patterns.md +19 -1
  206. package/one/knowledge/universal-generation-language.md +827 -0
  207. package/one/knowledge/x402-research.md +104 -0
  208. package/one/license.md +18 -0
  209. package/one/people/anthony-o-connell.md +55 -26
  210. package/one/people/people.md +55 -32
  211. package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +401 -0
  212. package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +588 -0
  213. package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +461 -0
  214. package/one/things/CHECKLIST.md +51 -0
  215. package/one/things/IMPLEMENTATION_STATUS.md +379 -0
  216. package/one/things/ONE.md +19 -1
  217. package/one/things/agents/agent-backend.md +202 -102
  218. package/one/things/agents/agent-builder.md +267 -158
  219. package/one/things/agents/agent-clean.md +56 -31
  220. package/one/things/agents/agent-clone.md +33 -50
  221. package/one/things/agents/agent-deploy.md +65 -17
  222. package/one/things/agents/agent-designer.md +274 -146
  223. package/one/things/agents/agent-director.md +20 -2
  224. package/one/things/agents/agent-documenter.md +126 -46
  225. package/one/things/agents/agent-frontend.md +104 -22
  226. package/one/things/agents/agent-integrator.md +153 -76
  227. package/one/things/agents/agent-lawyer.md +197 -92
  228. package/one/things/agents/agent-problem-solver.md +302 -224
  229. package/one/things/agents/agent-quality.md +149 -19
  230. package/one/things/agents/agent-sales.md +101 -13
  231. package/one/things/cascade/cascade.yaml +20 -3
  232. package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +53 -0
  233. package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +50 -0
  234. package/one/things/cascade/docs/examples/1-1-agent-prompts.md +76 -0
  235. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +49 -3
  236. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +45 -0
  237. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +32 -0
  238. package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +45 -3
  239. package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +44 -0
  240. package/one/things/cascade/docs/examples/1-3-event-coordination.md +40 -1
  241. package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +81 -25
  242. package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +41 -0
  243. package/one/things/cascade/docs/examples/1-4-knowledge-management.md +91 -16
  244. package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +136 -73
  245. package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +43 -0
  246. package/one/things/cascade/docs/examples/1-5-quality-loops.md +88 -4
  247. package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +52 -3
  248. package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +44 -1
  249. package/one/things/cascade/docs/examples/1-6-numbering-structure.md +78 -14
  250. package/one/things/cascade/docs/examples/readme.md +37 -0
  251. package/one/things/cascade/docs/getting-started.md +18 -0
  252. package/one/things/cascade/docs/workflow.md +18 -12
  253. package/one/things/cascade/readme.md +43 -0
  254. package/one/things/cascade/templates/feature-template.md +28 -6
  255. package/one/things/claude/agents/advocacy-activation-manager.md +64 -39
  256. package/one/things/claude/agents/advocacy-campaign-designer.md +64 -39
  257. package/one/things/claude/agents/analyst.md +64 -39
  258. package/one/things/claude/agents/architect.md +64 -39
  259. package/one/things/claude/agents/brand-identity-specialist.md +64 -39
  260. package/one/things/claude/agents/bstp-token-strategist.md +48 -25
  261. package/one/things/claude/agents/builder-repo.md +69 -26
  262. package/one/things/claude/agents/bullstamp-community-builder.md +48 -25
  263. package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +48 -25
  264. package/one/things/claude/agents/bulltilt-platform-growth.md +48 -25
  265. package/one/things/claude/agents/company-bullstamp-character.md +45 -30
  266. package/one/things/claude/agents/company-bullstamp-community.md +45 -30
  267. package/one/things/claude/agents/company-bullstamp-marketing.md +45 -30
  268. package/one/things/claude/agents/company-bullstamp-token.md +45 -30
  269. package/one/things/claude/agents/company-bulltilt-growth.md +45 -30
  270. package/one/things/claude/agents/content-bibliography-formatter.md +48 -25
  271. package/one/things/claude/agents/content-calendar-planner.md +59 -34
  272. package/one/things/claude/agents/content-chapter-formatter.md +60 -35
  273. package/one/things/claude/agents/content-formatter.md +59 -34
  274. package/one/things/claude/agents/content-hook-specialist.md +54 -31
  275. package/one/things/claude/agents/content-image-formatter.md +59 -34
  276. package/one/things/claude/agents/content-introduction-formatter.md +59 -34
  277. package/one/things/claude/agents/content-multiplication-engine.md +54 -31
  278. package/one/things/claude/agents/content-playbook-writer.md +60 -35
  279. package/one/things/claude/agents/content-team-manager.md +59 -34
  280. package/one/things/claude/agents/content-toc-formatter.md +60 -35
  281. package/one/things/claude/agents/convex-backend-specialist.md +380 -216
  282. package/one/things/claude/agents/core-manager.md +59 -34
  283. package/one/things/claude/agents/core-master.md +55 -32
  284. package/one/things/claude/agents/cross-functional-manager.md +46 -41
  285. package/one/things/claude/agents/crypto-airdrop-strategist.md +74 -54
  286. package/one/things/claude/agents/crypto-analytics-educator.md +73 -30
  287. package/one/things/claude/agents/crypto-architecture-specialist.md +70 -39
  288. package/one/things/claude/agents/crypto-community-analyst.md +47 -31
  289. package/one/things/claude/agents/crypto-community-psychologist.md +68 -31
  290. package/one/things/claude/agents/crypto-dex-optimization-expert.md +72 -31
  291. package/one/things/claude/agents/crypto-dex-optimizer.md +45 -30
  292. package/one/things/claude/agents/crypto-diamond-formation-specialist.md +69 -30
  293. package/one/things/claude/agents/crypto-diamond-hands.md +45 -30
  294. package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +73 -30
  295. package/one/things/claude/agents/crypto-engagement-specialist.md +71 -30
  296. package/one/things/claude/agents/crypto-market-researcher.md +45 -30
  297. package/one/things/claude/agents/crypto-marketing-orchestrator.md +74 -34
  298. package/one/things/claude/agents/crypto-network-effect-amplifier.md +75 -30
  299. package/one/things/claude/agents/crypto-optimization-analyst.md +73 -30
  300. package/one/things/claude/agents/crypto-strategic-synthesizer.md +69 -30
  301. package/one/things/claude/agents/crypto-team-manager.md +45 -40
  302. package/one/things/claude/agents/crypto-token-analyst.md +66 -25
  303. package/one/things/claude/agents/crypto-viral-content-creator.md +64 -61
  304. package/one/things/claude/agents/crypto-wallet-identification-expert.md +61 -51
  305. package/one/things/claude/agents/crypto-wallet-identifier.md +45 -30
  306. package/one/things/claude/agents/customer-journey-designer.md +51 -58
  307. package/one/things/claude/agents/customer-success-manager.md +51 -58
  308. package/one/things/claude/agents/dev.md +51 -58
  309. package/one/things/claude/agents/documenter.md +71 -69
  310. package/one/things/claude/agents/elevate-marketing-orchestrator.md +45 -52
  311. package/one/things/claude/agents/engagement-specialist.md +45 -52
  312. package/one/things/claude/agents/engineering-architect.md +54 -54
  313. package/one/things/claude/agents/engineering-business-analyst.md +46 -56
  314. package/one/things/claude/agents/engineering-developer.md +51 -52
  315. package/one/things/claude/agents/engineering-director.md +65 -25
  316. package/one/things/claude/agents/engineering-ingestor.md +110 -100
  317. package/one/things/claude/agents/engineering-product-manager.md +43 -55
  318. package/one/things/claude/agents/engineering-product-owner.md +46 -56
  319. package/one/things/claude/agents/engineering-project-coordinator.md +44 -56
  320. package/one/things/claude/agents/engineering-quality-assurance.md +53 -54
  321. package/one/things/claude/agents/engineering-team-manager.md +46 -43
  322. package/one/things/claude/agents/engineering-user-experience.md +51 -52
  323. package/one/things/claude/agents/framework-elevate-manager.md +45 -30
  324. package/one/things/claude/agents/improver.md +120 -78
  325. package/one/things/claude/agents/intelligence-team-manager.md +45 -40
  326. package/one/things/claude/agents/lead-capture-expert.md +45 -52
  327. package/one/things/claude/agents/lead-magnet-creator.md +45 -52
  328. package/one/things/claude/agents/market-research-analyst.md +48 -25
  329. package/one/things/claude/agents/marketing-brand-identity.md +57 -27
  330. package/one/things/claude/agents/marketing-content-hooks.md +45 -40
  331. package/one/things/claude/agents/marketing-content-multiplier.md +45 -40
  332. package/one/things/claude/agents/marketing-content-poster.md +71 -60
  333. package/one/things/claude/agents/marketing-customer-journey.md +45 -40
  334. package/one/things/claude/agents/marketing-director.md +46 -41
  335. package/one/things/claude/agents/marketing-engagement.md +45 -40
  336. package/one/things/claude/agents/marketing-lead-capture.md +45 -40
  337. package/one/things/claude/agents/marketing-lead-magnet.md +45 -40
  338. package/one/things/claude/agents/marketing-network-effects.md +45 -40
  339. package/one/things/claude/agents/marketing-nurture-campaigns.md +45 -40
  340. package/one/things/claude/agents/marketing-share-optimizer.md +45 -40
  341. package/one/things/claude/agents/marketing-team-manager.md +45 -40
  342. package/one/things/claude/agents/marketing-viral-growth.md +49 -18
  343. package/one/things/claude/agents/mission-commander.md +45 -40
  344. package/one/things/claude/agents/network-effect-analyst.md +48 -31
  345. package/one/things/claude/agents/nextjs-15-specialist.md +210 -123
  346. package/one/things/claude/agents/npx.md +126 -70
  347. package/one/things/claude/agents/nurture-campaign-manager.md +48 -25
  348. package/one/things/claude/agents/one-master.md +48 -25
  349. package/one/things/claude/agents/one-orchestrator.md +57 -27
  350. package/one/things/claude/agents/one.md +88 -31
  351. package/one/things/claude/agents/playbook-generator.md +48 -25
  352. package/one/things/claude/agents/pm.md +48 -25
  353. package/one/things/claude/agents/po.md +51 -26
  354. package/one/things/claude/agents/qa.md +50 -25
  355. package/one/things/claude/agents/research-foundation-analyst.md +48 -31
  356. package/one/things/claude/agents/research-intelligence-gatherer.md +59 -32
  357. package/one/things/claude/agents/research-market-analyst.md +47 -30
  358. package/one/things/claude/agents/research-team-manager.md +47 -40
  359. package/one/things/claude/agents/sales-environment-optimizer.md +50 -25
  360. package/one/things/claude/agents/sales-team-manager.md +47 -40
  361. package/one/things/claude/agents/sales-upsell-strategist.md +47 -30
  362. package/one/things/claude/agents/service-advocacy-campaigns.md +47 -30
  363. package/one/things/claude/agents/service-advocacy-manager.md +47 -30
  364. package/one/things/claude/agents/service-success-manager.md +47 -30
  365. package/one/things/claude/agents/service-team-manager.md +45 -40
  366. package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +85 -30
  367. package/one/things/claude/agents/share-optimization-specialist.md +50 -25
  368. package/one/things/claude/agents/sm.md +50 -25
  369. package/one/things/claude/agents/story-teller.md +51 -26
  370. package/one/things/claude/agents/task-master.md +52 -27
  371. package/one/things/claude/agents/tauri-cross-platform-specialist.md +201 -116
  372. package/one/things/claude/agents/tester.md +85 -46
  373. package/one/things/claude/agents/the-bull-character-manager.md +48 -25
  374. package/one/things/claude/agents/tools-playbook-generator.md +43 -40
  375. package/one/things/claude/agents/turbo-repo-builder.md +57 -27
  376. package/one/things/claude/agents/upsell-strategist.md +48 -25
  377. package/one/things/claude/agents/ux-expert.md +50 -25
  378. package/one/things/claude/agents/viral-growth-orchestrator.md +50 -27
  379. package/one/things/claude/commands/agent.md +25 -5
  380. package/one/things/claude/commands/cascade-status.md +33 -8
  381. package/one/things/claude/commands/ingest.md +64 -11
  382. package/one/things/claude/commands/ingestor.md +29 -7
  383. package/one/things/claude/commands/mission.md +24 -4
  384. package/one/things/claude/commands/npx.md +30 -7
  385. package/one/things/claude/commands/one.md +114 -68
  386. package/one/things/claude/commands/quality-check.md +72 -24
  387. package/one/things/claude/commands/smart-route.md +45 -4
  388. package/one/things/claude/commands/start.md +22 -4
  389. package/one/things/claude/commands/story.md +25 -5
  390. package/one/things/claude/commands/task.md +21 -1
  391. package/one/things/cli/cli-code.md +244 -219
  392. package/one/things/cli/cli-compiler-code.md +244 -219
  393. package/one/things/cli/cli.md +30 -6
  394. package/one/things/components/card-shadcn.md +252 -228
  395. package/one/things/components/card.md +315 -324
  396. package/one/things/components.md +667 -593
  397. package/one/things/componets.md +16 -1
  398. package/one/things/creator-diagram.md +23 -5
  399. package/one/things/demo-accessibility-animations.md +73 -47
  400. package/one/things/demo-components.md +225 -219
  401. package/one/things/demo-design-summary.md +95 -32
  402. package/one/things/demo-design-system.md +184 -130
  403. package/one/things/demo-page-layouts.md +52 -25
  404. package/one/things/designs/accessibility-audit.md +153 -66
  405. package/one/things/designs/component-specifications.md +163 -65
  406. package/one/things/designs/design-overview.md +81 -22
  407. package/one/things/designs/design-tokens.md +127 -93
  408. package/one/things/designs/wireframes-dashboard.md +64 -7
  409. package/one/things/docs/api-requests.md +75 -11
  410. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +18 -0
  411. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +57 -0
  412. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +62 -6
  413. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +60 -5
  414. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +95 -27
  415. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +130 -62
  416. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +43 -19
  417. package/one/things/docs/ecommerce/QUICK-START.md +41 -4
  418. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +75 -6
  419. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +58 -24
  420. package/one/things/examples/children/lemonade-stand.md +52 -14
  421. package/one/things/examples/enterprise/crm-saas.md +66 -51
  422. package/one/things/features/1-1-agent-prompts.md +76 -0
  423. package/one/things/features/1-2-yaml-orchestrator.md +32 -0
  424. package/one/things/features/1-3-event-coordination.md +40 -1
  425. package/one/things/features/1-4-knowledge-management.md +91 -16
  426. package/one/things/features/1-5-quality-loops.md +88 -4
  427. package/one/things/features/1-6-numbering-structure.md +78 -14
  428. package/one/things/features/2-1-dataprovider-interface.md +317 -92
  429. package/one/things/features/2-2-config-system.md +307 -140
  430. package/one/things/features/2-3-effectts-services.md +266 -119
  431. package/one/things/features/2-4-react-hooks.md +221 -205
  432. package/one/things/features/2-5-auth-migration.md +406 -308
  433. package/one/things/features/2-6-dashboard-migration.md +112 -13
  434. package/one/things/features/2-7-alternative-providers.md +138 -65
  435. package/one/things/features/2-7-implementation-report.md +68 -24
  436. package/one/things/features/2-cli.md +91 -79
  437. package/one/things/features/2-design.md +114 -82
  438. package/one/things/features/2-tests.md +56 -0
  439. package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +91 -36
  440. package/one/things/features/DECOUPLING.md +36 -18
  441. package/one/things/features/DEPLOYMENT.md +22 -4
  442. package/one/things/features/IMPLEMENTATION_SUMMARY.md +48 -2
  443. package/one/things/features/improve.md +47 -29
  444. package/one/things/features/remove-convex-deps.md +18 -0
  445. package/one/things/features/top-features.md +28 -20
  446. package/one/things/features/use-one-backend.md +212 -175
  447. package/one/things/features-in-english.md +19 -6
  448. package/one/things/files.yaml +721 -0
  449. package/one/things/ideas/1-create-workflow.md +18 -0
  450. package/one/things/ideas/2-backend-agnostic-frontend.md +57 -2
  451. package/one/things/implementation/backend-guide.md +65 -20
  452. package/one/things/interface.md +51 -8
  453. package/one/things/landing-page-implementation.md +455 -0
  454. package/one/things/legal/README.md +44 -0
  455. package/one/things/legal/privacy-policy.md +188 -25
  456. package/one/things/legal/terms-of-service.md +170 -9
  457. package/one/things/master-workflow-plan.md +806 -0
  458. package/one/things/plans/0-in-sync.md +136 -0
  459. package/one/things/plans/0-timeline.md +36 -0
  460. package/one/things/plans/1-create-workflow.md +19 -0
  461. package/one/things/plans/QUICK-START-SIMPLIFICATION.md +333 -0
  462. package/one/things/plans/README-SIMPLIFICATION.md +349 -0
  463. package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +16 -0
  464. package/one/things/plans/SIMPLIFICATION-SUMMARY.md +455 -0
  465. package/one/things/plans/ai-elements.md +28 -9
  466. package/one/things/plans/ai-integration.md +111 -62
  467. package/one/things/plans/ai-sdk.md +92 -55
  468. package/one/things/plans/ai-tools.md +621 -0
  469. package/one/things/plans/app.md +142 -71
  470. package/one/things/plans/architecture-summary.md +34 -5
  471. package/one/things/plans/async-ai-agents.md +19 -1
  472. package/one/things/plans/backend-agnostic-frontend.md +70 -8
  473. package/one/things/plans/backend-cleanup-quickstart.md +55 -21
  474. package/one/things/plans/backend-ontology-conformance.md +150 -91
  475. package/one/things/plans/backend-status.md +64 -6
  476. package/one/things/plans/backend-structure.md +103 -55
  477. package/one/things/plans/backend-target-structure.md +63 -19
  478. package/one/things/plans/backend.md +61 -19
  479. package/one/things/plans/better-auth-any-backend-revised.md +325 -287
  480. package/one/things/plans/better-auth-any-backend.md +576 -532
  481. package/one/things/plans/better-auth-available-features.md +43 -5
  482. package/one/things/plans/big-plan.md +20 -6
  483. package/one/things/plans/cli-updates-required.md +44 -4
  484. package/one/things/plans/complete-step-by-step.md +223 -116
  485. package/one/things/plans/components.md +709 -0
  486. package/one/things/plans/convex-agents.md +87 -58
  487. package/one/things/plans/convex-better-auth.md +186 -154
  488. package/one/things/plans/convex-on-off.md +47 -29
  489. package/one/things/plans/crypto-token-researcher.md +629 -0
  490. package/one/things/plans/data-quality-metrics.md +745 -0
  491. package/one/things/plans/deep-researcher-agent.md +466 -0
  492. package/one/things/plans/deploy-to-cloudflare.md +55 -13
  493. package/one/things/plans/deployment-architecture.md +54 -11
  494. package/one/things/plans/desktop.md +21 -3
  495. package/one/things/plans/development-plan.md +233 -170
  496. package/one/things/plans/development-workflow-tldr.md +207 -0
  497. package/one/things/plans/development-workflow.md +959 -0
  498. package/one/things/plans/effect-components.md +667 -593
  499. package/one/things/plans/effect-patterns-reference.md +2235 -0
  500. package/one/things/plans/effect.md +209 -136
  501. package/one/things/plans/email.md +21 -8
  502. package/one/things/plans/enhance-auth.md +64 -41
  503. package/one/things/plans/execution-strategy.md +1291 -0
  504. package/one/things/plans/existing-infrastructure.md +712 -0
  505. package/one/things/plans/feature-based-sites.md +124 -51
  506. package/one/things/plans/frontend-effects.md +1276 -0
  507. package/one/things/plans/group-folder-multi-tenancy.md +187 -124
  508. package/one/things/plans/improve-codebase.md +498 -421
  509. package/one/things/plans/install-components.md +18 -1
  510. package/one/things/plans/integrate-frontend-and-backend.md +77 -53
  511. package/one/things/plans/landing.md +92 -0
  512. package/one/things/plans/layout.md +45 -1
  513. package/one/things/plans/mail-backend.md +546 -493
  514. package/one/things/plans/mail.md +379 -326
  515. package/one/things/plans/mcp-clear-context-prompt.md +21 -0
  516. package/one/things/plans/mcp-simple.md +20 -0
  517. package/one/things/plans/multi-ontology-architecture.md +115 -66
  518. package/one/things/plans/next-features.md +31 -0
  519. package/one/things/plans/onboarding.md +21 -2
  520. package/one/things/plans/one.md +18 -0
  521. package/one/things/plans/ontology-6-dimensions.md +31 -52
  522. package/one/things/plans/ontology-compliance-audit.md +315 -0
  523. package/one/things/plans/ontology-driven-strategy.md +19 -3
  524. package/one/things/plans/ontology-refine.md +586 -0
  525. package/one/things/plans/ontology-ui-approach.md +18 -0
  526. package/one/things/plans/open-agent.md +152 -97
  527. package/one/things/plans/performace.md +32 -0
  528. package/one/things/plans/phase-1-foundation.md +620 -0
  529. package/one/things/plans/phase-3-implementation.md +1037 -0
  530. package/one/things/plans/quick-wins.md +342 -187
  531. package/one/things/plans/readme-backend-cleanup.md +57 -16
  532. package/one/things/plans/release.md +55 -2
  533. package/one/things/plans/repos.md +22 -0
  534. package/one/things/plans/separate-copy-2.md +127 -71
  535. package/one/things/plans/separate-copy-3.md +35 -14
  536. package/one/things/plans/separate-copy.md +127 -71
  537. package/one/things/plans/separate-demo.md +37 -3
  538. package/one/things/plans/separate.md +24 -6
  539. package/one/things/plans/sequence.md +284 -141
  540. package/one/things/plans/shadcn-integration-summary.md +104 -44
  541. package/one/things/plans/sidebar.md +44 -10
  542. package/one/things/plans/skills.md +133 -30
  543. package/one/things/plans/small-fixes.md +19 -1
  544. package/one/things/plans/start-new.md +39 -13
  545. package/one/things/plans/switch-off-auth.md +22 -0
  546. package/one/things/plans/sync-checklist.md +34 -4
  547. package/one/things/plans/test-backend-connection.md +38 -0
  548. package/one/things/plans/unified-implementation-plan.md +145 -63
  549. package/one/things/plans/update-demos.md +156 -88
  550. package/one/things/plans/use-our-backend.md +572 -0
  551. package/one/things/plans/wave1-onboarding-100-inferences.md +1686 -0
  552. package/one/things/plans/wave1-onboarding-vision.md +744 -0
  553. package/one/things/plans/wave1-orchestration-summary.md +604 -0
  554. package/one/things/plans/wave1-specialist-assignments.md +1413 -0
  555. package/one/things/plans/workflow-files.md +28 -14
  556. package/one/things/plans/workflow.md +18 -12
  557. package/one/things/products/cascade-landing-page.md +150 -46
  558. package/one/things/products/cascade.md +185 -135
  559. package/one/things/products/context-engineering.md +411 -350
  560. package/one/things/products/onthology.md +15 -0
  561. package/one/things/products/ontology-ui-shadcn.md +375 -353
  562. package/one/things/products/ontology-ui.md +101 -59
  563. package/one/things/products/ontology.md +92 -20
  564. package/one/things/products/sdk.md +181 -165
  565. package/one/things/promptkit.md +70 -43
  566. package/one/things/repos/all-repos.md +0 -0
  567. package/one/things/service-providers-new.md +95 -25
  568. package/one/things/service-providers.md +231 -202
  569. package/one/things/structure.md +532 -0
  570. package/one/things/system.md +18 -0
  571. package/one/things/templates.md +40 -0
  572. package/one/things/tests/2-1-dataprovider-interface.md +105 -33
  573. package/one/things/tests/2-1-test-analysis.md +66 -18
  574. package/one/things/things.md +51 -16
  575. package/one/things/todo-acp-integration.md +744 -0
  576. package/one/things/todo-ai.md +933 -0
  577. package/one/things/todo-api.md +1078 -0
  578. package/one/things/todo-assignment.md +580 -0
  579. package/one/things/todo-buy-chatgpt.md +1450 -0
  580. package/one/things/todo-components.md +1683 -0
  581. package/one/things/todo-connections.md +278 -0
  582. package/one/things/todo-ecommerce-frontend.md +1313 -0
  583. package/one/things/todo-ecommerce.md +569 -0
  584. package/one/things/todo-effects.md +1075 -0
  585. package/one/things/todo-frontend-effects.md +977 -0
  586. package/one/things/todo-landing-page.md +1091 -0
  587. package/one/things/todo-mail.md +1160 -0
  588. package/one/things/todo-master-plan.md +490 -0
  589. package/one/things/todo-onboard.md +666 -0
  590. package/one/things/todo-one-ie.md +538 -0
  591. package/one/things/todo-page.md +606 -0
  592. package/one/things/todo-plans.md +282 -0
  593. package/one/things/todo-projects.md +241 -0
  594. package/one/things/todo-refactoring-plan.md +366 -0
  595. package/one/things/todo-sequence.md +1621 -0
  596. package/one/things/todo-use-our-backend.md +1908 -0
  597. package/one/things/todo-workflow.md +626 -0
  598. package/one/things/todo-x402.md +2047 -0
  599. package/one/things/todo.md +459 -1075
  600. package/one/things/video/scripts-crypto.md +835 -0
  601. package/one/things/video-script-ontology.md +334 -0
  602. package/package.json +7 -2
  603. package/.claude/commands/build.md +0 -293
  604. package/one/.obsidian/app.json +0 -8
  605. package/one/.obsidian/appearance.json +0 -1
  606. package/one/.obsidian/community-plugins.json +0 -3
  607. package/one/.obsidian/core-plugins.json +0 -33
  608. package/one/.obsidian/plugins/easy-bake/main.js +0 -361
  609. package/one/.obsidian/plugins/easy-bake/manifest.json +0 -11
  610. package/one/.obsidian/plugins/easy-bake/styles.css +0 -10
  611. package/one/.obsidian/workspace.json +0 -240
  612. package/one/events/2024-10-14-deployment-plan.md +0 -331
  613. package/one/events/2024-10-14-deployment-success.md +0 -448
  614. package/one/events/2024-10-14-final-sync-complete.md +0 -251
  615. package/one/events/2024-10-14-release-v2.0.6.md +0 -415
  616. package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -496
  617. package/one/events/2024-10-15-handoff-to-clean.md +0 -348
  618. package/one/events/2024-10-15-package-manager-tests.md +0 -443
  619. package/one/events/2024-10-15-release-command-complete.md +0 -417
  620. package/one/events/2025-10-15-private-files-secured.md +0 -341
  621. package/one/events/2025-10-15-unignore-public-group-docs.md +0 -280
  622. package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -262
  623. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -636
  624. package/one/events/BEFORE_AFTER_COMPARISON.md +0 -960
  625. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -354
  626. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -412
  627. package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -290
  628. package/one/events/CONNECTIONS_DEMO.md +0 -501
  629. package/one/events/CREATE-WEBSITE.md +0 -442
  630. package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -504
  631. package/one/events/CUSTOM-DOMAIN.md +0 -357
  632. package/one/events/DELIVERABLES.md +0 -432
  633. package/one/events/DEMO-GROUPS-PAGE.md +0 -392
  634. package/one/events/DEMO-TESTING-SUMMARY.md +0 -518
  635. package/one/events/DEMO_COMPONENTS.md +0 -487
  636. package/one/events/DEMO_HOOKS_INDEX.md +0 -334
  637. package/one/events/DEMO_INFRASTRUCTURE.md +0 -905
  638. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -570
  639. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -431
  640. package/one/events/DEMO_QUICK_REFERENCE.md +0 -441
  641. package/one/events/DEMO_SETUP.md +0 -476
  642. package/one/events/DEPLOYMENT copy.md +0 -426
  643. package/one/events/DEPLOYMENT.md +0 -178
  644. package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -251
  645. package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -225
  646. package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -576
  647. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -421
  648. package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -363
  649. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -196
  650. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -396
  651. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -735
  652. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -923
  653. package/one/events/EFFECT_TS_API_PATTERN.md +0 -478
  654. package/one/events/FEATURE-2-4-COMPLETE.md +0 -302
  655. package/one/events/FEATURE_2_3_COMPLETE.md +0 -575
  656. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -223
  657. package/one/events/GROUPS-MIGRATION.md +0 -625
  658. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -414
  659. package/one/events/HANDOFF.md +0 -313
  660. package/one/events/HOOKS-DEMO.md +0 -441
  661. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -503
  662. package/one/events/IMPLEMENTATION_SUMMARY.md +0 -529
  663. package/one/events/INSTALL-TESTS.md +0 -293
  664. package/one/events/INSTALLATION_FOLDERS.md +0 -516
  665. package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -205
  666. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -419
  667. package/one/events/INTEGRATION-ARCHITECTURE.md +0 -561
  668. package/one/events/INTEGRATION-CHECKLIST.md +0 -1234
  669. package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2623
  670. package/one/events/INTEGRATION-SUMMARY.md +0 -653
  671. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -666
  672. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -642
  673. package/one/events/LANDING-PAGE-QUICKSTART.md +0 -407
  674. package/one/events/LICENSE.md +0 -89
  675. package/one/events/MCP-CONFIGURATION.md +0 -336
  676. package/one/events/MCP-SETUP-COMPLETE.md +0 -205
  677. package/one/events/MIGRATION-REPORT.md +0 -435
  678. package/one/events/MIGRATION.md +0 -69
  679. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1627
  680. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -573
  681. package/one/events/NODE-UPGRADE.md +0 -111
  682. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -398
  683. package/one/events/ONTOLOGY-HOOKS-README.md +0 -700
  684. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -365
  685. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -525
  686. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -455
  687. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -486
  688. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -203
  689. package/one/events/PACKAGE-STRUCTURE.md +0 -310
  690. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -331
  691. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -567
  692. package/one/events/QA-CHECKLIST.md +0 -674
  693. package/one/events/QUICK-START-ONTOLOGY.md +0 -408
  694. package/one/events/README-archived.md +0 -519
  695. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -639
  696. package/one/events/SEARCH_DEMO_DELIVERY.md +0 -415
  697. package/one/events/SEARCH_DEMO_SUMMARY.md +0 -303
  698. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -381
  699. package/one/events/SECURITY-AUDIT-FIXES.md +0 -376
  700. package/one/events/SECURITY-SCAN-COMPLETE.md +0 -281
  701. package/one/events/SHOP-BUILD-STATUS.md +0 -114
  702. package/one/events/SHOP-PREMIUM-UPDATE.md +0 -149
  703. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -262
  704. package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -299
  705. package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -359
  706. package/one/events/STRIPE-INTEGRATION.md +0 -414
  707. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -429
  708. package/one/events/STRIPE-SETUP-GUIDE.md +0 -462
  709. package/one/events/TEST-PLAN-INDEX.md +0 -346
  710. package/one/events/TEST-PLAN.md +0 -1417
  711. package/one/events/TEST-SUMMARY.md +0 -393
  712. package/one/events/TESTING-DELIVERY.txt +0 -372
  713. package/one/events/TESTS-QUICK-REF.md +0 -262
  714. package/one/events/TRANSITIONS-QUICK-START.md +0 -141
  715. package/one/events/TRANSPARENCY-FIXES.md +0 -275
  716. package/one/events/TYPESCRIPT_FIXES.md +0 -152
  717. package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
  718. package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -341
  719. package/one/events/VIEW-TRANSITIONS.md +0 -428
  720. package/one/events/agent-director-enhancement-summary.md +0 -386
  721. package/one/events/agent-onboard-implementation-summary.md +0 -457
  722. package/one/events/backend-integration-tests.md +0 -606
  723. package/one/events/backend-structure-diagram.txt +0 -393
  724. package/one/events/backend-structure-summary.txt +0 -269
  725. package/one/events/clean-agent-ontology-cleanup-report.md +0 -353
  726. package/one/events/cloudflare-automation-complete.md +0 -332
  727. package/one/events/cloudflare-pages-infrastructure-setup.md +0 -264
  728. package/one/events/contact-page-complete.md +0 -298
  729. package/one/events/convex-analysis-index.md +0 -304
  730. package/one/events/convex-structure-analysis.md +0 -700
  731. package/one/events/deployment-installation-folders.md +0 -160
  732. package/one/events/deployment-ops-summary.md +0 -368
  733. package/one/events/deployment-verification.md +0 -348
  734. package/one/events/design-spec-complete.md +0 -208
  735. package/one/events/events.md +0 -545
  736. package/one/events/installation-folders-workflow-integration.md +0 -440
  737. package/one/events/landing-page-generator.md +0 -458
  738. package/one/events/legal-assessment-2025-10-16.md +0 -1899
  739. package/one/events/onboarding-implementation-complete.md +0 -505
  740. package/one/events/ontology-test-examples.md +0 -562
  741. package/one/events/phase1-backend-implementation-complete.md +0 -518
  742. package/one/events/release.md +0 -254
  743. package/one/events/separate-implementation-status.md +0 -537
  744. package/one/events/session-summary-2025-10-18.md +0 -348
  745. package/one/events/skills-complete.md +0 -333
  746. package/one/events/skills-infer-6-10-summary.md +0 -52
  747. package/one/events/skills-phase1-complete.md +0 -263
  748. package/one/events/test-dashboard.md +0 -345
  749. package/one/events/test-index.md +0 -361
  750. package/one/events/test-report-ontology.md +0 -582
  751. package/one/events/testing-summary.md +0 -344
  752. package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +0 -49
  753. package/one/knowledge/docs/flow.md +0 -0
  754. package/one/knowledge/documentation-summary.md +0 -285
  755. package/one/knowledge/inference-score.md +0 -159
  756. package/one/knowledge/ontology-frontend-copy-2.md +0 -1492
  757. package/one/knowledge/ontology-frontend-copy.md +0 -753
  758. package/one/knowledge/ontology-migration-guide.md +0 -811
  759. package/one/things/features/0 All Features.md +0 -2
  760. package/one/things/plans/1-create-workflow-status.md +0 -555
  761. package/one/things/plans/2-backend-agnostic-frontend.md +0 -546
  762. package/one/things/plans/2-sites.md +0 -895
  763. package/one/things/plans/3-groups.md +0 -735
  764. package/one/things/plans/5-build-frontend.md +0 -0
  765. package/one/things/plans/5-complete.md +0 -17
  766. package/one/things/plans/agent-director-100-inference-plans.md +0 -410
  767. package/one/things/plans/dual-website-strategy.md +0 -612
  768. package/one/things/plans/releases.md +0 -809
@@ -0,0 +1,1686 @@
1
+ ---
2
+ title: Wave1 Onboarding 100 Cycles
3
+ dimension: things
4
+ category: plans
5
+ tags: agent, ai, backend, claude, frontend, cycle, ontology, testing
6
+ related_dimensions: connections, events, groups, knowledge, people
7
+ scope: global
8
+ created: 2025-11-03
9
+ updated: 2025-11-03
10
+ version: 1.0.0
11
+ ai_context: |
12
+ This document is part of the things dimension in the plans category.
13
+ Location: one/things/plans/wave1-onboarding-100-cycles.md
14
+ Purpose: Documents wave 1: creator onboarding - 100-cycle execution plan
15
+ Related dimensions: connections, events, groups, knowledge, people
16
+ For AI agents: Read this to understand wave1 onboarding 100 cycles.
17
+ ---
18
+
19
+ # Wave 1: Creator Onboarding - 100-Cycle Execution Plan
20
+
21
+ **Version:** 1.0.0
22
+ **Total Cycles:** 100 (Cycle 1-100)
23
+ **Estimated Duration:** 10-12 days (8-10 cycles per specialist per day)
24
+ **Team:** 4 specialists + 1 orchestrator (director)
25
+
26
+ ---
27
+
28
+ ## Overview: The 100-Cycle Breakdown
29
+
30
+ ```
31
+ Cycle 1-10: FOUNDATION & ONTOLOGY VALIDATION
32
+ Cycle 11-20: BACKEND SCHEMA & SERVICES
33
+ Cycle 21-30: BACKEND MUTATIONS & QUERIES
34
+ Cycle 31-40: FRONTEND PAGES & COMPONENTS (Part 1)
35
+ Cycle 41-50: FRONTEND PAGES & COMPONENTS (Part 2)
36
+ Cycle 51-60: API ROUTES & INTEGRATIONS
37
+ Cycle 61-70: EMAIL & VERIFICATION SYSTEM
38
+ Cycle 71-80: TEAM MANAGEMENT & WORKSPACE
39
+ Cycle 81-90: TESTING & QUALITY ASSURANCE
40
+ Cycle 91-100: DEPLOYMENT & DOCUMENTATION
41
+ ```
42
+
43
+ Each phase has dependencies clearly marked. **Bold dependencies** block downstream work.
44
+
45
+ ---
46
+
47
+ ## PHASE 1: FOUNDATION & VALIDATION (Cycle 1-10)
48
+
49
+ **Specialist:** Agent-Director (Orchestration)
50
+ **Duration:** 1-2 days
51
+ **Output:** Approved vision, ontology mapping, task lists
52
+
53
+ ### Cycle 1: Confirm 6-Dimension Ontology Alignment
54
+
55
+ **Task:** Validate onboarding maps to ALL 6 dimensions
56
+
57
+ **Checklist:**
58
+
59
+ - [ ] Groups dimension: Workspace group creation ✓
60
+ - [ ] People dimension: Creator person + team roles ✓
61
+ - [ ] Things dimension: Creator, workspace, tokens, preferences ✓
62
+ - [ ] Connections dimension: member_of, owns, transacted ✓
63
+ - [ ] Events dimension: user_registered, email_verified, profile_updated, etc ✓
64
+ - [ ] Knowledge dimension: Skill labels, interest labels, taxonomy ✓
65
+
66
+ **Deliverable:** `/wave1-onboarding-vision.md` (completed)
67
+ **Status:** ✅ COMPLETE
68
+
69
+ **Decision Gate:**
70
+
71
+ - If ANY dimension missing → Rethink feature
72
+ - If all aligned → Proceed to Cycle 2
73
+
74
+ ---
75
+
76
+ ### Cycle 2: Define Complete Entity Types
77
+
78
+ **Task:** Specify exact properties for creator, workspace, invitation tokens
79
+
80
+ **Creator Properties:**
81
+
82
+ ```typescript
83
+ {
84
+ type: 'creator',
85
+ name: string,
86
+ properties: {
87
+ email: string,
88
+ username: string,
89
+ displayName: string,
90
+ bio: string,
91
+ avatar: string,
92
+
93
+ // Profile
94
+ niche: string[], // [fitness, education, business]
95
+ expertise: string[], // Skills
96
+ interests: string[], // Topics
97
+
98
+ // Workspace
99
+ workspaceId: Id<'groups'>,
100
+ workspaces: Id<'groups'>[],
101
+ role: 'owner' | 'admin' | 'editor',
102
+
103
+ // Wallet
104
+ walletAddress: string,
105
+ walletVerified: boolean,
106
+ walletConnectedAt: number,
107
+
108
+ // Onboarding
109
+ onboardingStep: 'signup' | 'verify' | 'profile' | 'workspace' | 'team' | 'wallet' | 'skills' | 'complete',
110
+ onboardingCompleted: boolean,
111
+ onboardingCompletedAt: number,
112
+ onboardingTourStarted: boolean,
113
+ onboardingTourCompleted: boolean,
114
+
115
+ // Settings
116
+ emailVerified: boolean,
117
+ emailVerifiedAt: number,
118
+ twoFactorEnabled: boolean,
119
+ preferredLanguage: string,
120
+ timezone: string,
121
+
122
+ // Stats
123
+ totalTeamMembers: number,
124
+ totalContentCreated: number,
125
+ totalEarnings: number,
126
+
127
+ // Terms
128
+ agreeToTerms: boolean,
129
+ agreeToPrivacy: boolean,
130
+ marketingEmails: boolean,
131
+ }
132
+ }
133
+ ```
134
+
135
+ **Organization (Workspace) Properties:**
136
+
137
+ ```typescript
138
+ {
139
+ type: 'organization',
140
+ name: string,
141
+ properties: {
142
+ slug: string,
143
+ description: string,
144
+ logo: string,
145
+ visibility: 'private' | 'public',
146
+ joinPolicy: 'invite_only' | 'open',
147
+ memberCount: number,
148
+ maxMembers: number,
149
+ plan: 'free' | 'pro' | 'enterprise',
150
+ planUpgradedAt: number,
151
+ stripeCustomerId: string,
152
+ billingEmail: string,
153
+ defaultLanguage: string,
154
+ defaultTimezone: string,
155
+ }
156
+ }
157
+ ```
158
+
159
+ **Invitation Token Properties:**
160
+
161
+ ```typescript
162
+ {
163
+ type: 'invitation_token',
164
+ name: string,
165
+ properties: {
166
+ token: string,
167
+ invitedBy: Id<'things'>,
168
+ invitedEmail: string,
169
+ workspaceId: Id<'groups'>,
170
+ role: 'editor' | 'viewer',
171
+ status: 'pending' | 'accepted' | 'expired',
172
+ expiresAt: number,
173
+ acceptedAt: number,
174
+ acceptedBy: Id<'things'>,
175
+ }
176
+ }
177
+ ```
178
+
179
+ **Deliverable:** Type specification document
180
+ **Status:** ✅ COMPLETE (from vision doc)
181
+
182
+ ---
183
+
184
+ ### Cycle 3: Define Event Types to Log
185
+
186
+ **Task:** List all events that need logging during onboarding
187
+
188
+ **Event Types to Create:**
189
+
190
+ 1. `user_registered` - Signup form submitted
191
+ 2. `email_verification_sent` - Code sent to email
192
+ 3. `email_verified` - Email confirmed
193
+ 4. `profile_updated` - Profile form submitted
194
+ 5. `thing_created` (thingType: organization) - Workspace created
195
+ 6. `user_invited_to_group` - Team member invited
196
+ 7. `user_joined_group` - Team member accepted invitation
197
+ 8. `wallet_connected` - Crypto wallet linked
198
+ 9. `thing_updated` (thingType: creator) - Skills added
199
+ 10. `onboarding_completed` - Full journey done
200
+
201
+ **Event Logging Strategy:**
202
+
203
+ - Every state transition → event logged
204
+ - Metadata captures context (source, device, values changed)
205
+ - Timestamp precise (milliseconds)
206
+ - Actor ID always logged (who did this)
207
+
208
+ **Deliverable:** Event specification
209
+ **Status:** ✅ COMPLETE
210
+
211
+ ---
212
+
213
+ ### Cycle 4: Define Connection Types
214
+
215
+ **Task:** Specify relationships that onboarding creates
216
+
217
+ **Connections to Create:**
218
+
219
+ 1. **Creator → Workspace Group (member_of)**
220
+
221
+ ```
222
+ {
223
+ fromThingId: creatorId,
224
+ toThingId: workspaceGroupId,
225
+ relationshipType: 'member_of',
226
+ metadata: {
227
+ role: 'group_owner',
228
+ permissions: ['*'],
229
+ joinedAt: Date.now(),
230
+ }
231
+ }
232
+ ```
233
+
234
+ 2. **Team Member → Workspace Group (member_of)**
235
+ ```
236
+ {
237
+ fromThingId: teamMemberId,
238
+ toThingId: workspaceGroupId,
239
+ relationshipType: 'member_of',
240
+ metadata: {
241
+ role: 'group_user',
242
+ permissions: ['read', 'write'],
243
+ invitedBy: creatorId,
244
+ invitedAt: Date.now(),
245
+ status: 'pending' | 'active',
246
+ }
247
+ }
248
+ ```
249
+
250
+ **Deliverable:** Connection specification
251
+ **Status:** ✅ COMPLETE
252
+
253
+ ---
254
+
255
+ ### Cycle 5: Define Knowledge Labels
256
+
257
+ **Task:** Specify skill + interest taxonomy for tagging
258
+
259
+ **Skill Label Categories:**
260
+
261
+ ```
262
+ Prefix: skill:*
263
+ skill:video-editing
264
+ skill:copywriting
265
+ skill:social-media
266
+ skill:graphic-design
267
+ skill:course-creation
268
+ skill:podcast-production
269
+ skill:community-management
270
+ skill:sales-funnel
271
+ skill:email-marketing
272
+ skill:seo
273
+ ... (100+ predefined skills)
274
+
275
+ Prefix: industry:*
276
+ industry:fitness
277
+ industry:education
278
+ industry:finance
279
+ industry:entertainment
280
+ industry:ecommerce
281
+ industry:marketing
282
+ industry:technology
283
+ industry:wellness
284
+ ... (50+ predefined industries)
285
+
286
+ Prefix: goal:*
287
+ goal:income
288
+ goal:audience
289
+ goal:collaboration
290
+ goal:learning
291
+ goal:brand-building
292
+ goal:automation
293
+
294
+ Prefix: interest:*
295
+ interest:personal-branding
296
+ interest:monetization
297
+ interest:ai-automation
298
+ interest:team-management
299
+ interest:content-distribution
300
+ ... (free-form, user-created)
301
+ ```
302
+
303
+ **Knowledge Pattern:**
304
+
305
+ ```typescript
306
+ // Create knowledge item for each skill
307
+ {
308
+ knowledgeType: 'label',
309
+ text: 'Video Editing',
310
+ labels: ['skill:video-editing', 'category:technical'],
311
+ metadata: { category: 'skill', searchable: true }
312
+ }
313
+
314
+ // Link creator to knowledge
315
+ {
316
+ thingId: creatorId,
317
+ knowledgeId: skillLabelId,
318
+ role: 'label',
319
+ metadata: { proficiency: 'intermediate' }
320
+ }
321
+ ```
322
+
323
+ **Deliverable:** Taxonomy specification
324
+ **Status:** ✅ COMPLETE
325
+
326
+ ---
327
+
328
+ ### Cycle 6: Create Implementation Checklist
329
+
330
+ **Task:** Break down into manageable tasks for specialists
331
+
332
+ **Backend Tasks (Cycle 11-30):**
333
+
334
+ - [ ] Extend creator entity type
335
+ - [ ] Extend organization entity type
336
+ - [ ] Create invitation_token entity type
337
+ - [ ] Create onboarding service (Effect.ts)
338
+ - [ ] Create signup mutation
339
+ - [ ] Create email verification mutation
340
+ - [ ] Create profile update mutation
341
+ - [ ] Create workspace creation mutation
342
+ - [ ] Create team invitation mutation
343
+ - [ ] Create invitation acceptance mutation
344
+ - [ ] Create wallet connection mutation
345
+ - [ ] Create skill tagging mutation
346
+ - [ ] Create all queries (status, users, workspaces, members)
347
+ - [ ] Set up email templates (Resend)
348
+ - [ ] Create verification system (codes, tokens, expiry)
349
+ - [ ] Create rate limiting rules
350
+
351
+ **Frontend Tasks (Cycle 31-50):**
352
+
353
+ - [ ] Create SignupForm component
354
+ - [ ] Create EmailVerification component
355
+ - [ ] Create ProfileForm component
356
+ - [ ] Create WorkspaceSetup component
357
+ - [ ] Create WalletConnection component
358
+ - [ ] Create SkillSelection component
359
+ - [ ] Create OnboardingTour component
360
+ - [ ] Create OnboardingChecklist component
361
+ - [ ] Create onboarding pages (8 Astro pages)
362
+ - [ ] Create team management page
363
+ - [ ] Create API routes (signup, verify, profile, workspace, team)
364
+ - [ ] Create auth middleware
365
+ - [ ] Create redirect logic
366
+
367
+ **Quality Tasks (Cycle 81-90):**
368
+
369
+ - [ ] Write unit tests (mutations, services)
370
+ - [ ] Write integration tests (full flows)
371
+ - [ ] Write E2E tests (signup to dashboard)
372
+ - [ ] Create test accounts + fixtures
373
+ - [ ] Run accessibility audit
374
+ - [ ] Run performance audit
375
+ - [ ] Run security audit
376
+
377
+ **Designer Tasks (Cycle 41-60 parallel):**
378
+
379
+ - [ ] Create wireframes for 8 stages
380
+ - [ ] Design component specs
381
+ - [ ] Create accessibility guide
382
+ - [ ] Design mobile layouts
383
+
384
+ **Documentation Tasks (Cycle 91-100):**
385
+
386
+ - [ ] User guide
387
+ - [ ] API documentation
388
+ - [ ] Developer setup guide
389
+ - [ ] Deployment checklist
390
+
391
+ **Deliverable:** Complete task breakdown
392
+ **Status:** ✅ COMPLETE
393
+
394
+ ---
395
+
396
+ ### Cycle 7-10: Reserve for Blockers/Contingency
397
+
398
+ **Task:** Leave buffer for unexpected issues
399
+
400
+ **Possible issues:**
401
+
402
+ - Better Auth integration complexity
403
+ - Rate limiting complexity
404
+ - Email delivery problems
405
+ - Database index optimization
406
+ - Security review findings
407
+ - Performance optimization
408
+ - Mobile responsiveness issues
409
+
410
+ **Reserve:** 4 cycles (4 days of buffer)
411
+
412
+ ---
413
+
414
+ ## PHASE 2: BACKEND SCHEMA & SERVICES (Cycle 11-30)
415
+
416
+ **Specialist:** Agent-Backend
417
+ **Duration:** 3-4 days (20 cycles)
418
+ **Dependency:** ✅ Phase 1 complete
419
+ **Blocks:** Phase 3 (can't build frontend without backend mutations)
420
+
421
+ ### Cycle 11-12: Extend Creator Entity Type
422
+
423
+ **Task:** Update `schema.ts` to include all creator properties
424
+
425
+ **Files to modify:**
426
+
427
+ - `/backend/convex/schema.ts` - Add creator properties to entities table
428
+
429
+ **Deliverable:** Updated schema with creator type
430
+ **Output file:** `/backend/convex/schema.ts`
431
+ **Status:** Ready for implementation
432
+
433
+ ### Cycle 13-14: Extend Organization Entity Type
434
+
435
+ **Task:** Add organization properties (workspace)
436
+
437
+ **Files to modify:**
438
+
439
+ - `/backend/convex/schema.ts` - Add organization properties
440
+
441
+ **Deliverable:** Updated schema with organization type
442
+ **Status:** Ready for implementation
443
+
444
+ ### Cycle 15-16: Create Invitation Token Type
445
+
446
+ **Task:** Add invitation_token entity type
447
+
448
+ **Files to modify:**
449
+
450
+ - `/backend/convex/schema.ts` - Add invitation_token type
451
+
452
+ **Deliverable:** Updated schema with invitation_token type
453
+ **Status:** Ready for implementation
454
+
455
+ ### Cycle 17: Create Onboarding Service (Effect.ts)
456
+
457
+ **Task:** Build pure business logic service
458
+
459
+ **File to create:** `/backend/convex/services/onboarding.ts`
460
+
461
+ **Methods:**
462
+
463
+ ```typescript
464
+ export interface OnboardingService {
465
+ registerUser(email: string, password: string): Effect<CreatorEntity>;
466
+ sendVerificationEmail(userId: Id<"things">, email: string): Effect<void>;
467
+ verifyEmail(
468
+ userId: Id<"things">,
469
+ code: string,
470
+ ): Effect<{ verified: boolean }>;
471
+ updateProfile(userId: Id<"things">, data: ProfileData): Effect<CreatorEntity>;
472
+ createWorkspace(
473
+ userId: Id<"things">,
474
+ name: string,
475
+ ): Effect<OrganizationEntity>;
476
+ inviteTeamMember(
477
+ userId: Id<"things">,
478
+ workspaceId: Id<"groups">,
479
+ email: string,
480
+ role: string,
481
+ ): Effect<void>;
482
+ acceptInvitation(token: string): Effect<{ joined: boolean }>;
483
+ connectWallet(
484
+ userId: Id<"things">,
485
+ address: string,
486
+ ): Effect<{ verified: boolean }>;
487
+ addSkills(userId: Id<"things">, skills: string[]): Effect<CreatorEntity>;
488
+ completeOnboarding(userId: Id<"things">): Effect<{ completed: boolean }>;
489
+ }
490
+ ```
491
+
492
+ **Deliverable:** Onboarding service with all business logic
493
+ **Status:** Ready for implementation
494
+
495
+ ### Cycle 18: Create Signup Mutation
496
+
497
+ **Task:** Implement `signUp` mutation (call Better Auth + Convex)
498
+
499
+ **File to create:** `/backend/convex/mutations/auth.ts`
500
+
501
+ ```typescript
502
+ export const signUp = mutation({
503
+ args: {
504
+ email: v.string(),
505
+ password: v.string(),
506
+ agreeToTerms: v.boolean(),
507
+ agreeToPrivacy: v.boolean(),
508
+ },
509
+ handler: async (ctx, args) => {
510
+ // 1. Validate email doesn't exist
511
+ // 2. Hash password
512
+ // 3. Create user in Better Auth
513
+ // 4. Create creator entity
514
+ // 5. Log user_registered event
515
+ // 6. Return user + session
516
+ },
517
+ });
518
+ ```
519
+
520
+ **Deliverable:** Working signup mutation
521
+ **Status:** Ready for implementation
522
+
523
+ ### Cycle 19: Create Email Verification Mutation
524
+
525
+ **Task:** Implement `verifyEmail` mutation
526
+
527
+ **File to update:** `/backend/convex/mutations/auth.ts`
528
+
529
+ ```typescript
530
+ export const verifyEmail = mutation({
531
+ args: {
532
+ code: v.string(),
533
+ },
534
+ handler: async (ctx, args) => {
535
+ // 1. Validate code format + expiry
536
+ // 2. Find matching verification token
537
+ // 3. Mark creator as emailVerified
538
+ // 4. Log email_verified event
539
+ // 5. Return success
540
+ },
541
+ });
542
+ ```
543
+
544
+ **Deliverable:** Email verification mutation
545
+ **Status:** Ready for implementation
546
+
547
+ ### Cycle 20: Create Profile Update Mutation
548
+
549
+ **Task:** Implement `updateProfile` mutation
550
+
551
+ **File to update:** `/backend/convex/mutations/auth.ts`
552
+
553
+ ```typescript
554
+ export const updateProfile = mutation({
555
+ args: {
556
+ displayName: v.string(),
557
+ username: v.string(),
558
+ bio: v.string(),
559
+ niche: v.array(v.string()),
560
+ avatar: v.optional(v.string()),
561
+ },
562
+ handler: async (ctx, args) => {
563
+ // 1. Validate username is unique
564
+ // 2. Upload avatar if provided
565
+ // 3. Update creator properties
566
+ // 4. Log profile_updated event
567
+ // 5. Return updated creator
568
+ },
569
+ });
570
+ ```
571
+
572
+ **Deliverable:** Profile update mutation
573
+ **Status:** Ready for implementation
574
+
575
+ ### Cycle 21: Create Workspace Creation Mutation
576
+
577
+ **Task:** Implement `createWorkspace` mutation
578
+
579
+ **File to create:** `/backend/convex/mutations/workspace.ts`
580
+
581
+ ```typescript
582
+ export const createWorkspace = mutation({
583
+ args: {
584
+ name: v.string(),
585
+ slug: v.string(),
586
+ visibility: v.union(v.literal("private"), v.literal("public")),
587
+ },
588
+ handler: async (ctx, args) => {
589
+ // 1. Validate slug is unique
590
+ // 2. Create group entity
591
+ // 3. Create member_of connection (creator → workspace)
592
+ // 4. Update creator.workspaceId
593
+ // 5. Log thing_created event
594
+ // 6. Return workspace
595
+ },
596
+ });
597
+ ```
598
+
599
+ **Deliverable:** Workspace creation mutation
600
+ **Status:** Ready for implementation
601
+
602
+ ### Cycle 22: Create Team Invitation Mutation
603
+
604
+ **Task:** Implement `inviteTeamMember` mutation
605
+
606
+ **File to update:** `/backend/convex/mutations/workspace.ts`
607
+
608
+ ```typescript
609
+ export const inviteTeamMember = mutation({
610
+ args: {
611
+ workspaceId: v.id("groups"),
612
+ email: v.string(),
613
+ role: v.union(v.literal("editor"), v.literal("viewer")),
614
+ },
615
+ handler: async (ctx, args) => {
616
+ // 1. Validate workspace exists + user is owner
617
+ // 2. Generate invitation token
618
+ // 3. Create invitation_token entity
619
+ // 4. Send invitation email
620
+ // 5. Log user_invited_to_group event
621
+ // 6. Return invitation
622
+ },
623
+ });
624
+ ```
625
+
626
+ **Deliverable:** Team invitation mutation
627
+ **Status:** Ready for implementation
628
+
629
+ ### Cycle 23: Create Invitation Acceptance Mutation
630
+
631
+ **Task:** Implement `acceptInvitation` mutation
632
+
633
+ **File to update:** `/backend/convex/mutations/workspace.ts`
634
+
635
+ ```typescript
636
+ export const acceptInvitation = mutation({
637
+ args: {
638
+ token: v.string(),
639
+ },
640
+ handler: async (ctx, args) => {
641
+ // 1. Find invitation by token
642
+ // 2. Check if expired
643
+ // 3. Get or create user for email
644
+ // 4. Create member_of connection
645
+ // 5. Mark invitation as accepted
646
+ // 6. Log user_joined_group event
647
+ // 7. Return success
648
+ },
649
+ });
650
+ ```
651
+
652
+ **Deliverable:** Invitation acceptance mutation
653
+ **Status:** Ready for implementation
654
+
655
+ ### Cycle 24: Create Wallet Connection Mutation
656
+
657
+ **Task:** Implement `connectWallet` mutation
658
+
659
+ **File to update:** `/backend/convex/mutations/auth.ts`
660
+
661
+ ```typescript
662
+ export const connectWallet = mutation({
663
+ args: {
664
+ address: v.string(),
665
+ signature: v.optional(v.string()),
666
+ },
667
+ handler: async (ctx, args) => {
668
+ // 1. Validate Ethereum address format
669
+ // 2. Optionally verify signature
670
+ // 3. Update creator.walletAddress
671
+ // 4. Update creator.walletVerified
672
+ // 5. Log wallet_connected event
673
+ // 6. Return success
674
+ },
675
+ });
676
+ ```
677
+
678
+ **Deliverable:** Wallet connection mutation
679
+ **Status:** Ready for implementation
680
+
681
+ ### Cycle 25: Create Skill Tagging Mutation
682
+
683
+ **Task:** Implement `addSkills` mutation
684
+
685
+ **File to update:** `/backend/convex/mutations/auth.ts`
686
+
687
+ ```typescript
688
+ export const addSkills = mutation({
689
+ args: {
690
+ skills: v.array(v.string()),
691
+ },
692
+ handler: async (ctx, args) => {
693
+ // 1. Validate skills exist in taxonomy
694
+ // 2. Get or create knowledge items for each skill
695
+ // 3. Link creator to knowledge items
696
+ // 4. Update creator.expertise
697
+ // 5. Log thing_updated event
698
+ // 6. Return updated creator
699
+ },
700
+ });
701
+ ```
702
+
703
+ **Deliverable:** Skill tagging mutation
704
+ **Status:** Ready for implementation
705
+
706
+ ### Cycle 26: Create Onboarding Status Queries
707
+
708
+ **Task:** Implement queries for onboarding data
709
+
710
+ **File to create:** `/backend/convex/queries/onboarding.ts`
711
+
712
+ ```typescript
713
+ export const getCurrentUser = query({ ... }) // Get current user + workspace
714
+ export const getOnboardingStatus = query({ ... }) // Get step + completion %
715
+ export const checkUsernameAvailable = query({ ... }) // Is username taken?
716
+ export const checkEmailExists = query({ ... }) // Does email exist?
717
+ export const getWorkspaceMembers = query({ ... }) // List workspace members
718
+ export const getPendingInvitations = query({ ... }) // List pending invites
719
+ export const getUserWorkspaces = query({ ... }) // List user's workspaces
720
+ ```
721
+
722
+ **Deliverable:** All onboarding queries
723
+ **Status:** Ready for implementation
724
+
725
+ ### Cycle 27: Create Email Templates
726
+
727
+ **Task:** Build email templates with Resend
728
+
729
+ **Files to create:**
730
+
731
+ - `/backend/convex/emails/welcome.email.tsx`
732
+ - `/backend/convex/emails/verify-email.email.tsx`
733
+ - `/backend/convex/emails/team-invite.email.tsx`
734
+ - `/backend/convex/emails/password-reset.email.tsx`
735
+
736
+ **Email Content:**
737
+
738
+ 1. **Welcome:** "Welcome to ONE! Complete your profile to get started"
739
+ 2. **Verify Email:** "Your 6-digit code: {code} (valid for 10 minutes)"
740
+ 3. **Team Invite:** "You're invited to join {workspace}! {invite_link}"
741
+ 4. **Password Reset:** "Reset your password: {reset_link} (valid for 30 minutes)"
742
+
743
+ **Deliverable:** All email templates
744
+ **Status:** Ready for implementation
745
+
746
+ ### Cycle 28: Create Verification System
747
+
748
+ **Task:** Build verification code + token system
749
+
750
+ **File to create:** `/backend/convex/lib/verification.ts`
751
+
752
+ ```typescript
753
+ export function generateVerificationCode(): string; // 6-digit code
754
+ export function generateVerificationLink(): string; // unique URL
755
+ export function verifyCode(code: string): boolean;
756
+ export function verifyLink(token: string): boolean;
757
+ export function rateLimit(email: string): boolean; // 5/hour
758
+ export function generateInvitationToken(): string; // for team invites
759
+ ```
760
+
761
+ **Deliverable:** Verification utilities
762
+ **Status:** Ready for implementation
763
+
764
+ ### Cycle 29: Set Up Rate Limiting
765
+
766
+ **Task:** Configure rate limiting for signup, verification
767
+
768
+ **Mutations to rate limit:**
769
+
770
+ - signUp (5 per IP per hour)
771
+ - sendVerificationEmail (5 per email per hour)
772
+ - inviteTeamMember (20 per workspace per day)
773
+ - connectWallet (5 per user per day)
774
+
775
+ **Deliverable:** Rate limiting configured
776
+ **Status:** Ready for implementation
777
+
778
+ ### Cycle 30: Setup Complete - Backend Ready
779
+
780
+ **Task:** Final backend validation before frontend starts
781
+
782
+ **Checklist:**
783
+
784
+ - [ ] All mutations tested locally
785
+ - [ ] All queries working
786
+ - [ ] Email templates rendering
787
+ - [ ] Rate limiting active
788
+ - [ ] Events logging
789
+ - [ ] Schema validated
790
+
791
+ **Deliverable:** Backend production-ready
792
+ **Status:** ✅ Frontend can now start (parallel from Cycle 31)
793
+
794
+ ---
795
+
796
+ ## PHASE 3: FRONTEND COMPONENTS & PAGES (Cycle 31-50)
797
+
798
+ **Specialist:** Agent-Frontend
799
+ **Duration:** 3-4 days (20 cycles)
800
+ **Dependency:** ✅ Phase 2 (backend mutations/queries complete)
801
+ **Blocks:** API routes (Cycle 51-60)
802
+
803
+ ### Cycle 31: Create SignupForm Component
804
+
805
+ **Task:** Build signup form with email/password + OAuth
806
+
807
+ **File to create:** `/web/src/components/onboarding/SignupForm.tsx`
808
+
809
+ **Features:**
810
+
811
+ - Email input (with validation)
812
+ - Password input (with strength meter)
813
+ - "I agree to terms" checkbox
814
+ - OAuth buttons (Google, GitHub, Discord)
815
+ - Error handling
816
+ - Loading state
817
+ - Success redirect
818
+
819
+ **Deliverable:** Working signup form component
820
+ **Status:** Ready for implementation
821
+
822
+ ### Cycle 32: Create EmailVerification Component
823
+
824
+ **Task:** Build 6-digit code input
825
+
826
+ **File to create:** `/web/src/components/onboarding/EmailVerification.tsx`
827
+
828
+ **Features:**
829
+
830
+ - 6 separate input fields (auto-focus, auto-submit)
831
+ - "Check email" message
832
+ - Resend button (with 30s cooldown)
833
+ - Error messages
834
+ - Loading state
835
+ - Success animation
836
+
837
+ **Deliverable:** Email verification component
838
+ **Status:** Ready for implementation
839
+
840
+ ### Cycle 33: Create ProfileForm Component
841
+
842
+ **Task:** Build profile completion form
843
+
844
+ **File to create:** `/web/src/components/onboarding/ProfileForm.tsx`
845
+
846
+ **Fields:**
847
+
848
+ - Avatar upload (preview, drag-drop)
849
+ - Display name
850
+ - Username (with slug preview: one.ie/@username)
851
+ - Bio (textarea, char counter)
852
+ - Niche selection (multi-select)
853
+ - Validation (unique username, bio < 500 chars)
854
+ - Save & Continue button
855
+
856
+ **Deliverable:** Profile form component
857
+ **Status:** Ready for implementation
858
+
859
+ ### Cycle 34: Create WorkspaceSetup Component
860
+
861
+ **Task:** Build workspace creation UI
862
+
863
+ **File to create:** `/web/src/components/onboarding/WorkspaceSetup.tsx`
864
+
865
+ **Options:**
866
+
867
+ - Option A: "I'm solo" → Personal workspace
868
+ - Option B: "I manage a team" → Team workspace setup
869
+ - If team: Name workspace + invite members (email list)
870
+ - Save & Continue button
871
+
872
+ **Deliverable:** Workspace setup component
873
+ **Status:** Ready for implementation
874
+
875
+ ### Cycle 35: Create WalletConnection Component
876
+
877
+ **Task:** Build optional wallet connection UI
878
+
879
+ **File to create:** `/web/src/components/onboarding/WalletConnection.tsx`
880
+
881
+ **Features:**
882
+
883
+ - Why wallet needed (explanation)
884
+ - "Connect Wallet" button
885
+ - Wallet options (MetaMask, Rainbow Kit, WalletConnect)
886
+ - "Skip for now" link
887
+ - Connected state (show address, verified checkmark, disconnect button)
888
+ - Uses wagmi/viem hooks
889
+
890
+ **Deliverable:** Wallet connection component
891
+ **Status:** Ready for implementation
892
+
893
+ ### Cycle 36: Create SkillSelection Component
894
+
895
+ **Task:** Build skill/expertise tagging UI
896
+
897
+ **File to create:** `/web/src/components/onboarding/SkillSelection.tsx`
898
+
899
+ **Features:**
900
+
901
+ - Grouped skill tags (education, fitness, tech, etc)
902
+ - Multi-select (checkboxes)
903
+ - Add custom skill (free text)
904
+ - Save & Continue button
905
+ - Pre-populate from niche if selected
906
+
907
+ **Deliverable:** Skill selection component
908
+ **Status:** Ready for implementation
909
+
910
+ ### Cycle 37: Create OnboardingTour Component
911
+
912
+ **Task:** Build interactive guided tour
913
+
914
+ **File to create:** `/web/src/components/onboarding/OnboardingTour.tsx`
915
+
916
+ **Steps:**
917
+
918
+ 1. Welcome - Intro + features
919
+ 2. Create content - Show editor
920
+ 3. Manage team - Show team page
921
+ 4. Monetize - Show X402 + pricing
922
+ 5. Analytics - Show dashboard
923
+ 6. What's next - Call to action
924
+
925
+ **Features:**
926
+
927
+ - Skip anytime
928
+ - Highlight UI elements
929
+ - Progress indicator (step X of 6)
930
+ - Next/Back buttons
931
+ - Show/hide on demand
932
+
933
+ **Deliverable:** Onboarding tour component
934
+ **Status:** Ready for implementation
935
+
936
+ ### Cycle 38: Create OnboardingChecklist Component
937
+
938
+ **Task:** Build first-day quick wins checklist
939
+
940
+ **File to create:** `/web/src/components/onboarding/OnboardingChecklist.tsx`
941
+
942
+ **Checklist items:**
943
+
944
+ - Profile 80% complete
945
+ - Email verified
946
+ - Workspace created
947
+ - Team member invited (or solo)
948
+ - Wallet connected (encouraged)
949
+ - First skill added
950
+
951
+ **Features:**
952
+
953
+ - Progress bar (X/6 complete)
954
+ - Checkmarks + links to incomplete items
955
+ - Completion reward/badge
956
+ - Show next steps
957
+
958
+ **Deliverable:** Onboarding checklist component
959
+ **Status:** Ready for implementation
960
+
961
+ ### Cycle 39: Create Onboarding Pages (Part 1)
962
+
963
+ **Task:** Build 4 Astro pages for onboarding flow
964
+
965
+ **Files to create:**
966
+
967
+ - `/web/src/pages/onboarding/index.astro` - Main entry
968
+ - `/web/src/pages/onboarding/signup.astro` - Signup form
969
+ - `/web/src/pages/onboarding/verify.astro` - Email verification
970
+ - `/web/src/pages/onboarding/profile.astro` - Profile form
971
+
972
+ **Features:**
973
+
974
+ - All `client:load` (interactive)
975
+ - Form validation
976
+ - Redirect on auth failure
977
+ - Progress indicator
978
+ - Mobile responsive
979
+
980
+ **Deliverable:** 4 onboarding pages
981
+ **Status:** Ready for implementation
982
+
983
+ ### Cycle 40: Create Onboarding Pages (Part 2)
984
+
985
+ **Task:** Build remaining 4 Astro pages
986
+
987
+ **Files to create:**
988
+
989
+ - `/web/src/pages/onboarding/workspace.astro` - Workspace setup
990
+ - `/web/src/pages/onboarding/wallet.astro` - Wallet connection
991
+ - `/web/src/pages/onboarding/skills.astro` - Skill selection
992
+ - `/web/src/pages/onboarding/complete.astro` - Success + tour
993
+
994
+ **Features:**
995
+
996
+ - All `client:load`
997
+ - Progress tracking
998
+ - Skip options
999
+ - Redirect to dashboard when complete
1000
+ - Mobile responsive
1001
+
1002
+ **Deliverable:** 4 more onboarding pages
1003
+ **Status:** Ready for implementation
1004
+
1005
+ ### Cycle 41: Create Team Management Page
1006
+
1007
+ **Task:** Build workspace settings page for team management
1008
+
1009
+ **File to create:** `/web/src/pages/workspace/settings/team.astro`
1010
+
1011
+ **Sections:**
1012
+
1013
+ - Members list (table)
1014
+ - Invite new member form
1015
+ - Pending invitations
1016
+ - Member role/permissions modal
1017
+ - Remove member button
1018
+
1019
+ **Actions:**
1020
+
1021
+ - Invite by email
1022
+ - Change member role
1023
+ - Remove member
1024
+ - Resend invitation
1025
+ - View activity
1026
+
1027
+ **Deliverable:** Team management page
1028
+ **Status:** Ready for implementation
1029
+
1030
+ ### Cycle 42: Create Avatar Upload Component
1031
+
1032
+ **Task:** Build avatar upload with preview
1033
+
1034
+ **File to create:** `/web/src/components/onboarding/AvatarUpload.tsx`
1035
+
1036
+ **Features:**
1037
+
1038
+ - Drag-drop + click upload
1039
+ - Image preview
1040
+ - Cropping (optional)
1041
+ - Size validation (< 5MB)
1042
+ - Format validation (jpg, png, webp)
1043
+ - Upload to cloud storage
1044
+
1045
+ **Deliverable:** Avatar upload component
1046
+ **Status:** Ready for implementation
1047
+
1048
+ ### Cycle 43: Create Niche Selection Component
1049
+
1050
+ **Task:** Build niche/category multi-select
1051
+
1052
+ **File to create:** `/web/src/components/onboarding/NicheSelection.tsx`
1053
+
1054
+ **Features:**
1055
+
1056
+ - Grouped categories (fitness, education, tech, etc)
1057
+ - Multi-select (checkboxes)
1058
+ - Descriptions on hover
1059
+ - Search/filter
1060
+ - Pre-population logic
1061
+
1062
+ **Deliverable:** Niche selection component
1063
+ **Status:** Ready for implementation
1064
+
1065
+ ### Cycle 44: Create Loading States
1066
+
1067
+ **Task:** Add loading spinners + skeleton screens
1068
+
1069
+ **Components:**
1070
+
1071
+ - Form submit spinner
1072
+ - Email sending indicator
1073
+ - Page loading skeleton
1074
+ - Image upload progress
1075
+
1076
+ **Deliverable:** Loading components
1077
+ **Status:** Ready for implementation
1078
+
1079
+ ### Cycle 45: Create Error Handling
1080
+
1081
+ **Task:** Build error display + recovery UI
1082
+
1083
+ **Features:**
1084
+
1085
+ - Error toast notifications
1086
+ - Field-level error messages
1087
+ - Retry buttons
1088
+ - Clear error messaging
1089
+ - Helpful recovery steps
1090
+
1091
+ **Deliverable:** Error handling components
1092
+ **Status:** Ready for implementation
1093
+
1094
+ ### Cycle 46: Create Success Animations
1095
+
1096
+ **Task:** Add celebration animations
1097
+
1098
+ **Animations:**
1099
+
1100
+ - Email verified checkmark
1101
+ - Workspace created success
1102
+ - Profile completed celebration
1103
+ - Full onboarding completion confetti
1104
+
1105
+ **Deliverable:** Success animation components
1106
+ **Status:** Ready for implementation
1107
+
1108
+ ### Cycle 47: Create Mobile Responsive Design
1109
+
1110
+ **Task:** Optimize all components for mobile
1111
+
1112
+ **Checklist:**
1113
+
1114
+ - [ ] All forms mobile-friendly
1115
+ - [ ] Avatar upload works on mobile
1116
+ - [ ] Code input optimized for mobile keyboard
1117
+ - [ ] Buttons large enough (48px min)
1118
+ - [ ] Text readable on small screens
1119
+ - [ ] No horizontal scroll
1120
+
1121
+ **Deliverable:** Mobile-optimized components
1122
+ **Status:** Ready for implementation
1123
+
1124
+ ### Cycle 48: Create Accessibility Features
1125
+
1126
+ **Task:** Add WCAG 2.1 AA compliance
1127
+
1128
+ **Features:**
1129
+
1130
+ - Proper labels + aria-labels
1131
+ - Keyboard navigation
1132
+ - Color contrast (4.5:1 minimum)
1133
+ - Focus indicators
1134
+ - Reduced motion support
1135
+ - Screen reader friendly
1136
+
1137
+ **Deliverable:** Accessible components
1138
+ **Status:** Ready for implementation
1139
+
1140
+ ### Cycle 49: Create Dark Mode Support
1141
+
1142
+ **Task:** Add dark theme support
1143
+
1144
+ **Features:**
1145
+
1146
+ - Color scheme aware
1147
+ - Stored preference
1148
+ - System preference detection
1149
+ - Toggle in settings
1150
+
1151
+ **Deliverable:** Dark mode theme
1152
+ **Status:** Ready for implementation
1153
+
1154
+ ### Cycle 50: Frontend Complete - Ready for API
1155
+
1156
+ **Task:** Final frontend validation
1157
+
1158
+ **Checklist:**
1159
+
1160
+ - [ ] All 8 onboarding pages working
1161
+ - [ ] Team management page working
1162
+ - [ ] All components rendering
1163
+ - [ ] Mobile responsive
1164
+ - [ ] Accessibility compliant
1165
+ - [ ] Ready to connect to API routes
1166
+
1167
+ **Deliverable:** Production-ready frontend
1168
+ **Status:** ✅ Ready for API routes (Cycle 51)
1169
+
1170
+ ---
1171
+
1172
+ ## PHASE 4: API ROUTES & INTEGRATION (Cycle 51-80)
1173
+
1174
+ **Specialist:** Agent-Integration / Agent-Backend
1175
+ **Duration:** 3-4 days (30 cycles)
1176
+ **Dependency:** ✅ Phase 2 (backend) + Phase 3 (frontend) complete
1177
+ **Blocks:** Testing (Cycle 81-90)
1178
+
1179
+ ### Cycle 51-60: Create API Routes
1180
+
1181
+ **Task:** Build HTTP endpoints connecting frontend to backend
1182
+
1183
+ **Routes to create:**
1184
+
1185
+ ```
1186
+ /api/auth/signup POST Register new user
1187
+ /api/auth/verify-email POST Verify email with code
1188
+ /api/auth/resend-verification POST Resend verification code
1189
+ /api/auth/login POST Login (email/password)
1190
+
1191
+ /api/profile/get GET Get current user profile
1192
+ /api/profile/update POST Update profile
1193
+ /api/profile/upload-avatar POST Upload avatar image
1194
+
1195
+ /api/workspace/create POST Create workspace
1196
+ /api/workspace/list GET List user's workspaces
1197
+ /api/workspace/[id]/get GET Get workspace details
1198
+ /api/workspace/[id]/update POST Update workspace
1199
+
1200
+ /api/team/invite POST Invite team member
1201
+ /api/team/accept-invitation POST Accept invite (with token)
1202
+ /api/team/[workspace]/members GET List workspace members
1203
+ /api/team/[workspace]/pending GET List pending invitations
1204
+ /api/team/[workspace]/role POST Change member role
1205
+ /api/team/[workspace]/remove POST Remove team member
1206
+
1207
+ /api/wallet/connect POST Connect crypto wallet
1208
+ /api/wallet/verify POST Verify wallet signature
1209
+
1210
+ /api/skills/add POST Add skills to creator
1211
+ /api/skills/list GET Get available skills
1212
+
1213
+ /api/onboarding/status GET Get onboarding progress
1214
+ /api/onboarding/step POST Update onboarding step
1215
+ ```
1216
+
1217
+ Each route:
1218
+
1219
+ - Validates input
1220
+ - Calls Convex mutation/query
1221
+ - Handles errors
1222
+ - Returns JSON
1223
+ - Logs events
1224
+
1225
+ **Deliverable:** All API routes functional
1226
+ **Status:** Ready for implementation
1227
+
1228
+ ### Cycle 61-70: Email System Setup
1229
+
1230
+ **Task:** Configure email sending with Resend
1231
+
1232
+ **Setup:**
1233
+
1234
+ - Resend API key configured
1235
+ - Email templates created
1236
+ - Verification code system
1237
+ - Rate limiting (prevent spam)
1238
+ - Tracking (opens, clicks)
1239
+
1240
+ **Emails sent:**
1241
+
1242
+ 1. Welcome email (after signup)
1243
+ 2. Verification code (6-digit)
1244
+ 3. Team invitation
1245
+ 4. Password reset
1246
+ 5. Onboarding reminder (if abandoned)
1247
+
1248
+ **Deliverable:** Email system ready
1249
+ **Status:** Ready for implementation
1250
+
1251
+ ### Cycle 71-80: Integration Testing
1252
+
1253
+ **Task:** Test frontend → API → backend → database flow
1254
+
1255
+ **Test scenarios:**
1256
+
1257
+ 1. Signup flow (email + password)
1258
+ 2. Email verification
1259
+ 3. Profile completion
1260
+ 4. Workspace creation
1261
+ 5. Team invitation + acceptance
1262
+ 6. Wallet connection
1263
+ 7. Skill tagging
1264
+ 8. Full journey (signup to dashboard)
1265
+
1266
+ **Each scenario:**
1267
+
1268
+ - Test happy path
1269
+ - Test error cases
1270
+ - Test validation
1271
+ - Test rate limiting
1272
+ - Verify events logged
1273
+ - Verify database state
1274
+
1275
+ **Deliverable:** Integration tests passing
1276
+ **Status:** Ready for implementation
1277
+
1278
+ ---
1279
+
1280
+ ## PHASE 5: TESTING & QUALITY (Cycle 81-90)
1281
+
1282
+ **Specialist:** Agent-Quality
1283
+ **Duration:** 2-3 days (10 cycles)
1284
+ **Dependency:** ✅ Phase 4 complete
1285
+ **Blocks:** Documentation (Cycle 91-100)
1286
+
1287
+ ### Cycle 81-82: Unit Tests (Backend)
1288
+
1289
+ **Task:** Test mutations, queries, services in isolation
1290
+
1291
+ **Coverage:**
1292
+
1293
+ - Onboarding service (all methods)
1294
+ - Verification system
1295
+ - Rate limiting
1296
+ - Email generation
1297
+
1298
+ **Target:** 90%+ coverage
1299
+
1300
+ **Deliverable:** Unit tests passing
1301
+ **Status:** Ready for implementation
1302
+
1303
+ ### Cycle 83-84: Unit Tests (Frontend)
1304
+
1305
+ **Task:** Test React components in isolation
1306
+
1307
+ **Coverage:**
1308
+
1309
+ - SignupForm validation
1310
+ - EmailVerification logic
1311
+ - ProfileForm validation
1312
+ - WorkspaceSetup routing
1313
+ - All form components
1314
+
1315
+ **Target:** 85%+ coverage
1316
+
1317
+ **Deliverable:** Frontend unit tests passing
1318
+ **Status:** Ready for implementation
1319
+
1320
+ ### Cycle 85-86: Integration Tests
1321
+
1322
+ **Task:** Test full signup → dashboard flow
1323
+
1324
+ **Scenarios:**
1325
+
1326
+ 1. Complete signup in < 10 minutes
1327
+ 2. Verify email delivery timing
1328
+ 3. Workspace creation triggers event
1329
+ 4. Team invitation generates token
1330
+ 5. Skill tagging links to knowledge
1331
+
1332
+ **Deliverable:** Integration tests passing
1333
+ **Status:** Ready for implementation
1334
+
1335
+ ### Cycle 87-88: E2E Tests
1336
+
1337
+ **Task:** Test full user journey in browser
1338
+
1339
+ **Scenarios:**
1340
+
1341
+ 1. New user signup → dashboard access
1342
+ 2. Team member invitation → acceptance → join workspace
1343
+ 3. Wallet connection flow
1344
+ 4. Onboarding checklist completion
1345
+
1346
+ **Tools:** Playwright or Cypress
1347
+
1348
+ **Deliverable:** E2E tests passing
1349
+ **Status:** Ready for implementation
1350
+
1351
+ ### Cycle 89: Security + Accessibility Audit
1352
+
1353
+ **Task:** Verify security + accessibility compliance
1354
+
1355
+ **Security checks:**
1356
+
1357
+ - SQL injection prevention
1358
+ - XSS protection
1359
+ - CSRF tokens
1360
+ - Password hashing
1361
+ - Email verification required before action
1362
+
1363
+ **Accessibility checks:**
1364
+
1365
+ - WCAG 2.1 AA compliance
1366
+ - Keyboard navigation
1367
+ - Screen reader testing
1368
+ - Color contrast
1369
+ - Focus management
1370
+
1371
+ **Deliverable:** Audit report + fixes
1372
+ **Status:** Ready for implementation
1373
+
1374
+ ### Cycle 90: Performance Audit
1375
+
1376
+ **Task:** Verify performance targets met
1377
+
1378
+ **Metrics:**
1379
+
1380
+ - Page load: < 2s
1381
+ - Form submit: < 1s
1382
+ - Email delivery: < 30s
1383
+ - Mobile performance: 70%+ of desktop
1384
+ - Lighthouse score: > 85
1385
+
1386
+ **Deliverable:** Performance report
1387
+ **Status:** Ready for implementation
1388
+
1389
+ ---
1390
+
1391
+ ## PHASE 6: DEPLOYMENT & DOCUMENTATION (Cycle 91-100)
1392
+
1393
+ **Specialist:** Agent-Ops + Agent-Documenter
1394
+ **Duration:** 1-2 days (10 cycles)
1395
+ **Dependency:** ✅ Phase 5 complete
1396
+
1397
+ ### Cycle 91-92: Create User Documentation
1398
+
1399
+ **Files:**
1400
+
1401
+ - `/docs/getting-started.md` - For new creators
1402
+ - `/docs/onboarding-guide.md` - Step-by-step walkthrough
1403
+ - `/docs/team-management.md` - How to manage team
1404
+ - `/docs/troubleshooting.md` - Common issues + fixes
1405
+
1406
+ **Deliverable:** User guides complete
1407
+ **Status:** Ready for implementation
1408
+
1409
+ ### Cycle 93-94: Create API Documentation
1410
+
1411
+ **Files:**
1412
+
1413
+ - `/docs/api/auth.md` - Auth endpoints
1414
+ - `/docs/api/profile.md` - Profile endpoints
1415
+ - `/docs/api/workspace.md` - Workspace endpoints
1416
+ - `/docs/api/team.md` - Team endpoints
1417
+ - `/docs/api/errors.md` - Error codes + meanings
1418
+
1419
+ **Content:**
1420
+
1421
+ - Endpoint description
1422
+ - Request/response examples
1423
+ - Curl examples
1424
+ - Error codes
1425
+ - Rate limits
1426
+
1427
+ **Deliverable:** API docs complete
1428
+ **Status:** Ready for implementation
1429
+
1430
+ ### Cycle 95: Create Developer Setup Guide
1431
+
1432
+ **File:** `/docs/developer-setup.md`
1433
+
1434
+ **Content:**
1435
+
1436
+ - Clone repo
1437
+ - Install dependencies
1438
+ - Environment variables
1439
+ - Run dev server
1440
+ - Run tests
1441
+ - Deploy to staging
1442
+
1443
+ **Deliverable:** Setup guide complete
1444
+ **Status:** Ready for implementation
1445
+
1446
+ ### Cycle 96: Create Deployment Checklist
1447
+
1448
+ **File:** `/DEPLOYMENT.md`
1449
+
1450
+ **Checklist:**
1451
+
1452
+ - [ ] All tests passing
1453
+ - [ ] Security audit passed
1454
+ - [ ] Performance targets met
1455
+ - [ ] Accessibility compliant
1456
+ - [ ] Staging environment tested
1457
+ - [ ] Monitoring configured
1458
+ - [ ] Rollback plan ready
1459
+ - [ ] Customer notification sent
1460
+ - [ ] Analytics tracking active
1461
+
1462
+ **Deliverable:** Deployment ready
1463
+ **Status:** Ready for implementation
1464
+
1465
+ ### Cycle 97-98: Deploy to Production
1466
+
1467
+ **Task:** Deploy backend + frontend to production
1468
+
1469
+ **Steps:**
1470
+
1471
+ 1. Deploy backend to Convex Cloud
1472
+ 2. Deploy frontend to Cloudflare Pages
1473
+ 3. Run smoke tests in production
1474
+ 4. Monitor for errors
1475
+ 5. Track key metrics
1476
+
1477
+ **Deliverable:** Live production deployment
1478
+ **Status:** Ready for implementation
1479
+
1480
+ ### Cycle 99: Monitor + Optimize
1481
+
1482
+ **Task:** Monitor production for issues
1483
+
1484
+ **Metrics to track:**
1485
+
1486
+ - Signup completion rate
1487
+ - Email delivery rate
1488
+ - API error rate
1489
+ - Page load performance
1490
+ - User feedback
1491
+
1492
+ **Optimizations:**
1493
+
1494
+ - Fix any performance issues
1495
+ - Improve UX based on usage
1496
+ - Fix any bugs found
1497
+
1498
+ **Deliverable:** Monitoring active
1499
+ **Status:** Ready for implementation
1500
+
1501
+ ### Cycle 100: Wave 1 Complete - Lessons Learned
1502
+
1503
+ **Task:** Document lessons for Wave 2
1504
+
1505
+ **Document:**
1506
+
1507
+ - What worked well
1508
+ - What was harder than expected
1509
+ - What would improve next time
1510
+ - Infrastructure learnings
1511
+ - Team productivity notes
1512
+
1513
+ **Deliverable:** Lessons learned document
1514
+ **Status:** Ready for implementation
1515
+
1516
+ ---
1517
+
1518
+ ## Parallel Execution Strategy
1519
+
1520
+ Some phases can run **simultaneously** (not sequentially):
1521
+
1522
+ ```
1523
+ Timeline:
1524
+
1525
+ Day 1-2: Cycle 1-10 (Foundation)
1526
+ └─ All specialists align on ontology
1527
+
1528
+ Day 3: Cycle 11-20 (Backend schema)
1529
+ └─ Only backend specialist
1530
+
1531
+ Day 4-5: Cycle 21-30 (Backend mutations + Cycle 31-50 (Frontend components)
1532
+ └─ Backend + Frontend IN PARALLEL
1533
+ ├─ Backend: Finish mutations/queries
1534
+ └─ Frontend: Build components
1535
+
1536
+ Day 6: Cycle 51-70 (API routes + Email)
1537
+ └─ Integration specialist starts
1538
+ └─ Backend: API route creation
1539
+ └─ Frontend: Component completion
1540
+
1541
+ Day 7: Cycle 71-80 (Integration testing)
1542
+ └─ All work tested together
1543
+
1544
+ Day 8: Cycle 81-90 (Quality + Security)
1545
+ └─ Quality specialist validates
1546
+
1547
+ Day 9-10: Cycle 91-100 (Deployment + Docs)
1548
+ └─ Deploy to production
1549
+ └─ Create user/API documentation
1550
+
1551
+ TOTAL: 10 days (more like 1.5 weeks with buffers)
1552
+ ```
1553
+
1554
+ **Key:** Backend must be ready by Day 6 before API routes. Frontend must be ready by Day 5 for API integration.
1555
+
1556
+ ---
1557
+
1558
+ ## Specialist Assignments
1559
+
1560
+ ### Agent-Backend (Cycle 11-30 + 51-70)
1561
+
1562
+ **40 cycles total**
1563
+
1564
+ - Schema updates (Cycle 11-16)
1565
+ - Onboarding service (Cycle 17)
1566
+ - All mutations (Cycle 18-25)
1567
+ - All queries (Cycle 26)
1568
+ - Email templates (Cycle 27)
1569
+ - Verification system (Cycle 28)
1570
+ - Rate limiting (Cycle 29)
1571
+ - API route creation (Cycle 51-60)
1572
+ - Email system setup (Cycle 61-70)
1573
+
1574
+ ### Agent-Frontend (Cycle 31-50)
1575
+
1576
+ **20 cycles total**
1577
+
1578
+ - All 8 onboarding components (Cycle 31-38)
1579
+ - 8 onboarding pages (Cycle 39-40)
1580
+ - Team management page (Cycle 41)
1581
+ - Avatar upload (Cycle 42)
1582
+ - Niche selection (Cycle 43)
1583
+ - Loading states (Cycle 44)
1584
+ - Error handling (Cycle 45)
1585
+ - Success animations (Cycle 46)
1586
+ - Mobile responsive (Cycle 47)
1587
+ - Accessibility (Cycle 48)
1588
+ - Dark mode (Cycle 49)
1589
+ - Final validation (Cycle 50)
1590
+
1591
+ ### Agent-Quality (Cycle 81-90)
1592
+
1593
+ **10 cycles total**
1594
+
1595
+ - Backend unit tests (Cycle 81-82)
1596
+ - Frontend unit tests (Cycle 83-84)
1597
+ - Integration tests (Cycle 85-86)
1598
+ - E2E tests (Cycle 87-88)
1599
+ - Security + accessibility audit (Cycle 89)
1600
+ - Performance audit (Cycle 90)
1601
+
1602
+ ### Agent-Ops / Agent-Documenter (Cycle 91-100)
1603
+
1604
+ **10 cycles total**
1605
+
1606
+ - User documentation (Cycle 91-92)
1607
+ - API documentation (Cycle 93-94)
1608
+ - Developer setup (Cycle 95)
1609
+ - Deployment checklist (Cycle 96)
1610
+ - Production deployment (Cycle 97-98)
1611
+ - Monitoring (Cycle 99)
1612
+ - Lessons learned (Cycle 100)
1613
+
1614
+ ### Agent-Director (Orchestrator)
1615
+
1616
+ **Throughout**
1617
+
1618
+ - Progress tracking
1619
+ - Blocker resolution
1620
+ - Specialist coordination
1621
+ - Event logging
1622
+ - Completion validation
1623
+
1624
+ ---
1625
+
1626
+ ## Success Criteria for Wave 1 Complete
1627
+
1628
+ All of these must be ✅ before Wave 1 is marked done:
1629
+
1630
+ - ✅ User can register with email + password
1631
+ - ✅ OAuth signup works (Google, GitHub, Discord)
1632
+ - ✅ Email verification working (code sent + verified)
1633
+ - ✅ Profile form complete + avatar upload
1634
+ - ✅ Workspace creation working
1635
+ - ✅ Team member invitations working (send + accept)
1636
+ - ✅ Wallet connection optional but functional
1637
+ - ✅ Skills/expertise tagging working
1638
+ - ✅ Onboarding status tracked (events logged)
1639
+ - ✅ 80%+ of test users complete flow
1640
+ - ✅ Average time < 15 minutes
1641
+ - ✅ Mobile-responsive (70%+ desktop conversion)
1642
+ - ✅ WCAG 2.1 AA accessibility
1643
+ - ✅ New creator can access dashboard
1644
+ - ✅ Team features tested + working
1645
+ - ✅ Complete audit trail (all events logged)
1646
+ - ✅ API documented
1647
+ - ✅ User guides created
1648
+ - ✅ Deployment checklist complete
1649
+ - ✅ Live in production
1650
+
1651
+ ---
1652
+
1653
+ ## Risk Mitigation
1654
+
1655
+ **Potential blockers & solutions:**
1656
+
1657
+ | Risk | Likelihood | Impact | Mitigation |
1658
+ | ---------------------------------- | ---------- | ------ | -------------------------------------- |
1659
+ | Better Auth integration complexity | Medium | High | Have 2 backend specialists ready |
1660
+ | Email delivery delays | Low | Medium | Use Resend sandbox for testing |
1661
+ | Rate limiting issues | Low | Medium | Start simple, iterate based on testing |
1662
+ | Mobile UI responsive issues | Medium | Medium | Test early + often on real devices |
1663
+ | Database performance | Low | Medium | Index optimization, pre-optimize |
1664
+ | Security vulnerabilities | Low | High | Early security audit, follow OWASP |
1665
+
1666
+ ---
1667
+
1668
+ ## Estimated Resource Requirements
1669
+
1670
+ | Resource | Quantity | Days |
1671
+ | ----------------------- | -------- | ------------------ |
1672
+ | Backend Specialist | 1 | 10 days |
1673
+ | Frontend Specialist | 1 | 10 days |
1674
+ | Quality Specialist | 1 | 3 days |
1675
+ | Designer/Documenter | 1 | 5 days |
1676
+ | Orchestrator (Director) | 1 | 10 days |
1677
+ | **Total Person-Days** | **5** | **38 person-days** |
1678
+
1679
+ **Actual Calendar Time:** 10-12 days (due to parallelization)
1680
+
1681
+ ---
1682
+
1683
+ **Status:** Ready for implementation
1684
+ **Approved:** Engineering Director
1685
+ **Start Date:** Immediate (Cycle 1)
1686
+ **Expected Completion:** +10-12 calendar days