oneie 3.6.12 → 3.6.14

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 (775) 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 +164 -1
  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 +99 -69
  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/release.md +3 -1
  22. package/.claude/commands/server.md +64 -5
  23. package/.claude/hooks/README-knowledge-hooks.md +266 -80
  24. package/.claude/hooks/README-root-cleanup.md +200 -0
  25. package/.claude/hooks/README.md +284 -0
  26. package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
  27. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  28. package/.claude/hooks/check-filenames.py +169 -32
  29. package/.claude/hooks/clean-post.py +195 -28
  30. package/.claude/hooks/clean-pre.py +96 -11
  31. package/.claude/hooks/done.py +74 -13
  32. package/.claude/hooks/format-hook.sh +105 -17
  33. package/.claude/hooks/hook-logger.sh +121 -7
  34. package/.claude/hooks/knowledge-post.py +136 -32
  35. package/.claude/hooks/knowledge-pre.py +129 -34
  36. package/.claude/hooks/notification-hook.sh +184 -17
  37. package/.claude/hooks/root-cleanup.py +181 -39
  38. package/.claude/hooks/security-hook.sh +248 -8
  39. package/.claude/hooks/tag-all-docs.py +175 -49
  40. package/.claude/hooks/test-validate-ontology.sh +170 -0
  41. package/.claude/hooks/todo.py +92 -22
  42. package/.claude/hooks/validate-ontology-structure-summary.md +243 -0
  43. package/.claude/hooks/validate-ontology-structure.py +83 -20
  44. package/AGENTS.md +60 -245
  45. package/CLAUDE.md +70 -1
  46. package/README.md +25 -0
  47. package/folders.yaml +1 -1
  48. package/one/.claude/settings.local.json +11 -0
  49. package/one/.obsidian/community-plugins.json +3 -1
  50. package/one/.obsidian/plugins/editing-toolbar/data.json +328 -0
  51. package/one/.obsidian/plugins/editing-toolbar/main.js +12 -0
  52. package/one/.obsidian/plugins/editing-toolbar/manifest.json +10 -0
  53. package/one/.obsidian/plugins/editing-toolbar/styles.css +1338 -0
  54. package/one/.obsidian/plugins/terminal/data.json +154 -0
  55. package/one/.obsidian/plugins/terminal/main.js +197 -0
  56. package/one/.obsidian/plugins/terminal/manifest.json +14 -0
  57. package/one/.obsidian/plugins/terminal/styles.css +32 -0
  58. package/one/.obsidian/workspace.json +71 -45
  59. package/one/README.md +18 -0
  60. package/one/connections/a2a.md +49 -0
  61. package/one/connections/acp.md +47 -0
  62. package/one/connections/acps.md +18 -0
  63. package/one/connections/agentkit.md +18 -0
  64. package/one/connections/agui.md +18 -0
  65. package/one/connections/any-backend.md +39 -21
  66. package/one/connections/ap2.md +74 -0
  67. package/one/connections/api/queries-reference.md +18 -0
  68. package/one/connections/api-docs.md +18 -0
  69. package/one/connections/api-reference.md +18 -0
  70. package/one/connections/api.md +18 -0
  71. package/one/connections/architecture-diagram.md +18 -0
  72. package/one/connections/communications.md +18 -0
  73. package/one/connections/connections.md +18 -0
  74. package/one/connections/copilotkit.md +18 -0
  75. package/one/connections/cryptonetworks.md +18 -0
  76. package/one/connections/documentation.md +18 -0
  77. package/one/connections/effect.md +18 -0
  78. package/one/connections/elizaos.md +18 -0
  79. package/one/connections/groups.md +814 -0
  80. package/one/connections/inference.md +18 -0
  81. package/one/connections/integration-examples.md +18 -0
  82. package/one/connections/integration-guide.md +18 -0
  83. package/one/connections/integration-phase2.md +32 -14
  84. package/one/connections/kyc.md +18 -0
  85. package/one/connections/mcp.md +18 -0
  86. package/one/connections/membership.md +18 -0
  87. package/one/connections/middleware.md +18 -0
  88. package/one/connections/multitenant.md +18 -0
  89. package/one/connections/n8n.md +18 -0
  90. package/one/connections/patterns.md +18 -0
  91. package/one/connections/protocols.md +20 -2
  92. package/one/connections/relationships.md +18 -0
  93. package/one/connections/schema.md +18 -0
  94. package/one/connections/service-layer.md +18 -0
  95. package/one/connections/vectors.md +18 -0
  96. package/one/connections/wordpress.md +18 -0
  97. package/one/connections/workflow-copy.md +18 -0
  98. package/one/connections/workflow-examples.md +18 -0
  99. package/one/connections/workflow-onboarding.md +18 -0
  100. package/one/connections/workflow.md +18 -0
  101. package/one/connections/workflows/delegation.md +18 -0
  102. package/one/connections/workflows/frontend.md +18 -0
  103. package/one/connections/workflows/strategy.md +18 -0
  104. package/one/connections/workflows/tasks.md +18 -0
  105. package/one/connections/x402-baazar.md +131 -0
  106. package/one/connections/x402.md +268 -164
  107. package/one/events/2024-10-14-deployment-plan.md +15 -16
  108. package/one/events/2024-10-14-deployment-success.md +15 -16
  109. package/one/events/2024-10-14-final-sync-complete.md +15 -16
  110. package/one/events/2024-10-14-release-v2.0.6.md +15 -16
  111. package/one/events/2024-10-15-agent-clean-v2-summary.md +15 -16
  112. package/one/events/2024-10-15-handoff-to-clean.md +15 -16
  113. package/one/events/2024-10-15-package-manager-tests.md +15 -16
  114. package/one/events/2024-10-15-release-command-complete.md +15 -16
  115. package/one/events/2025-10-15-private-files-secured.md +18 -0
  116. package/one/events/2025-10-15-unignore-public-group-docs.md +18 -0
  117. package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +335 -0
  118. package/one/events/ALIGNMENT_SUMMARY.md +280 -0
  119. package/one/events/API_ROUTES_FIXES_SUMMARY.md +18 -0
  120. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +18 -0
  121. package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +598 -0
  122. package/one/events/BEFORE_AFTER_COMPARISON.md +18 -0
  123. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +18 -0
  124. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +18 -0
  125. package/one/events/CLAUDE copy.md +897 -0
  126. package/one/events/CLEANUP-RELEASE-V2.0.8.md +18 -0
  127. package/one/events/CONNECTIONS_DEMO.md +18 -0
  128. package/one/events/CREATE-WEBSITE.md +18 -0
  129. package/one/events/CRITICAL-FIXES-COMPLETE.md +18 -0
  130. package/one/events/CUSTOM-DOMAIN.md +18 -0
  131. package/one/events/DELIVERABLES.md +18 -0
  132. package/one/events/DEMO-GROUPS-PAGE.md +18 -0
  133. package/one/events/DEMO-TESTING-SUMMARY.md +18 -0
  134. package/one/events/DEMO_COMPONENTS.md +18 -0
  135. package/one/events/DEMO_HOOKS_INDEX.md +18 -0
  136. package/one/events/DEMO_INFRASTRUCTURE.md +18 -0
  137. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +18 -0
  138. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +18 -0
  139. package/one/events/DEMO_QUICK_REFERENCE.md +18 -0
  140. package/one/events/DEMO_SETUP.md +18 -0
  141. package/one/events/DEPLOYMENT copy.md +18 -0
  142. package/one/events/DEPLOYMENT.md +18 -0
  143. package/one/events/ECOMMERCE-BEFORE-AFTER.md +16 -0
  144. package/one/events/ECOMMERCE-DEMO-PLAN.md +18 -0
  145. package/one/events/ECOMMERCE-ENHANCEMENTS.md +18 -0
  146. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +18 -0
  147. package/one/events/ECOMMERCE-LIVE-DEMO.md +18 -0
  148. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +18 -0
  149. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +18 -0
  150. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +18 -0
  151. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +18 -0
  152. package/one/events/EFFECT_TS_API_PATTERN.md +18 -0
  153. package/one/events/FEATURE-2-4-COMPLETE.md +18 -0
  154. package/one/events/FEATURE_2_3_COMPLETE.md +18 -0
  155. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +18 -0
  156. package/one/events/GROUPS-MIGRATION.md +18 -0
  157. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +18 -0
  158. package/one/events/HANDOFF.md +18 -0
  159. package/one/events/HOOKS-DEMO.md +18 -0
  160. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +18 -0
  161. package/one/events/IMPLEMENTATION_SUMMARY.md +18 -0
  162. package/one/events/INSTALL-TESTS.md +18 -0
  163. package/one/events/INSTALLATION_FOLDERS.md +18 -0
  164. package/one/events/INSTALLATION_FOLDERS_FILES.md +18 -0
  165. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +18 -0
  166. package/one/events/INTEGRATION-ARCHITECTURE.md +18 -0
  167. package/one/events/INTEGRATION-CHECKLIST.md +18 -0
  168. package/one/events/INTEGRATION-ORCHESTRATION.md +18 -0
  169. package/one/events/INTEGRATION-SUMMARY.md +18 -0
  170. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +18 -0
  171. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +18 -0
  172. package/one/events/LANDING-PAGE-QUICKSTART.md +18 -0
  173. package/one/events/LICENSE.md +18 -0
  174. package/one/events/MCP-CONFIGURATION.md +18 -0
  175. package/one/events/MCP-SETUP-COMPLETE.md +18 -0
  176. package/one/events/MIGRATION-REPORT.md +18 -0
  177. package/one/events/MIGRATION.md +18 -0
  178. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +18 -0
  179. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +18 -0
  180. package/one/events/NODE-UPGRADE.md +18 -0
  181. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +18 -0
  182. package/one/events/ONTOLOGY-HOOKS-README.md +18 -0
  183. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +18 -0
  184. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +18 -0
  185. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +18 -0
  186. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +18 -0
  187. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +18 -0
  188. package/one/events/PACKAGE-STRUCTURE.md +18 -0
  189. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +18 -0
  190. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +18 -0
  191. package/one/events/QA-CHECKLIST.md +18 -0
  192. package/one/events/QUICK-START-ONTOLOGY.md +18 -0
  193. package/one/events/README-archived.md +18 -0
  194. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +18 -0
  195. package/one/events/SEARCH_DEMO_DELIVERY.md +18 -0
  196. package/one/events/SEARCH_DEMO_SUMMARY.md +18 -0
  197. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +18 -0
  198. package/one/events/SECURITY-AUDIT-FIXES.md +18 -0
  199. package/one/events/SECURITY-SCAN-COMPLETE.md +18 -0
  200. package/one/events/SHOP-BUILD-STATUS.md +18 -0
  201. package/one/events/SHOP-PREMIUM-UPDATE.md +16 -0
  202. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +18 -0
  203. package/one/events/SITE-WIDE-GRADIENT-FIX.md +18 -0
  204. package/one/events/STORE-PRODUCTION-READY-STATUS.md +18 -0
  205. package/one/events/STRIPE-INTEGRATION.md +18 -0
  206. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +18 -0
  207. package/one/events/STRIPE-SETUP-GUIDE.md +18 -0
  208. package/one/events/TEST-PLAN-INDEX.md +18 -0
  209. package/one/events/TEST-PLAN.md +18 -0
  210. package/one/events/TEST-SUMMARY.md +18 -0
  211. package/one/events/TESTS-QUICK-REF.md +18 -0
  212. package/one/events/TRANSITIONS-QUICK-START.md +18 -0
  213. package/one/events/TRANSPARENCY-FIXES.md +18 -0
  214. package/one/events/TYPESCRIPT_FIXES.md +18 -0
  215. package/one/events/TYPESCRIPT_FIXES_INDEX.md +18 -0
  216. package/one/events/VIEW-TRANSITIONS.md +18 -0
  217. package/one/events/agent-director-enhancement-summary.md +18 -0
  218. package/one/events/agent-onboard-implementation-summary.md +18 -0
  219. package/one/events/agent-ontology-alignment-completion.md +263 -0
  220. package/one/events/backend-integration-tests.md +18 -0
  221. package/one/events/clean-agent-ontology-cleanup-report.md +18 -0
  222. package/one/events/clean-agent-todo-analysis-summary.md +336 -0
  223. package/one/events/cloudflare-automation-complete.md +18 -0
  224. package/one/events/cloudflare-pages-infrastructure-setup.md +18 -0
  225. package/one/events/contact-page-complete.md +18 -0
  226. package/one/events/convex-analysis-index.md +18 -0
  227. package/one/events/convex-structure-analysis.md +18 -0
  228. package/one/events/deployment-installation-folders.md +18 -0
  229. package/one/events/deployment-ops-summary.md +18 -0
  230. package/one/events/deployment-verification.md +18 -0
  231. package/one/events/design-spec-complete.md +18 -0
  232. package/one/events/documentation-audit-index.md +473 -0
  233. package/one/events/documentation-audit-summary.md +417 -0
  234. package/one/events/documentation-improvement-roadmap.md +906 -0
  235. package/one/events/documentation-standards-compliance-report.md +538 -0
  236. package/one/events/events.md +18 -0
  237. package/one/events/frontend-effects-complete.md +584 -0
  238. package/one/events/frontend-effects-orchestration.md +1356 -0
  239. package/one/events/frontend-effects-risk-register.md +1055 -0
  240. package/one/events/frontend-effects-week1-assignments.md +1594 -0
  241. package/one/events/hook-ontology-alignment-summary.md +528 -0
  242. package/one/events/installation-folders-workflow-integration.md +18 -0
  243. package/one/events/landing-page-generator.md +18 -0
  244. package/one/events/legal-assessment-2025-10-16.md +18 -0
  245. package/one/events/onboarding-implementation-complete.md +18 -0
  246. package/one/events/ontology-test-examples.md +18 -0
  247. package/one/events/phase1-backend-implementation-complete.md +18 -0
  248. package/one/events/release.md +18 -0
  249. package/one/events/root-cleanup-alignment-report.md +265 -0
  250. package/one/events/separate-implementation-status.md +18 -0
  251. package/one/events/session-summary-2025-10-18.md +18 -0
  252. package/one/events/skills-complete.md +18 -0
  253. package/one/events/skills-infer-6-10-summary.md +18 -0
  254. package/one/events/skills-phase1-complete.md +18 -0
  255. package/one/events/structural-analysis-architecture-vs-plans.md +559 -0
  256. package/one/events/test-dashboard.md +18 -0
  257. package/one/events/test-index.md +18 -0
  258. package/one/events/test-report-ontology.md +18 -0
  259. package/one/events/testing-summary.md +18 -0
  260. package/one/events/todo-refactoring-complete.md +408 -0
  261. package/one/events/wave1-backend-implementation-complete.md +698 -0
  262. package/one/groups/features.md +26 -0
  263. package/one/groups/groups.md +83 -39
  264. package/one/groups/one.md +47 -27
  265. package/one/groups/{strategy copy.md → strategy-copy.md} +23 -5
  266. package/one/knowledge/.obsidian/ecommerce-ontology.md +18 -0
  267. package/one/knowledge/100-inference-quick-reference.md +18 -0
  268. package/one/knowledge/agent-onboard-usage.md +18 -0
  269. package/one/knowledge/agentic-commerce.md +146 -0
  270. package/one/knowledge/ai-agents-vs-memecoins-thesis.md +683 -0
  271. package/one/knowledge/ai-platform.md +18 -0
  272. package/one/knowledge/ai-token-crypto-analysis-framework.md +1191 -0
  273. package/one/knowledge/ai-token-paradigm-shift-2025.md +732 -0
  274. package/one/knowledge/altcoin-cycle-prediction-ontology.md +884 -0
  275. package/one/knowledge/altcoin-cycle-trading-strategy.md +642 -0
  276. package/one/knowledge/architecture-any-backend.md +265 -42
  277. package/one/knowledge/architecture-diagram.md +404 -94
  278. package/one/knowledge/architecture-frontend.md +130 -51
  279. package/one/knowledge/architecture.md +1496 -1831
  280. package/one/knowledge/{ontology.md.backup → archived/ontology.old.md} +18 -0
  281. package/one/knowledge/astro-effect-complete-vision.md +2148 -0
  282. package/one/knowledge/astro-effect-simple-architecture.md +717 -0
  283. package/one/knowledge/audit-agent-onboard-alignment.md +481 -0
  284. package/one/knowledge/audit-agent-sales-alignment.md +444 -0
  285. package/one/knowledge/backend-api-reference.md +18 -0
  286. package/one/knowledge/cli-claude-handoff.md +18 -0
  287. package/one/knowledge/context-engineering.md +610 -0
  288. package/one/knowledge/crypto-analysis-strategy.md +1276 -0
  289. package/one/knowledge/crypto-cycle-2024-2025-analysis.md +44 -0
  290. package/one/knowledge/crypto.md +18 -0
  291. package/one/knowledge/docs.md +627 -0
  292. package/one/knowledge/dsl.md +18 -0
  293. package/one/knowledge/files.md +18 -0
  294. package/one/knowledge/frontend.md +18 -0
  295. package/one/knowledge/hono.md +18 -0
  296. package/one/knowledge/implementation-examples.md +18 -0
  297. package/one/knowledge/installation-folders.md +18 -0
  298. package/one/knowledge/institutional-cycle-paradigm-2025.md +555 -0
  299. package/one/knowledge/knowledge.md +18 -0
  300. package/one/knowledge/language.md +18 -0
  301. package/one/knowledge/lessons-learned.md +18 -0
  302. package/one/knowledge/lessons-website-building-focus.md +18 -0
  303. package/one/knowledge/merge-report.md +254 -0
  304. package/one/knowledge/nine-padel-playbook.md +18 -0
  305. package/one/knowledge/ontology-blog.yaml +42 -26
  306. package/one/knowledge/ontology-cheatsheet.md +18 -0
  307. package/one/knowledge/ontology-community.yaml +60 -37
  308. package/one/knowledge/ontology-core-universal.md +19 -1
  309. package/one/knowledge/ontology-core.yaml +58 -45
  310. package/one/knowledge/ontology-courses.yaml +71 -48
  311. package/one/knowledge/ontology-creator.md +30 -4
  312. package/one/knowledge/ontology-crypto.md +1603 -0
  313. package/one/knowledge/ontology-developer-guide.md +18 -0
  314. package/one/knowledge/ontology-documentation.md +46 -25
  315. package/one/knowledge/ontology-ecommerce.md +24 -6
  316. package/one/knowledge/ontology-education.md +18 -0
  317. package/one/knowledge/ontology-engineering-specification.md +22 -4
  318. package/one/knowledge/ontology-engineering.md +67 -43
  319. package/one/knowledge/ontology-files.yaml +525 -0
  320. package/one/knowledge/ontology-frontend-master.md +2898 -0
  321. package/one/knowledge/ontology-frontend-specifications.md +57 -49
  322. package/one/knowledge/ontology-frontend.md +40 -22
  323. package/one/knowledge/ontology-index.md +18 -0
  324. package/one/knowledge/ontology-minimal.yaml +18 -16
  325. package/one/knowledge/ontology-portfolio.yaml +40 -26
  326. package/one/knowledge/ontology-quickstart.md +18 -0
  327. package/one/knowledge/ontology-release.md +317 -0
  328. package/one/knowledge/ontology-shop.yaml +146 -119
  329. package/one/knowledge/ontology-tokens.yaml +46 -27
  330. package/one/knowledge/ontology-tutorial.md +18 -0
  331. package/one/knowledge/ontology-video-script.md +18 -0
  332. package/one/knowledge/ontology-visual-guide.md +20 -2
  333. package/one/knowledge/ontology.md +1329 -304
  334. package/one/knowledge/ontology.yaml +763 -275
  335. package/one/knowledge/patterns/backend/convex-mutation-pattern.md +48 -18
  336. package/one/knowledge/patterns/backend/convex-query-pattern.md +78 -23
  337. package/one/knowledge/patterns/backend/mutation-template.md +28 -10
  338. package/one/knowledge/patterns/backend/query-template.md +44 -25
  339. package/one/knowledge/patterns/backend/service-template.md +35 -14
  340. package/one/knowledge/patterns/design/component-architecture.md +45 -9
  341. package/one/knowledge/patterns/design/test-driven-design-pattern.md +37 -3
  342. package/one/knowledge/patterns/design/wireframe-template.md +36 -2
  343. package/one/knowledge/patterns/frontend/component-template.md +91 -40
  344. package/one/knowledge/patterns/frontend/form-template.md +131 -59
  345. package/one/knowledge/patterns/frontend/page-template.md +59 -28
  346. package/one/knowledge/patterns/frontend/react-component-pattern.md +87 -27
  347. package/one/knowledge/patterns/test/acceptance-criteria-template.md +28 -10
  348. package/one/knowledge/patterns/test/technical-test-template.md +48 -26
  349. package/one/knowledge/patterns/test/test-driven-pattern.md +25 -5
  350. package/one/knowledge/patterns/test/user-flow-template.md +18 -0
  351. package/one/knowledge/provider-agnostic-content.md +995 -0
  352. package/one/knowledge/provider-creation-guide.md +18 -0
  353. package/one/knowledge/quality-loop.md +18 -0
  354. package/one/knowledge/readme-architecture.md +158 -0
  355. package/one/knowledge/readme.md +18 -0
  356. package/one/knowledge/rules.md +18 -0
  357. package/one/knowledge/score.md +18 -0
  358. package/one/knowledge/specifications.md +18 -0
  359. package/one/knowledge/tags.md +18 -0
  360. package/one/knowledge/todo-template.md +18 -0
  361. package/one/knowledge/todo.md +18 -0
  362. package/one/knowledge/typescript-patterns.md +18 -0
  363. package/one/knowledge/universal-generation-language.md +827 -0
  364. package/one/knowledge/x402-research.md +104 -0
  365. package/one/license.md +18 -0
  366. package/one/people/anthony-o-connell.md +48 -19
  367. package/one/people/people.md +54 -31
  368. package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +401 -0
  369. package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +588 -0
  370. package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +461 -0
  371. package/one/things/CHECKLIST.md +51 -0
  372. package/one/things/IMPLEMENTATION_STATUS.md +379 -0
  373. package/one/things/ONE.md +19 -1
  374. package/one/things/agents/agent-backend.md +198 -98
  375. package/one/things/agents/agent-builder.md +267 -158
  376. package/one/things/agents/agent-clean.md +40 -15
  377. package/one/things/agents/agent-clone.md +33 -50
  378. package/one/things/agents/agent-deploy.md +59 -11
  379. package/one/things/agents/agent-designer.md +274 -146
  380. package/one/things/agents/agent-director.md +20 -2
  381. package/one/things/agents/agent-documenter.md +126 -46
  382. package/one/things/agents/agent-frontend.md +104 -22
  383. package/one/things/agents/agent-integrator.md +153 -76
  384. package/one/things/agents/agent-lawyer.md +197 -92
  385. package/one/things/agents/agent-problem-solver.md +302 -224
  386. package/one/things/agents/agent-quality.md +149 -19
  387. package/one/things/agents/agent-sales.md +95 -7
  388. package/one/things/cascade/cascade.yaml +20 -3
  389. package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +53 -0
  390. package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +50 -0
  391. package/one/things/cascade/docs/examples/1-1-agent-prompts.md +76 -0
  392. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +49 -3
  393. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +45 -0
  394. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +32 -0
  395. package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +45 -3
  396. package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +44 -0
  397. package/one/things/cascade/docs/examples/1-3-event-coordination.md +40 -1
  398. package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +81 -25
  399. package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +41 -0
  400. package/one/things/cascade/docs/examples/1-4-knowledge-management.md +91 -16
  401. package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +136 -73
  402. package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +43 -0
  403. package/one/things/cascade/docs/examples/1-5-quality-loops.md +88 -4
  404. package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +52 -3
  405. package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +44 -1
  406. package/one/things/cascade/docs/examples/1-6-numbering-structure.md +78 -14
  407. package/one/things/cascade/docs/examples/readme.md +37 -0
  408. package/one/things/cascade/docs/getting-started.md +18 -0
  409. package/one/things/cascade/docs/workflow.md +18 -12
  410. package/one/things/cascade/readme.md +43 -0
  411. package/one/things/cascade/templates/feature-template.md +28 -6
  412. package/one/things/claude/agents/advocacy-activation-manager.md +64 -39
  413. package/one/things/claude/agents/advocacy-campaign-designer.md +64 -39
  414. package/one/things/claude/agents/analyst.md +64 -39
  415. package/one/things/claude/agents/architect.md +64 -39
  416. package/one/things/claude/agents/brand-identity-specialist.md +64 -39
  417. package/one/things/claude/agents/bstp-token-strategist.md +48 -25
  418. package/one/things/claude/agents/builder-repo.md +69 -26
  419. package/one/things/claude/agents/bullstamp-community-builder.md +48 -25
  420. package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +48 -25
  421. package/one/things/claude/agents/bulltilt-platform-growth.md +48 -25
  422. package/one/things/claude/agents/company-bullstamp-character.md +45 -30
  423. package/one/things/claude/agents/company-bullstamp-community.md +45 -30
  424. package/one/things/claude/agents/company-bullstamp-marketing.md +45 -30
  425. package/one/things/claude/agents/company-bullstamp-token.md +45 -30
  426. package/one/things/claude/agents/company-bulltilt-growth.md +45 -30
  427. package/one/things/claude/agents/content-bibliography-formatter.md +48 -25
  428. package/one/things/claude/agents/content-calendar-planner.md +59 -34
  429. package/one/things/claude/agents/content-chapter-formatter.md +60 -35
  430. package/one/things/claude/agents/content-formatter.md +59 -34
  431. package/one/things/claude/agents/content-hook-specialist.md +54 -31
  432. package/one/things/claude/agents/content-image-formatter.md +59 -34
  433. package/one/things/claude/agents/content-introduction-formatter.md +59 -34
  434. package/one/things/claude/agents/content-multiplication-engine.md +54 -31
  435. package/one/things/claude/agents/content-playbook-writer.md +60 -35
  436. package/one/things/claude/agents/content-team-manager.md +59 -34
  437. package/one/things/claude/agents/content-toc-formatter.md +60 -35
  438. package/one/things/claude/agents/convex-backend-specialist.md +380 -216
  439. package/one/things/claude/agents/core-manager.md +59 -34
  440. package/one/things/claude/agents/core-master.md +55 -32
  441. package/one/things/claude/agents/cross-functional-manager.md +46 -41
  442. package/one/things/claude/agents/crypto-airdrop-strategist.md +74 -54
  443. package/one/things/claude/agents/crypto-analytics-educator.md +73 -30
  444. package/one/things/claude/agents/crypto-architecture-specialist.md +70 -39
  445. package/one/things/claude/agents/crypto-community-analyst.md +47 -31
  446. package/one/things/claude/agents/crypto-community-psychologist.md +68 -31
  447. package/one/things/claude/agents/crypto-dex-optimization-expert.md +72 -31
  448. package/one/things/claude/agents/crypto-dex-optimizer.md +45 -30
  449. package/one/things/claude/agents/crypto-diamond-formation-specialist.md +69 -30
  450. package/one/things/claude/agents/crypto-diamond-hands.md +45 -30
  451. package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +73 -30
  452. package/one/things/claude/agents/crypto-engagement-specialist.md +71 -30
  453. package/one/things/claude/agents/crypto-market-researcher.md +45 -30
  454. package/one/things/claude/agents/crypto-marketing-orchestrator.md +74 -34
  455. package/one/things/claude/agents/crypto-network-effect-amplifier.md +75 -30
  456. package/one/things/claude/agents/crypto-optimization-analyst.md +73 -30
  457. package/one/things/claude/agents/crypto-strategic-synthesizer.md +69 -30
  458. package/one/things/claude/agents/crypto-team-manager.md +45 -40
  459. package/one/things/claude/agents/crypto-token-analyst.md +66 -25
  460. package/one/things/claude/agents/crypto-viral-content-creator.md +64 -61
  461. package/one/things/claude/agents/crypto-wallet-identification-expert.md +61 -51
  462. package/one/things/claude/agents/crypto-wallet-identifier.md +45 -30
  463. package/one/things/claude/agents/customer-journey-designer.md +51 -58
  464. package/one/things/claude/agents/customer-success-manager.md +51 -58
  465. package/one/things/claude/agents/dev.md +51 -58
  466. package/one/things/claude/agents/documenter.md +71 -69
  467. package/one/things/claude/agents/elevate-marketing-orchestrator.md +45 -52
  468. package/one/things/claude/agents/engagement-specialist.md +45 -52
  469. package/one/things/claude/agents/engineering-architect.md +54 -54
  470. package/one/things/claude/agents/engineering-business-analyst.md +46 -56
  471. package/one/things/claude/agents/engineering-developer.md +51 -52
  472. package/one/things/claude/agents/engineering-director.md +65 -25
  473. package/one/things/claude/agents/engineering-ingestor.md +110 -100
  474. package/one/things/claude/agents/engineering-product-manager.md +43 -55
  475. package/one/things/claude/agents/engineering-product-owner.md +46 -56
  476. package/one/things/claude/agents/engineering-project-coordinator.md +44 -56
  477. package/one/things/claude/agents/engineering-quality-assurance.md +53 -54
  478. package/one/things/claude/agents/engineering-team-manager.md +46 -43
  479. package/one/things/claude/agents/engineering-user-experience.md +51 -52
  480. package/one/things/claude/agents/framework-elevate-manager.md +45 -30
  481. package/one/things/claude/agents/improver.md +120 -78
  482. package/one/things/claude/agents/intelligence-team-manager.md +45 -40
  483. package/one/things/claude/agents/lead-capture-expert.md +45 -52
  484. package/one/things/claude/agents/lead-magnet-creator.md +45 -52
  485. package/one/things/claude/agents/market-research-analyst.md +48 -25
  486. package/one/things/claude/agents/marketing-brand-identity.md +57 -27
  487. package/one/things/claude/agents/marketing-content-hooks.md +45 -40
  488. package/one/things/claude/agents/marketing-content-multiplier.md +45 -40
  489. package/one/things/claude/agents/marketing-content-poster.md +71 -60
  490. package/one/things/claude/agents/marketing-customer-journey.md +45 -40
  491. package/one/things/claude/agents/marketing-director.md +46 -41
  492. package/one/things/claude/agents/marketing-engagement.md +45 -40
  493. package/one/things/claude/agents/marketing-lead-capture.md +45 -40
  494. package/one/things/claude/agents/marketing-lead-magnet.md +45 -40
  495. package/one/things/claude/agents/marketing-network-effects.md +45 -40
  496. package/one/things/claude/agents/marketing-nurture-campaigns.md +45 -40
  497. package/one/things/claude/agents/marketing-share-optimizer.md +45 -40
  498. package/one/things/claude/agents/marketing-team-manager.md +45 -40
  499. package/one/things/claude/agents/marketing-viral-growth.md +49 -18
  500. package/one/things/claude/agents/mission-commander.md +45 -40
  501. package/one/things/claude/agents/network-effect-analyst.md +48 -31
  502. package/one/things/claude/agents/nextjs-15-specialist.md +209 -122
  503. package/one/things/claude/agents/npx.md +126 -70
  504. package/one/things/claude/agents/nurture-campaign-manager.md +48 -25
  505. package/one/things/claude/agents/one-master.md +48 -25
  506. package/one/things/claude/agents/one-orchestrator.md +57 -27
  507. package/one/things/claude/agents/one.md +88 -31
  508. package/one/things/claude/agents/playbook-generator.md +48 -25
  509. package/one/things/claude/agents/pm.md +48 -25
  510. package/one/things/claude/agents/po.md +51 -26
  511. package/one/things/claude/agents/qa.md +50 -25
  512. package/one/things/claude/agents/research-foundation-analyst.md +48 -31
  513. package/one/things/claude/agents/research-intelligence-gatherer.md +59 -32
  514. package/one/things/claude/agents/research-market-analyst.md +47 -30
  515. package/one/things/claude/agents/research-team-manager.md +47 -40
  516. package/one/things/claude/agents/sales-environment-optimizer.md +50 -25
  517. package/one/things/claude/agents/sales-team-manager.md +47 -40
  518. package/one/things/claude/agents/sales-upsell-strategist.md +47 -30
  519. package/one/things/claude/agents/service-advocacy-campaigns.md +47 -30
  520. package/one/things/claude/agents/service-advocacy-manager.md +47 -30
  521. package/one/things/claude/agents/service-success-manager.md +47 -30
  522. package/one/things/claude/agents/service-team-manager.md +45 -40
  523. package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +85 -30
  524. package/one/things/claude/agents/share-optimization-specialist.md +50 -25
  525. package/one/things/claude/agents/sm.md +50 -25
  526. package/one/things/claude/agents/story-teller.md +51 -26
  527. package/one/things/claude/agents/task-master.md +52 -27
  528. package/one/things/claude/agents/tauri-cross-platform-specialist.md +201 -116
  529. package/one/things/claude/agents/tester.md +85 -46
  530. package/one/things/claude/agents/the-bull-character-manager.md +48 -25
  531. package/one/things/claude/agents/tools-playbook-generator.md +43 -40
  532. package/one/things/claude/agents/turbo-repo-builder.md +57 -27
  533. package/one/things/claude/agents/upsell-strategist.md +48 -25
  534. package/one/things/claude/agents/ux-expert.md +50 -25
  535. package/one/things/claude/agents/viral-growth-orchestrator.md +50 -27
  536. package/one/things/claude/commands/agent.md +25 -5
  537. package/one/things/claude/commands/cascade-status.md +33 -8
  538. package/one/things/claude/commands/ingest.md +64 -11
  539. package/one/things/claude/commands/ingestor.md +29 -7
  540. package/one/things/claude/commands/mission.md +24 -4
  541. package/one/things/claude/commands/npx.md +30 -7
  542. package/one/things/claude/commands/one.md +114 -68
  543. package/one/things/claude/commands/quality-check.md +72 -24
  544. package/one/things/claude/commands/smart-route.md +45 -4
  545. package/one/things/claude/commands/start.md +22 -4
  546. package/one/things/claude/commands/story.md +25 -5
  547. package/one/things/claude/commands/task.md +21 -1
  548. package/one/things/cli/cli-code.md +244 -219
  549. package/one/things/cli/cli-compiler-code.md +244 -219
  550. package/one/things/cli/cli.md +30 -6
  551. package/one/things/components/card-shadcn.md +252 -228
  552. package/one/things/components/card.md +315 -324
  553. package/one/things/components.md +667 -593
  554. package/one/things/componets.md +16 -1
  555. package/one/things/creator-diagram.md +23 -5
  556. package/one/things/demo-accessibility-animations.md +73 -47
  557. package/one/things/demo-components.md +225 -219
  558. package/one/things/demo-design-summary.md +89 -26
  559. package/one/things/demo-design-system.md +184 -130
  560. package/one/things/demo-page-layouts.md +52 -25
  561. package/one/things/designs/accessibility-audit.md +153 -66
  562. package/one/things/designs/component-specifications.md +163 -65
  563. package/one/things/designs/design-overview.md +81 -22
  564. package/one/things/designs/design-tokens.md +127 -93
  565. package/one/things/designs/wireframes-dashboard.md +64 -7
  566. package/one/things/docs/api-requests.md +75 -11
  567. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +18 -0
  568. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +57 -0
  569. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +62 -6
  570. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +60 -5
  571. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +95 -27
  572. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +130 -62
  573. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +43 -19
  574. package/one/things/docs/ecommerce/QUICK-START.md +41 -4
  575. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +75 -6
  576. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +58 -24
  577. package/one/things/examples/children/lemonade-stand.md +52 -14
  578. package/one/things/examples/enterprise/crm-saas.md +43 -28
  579. package/one/things/features/1-1-agent-prompts.md +76 -0
  580. package/one/things/features/1-2-yaml-orchestrator.md +32 -0
  581. package/one/things/features/1-3-event-coordination.md +40 -1
  582. package/one/things/features/1-4-knowledge-management.md +91 -16
  583. package/one/things/features/1-5-quality-loops.md +88 -4
  584. package/one/things/features/1-6-numbering-structure.md +78 -14
  585. package/one/things/features/2-1-dataprovider-interface.md +311 -86
  586. package/one/things/features/2-2-config-system.md +307 -140
  587. package/one/things/features/2-3-effectts-services.md +263 -116
  588. package/one/things/features/2-4-react-hooks.md +217 -201
  589. package/one/things/features/2-5-auth-migration.md +406 -308
  590. package/one/things/features/2-6-dashboard-migration.md +112 -13
  591. package/one/things/features/2-7-alternative-providers.md +138 -65
  592. package/one/things/features/2-7-implementation-report.md +68 -24
  593. package/one/things/features/2-cli.md +88 -76
  594. package/one/things/features/2-design.md +112 -80
  595. package/one/things/features/2-tests.md +56 -0
  596. package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +91 -36
  597. package/one/things/features/DECOUPLING.md +36 -18
  598. package/one/things/features/DEPLOYMENT.md +22 -4
  599. package/one/things/features/IMPLEMENTATION_SUMMARY.md +48 -2
  600. package/one/things/features/improve.md +47 -29
  601. package/one/things/features/remove-convex-deps.md +18 -0
  602. package/one/things/features/top-features.md +28 -20
  603. package/one/things/features/use-one-backend.md +210 -173
  604. package/one/things/features-in-english.md +19 -6
  605. package/one/things/files.yaml +721 -0
  606. package/one/things/ideas/1-create-workflow.md +18 -0
  607. package/one/things/ideas/2-backend-agnostic-frontend.md +57 -2
  608. package/one/things/implementation/backend-guide.md +64 -19
  609. package/one/things/interface.md +43 -0
  610. package/one/things/landing-page-implementation.md +455 -0
  611. package/one/things/legal/README.md +44 -0
  612. package/one/things/legal/privacy-policy.md +186 -23
  613. package/one/things/legal/terms-of-service.md +164 -3
  614. package/one/things/master-workflow-plan.md +806 -0
  615. package/one/things/plans/0-timeline.md +36 -0
  616. package/one/things/plans/1-create-workflow.md +19 -0
  617. package/one/things/plans/QUICK-START-SIMPLIFICATION.md +333 -0
  618. package/one/things/plans/README-SIMPLIFICATION.md +349 -0
  619. package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +16 -0
  620. package/one/things/plans/SIMPLIFICATION-SUMMARY.md +455 -0
  621. package/one/things/plans/ai-elements.md +21 -2
  622. package/one/things/plans/ai-integration.md +108 -59
  623. package/one/things/plans/ai-sdk.md +85 -48
  624. package/one/things/plans/ai-tools.md +621 -0
  625. package/one/things/plans/app.md +142 -71
  626. package/one/things/plans/architecture-summary.md +34 -5
  627. package/one/things/plans/async-ai-agents.md +19 -1
  628. package/one/things/plans/backend-agnostic-frontend.md +70 -8
  629. package/one/things/plans/backend-cleanup-quickstart.md +52 -18
  630. package/one/things/plans/backend-ontology-conformance.md +110 -51
  631. package/one/things/plans/backend-status.md +58 -0
  632. package/one/things/plans/backend-structure.md +103 -55
  633. package/one/things/plans/backend-target-structure.md +61 -17
  634. package/one/things/plans/backend.md +60 -18
  635. package/one/things/plans/better-auth-any-backend-revised.md +325 -287
  636. package/one/things/plans/better-auth-any-backend.md +575 -531
  637. package/one/things/plans/better-auth-available-features.md +43 -5
  638. package/one/things/plans/big-plan.md +20 -6
  639. package/one/things/plans/cli-updates-required.md +44 -4
  640. package/one/things/plans/complete-step-by-step.md +223 -116
  641. package/one/things/plans/components.md +709 -0
  642. package/one/things/plans/convex-agents.md +79 -50
  643. package/one/things/plans/convex-better-auth.md +186 -154
  644. package/one/things/plans/convex-on-off.md +47 -29
  645. package/one/things/plans/crypto-token-researcher.md +629 -0
  646. package/one/things/plans/data-quality-metrics.md +745 -0
  647. package/one/things/plans/deep-researcher-agent.md +466 -0
  648. package/one/things/plans/deploy-to-cloudflare.md +55 -13
  649. package/one/things/plans/deployment-architecture.md +54 -11
  650. package/one/things/plans/desktop.md +21 -3
  651. package/one/things/plans/development-plan.md +184 -121
  652. package/one/things/plans/development-workflow-tldr.md +207 -0
  653. package/one/things/plans/development-workflow.md +959 -0
  654. package/one/things/plans/effect-components.md +667 -593
  655. package/one/things/plans/effect-patterns-reference.md +2235 -0
  656. package/one/things/plans/effect.md +204 -131
  657. package/one/things/plans/email.md +21 -8
  658. package/one/things/plans/enhance-auth.md +64 -41
  659. package/one/things/plans/execution-strategy.md +1291 -0
  660. package/one/things/plans/existing-infrastructure.md +712 -0
  661. package/one/things/plans/feature-based-sites.md +124 -51
  662. package/one/things/plans/frontend-effects.md +1276 -0
  663. package/one/things/plans/group-folder-multi-tenancy.md +92 -29
  664. package/one/things/plans/improve-codebase.md +498 -421
  665. package/one/things/plans/install-components.md +18 -1
  666. package/one/things/plans/integrate-frontend-and-backend.md +68 -44
  667. package/one/things/plans/landing.md +92 -0
  668. package/one/things/plans/layout.md +45 -1
  669. package/one/things/plans/mail-backend.md +546 -493
  670. package/one/things/plans/mail.md +379 -326
  671. package/one/things/plans/mcp-clear-context-prompt.md +21 -0
  672. package/one/things/plans/mcp-simple.md +20 -0
  673. package/one/things/plans/multi-ontology-architecture.md +115 -66
  674. package/one/things/plans/next-features.md +31 -0
  675. package/one/things/plans/onboarding.md +20 -1
  676. package/one/things/plans/one.md +18 -0
  677. package/one/things/plans/ontology-6-dimensions.md +24 -45
  678. package/one/things/plans/ontology-compliance-audit.md +315 -0
  679. package/one/things/plans/ontology-driven-strategy.md +19 -3
  680. package/one/things/plans/ontology-refine.md +586 -0
  681. package/one/things/plans/ontology-ui-approach.md +18 -0
  682. package/one/things/plans/open-agent.md +152 -97
  683. package/one/things/plans/performace.md +32 -0
  684. package/one/things/plans/phase-1-foundation.md +620 -0
  685. package/one/things/plans/phase-3-implementation.md +1037 -0
  686. package/one/things/plans/quick-wins.md +342 -187
  687. package/one/things/plans/readme-backend-cleanup.md +54 -13
  688. package/one/things/plans/release.md +55 -2
  689. package/one/things/plans/repos.md +22 -0
  690. package/one/things/plans/separate-copy-2.md +127 -71
  691. package/one/things/plans/separate-copy-3.md +35 -14
  692. package/one/things/plans/separate-copy.md +127 -71
  693. package/one/things/plans/separate-demo.md +37 -3
  694. package/one/things/plans/separate.md +24 -6
  695. package/one/things/plans/sequence.md +155 -12
  696. package/one/things/plans/shadcn-integration-summary.md +104 -44
  697. package/one/things/plans/sidebar.md +44 -10
  698. package/one/things/plans/skills.md +103 -0
  699. package/one/things/plans/small-fixes.md +19 -1
  700. package/one/things/plans/start-new.md +34 -8
  701. package/one/things/plans/switch-off-auth.md +22 -0
  702. package/one/things/plans/sync-checklist.md +30 -0
  703. package/one/things/plans/test-backend-connection.md +38 -0
  704. package/one/things/plans/unified-implementation-plan.md +144 -62
  705. package/one/things/plans/update-demos.md +103 -35
  706. package/one/things/plans/use-our-backend.md +572 -0
  707. package/one/things/plans/wave1-onboarding-100-inferences.md +1686 -0
  708. package/one/things/plans/wave1-onboarding-vision.md +744 -0
  709. package/one/things/plans/wave1-orchestration-summary.md +604 -0
  710. package/one/things/plans/wave1-specialist-assignments.md +1413 -0
  711. package/one/things/plans/workflow-files.md +28 -14
  712. package/one/things/plans/workflow.md +18 -12
  713. package/one/things/products/cascade-landing-page.md +150 -46
  714. package/one/things/products/cascade.md +185 -135
  715. package/one/things/products/context-engineering.md +411 -350
  716. package/one/things/products/onthology.md +15 -0
  717. package/one/things/products/ontology-ui-shadcn.md +375 -353
  718. package/one/things/products/ontology-ui.md +101 -59
  719. package/one/things/products/ontology.md +90 -18
  720. package/one/things/products/sdk.md +181 -165
  721. package/one/things/promptkit.md +70 -43
  722. package/one/things/repos/all-repos.md +0 -0
  723. package/one/things/service-providers-new.md +95 -25
  724. package/one/things/service-providers.md +231 -202
  725. package/one/things/structure.md +532 -0
  726. package/one/things/system.md +18 -0
  727. package/one/things/templates.md +40 -0
  728. package/one/things/tests/2-1-dataprovider-interface.md +103 -31
  729. package/one/things/tests/2-1-test-analysis.md +65 -17
  730. package/one/things/things.md +48 -13
  731. package/one/things/todo-acp-integration.md +744 -0
  732. package/one/things/todo-ai.md +933 -0
  733. package/one/things/todo-api.md +1078 -0
  734. package/one/things/todo-assignment.md +580 -0
  735. package/one/things/todo-buy-chatgpt.md +1450 -0
  736. package/one/things/todo-components.md +1683 -0
  737. package/one/things/todo-connections.md +278 -0
  738. package/one/things/todo-ecommerce-frontend.md +1313 -0
  739. package/one/things/todo-ecommerce.md +569 -0
  740. package/one/things/todo-effects.md +1075 -0
  741. package/one/things/todo-frontend-effects.md +977 -0
  742. package/one/things/todo-landing-page.md +1091 -0
  743. package/one/things/todo-mail.md +1160 -0
  744. package/one/things/todo-master-plan.md +490 -0
  745. package/one/things/todo-onboard.md +666 -0
  746. package/one/things/todo-one-ie.md +538 -0
  747. package/one/things/todo-page.md +606 -0
  748. package/one/things/todo-plans.md +282 -0
  749. package/one/things/todo-projects.md +241 -0
  750. package/one/things/todo-refactoring-plan.md +366 -0
  751. package/one/things/todo-sequence.md +1621 -0
  752. package/one/things/todo-use-our-backend.md +1908 -0
  753. package/one/things/todo-workflow.md +626 -0
  754. package/one/things/todo-x402.md +2047 -0
  755. package/one/things/todo.md +459 -1075
  756. package/one/things/video/scripts-crypto.md +835 -0
  757. package/one/things/video-script-ontology.md +334 -0
  758. package/package.json +1 -1
  759. package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +0 -49
  760. package/one/knowledge/docs/flow.md +0 -0
  761. package/one/knowledge/documentation-summary.md +0 -285
  762. package/one/knowledge/inference-score.md +0 -159
  763. package/one/knowledge/ontology-frontend-copy-2.md +0 -1492
  764. package/one/knowledge/ontology-frontend-copy.md +0 -753
  765. package/one/knowledge/ontology-migration-guide.md +0 -811
  766. package/one/things/features/0 All Features.md +0 -2
  767. package/one/things/plans/1-create-workflow-status.md +0 -555
  768. package/one/things/plans/2-backend-agnostic-frontend.md +0 -546
  769. package/one/things/plans/2-sites.md +0 -895
  770. package/one/things/plans/3-groups.md +0 -735
  771. package/one/things/plans/5-build-frontend.md +0 -0
  772. package/one/things/plans/5-complete.md +0 -17
  773. package/one/things/plans/agent-director-100-inference-plans.md +0 -410
  774. package/one/things/plans/dual-website-strategy.md +0 -612
  775. package/one/things/plans/releases.md +0 -809
@@ -0,0 +1,1686 @@
1
+ ---
2
+ title: Wave1 Onboarding 100 Inferences
3
+ dimension: things
4
+ category: plans
5
+ tags: agent, ai, backend, claude, frontend, inference, 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-inferences.md
14
+ Purpose: Documents wave 1: creator onboarding - 100-inference execution plan
15
+ Related dimensions: connections, events, groups, knowledge, people
16
+ For AI agents: Read this to understand wave1 onboarding 100 inferences.
17
+ ---
18
+
19
+ # Wave 1: Creator Onboarding - 100-Inference Execution Plan
20
+
21
+ **Version:** 1.0.0
22
+ **Total Inferences:** 100 (Infer 1-100)
23
+ **Estimated Duration:** 10-12 days (8-10 inferences per specialist per day)
24
+ **Team:** 4 specialists + 1 orchestrator (director)
25
+
26
+ ---
27
+
28
+ ## Overview: The 100-Inference Breakdown
29
+
30
+ ```
31
+ Infer 1-10: FOUNDATION & ONTOLOGY VALIDATION
32
+ Infer 11-20: BACKEND SCHEMA & SERVICES
33
+ Infer 21-30: BACKEND MUTATIONS & QUERIES
34
+ Infer 31-40: FRONTEND PAGES & COMPONENTS (Part 1)
35
+ Infer 41-50: FRONTEND PAGES & COMPONENTS (Part 2)
36
+ Infer 51-60: API ROUTES & INTEGRATIONS
37
+ Infer 61-70: EMAIL & VERIFICATION SYSTEM
38
+ Infer 71-80: TEAM MANAGEMENT & WORKSPACE
39
+ Infer 81-90: TESTING & QUALITY ASSURANCE
40
+ Infer 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 (Infer 1-10)
48
+
49
+ **Specialist:** Agent-Director (Orchestration)
50
+ **Duration:** 1-2 days
51
+ **Output:** Approved vision, ontology mapping, task lists
52
+
53
+ ### Infer 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 Infer 2
73
+
74
+ ---
75
+
76
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 6: Create Implementation Checklist
329
+
330
+ **Task:** Break down into manageable tasks for specialists
331
+
332
+ **Backend Tasks (Infer 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 (Infer 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 (Infer 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 (Infer 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 (Infer 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
+ ### Infer 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 inferences (4 days of buffer)
411
+
412
+ ---
413
+
414
+ ## PHASE 2: BACKEND SCHEMA & SERVICES (Infer 11-30)
415
+
416
+ **Specialist:** Agent-Backend
417
+ **Duration:** 3-4 days (20 inferences)
418
+ **Dependency:** ✅ Phase 1 complete
419
+ **Blocks:** Phase 3 (can't build frontend without backend mutations)
420
+
421
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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 Infer 31)
793
+
794
+ ---
795
+
796
+ ## PHASE 3: FRONTEND COMPONENTS & PAGES (Infer 31-50)
797
+
798
+ **Specialist:** Agent-Frontend
799
+ **Duration:** 3-4 days (20 inferences)
800
+ **Dependency:** ✅ Phase 2 (backend mutations/queries complete)
801
+ **Blocks:** API routes (Infer 51-60)
802
+
803
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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 (Infer 51)
1169
+
1170
+ ---
1171
+
1172
+ ## PHASE 4: API ROUTES & INTEGRATION (Infer 51-80)
1173
+
1174
+ **Specialist:** Agent-Integration / Agent-Backend
1175
+ **Duration:** 3-4 days (30 inferences)
1176
+ **Dependency:** ✅ Phase 2 (backend) + Phase 3 (frontend) complete
1177
+ **Blocks:** Testing (Infer 81-90)
1178
+
1179
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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 (Infer 81-90)
1281
+
1282
+ **Specialist:** Agent-Quality
1283
+ **Duration:** 2-3 days (10 inferences)
1284
+ **Dependency:** ✅ Phase 4 complete
1285
+ **Blocks:** Documentation (Infer 91-100)
1286
+
1287
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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 (Infer 91-100)
1392
+
1393
+ **Specialist:** Agent-Ops + Agent-Documenter
1394
+ **Duration:** 1-2 days (10 inferences)
1395
+ **Dependency:** ✅ Phase 5 complete
1396
+
1397
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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
+ ### Infer 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: Infer 1-10 (Foundation)
1526
+ └─ All specialists align on ontology
1527
+
1528
+ Day 3: Infer 11-20 (Backend schema)
1529
+ └─ Only backend specialist
1530
+
1531
+ Day 4-5: Infer 21-30 (Backend mutations + Infer 31-50 (Frontend components)
1532
+ └─ Backend + Frontend IN PARALLEL
1533
+ ├─ Backend: Finish mutations/queries
1534
+ └─ Frontend: Build components
1535
+
1536
+ Day 6: Infer 51-70 (API routes + Email)
1537
+ └─ Integration specialist starts
1538
+ └─ Backend: API route creation
1539
+ └─ Frontend: Component completion
1540
+
1541
+ Day 7: Infer 71-80 (Integration testing)
1542
+ └─ All work tested together
1543
+
1544
+ Day 8: Infer 81-90 (Quality + Security)
1545
+ └─ Quality specialist validates
1546
+
1547
+ Day 9-10: Infer 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 (Infer 11-30 + 51-70)
1561
+
1562
+ **40 inferences total**
1563
+
1564
+ - Schema updates (Infer 11-16)
1565
+ - Onboarding service (Infer 17)
1566
+ - All mutations (Infer 18-25)
1567
+ - All queries (Infer 26)
1568
+ - Email templates (Infer 27)
1569
+ - Verification system (Infer 28)
1570
+ - Rate limiting (Infer 29)
1571
+ - API route creation (Infer 51-60)
1572
+ - Email system setup (Infer 61-70)
1573
+
1574
+ ### Agent-Frontend (Infer 31-50)
1575
+
1576
+ **20 inferences total**
1577
+
1578
+ - All 8 onboarding components (Infer 31-38)
1579
+ - 8 onboarding pages (Infer 39-40)
1580
+ - Team management page (Infer 41)
1581
+ - Avatar upload (Infer 42)
1582
+ - Niche selection (Infer 43)
1583
+ - Loading states (Infer 44)
1584
+ - Error handling (Infer 45)
1585
+ - Success animations (Infer 46)
1586
+ - Mobile responsive (Infer 47)
1587
+ - Accessibility (Infer 48)
1588
+ - Dark mode (Infer 49)
1589
+ - Final validation (Infer 50)
1590
+
1591
+ ### Agent-Quality (Infer 81-90)
1592
+
1593
+ **10 inferences total**
1594
+
1595
+ - Backend unit tests (Infer 81-82)
1596
+ - Frontend unit tests (Infer 83-84)
1597
+ - Integration tests (Infer 85-86)
1598
+ - E2E tests (Infer 87-88)
1599
+ - Security + accessibility audit (Infer 89)
1600
+ - Performance audit (Infer 90)
1601
+
1602
+ ### Agent-Ops / Agent-Documenter (Infer 91-100)
1603
+
1604
+ **10 inferences total**
1605
+
1606
+ - User documentation (Infer 91-92)
1607
+ - API documentation (Infer 93-94)
1608
+ - Developer setup (Infer 95)
1609
+ - Deployment checklist (Infer 96)
1610
+ - Production deployment (Infer 97-98)
1611
+ - Monitoring (Infer 99)
1612
+ - Lessons learned (Infer 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 (Infer 1)
1686
+ **Expected Completion:** +10-12 calendar days