oneie 3.6.13 → 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 (773) 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/hooks/README-knowledge-hooks.md +266 -80
  23. package/.claude/hooks/README-root-cleanup.md +200 -0
  24. package/.claude/hooks/README.md +284 -0
  25. package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
  26. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  27. package/.claude/hooks/check-filenames.py +169 -32
  28. package/.claude/hooks/clean-post.py +195 -28
  29. package/.claude/hooks/clean-pre.py +96 -11
  30. package/.claude/hooks/done.py +74 -13
  31. package/.claude/hooks/format-hook.sh +105 -17
  32. package/.claude/hooks/hook-logger.sh +121 -7
  33. package/.claude/hooks/knowledge-post.py +136 -32
  34. package/.claude/hooks/knowledge-pre.py +129 -34
  35. package/.claude/hooks/notification-hook.sh +184 -17
  36. package/.claude/hooks/root-cleanup.py +181 -39
  37. package/.claude/hooks/security-hook.sh +248 -8
  38. package/.claude/hooks/tag-all-docs.py +175 -49
  39. package/.claude/hooks/test-validate-ontology.sh +170 -0
  40. package/.claude/hooks/todo.py +92 -22
  41. package/.claude/hooks/validate-ontology-structure-summary.md +243 -0
  42. package/.claude/hooks/validate-ontology-structure.py +83 -20
  43. package/AGENTS.md +60 -245
  44. package/CLAUDE.md +70 -1
  45. package/README.md +25 -0
  46. package/one/.claude/settings.local.json +11 -0
  47. package/one/.obsidian/community-plugins.json +3 -1
  48. package/one/.obsidian/plugins/editing-toolbar/data.json +328 -0
  49. package/one/.obsidian/plugins/editing-toolbar/main.js +12 -0
  50. package/one/.obsidian/plugins/editing-toolbar/manifest.json +10 -0
  51. package/one/.obsidian/plugins/editing-toolbar/styles.css +1338 -0
  52. package/one/.obsidian/plugins/terminal/data.json +154 -0
  53. package/one/.obsidian/plugins/terminal/main.js +197 -0
  54. package/one/.obsidian/plugins/terminal/manifest.json +14 -0
  55. package/one/.obsidian/plugins/terminal/styles.css +32 -0
  56. package/one/.obsidian/workspace.json +71 -45
  57. package/one/README.md +18 -0
  58. package/one/connections/a2a.md +49 -0
  59. package/one/connections/acp.md +47 -0
  60. package/one/connections/acps.md +18 -0
  61. package/one/connections/agentkit.md +18 -0
  62. package/one/connections/agui.md +18 -0
  63. package/one/connections/any-backend.md +39 -21
  64. package/one/connections/ap2.md +74 -0
  65. package/one/connections/api/queries-reference.md +18 -0
  66. package/one/connections/api-docs.md +18 -0
  67. package/one/connections/api-reference.md +18 -0
  68. package/one/connections/api.md +18 -0
  69. package/one/connections/architecture-diagram.md +18 -0
  70. package/one/connections/communications.md +18 -0
  71. package/one/connections/connections.md +18 -0
  72. package/one/connections/copilotkit.md +18 -0
  73. package/one/connections/cryptonetworks.md +18 -0
  74. package/one/connections/documentation.md +18 -0
  75. package/one/connections/effect.md +18 -0
  76. package/one/connections/elizaos.md +18 -0
  77. package/one/connections/groups.md +814 -0
  78. package/one/connections/inference.md +18 -0
  79. package/one/connections/integration-examples.md +18 -0
  80. package/one/connections/integration-guide.md +18 -0
  81. package/one/connections/integration-phase2.md +32 -14
  82. package/one/connections/kyc.md +18 -0
  83. package/one/connections/mcp.md +18 -0
  84. package/one/connections/membership.md +18 -0
  85. package/one/connections/middleware.md +18 -0
  86. package/one/connections/multitenant.md +18 -0
  87. package/one/connections/n8n.md +18 -0
  88. package/one/connections/patterns.md +18 -0
  89. package/one/connections/protocols.md +20 -2
  90. package/one/connections/relationships.md +18 -0
  91. package/one/connections/schema.md +18 -0
  92. package/one/connections/service-layer.md +18 -0
  93. package/one/connections/vectors.md +18 -0
  94. package/one/connections/wordpress.md +18 -0
  95. package/one/connections/workflow-copy.md +18 -0
  96. package/one/connections/workflow-examples.md +18 -0
  97. package/one/connections/workflow-onboarding.md +18 -0
  98. package/one/connections/workflow.md +18 -0
  99. package/one/connections/workflows/delegation.md +18 -0
  100. package/one/connections/workflows/frontend.md +18 -0
  101. package/one/connections/workflows/strategy.md +18 -0
  102. package/one/connections/workflows/tasks.md +18 -0
  103. package/one/connections/x402-baazar.md +131 -0
  104. package/one/connections/x402.md +268 -164
  105. package/one/events/2024-10-14-deployment-plan.md +15 -16
  106. package/one/events/2024-10-14-deployment-success.md +15 -16
  107. package/one/events/2024-10-14-final-sync-complete.md +15 -16
  108. package/one/events/2024-10-14-release-v2.0.6.md +15 -16
  109. package/one/events/2024-10-15-agent-clean-v2-summary.md +15 -16
  110. package/one/events/2024-10-15-handoff-to-clean.md +15 -16
  111. package/one/events/2024-10-15-package-manager-tests.md +15 -16
  112. package/one/events/2024-10-15-release-command-complete.md +15 -16
  113. package/one/events/2025-10-15-private-files-secured.md +18 -0
  114. package/one/events/2025-10-15-unignore-public-group-docs.md +18 -0
  115. package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +335 -0
  116. package/one/events/ALIGNMENT_SUMMARY.md +280 -0
  117. package/one/events/API_ROUTES_FIXES_SUMMARY.md +18 -0
  118. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +18 -0
  119. package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +598 -0
  120. package/one/events/BEFORE_AFTER_COMPARISON.md +18 -0
  121. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +18 -0
  122. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +18 -0
  123. package/one/events/CLAUDE copy.md +897 -0
  124. package/one/events/CLEANUP-RELEASE-V2.0.8.md +18 -0
  125. package/one/events/CONNECTIONS_DEMO.md +18 -0
  126. package/one/events/CREATE-WEBSITE.md +18 -0
  127. package/one/events/CRITICAL-FIXES-COMPLETE.md +18 -0
  128. package/one/events/CUSTOM-DOMAIN.md +18 -0
  129. package/one/events/DELIVERABLES.md +18 -0
  130. package/one/events/DEMO-GROUPS-PAGE.md +18 -0
  131. package/one/events/DEMO-TESTING-SUMMARY.md +18 -0
  132. package/one/events/DEMO_COMPONENTS.md +18 -0
  133. package/one/events/DEMO_HOOKS_INDEX.md +18 -0
  134. package/one/events/DEMO_INFRASTRUCTURE.md +18 -0
  135. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +18 -0
  136. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +18 -0
  137. package/one/events/DEMO_QUICK_REFERENCE.md +18 -0
  138. package/one/events/DEMO_SETUP.md +18 -0
  139. package/one/events/DEPLOYMENT copy.md +18 -0
  140. package/one/events/DEPLOYMENT.md +18 -0
  141. package/one/events/ECOMMERCE-BEFORE-AFTER.md +16 -0
  142. package/one/events/ECOMMERCE-DEMO-PLAN.md +18 -0
  143. package/one/events/ECOMMERCE-ENHANCEMENTS.md +18 -0
  144. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +18 -0
  145. package/one/events/ECOMMERCE-LIVE-DEMO.md +18 -0
  146. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +18 -0
  147. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +18 -0
  148. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +18 -0
  149. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +18 -0
  150. package/one/events/EFFECT_TS_API_PATTERN.md +18 -0
  151. package/one/events/FEATURE-2-4-COMPLETE.md +18 -0
  152. package/one/events/FEATURE_2_3_COMPLETE.md +18 -0
  153. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +18 -0
  154. package/one/events/GROUPS-MIGRATION.md +18 -0
  155. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +18 -0
  156. package/one/events/HANDOFF.md +18 -0
  157. package/one/events/HOOKS-DEMO.md +18 -0
  158. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +18 -0
  159. package/one/events/IMPLEMENTATION_SUMMARY.md +18 -0
  160. package/one/events/INSTALL-TESTS.md +18 -0
  161. package/one/events/INSTALLATION_FOLDERS.md +18 -0
  162. package/one/events/INSTALLATION_FOLDERS_FILES.md +18 -0
  163. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +18 -0
  164. package/one/events/INTEGRATION-ARCHITECTURE.md +18 -0
  165. package/one/events/INTEGRATION-CHECKLIST.md +18 -0
  166. package/one/events/INTEGRATION-ORCHESTRATION.md +18 -0
  167. package/one/events/INTEGRATION-SUMMARY.md +18 -0
  168. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +18 -0
  169. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +18 -0
  170. package/one/events/LANDING-PAGE-QUICKSTART.md +18 -0
  171. package/one/events/LICENSE.md +18 -0
  172. package/one/events/MCP-CONFIGURATION.md +18 -0
  173. package/one/events/MCP-SETUP-COMPLETE.md +18 -0
  174. package/one/events/MIGRATION-REPORT.md +18 -0
  175. package/one/events/MIGRATION.md +18 -0
  176. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +18 -0
  177. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +18 -0
  178. package/one/events/NODE-UPGRADE.md +18 -0
  179. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +18 -0
  180. package/one/events/ONTOLOGY-HOOKS-README.md +18 -0
  181. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +18 -0
  182. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +18 -0
  183. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +18 -0
  184. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +18 -0
  185. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +18 -0
  186. package/one/events/PACKAGE-STRUCTURE.md +18 -0
  187. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +18 -0
  188. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +18 -0
  189. package/one/events/QA-CHECKLIST.md +18 -0
  190. package/one/events/QUICK-START-ONTOLOGY.md +18 -0
  191. package/one/events/README-archived.md +18 -0
  192. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +18 -0
  193. package/one/events/SEARCH_DEMO_DELIVERY.md +18 -0
  194. package/one/events/SEARCH_DEMO_SUMMARY.md +18 -0
  195. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +18 -0
  196. package/one/events/SECURITY-AUDIT-FIXES.md +18 -0
  197. package/one/events/SECURITY-SCAN-COMPLETE.md +18 -0
  198. package/one/events/SHOP-BUILD-STATUS.md +18 -0
  199. package/one/events/SHOP-PREMIUM-UPDATE.md +16 -0
  200. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +18 -0
  201. package/one/events/SITE-WIDE-GRADIENT-FIX.md +18 -0
  202. package/one/events/STORE-PRODUCTION-READY-STATUS.md +18 -0
  203. package/one/events/STRIPE-INTEGRATION.md +18 -0
  204. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +18 -0
  205. package/one/events/STRIPE-SETUP-GUIDE.md +18 -0
  206. package/one/events/TEST-PLAN-INDEX.md +18 -0
  207. package/one/events/TEST-PLAN.md +18 -0
  208. package/one/events/TEST-SUMMARY.md +18 -0
  209. package/one/events/TESTS-QUICK-REF.md +18 -0
  210. package/one/events/TRANSITIONS-QUICK-START.md +18 -0
  211. package/one/events/TRANSPARENCY-FIXES.md +18 -0
  212. package/one/events/TYPESCRIPT_FIXES.md +18 -0
  213. package/one/events/TYPESCRIPT_FIXES_INDEX.md +18 -0
  214. package/one/events/VIEW-TRANSITIONS.md +18 -0
  215. package/one/events/agent-director-enhancement-summary.md +18 -0
  216. package/one/events/agent-onboard-implementation-summary.md +18 -0
  217. package/one/events/agent-ontology-alignment-completion.md +263 -0
  218. package/one/events/backend-integration-tests.md +18 -0
  219. package/one/events/clean-agent-ontology-cleanup-report.md +18 -0
  220. package/one/events/clean-agent-todo-analysis-summary.md +336 -0
  221. package/one/events/cloudflare-automation-complete.md +18 -0
  222. package/one/events/cloudflare-pages-infrastructure-setup.md +18 -0
  223. package/one/events/contact-page-complete.md +18 -0
  224. package/one/events/convex-analysis-index.md +18 -0
  225. package/one/events/convex-structure-analysis.md +18 -0
  226. package/one/events/deployment-installation-folders.md +18 -0
  227. package/one/events/deployment-ops-summary.md +18 -0
  228. package/one/events/deployment-verification.md +18 -0
  229. package/one/events/design-spec-complete.md +18 -0
  230. package/one/events/documentation-audit-index.md +473 -0
  231. package/one/events/documentation-audit-summary.md +417 -0
  232. package/one/events/documentation-improvement-roadmap.md +906 -0
  233. package/one/events/documentation-standards-compliance-report.md +538 -0
  234. package/one/events/events.md +18 -0
  235. package/one/events/frontend-effects-complete.md +584 -0
  236. package/one/events/frontend-effects-orchestration.md +1356 -0
  237. package/one/events/frontend-effects-risk-register.md +1055 -0
  238. package/one/events/frontend-effects-week1-assignments.md +1594 -0
  239. package/one/events/hook-ontology-alignment-summary.md +528 -0
  240. package/one/events/installation-folders-workflow-integration.md +18 -0
  241. package/one/events/landing-page-generator.md +18 -0
  242. package/one/events/legal-assessment-2025-10-16.md +18 -0
  243. package/one/events/onboarding-implementation-complete.md +18 -0
  244. package/one/events/ontology-test-examples.md +18 -0
  245. package/one/events/phase1-backend-implementation-complete.md +18 -0
  246. package/one/events/release.md +18 -0
  247. package/one/events/root-cleanup-alignment-report.md +265 -0
  248. package/one/events/separate-implementation-status.md +18 -0
  249. package/one/events/session-summary-2025-10-18.md +18 -0
  250. package/one/events/skills-complete.md +18 -0
  251. package/one/events/skills-infer-6-10-summary.md +18 -0
  252. package/one/events/skills-phase1-complete.md +18 -0
  253. package/one/events/structural-analysis-architecture-vs-plans.md +559 -0
  254. package/one/events/test-dashboard.md +18 -0
  255. package/one/events/test-index.md +18 -0
  256. package/one/events/test-report-ontology.md +18 -0
  257. package/one/events/testing-summary.md +18 -0
  258. package/one/events/todo-refactoring-complete.md +408 -0
  259. package/one/events/wave1-backend-implementation-complete.md +698 -0
  260. package/one/groups/features.md +26 -0
  261. package/one/groups/groups.md +83 -39
  262. package/one/groups/one.md +47 -27
  263. package/one/groups/{strategy copy.md → strategy-copy.md} +23 -5
  264. package/one/knowledge/.obsidian/ecommerce-ontology.md +18 -0
  265. package/one/knowledge/100-inference-quick-reference.md +18 -0
  266. package/one/knowledge/agent-onboard-usage.md +18 -0
  267. package/one/knowledge/agentic-commerce.md +146 -0
  268. package/one/knowledge/ai-agents-vs-memecoins-thesis.md +683 -0
  269. package/one/knowledge/ai-platform.md +18 -0
  270. package/one/knowledge/ai-token-crypto-analysis-framework.md +1191 -0
  271. package/one/knowledge/ai-token-paradigm-shift-2025.md +732 -0
  272. package/one/knowledge/altcoin-cycle-prediction-ontology.md +884 -0
  273. package/one/knowledge/altcoin-cycle-trading-strategy.md +642 -0
  274. package/one/knowledge/architecture-any-backend.md +265 -42
  275. package/one/knowledge/architecture-diagram.md +404 -94
  276. package/one/knowledge/architecture-frontend.md +130 -51
  277. package/one/knowledge/architecture.md +1496 -1831
  278. package/one/knowledge/{ontology.md.backup → archived/ontology.old.md} +18 -0
  279. package/one/knowledge/astro-effect-complete-vision.md +2148 -0
  280. package/one/knowledge/astro-effect-simple-architecture.md +717 -0
  281. package/one/knowledge/audit-agent-onboard-alignment.md +481 -0
  282. package/one/knowledge/audit-agent-sales-alignment.md +444 -0
  283. package/one/knowledge/backend-api-reference.md +18 -0
  284. package/one/knowledge/cli-claude-handoff.md +18 -0
  285. package/one/knowledge/context-engineering.md +610 -0
  286. package/one/knowledge/crypto-analysis-strategy.md +1276 -0
  287. package/one/knowledge/crypto-cycle-2024-2025-analysis.md +44 -0
  288. package/one/knowledge/crypto.md +18 -0
  289. package/one/knowledge/docs.md +627 -0
  290. package/one/knowledge/dsl.md +18 -0
  291. package/one/knowledge/files.md +18 -0
  292. package/one/knowledge/frontend.md +18 -0
  293. package/one/knowledge/hono.md +18 -0
  294. package/one/knowledge/implementation-examples.md +18 -0
  295. package/one/knowledge/installation-folders.md +18 -0
  296. package/one/knowledge/institutional-cycle-paradigm-2025.md +555 -0
  297. package/one/knowledge/knowledge.md +18 -0
  298. package/one/knowledge/language.md +18 -0
  299. package/one/knowledge/lessons-learned.md +18 -0
  300. package/one/knowledge/lessons-website-building-focus.md +18 -0
  301. package/one/knowledge/merge-report.md +254 -0
  302. package/one/knowledge/nine-padel-playbook.md +18 -0
  303. package/one/knowledge/ontology-blog.yaml +42 -26
  304. package/one/knowledge/ontology-cheatsheet.md +18 -0
  305. package/one/knowledge/ontology-community.yaml +60 -37
  306. package/one/knowledge/ontology-core-universal.md +19 -1
  307. package/one/knowledge/ontology-core.yaml +58 -45
  308. package/one/knowledge/ontology-courses.yaml +71 -48
  309. package/one/knowledge/ontology-creator.md +30 -4
  310. package/one/knowledge/ontology-crypto.md +1603 -0
  311. package/one/knowledge/ontology-developer-guide.md +18 -0
  312. package/one/knowledge/ontology-documentation.md +46 -25
  313. package/one/knowledge/ontology-ecommerce.md +24 -6
  314. package/one/knowledge/ontology-education.md +18 -0
  315. package/one/knowledge/ontology-engineering-specification.md +22 -4
  316. package/one/knowledge/ontology-engineering.md +67 -43
  317. package/one/knowledge/ontology-files.yaml +525 -0
  318. package/one/knowledge/ontology-frontend-master.md +2898 -0
  319. package/one/knowledge/ontology-frontend-specifications.md +57 -49
  320. package/one/knowledge/ontology-frontend.md +40 -22
  321. package/one/knowledge/ontology-index.md +18 -0
  322. package/one/knowledge/ontology-minimal.yaml +18 -16
  323. package/one/knowledge/ontology-portfolio.yaml +40 -26
  324. package/one/knowledge/ontology-quickstart.md +18 -0
  325. package/one/knowledge/ontology-release.md +317 -0
  326. package/one/knowledge/ontology-shop.yaml +146 -119
  327. package/one/knowledge/ontology-tokens.yaml +46 -27
  328. package/one/knowledge/ontology-tutorial.md +18 -0
  329. package/one/knowledge/ontology-video-script.md +18 -0
  330. package/one/knowledge/ontology-visual-guide.md +20 -2
  331. package/one/knowledge/ontology.md +1329 -304
  332. package/one/knowledge/ontology.yaml +763 -275
  333. package/one/knowledge/patterns/backend/convex-mutation-pattern.md +48 -18
  334. package/one/knowledge/patterns/backend/convex-query-pattern.md +78 -23
  335. package/one/knowledge/patterns/backend/mutation-template.md +28 -10
  336. package/one/knowledge/patterns/backend/query-template.md +44 -25
  337. package/one/knowledge/patterns/backend/service-template.md +35 -14
  338. package/one/knowledge/patterns/design/component-architecture.md +45 -9
  339. package/one/knowledge/patterns/design/test-driven-design-pattern.md +37 -3
  340. package/one/knowledge/patterns/design/wireframe-template.md +36 -2
  341. package/one/knowledge/patterns/frontend/component-template.md +91 -40
  342. package/one/knowledge/patterns/frontend/form-template.md +131 -59
  343. package/one/knowledge/patterns/frontend/page-template.md +59 -28
  344. package/one/knowledge/patterns/frontend/react-component-pattern.md +87 -27
  345. package/one/knowledge/patterns/test/acceptance-criteria-template.md +28 -10
  346. package/one/knowledge/patterns/test/technical-test-template.md +48 -26
  347. package/one/knowledge/patterns/test/test-driven-pattern.md +25 -5
  348. package/one/knowledge/patterns/test/user-flow-template.md +18 -0
  349. package/one/knowledge/provider-agnostic-content.md +995 -0
  350. package/one/knowledge/provider-creation-guide.md +18 -0
  351. package/one/knowledge/quality-loop.md +18 -0
  352. package/one/knowledge/readme-architecture.md +158 -0
  353. package/one/knowledge/readme.md +18 -0
  354. package/one/knowledge/rules.md +18 -0
  355. package/one/knowledge/score.md +18 -0
  356. package/one/knowledge/specifications.md +18 -0
  357. package/one/knowledge/tags.md +18 -0
  358. package/one/knowledge/todo-template.md +18 -0
  359. package/one/knowledge/todo.md +18 -0
  360. package/one/knowledge/typescript-patterns.md +18 -0
  361. package/one/knowledge/universal-generation-language.md +827 -0
  362. package/one/knowledge/x402-research.md +104 -0
  363. package/one/license.md +18 -0
  364. package/one/people/anthony-o-connell.md +48 -19
  365. package/one/people/people.md +54 -31
  366. package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +401 -0
  367. package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +588 -0
  368. package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +461 -0
  369. package/one/things/CHECKLIST.md +51 -0
  370. package/one/things/IMPLEMENTATION_STATUS.md +379 -0
  371. package/one/things/ONE.md +19 -1
  372. package/one/things/agents/agent-backend.md +198 -98
  373. package/one/things/agents/agent-builder.md +267 -158
  374. package/one/things/agents/agent-clean.md +40 -15
  375. package/one/things/agents/agent-clone.md +33 -50
  376. package/one/things/agents/agent-deploy.md +59 -11
  377. package/one/things/agents/agent-designer.md +274 -146
  378. package/one/things/agents/agent-director.md +20 -2
  379. package/one/things/agents/agent-documenter.md +126 -46
  380. package/one/things/agents/agent-frontend.md +104 -22
  381. package/one/things/agents/agent-integrator.md +153 -76
  382. package/one/things/agents/agent-lawyer.md +197 -92
  383. package/one/things/agents/agent-problem-solver.md +302 -224
  384. package/one/things/agents/agent-quality.md +149 -19
  385. package/one/things/agents/agent-sales.md +95 -7
  386. package/one/things/cascade/cascade.yaml +20 -3
  387. package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +53 -0
  388. package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +50 -0
  389. package/one/things/cascade/docs/examples/1-1-agent-prompts.md +76 -0
  390. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +49 -3
  391. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +45 -0
  392. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +32 -0
  393. package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +45 -3
  394. package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +44 -0
  395. package/one/things/cascade/docs/examples/1-3-event-coordination.md +40 -1
  396. package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +81 -25
  397. package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +41 -0
  398. package/one/things/cascade/docs/examples/1-4-knowledge-management.md +91 -16
  399. package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +136 -73
  400. package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +43 -0
  401. package/one/things/cascade/docs/examples/1-5-quality-loops.md +88 -4
  402. package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +52 -3
  403. package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +44 -1
  404. package/one/things/cascade/docs/examples/1-6-numbering-structure.md +78 -14
  405. package/one/things/cascade/docs/examples/readme.md +37 -0
  406. package/one/things/cascade/docs/getting-started.md +18 -0
  407. package/one/things/cascade/docs/workflow.md +18 -12
  408. package/one/things/cascade/readme.md +43 -0
  409. package/one/things/cascade/templates/feature-template.md +28 -6
  410. package/one/things/claude/agents/advocacy-activation-manager.md +64 -39
  411. package/one/things/claude/agents/advocacy-campaign-designer.md +64 -39
  412. package/one/things/claude/agents/analyst.md +64 -39
  413. package/one/things/claude/agents/architect.md +64 -39
  414. package/one/things/claude/agents/brand-identity-specialist.md +64 -39
  415. package/one/things/claude/agents/bstp-token-strategist.md +48 -25
  416. package/one/things/claude/agents/builder-repo.md +69 -26
  417. package/one/things/claude/agents/bullstamp-community-builder.md +48 -25
  418. package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +48 -25
  419. package/one/things/claude/agents/bulltilt-platform-growth.md +48 -25
  420. package/one/things/claude/agents/company-bullstamp-character.md +45 -30
  421. package/one/things/claude/agents/company-bullstamp-community.md +45 -30
  422. package/one/things/claude/agents/company-bullstamp-marketing.md +45 -30
  423. package/one/things/claude/agents/company-bullstamp-token.md +45 -30
  424. package/one/things/claude/agents/company-bulltilt-growth.md +45 -30
  425. package/one/things/claude/agents/content-bibliography-formatter.md +48 -25
  426. package/one/things/claude/agents/content-calendar-planner.md +59 -34
  427. package/one/things/claude/agents/content-chapter-formatter.md +60 -35
  428. package/one/things/claude/agents/content-formatter.md +59 -34
  429. package/one/things/claude/agents/content-hook-specialist.md +54 -31
  430. package/one/things/claude/agents/content-image-formatter.md +59 -34
  431. package/one/things/claude/agents/content-introduction-formatter.md +59 -34
  432. package/one/things/claude/agents/content-multiplication-engine.md +54 -31
  433. package/one/things/claude/agents/content-playbook-writer.md +60 -35
  434. package/one/things/claude/agents/content-team-manager.md +59 -34
  435. package/one/things/claude/agents/content-toc-formatter.md +60 -35
  436. package/one/things/claude/agents/convex-backend-specialist.md +380 -216
  437. package/one/things/claude/agents/core-manager.md +59 -34
  438. package/one/things/claude/agents/core-master.md +55 -32
  439. package/one/things/claude/agents/cross-functional-manager.md +46 -41
  440. package/one/things/claude/agents/crypto-airdrop-strategist.md +74 -54
  441. package/one/things/claude/agents/crypto-analytics-educator.md +73 -30
  442. package/one/things/claude/agents/crypto-architecture-specialist.md +70 -39
  443. package/one/things/claude/agents/crypto-community-analyst.md +47 -31
  444. package/one/things/claude/agents/crypto-community-psychologist.md +68 -31
  445. package/one/things/claude/agents/crypto-dex-optimization-expert.md +72 -31
  446. package/one/things/claude/agents/crypto-dex-optimizer.md +45 -30
  447. package/one/things/claude/agents/crypto-diamond-formation-specialist.md +69 -30
  448. package/one/things/claude/agents/crypto-diamond-hands.md +45 -30
  449. package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +73 -30
  450. package/one/things/claude/agents/crypto-engagement-specialist.md +71 -30
  451. package/one/things/claude/agents/crypto-market-researcher.md +45 -30
  452. package/one/things/claude/agents/crypto-marketing-orchestrator.md +74 -34
  453. package/one/things/claude/agents/crypto-network-effect-amplifier.md +75 -30
  454. package/one/things/claude/agents/crypto-optimization-analyst.md +73 -30
  455. package/one/things/claude/agents/crypto-strategic-synthesizer.md +69 -30
  456. package/one/things/claude/agents/crypto-team-manager.md +45 -40
  457. package/one/things/claude/agents/crypto-token-analyst.md +66 -25
  458. package/one/things/claude/agents/crypto-viral-content-creator.md +64 -61
  459. package/one/things/claude/agents/crypto-wallet-identification-expert.md +61 -51
  460. package/one/things/claude/agents/crypto-wallet-identifier.md +45 -30
  461. package/one/things/claude/agents/customer-journey-designer.md +51 -58
  462. package/one/things/claude/agents/customer-success-manager.md +51 -58
  463. package/one/things/claude/agents/dev.md +51 -58
  464. package/one/things/claude/agents/documenter.md +71 -69
  465. package/one/things/claude/agents/elevate-marketing-orchestrator.md +45 -52
  466. package/one/things/claude/agents/engagement-specialist.md +45 -52
  467. package/one/things/claude/agents/engineering-architect.md +54 -54
  468. package/one/things/claude/agents/engineering-business-analyst.md +46 -56
  469. package/one/things/claude/agents/engineering-developer.md +51 -52
  470. package/one/things/claude/agents/engineering-director.md +65 -25
  471. package/one/things/claude/agents/engineering-ingestor.md +110 -100
  472. package/one/things/claude/agents/engineering-product-manager.md +43 -55
  473. package/one/things/claude/agents/engineering-product-owner.md +46 -56
  474. package/one/things/claude/agents/engineering-project-coordinator.md +44 -56
  475. package/one/things/claude/agents/engineering-quality-assurance.md +53 -54
  476. package/one/things/claude/agents/engineering-team-manager.md +46 -43
  477. package/one/things/claude/agents/engineering-user-experience.md +51 -52
  478. package/one/things/claude/agents/framework-elevate-manager.md +45 -30
  479. package/one/things/claude/agents/improver.md +120 -78
  480. package/one/things/claude/agents/intelligence-team-manager.md +45 -40
  481. package/one/things/claude/agents/lead-capture-expert.md +45 -52
  482. package/one/things/claude/agents/lead-magnet-creator.md +45 -52
  483. package/one/things/claude/agents/market-research-analyst.md +48 -25
  484. package/one/things/claude/agents/marketing-brand-identity.md +57 -27
  485. package/one/things/claude/agents/marketing-content-hooks.md +45 -40
  486. package/one/things/claude/agents/marketing-content-multiplier.md +45 -40
  487. package/one/things/claude/agents/marketing-content-poster.md +71 -60
  488. package/one/things/claude/agents/marketing-customer-journey.md +45 -40
  489. package/one/things/claude/agents/marketing-director.md +46 -41
  490. package/one/things/claude/agents/marketing-engagement.md +45 -40
  491. package/one/things/claude/agents/marketing-lead-capture.md +45 -40
  492. package/one/things/claude/agents/marketing-lead-magnet.md +45 -40
  493. package/one/things/claude/agents/marketing-network-effects.md +45 -40
  494. package/one/things/claude/agents/marketing-nurture-campaigns.md +45 -40
  495. package/one/things/claude/agents/marketing-share-optimizer.md +45 -40
  496. package/one/things/claude/agents/marketing-team-manager.md +45 -40
  497. package/one/things/claude/agents/marketing-viral-growth.md +49 -18
  498. package/one/things/claude/agents/mission-commander.md +45 -40
  499. package/one/things/claude/agents/network-effect-analyst.md +48 -31
  500. package/one/things/claude/agents/nextjs-15-specialist.md +209 -122
  501. package/one/things/claude/agents/npx.md +126 -70
  502. package/one/things/claude/agents/nurture-campaign-manager.md +48 -25
  503. package/one/things/claude/agents/one-master.md +48 -25
  504. package/one/things/claude/agents/one-orchestrator.md +57 -27
  505. package/one/things/claude/agents/one.md +88 -31
  506. package/one/things/claude/agents/playbook-generator.md +48 -25
  507. package/one/things/claude/agents/pm.md +48 -25
  508. package/one/things/claude/agents/po.md +51 -26
  509. package/one/things/claude/agents/qa.md +50 -25
  510. package/one/things/claude/agents/research-foundation-analyst.md +48 -31
  511. package/one/things/claude/agents/research-intelligence-gatherer.md +59 -32
  512. package/one/things/claude/agents/research-market-analyst.md +47 -30
  513. package/one/things/claude/agents/research-team-manager.md +47 -40
  514. package/one/things/claude/agents/sales-environment-optimizer.md +50 -25
  515. package/one/things/claude/agents/sales-team-manager.md +47 -40
  516. package/one/things/claude/agents/sales-upsell-strategist.md +47 -30
  517. package/one/things/claude/agents/service-advocacy-campaigns.md +47 -30
  518. package/one/things/claude/agents/service-advocacy-manager.md +47 -30
  519. package/one/things/claude/agents/service-success-manager.md +47 -30
  520. package/one/things/claude/agents/service-team-manager.md +45 -40
  521. package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +85 -30
  522. package/one/things/claude/agents/share-optimization-specialist.md +50 -25
  523. package/one/things/claude/agents/sm.md +50 -25
  524. package/one/things/claude/agents/story-teller.md +51 -26
  525. package/one/things/claude/agents/task-master.md +52 -27
  526. package/one/things/claude/agents/tauri-cross-platform-specialist.md +201 -116
  527. package/one/things/claude/agents/tester.md +85 -46
  528. package/one/things/claude/agents/the-bull-character-manager.md +48 -25
  529. package/one/things/claude/agents/tools-playbook-generator.md +43 -40
  530. package/one/things/claude/agents/turbo-repo-builder.md +57 -27
  531. package/one/things/claude/agents/upsell-strategist.md +48 -25
  532. package/one/things/claude/agents/ux-expert.md +50 -25
  533. package/one/things/claude/agents/viral-growth-orchestrator.md +50 -27
  534. package/one/things/claude/commands/agent.md +25 -5
  535. package/one/things/claude/commands/cascade-status.md +33 -8
  536. package/one/things/claude/commands/ingest.md +64 -11
  537. package/one/things/claude/commands/ingestor.md +29 -7
  538. package/one/things/claude/commands/mission.md +24 -4
  539. package/one/things/claude/commands/npx.md +30 -7
  540. package/one/things/claude/commands/one.md +114 -68
  541. package/one/things/claude/commands/quality-check.md +72 -24
  542. package/one/things/claude/commands/smart-route.md +45 -4
  543. package/one/things/claude/commands/start.md +22 -4
  544. package/one/things/claude/commands/story.md +25 -5
  545. package/one/things/claude/commands/task.md +21 -1
  546. package/one/things/cli/cli-code.md +244 -219
  547. package/one/things/cli/cli-compiler-code.md +244 -219
  548. package/one/things/cli/cli.md +30 -6
  549. package/one/things/components/card-shadcn.md +252 -228
  550. package/one/things/components/card.md +315 -324
  551. package/one/things/components.md +667 -593
  552. package/one/things/componets.md +16 -1
  553. package/one/things/creator-diagram.md +23 -5
  554. package/one/things/demo-accessibility-animations.md +73 -47
  555. package/one/things/demo-components.md +225 -219
  556. package/one/things/demo-design-summary.md +89 -26
  557. package/one/things/demo-design-system.md +184 -130
  558. package/one/things/demo-page-layouts.md +52 -25
  559. package/one/things/designs/accessibility-audit.md +153 -66
  560. package/one/things/designs/component-specifications.md +163 -65
  561. package/one/things/designs/design-overview.md +81 -22
  562. package/one/things/designs/design-tokens.md +127 -93
  563. package/one/things/designs/wireframes-dashboard.md +64 -7
  564. package/one/things/docs/api-requests.md +75 -11
  565. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +18 -0
  566. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +57 -0
  567. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +62 -6
  568. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +60 -5
  569. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +95 -27
  570. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +130 -62
  571. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +43 -19
  572. package/one/things/docs/ecommerce/QUICK-START.md +41 -4
  573. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +75 -6
  574. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +58 -24
  575. package/one/things/examples/children/lemonade-stand.md +52 -14
  576. package/one/things/examples/enterprise/crm-saas.md +43 -28
  577. package/one/things/features/1-1-agent-prompts.md +76 -0
  578. package/one/things/features/1-2-yaml-orchestrator.md +32 -0
  579. package/one/things/features/1-3-event-coordination.md +40 -1
  580. package/one/things/features/1-4-knowledge-management.md +91 -16
  581. package/one/things/features/1-5-quality-loops.md +88 -4
  582. package/one/things/features/1-6-numbering-structure.md +78 -14
  583. package/one/things/features/2-1-dataprovider-interface.md +311 -86
  584. package/one/things/features/2-2-config-system.md +307 -140
  585. package/one/things/features/2-3-effectts-services.md +263 -116
  586. package/one/things/features/2-4-react-hooks.md +217 -201
  587. package/one/things/features/2-5-auth-migration.md +406 -308
  588. package/one/things/features/2-6-dashboard-migration.md +112 -13
  589. package/one/things/features/2-7-alternative-providers.md +138 -65
  590. package/one/things/features/2-7-implementation-report.md +68 -24
  591. package/one/things/features/2-cli.md +88 -76
  592. package/one/things/features/2-design.md +112 -80
  593. package/one/things/features/2-tests.md +56 -0
  594. package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +91 -36
  595. package/one/things/features/DECOUPLING.md +36 -18
  596. package/one/things/features/DEPLOYMENT.md +22 -4
  597. package/one/things/features/IMPLEMENTATION_SUMMARY.md +48 -2
  598. package/one/things/features/improve.md +47 -29
  599. package/one/things/features/remove-convex-deps.md +18 -0
  600. package/one/things/features/top-features.md +28 -20
  601. package/one/things/features/use-one-backend.md +210 -173
  602. package/one/things/features-in-english.md +19 -6
  603. package/one/things/files.yaml +721 -0
  604. package/one/things/ideas/1-create-workflow.md +18 -0
  605. package/one/things/ideas/2-backend-agnostic-frontend.md +57 -2
  606. package/one/things/implementation/backend-guide.md +64 -19
  607. package/one/things/interface.md +43 -0
  608. package/one/things/landing-page-implementation.md +455 -0
  609. package/one/things/legal/README.md +44 -0
  610. package/one/things/legal/privacy-policy.md +186 -23
  611. package/one/things/legal/terms-of-service.md +164 -3
  612. package/one/things/master-workflow-plan.md +806 -0
  613. package/one/things/plans/0-timeline.md +36 -0
  614. package/one/things/plans/1-create-workflow.md +19 -0
  615. package/one/things/plans/QUICK-START-SIMPLIFICATION.md +333 -0
  616. package/one/things/plans/README-SIMPLIFICATION.md +349 -0
  617. package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +16 -0
  618. package/one/things/plans/SIMPLIFICATION-SUMMARY.md +455 -0
  619. package/one/things/plans/ai-elements.md +21 -2
  620. package/one/things/plans/ai-integration.md +108 -59
  621. package/one/things/plans/ai-sdk.md +85 -48
  622. package/one/things/plans/ai-tools.md +621 -0
  623. package/one/things/plans/app.md +142 -71
  624. package/one/things/plans/architecture-summary.md +34 -5
  625. package/one/things/plans/async-ai-agents.md +19 -1
  626. package/one/things/plans/backend-agnostic-frontend.md +70 -8
  627. package/one/things/plans/backend-cleanup-quickstart.md +52 -18
  628. package/one/things/plans/backend-ontology-conformance.md +110 -51
  629. package/one/things/plans/backend-status.md +58 -0
  630. package/one/things/plans/backend-structure.md +103 -55
  631. package/one/things/plans/backend-target-structure.md +61 -17
  632. package/one/things/plans/backend.md +60 -18
  633. package/one/things/plans/better-auth-any-backend-revised.md +325 -287
  634. package/one/things/plans/better-auth-any-backend.md +575 -531
  635. package/one/things/plans/better-auth-available-features.md +43 -5
  636. package/one/things/plans/big-plan.md +20 -6
  637. package/one/things/plans/cli-updates-required.md +44 -4
  638. package/one/things/plans/complete-step-by-step.md +223 -116
  639. package/one/things/plans/components.md +709 -0
  640. package/one/things/plans/convex-agents.md +79 -50
  641. package/one/things/plans/convex-better-auth.md +186 -154
  642. package/one/things/plans/convex-on-off.md +47 -29
  643. package/one/things/plans/crypto-token-researcher.md +629 -0
  644. package/one/things/plans/data-quality-metrics.md +745 -0
  645. package/one/things/plans/deep-researcher-agent.md +466 -0
  646. package/one/things/plans/deploy-to-cloudflare.md +55 -13
  647. package/one/things/plans/deployment-architecture.md +54 -11
  648. package/one/things/plans/desktop.md +21 -3
  649. package/one/things/plans/development-plan.md +184 -121
  650. package/one/things/plans/development-workflow-tldr.md +207 -0
  651. package/one/things/plans/development-workflow.md +959 -0
  652. package/one/things/plans/effect-components.md +667 -593
  653. package/one/things/plans/effect-patterns-reference.md +2235 -0
  654. package/one/things/plans/effect.md +204 -131
  655. package/one/things/plans/email.md +21 -8
  656. package/one/things/plans/enhance-auth.md +64 -41
  657. package/one/things/plans/execution-strategy.md +1291 -0
  658. package/one/things/plans/existing-infrastructure.md +712 -0
  659. package/one/things/plans/feature-based-sites.md +124 -51
  660. package/one/things/plans/frontend-effects.md +1276 -0
  661. package/one/things/plans/group-folder-multi-tenancy.md +92 -29
  662. package/one/things/plans/improve-codebase.md +498 -421
  663. package/one/things/plans/install-components.md +18 -1
  664. package/one/things/plans/integrate-frontend-and-backend.md +68 -44
  665. package/one/things/plans/landing.md +92 -0
  666. package/one/things/plans/layout.md +45 -1
  667. package/one/things/plans/mail-backend.md +546 -493
  668. package/one/things/plans/mail.md +379 -326
  669. package/one/things/plans/mcp-clear-context-prompt.md +21 -0
  670. package/one/things/plans/mcp-simple.md +20 -0
  671. package/one/things/plans/multi-ontology-architecture.md +115 -66
  672. package/one/things/plans/next-features.md +31 -0
  673. package/one/things/plans/onboarding.md +20 -1
  674. package/one/things/plans/one.md +18 -0
  675. package/one/things/plans/ontology-6-dimensions.md +24 -45
  676. package/one/things/plans/ontology-compliance-audit.md +315 -0
  677. package/one/things/plans/ontology-driven-strategy.md +19 -3
  678. package/one/things/plans/ontology-refine.md +586 -0
  679. package/one/things/plans/ontology-ui-approach.md +18 -0
  680. package/one/things/plans/open-agent.md +152 -97
  681. package/one/things/plans/performace.md +32 -0
  682. package/one/things/plans/phase-1-foundation.md +620 -0
  683. package/one/things/plans/phase-3-implementation.md +1037 -0
  684. package/one/things/plans/quick-wins.md +342 -187
  685. package/one/things/plans/readme-backend-cleanup.md +54 -13
  686. package/one/things/plans/release.md +55 -2
  687. package/one/things/plans/repos.md +22 -0
  688. package/one/things/plans/separate-copy-2.md +127 -71
  689. package/one/things/plans/separate-copy-3.md +35 -14
  690. package/one/things/plans/separate-copy.md +127 -71
  691. package/one/things/plans/separate-demo.md +37 -3
  692. package/one/things/plans/separate.md +24 -6
  693. package/one/things/plans/sequence.md +155 -12
  694. package/one/things/plans/shadcn-integration-summary.md +104 -44
  695. package/one/things/plans/sidebar.md +44 -10
  696. package/one/things/plans/skills.md +103 -0
  697. package/one/things/plans/small-fixes.md +19 -1
  698. package/one/things/plans/start-new.md +34 -8
  699. package/one/things/plans/switch-off-auth.md +22 -0
  700. package/one/things/plans/sync-checklist.md +30 -0
  701. package/one/things/plans/test-backend-connection.md +38 -0
  702. package/one/things/plans/unified-implementation-plan.md +144 -62
  703. package/one/things/plans/update-demos.md +103 -35
  704. package/one/things/plans/use-our-backend.md +572 -0
  705. package/one/things/plans/wave1-onboarding-100-inferences.md +1686 -0
  706. package/one/things/plans/wave1-onboarding-vision.md +744 -0
  707. package/one/things/plans/wave1-orchestration-summary.md +604 -0
  708. package/one/things/plans/wave1-specialist-assignments.md +1413 -0
  709. package/one/things/plans/workflow-files.md +28 -14
  710. package/one/things/plans/workflow.md +18 -12
  711. package/one/things/products/cascade-landing-page.md +150 -46
  712. package/one/things/products/cascade.md +185 -135
  713. package/one/things/products/context-engineering.md +411 -350
  714. package/one/things/products/onthology.md +15 -0
  715. package/one/things/products/ontology-ui-shadcn.md +375 -353
  716. package/one/things/products/ontology-ui.md +101 -59
  717. package/one/things/products/ontology.md +90 -18
  718. package/one/things/products/sdk.md +181 -165
  719. package/one/things/promptkit.md +70 -43
  720. package/one/things/repos/all-repos.md +0 -0
  721. package/one/things/service-providers-new.md +95 -25
  722. package/one/things/service-providers.md +231 -202
  723. package/one/things/structure.md +532 -0
  724. package/one/things/system.md +18 -0
  725. package/one/things/templates.md +40 -0
  726. package/one/things/tests/2-1-dataprovider-interface.md +103 -31
  727. package/one/things/tests/2-1-test-analysis.md +65 -17
  728. package/one/things/things.md +48 -13
  729. package/one/things/todo-acp-integration.md +744 -0
  730. package/one/things/todo-ai.md +933 -0
  731. package/one/things/todo-api.md +1078 -0
  732. package/one/things/todo-assignment.md +580 -0
  733. package/one/things/todo-buy-chatgpt.md +1450 -0
  734. package/one/things/todo-components.md +1683 -0
  735. package/one/things/todo-connections.md +278 -0
  736. package/one/things/todo-ecommerce-frontend.md +1313 -0
  737. package/one/things/todo-ecommerce.md +569 -0
  738. package/one/things/todo-effects.md +1075 -0
  739. package/one/things/todo-frontend-effects.md +977 -0
  740. package/one/things/todo-landing-page.md +1091 -0
  741. package/one/things/todo-mail.md +1160 -0
  742. package/one/things/todo-master-plan.md +490 -0
  743. package/one/things/todo-onboard.md +666 -0
  744. package/one/things/todo-one-ie.md +538 -0
  745. package/one/things/todo-page.md +606 -0
  746. package/one/things/todo-plans.md +282 -0
  747. package/one/things/todo-projects.md +241 -0
  748. package/one/things/todo-refactoring-plan.md +366 -0
  749. package/one/things/todo-sequence.md +1621 -0
  750. package/one/things/todo-use-our-backend.md +1908 -0
  751. package/one/things/todo-workflow.md +626 -0
  752. package/one/things/todo-x402.md +2047 -0
  753. package/one/things/todo.md +459 -1075
  754. package/one/things/video/scripts-crypto.md +835 -0
  755. package/one/things/video-script-ontology.md +334 -0
  756. package/package.json +1 -1
  757. package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +0 -49
  758. package/one/knowledge/docs/flow.md +0 -0
  759. package/one/knowledge/documentation-summary.md +0 -285
  760. package/one/knowledge/inference-score.md +0 -159
  761. package/one/knowledge/ontology-frontend-copy-2.md +0 -1492
  762. package/one/knowledge/ontology-frontend-copy.md +0 -753
  763. package/one/knowledge/ontology-migration-guide.md +0 -811
  764. package/one/things/features/0 All Features.md +0 -2
  765. package/one/things/plans/1-create-workflow-status.md +0 -555
  766. package/one/things/plans/2-backend-agnostic-frontend.md +0 -546
  767. package/one/things/plans/2-sites.md +0 -895
  768. package/one/things/plans/3-groups.md +0 -735
  769. package/one/things/plans/5-build-frontend.md +0 -0
  770. package/one/things/plans/5-complete.md +0 -17
  771. package/one/things/plans/agent-director-100-inference-plans.md +0 -410
  772. package/one/things/plans/dual-website-strategy.md +0 -612
  773. package/one/things/plans/releases.md +0 -809
@@ -0,0 +1,1313 @@
1
+ ---
2
+ title: Todo Ecommerce Frontend
3
+ dimension: things
4
+ primary_dimension: things
5
+ category: todo-ecommerce-frontend.md
6
+ tags: ai, backend, frontend, inference, ui
7
+ related_dimensions: connections, events, groups, knowledge, people, things
8
+ scope: global
9
+ created: 2025-11-03
10
+ updated: 2025-11-03
11
+ version: 1.0.0
12
+ ai_context: |
13
+ This document is part of the things dimension in the todo-ecommerce-frontend.md category.
14
+ Location: one/things/todo-ecommerce-frontend.md
15
+ Purpose: Documents one platform: e-commerce frontend store v1.0.0
16
+ Related dimensions: connections, events, groups, knowledge, people
17
+ For AI agents: Read this to understand todo ecommerce frontend.
18
+ ---
19
+
20
+ # ONE Platform: E-Commerce Frontend Store v1.0.0
21
+
22
+ **Focus:** Frontend-only ecommerce storefront with Stripe checkout, product catalog, shopping cart
23
+ **Type:** Complete frontend implementation (Astro + React 19 + Tailwind v4)
24
+ **Integration:** Stripe for payment processing
25
+ **Process:** `Infer 1-100 inference sequence`
26
+ **Timeline:** 12-16 inferences per specialist per day
27
+ **Target:** Fully functional product storefront ready for integration with backend services
28
+
29
+ ---
30
+
31
+ ## PHASE 1: FOUNDATION & DESIGN (Infer 1-10)
32
+
33
+ **Purpose:** Define storefront requirements, product categories, user flows, design system
34
+
35
+ ### Infer 1: Define Storefront Structure
36
+
37
+ - [ ] **Product Catalog:**
38
+ - [ ] Featured products on homepage
39
+ - [ ] All products listing page with filters
40
+ - [ ] Product detail pages with images, descriptions
41
+ - [ ] Category browsing (clothing, accessories, electronics, etc.)
42
+ - [ ] Search functionality
43
+ - [ ] **Shopping Experience:**
44
+ - [ ] Add to cart functionality
45
+ - [ ] Cart page with item management
46
+ - [ ] Wishlist/saved items
47
+ - [ ] Quick view modal
48
+ - [ ] **Checkout:**
49
+ - [ ] Cart review step
50
+ - [ ] Shipping information form
51
+ - [ ] Billing address (same as shipping option)
52
+ - [ ] Order summary with totals
53
+ - [ ] Stripe payment integration
54
+ - [ ] **Customer Features:**
55
+ - [ ] User accounts (optional for guest checkout)
56
+ - [ ] Order history page
57
+ - [ ] Saved addresses
58
+ - [ ] Account settings
59
+
60
+ ### Infer 2: Map Storefront to 6-Dimension Ontology
61
+
62
+ - [ ] **Groups:** Storefront's business group (e.g., "Acme Store")
63
+ - [ ] **People:** Customer (buyer), admin (store manager)
64
+ - [ ] **Things:**
65
+ - [ ] product (name, description, price, images, inventory)
66
+ - [ ] shopping_cart (items, totals, status)
67
+ - [ ] order (items, shipping, payment info)
68
+ - [ ] **Connections:**
69
+ - [ ] customer → product (viewed, added to cart, purchased)
70
+ - [ ] customer → order (owns)
71
+ - [ ] product → order (included_in)
72
+ - [ ] **Events:**
73
+ - [ ] product_viewed, product_added_to_cart, item_removed_from_cart
74
+ - [ ] cart_abandoned, checkout_started, order_placed, payment_completed
75
+ - [ ] **Knowledge:** product categories, price tiers, inventory levels
76
+
77
+ ### Infer 3: Design Product Catalog Structure
78
+
79
+ - [ ] **Product Data Model:**
80
+ - [ ] ID, name, description, price, compareAtPrice (original)
81
+ - [ ] Images (primary + gallery)
82
+ - [ ] Category, tags, SKU
83
+ - [ ] Inventory count, variants (size, color)
84
+ - [ ] Rating, review count
85
+ - [ ] Status (draft, published, archived)
86
+ - [ ] **Product Details Page Shows:**
87
+ - [ ] Image gallery with zoom
88
+ - [ ] Product name, brand, rating
89
+ - [ ] Price (show savings if on sale)
90
+ - [ ] Availability status
91
+ - [ ] Variant selectors (size, color)
92
+ - [ ] Quantity picker
93
+ - [ ] Add to cart button
94
+ - [ ] Add to wishlist button
95
+ - [ ] Share product link
96
+ - [ ] Product description + features
97
+ - [ ] Related/recommended products
98
+
99
+ ### Infer 4: Design Shopping Cart Experience
100
+
101
+ - [ ] **Cart Page Shows:**
102
+ - [ ] Product list with images
103
+ - [ ] Quantity controls (increment/decrement)
104
+ - [ ] Price per item (with variant details)
105
+ - [ ] Remove button per item
106
+ - [ ] Subtotal, estimated tax, estimated shipping
107
+ - [ ] Applied discount codes (if any)
108
+ - [ ] Order total
109
+ - [ ] Proceed to checkout button
110
+ - [ ] Continue shopping button
111
+ - [ ] **Cart State Management:**
112
+ - [ ] Add to cart from product pages
113
+ - [ ] Update quantities
114
+ - [ ] Remove items
115
+ - [ ] Save cart (localStorage for guests, database for users)
116
+ - [ ] Display item count in header
117
+
118
+ ### Infer 5: Design Checkout Flow
119
+
120
+ - [ ] **Step 1: Cart Review**
121
+ - [ ] Show all items with quantities
122
+ - [ ] Allow editing (change qty, remove items)
123
+ - [ ] Subtotal display
124
+ - [ ] **Step 2: Shipping Address**
125
+ - [ ] Street address, city, state/province, postal code, country
126
+ - [ ] Phone number
127
+ - [ ] For existing users: Load saved addresses
128
+ - [ ] Save this address option
129
+ - [ ] **Step 3: Billing Address**
130
+ - [ ] "Same as shipping" checkbox (default checked)
131
+ - [ ] Or enter separate billing address
132
+ - [ ] **Step 4: Shipping Method**
133
+ - [ ] Standard shipping (5-7 business days) - Free over $50
134
+ - [ ] Express shipping (2-3 business days) - $10.99
135
+ - [ ] Overnight shipping (next day) - $24.99
136
+ - [ ] Show cost per method
137
+ - [ ] **Step 5: Order Summary**
138
+ - [ ] All items with final prices
139
+ - [ ] Shipping method + cost
140
+ - [ ] Subtotal, tax, shipping, total
141
+ - [ ] Back to shipping button
142
+ - [ ] **Step 6: Payment via Stripe**
143
+ - [ ] Card details (hosted via Stripe Elements)
144
+ - [ ] Billing zip code (already entered)
145
+ - [ ] "Save card for future purchases" option
146
+ - [ ] Show security badges (SSL, secure checkout)
147
+ - [ ] Complete purchase button
148
+ - [ ] **Step 7: Order Confirmation**
149
+ - [ ] Order number (ORD-202501-12345)
150
+ - [ ] Items purchased
151
+ - [ ] Total amount paid
152
+ - [ ] Estimated delivery date
153
+ - [ ] Email confirmation sent notice
154
+ - [ ] Continue shopping button
155
+ - [ ] Track order link (future)
156
+
157
+ ### Infer 6: Define Responsive Design Strategy
158
+
159
+ - [ ] **Mobile-first (80% of users):**
160
+ - [ ] Single column layout
161
+ - [ ] Touch-friendly buttons (48px minimum)
162
+ - [ ] Readable font sizes (16px+)
163
+ - [ ] Minimal form fields per screen
164
+ - [ ] Swipeable product galleries
165
+ - [ ] **Tablet (10% of users):**
166
+ - [ ] Two-column product grid
167
+ - [ ] Larger images
168
+ - [ ] Side sidebar for filters
169
+ - [ ] **Desktop (10% of users):**
170
+ - [ ] Three-column product grid
171
+ - [ ] Full featured layout
172
+ - [ ] Hover effects on cards
173
+ - [ ] Keyboard navigation support
174
+
175
+ ### Infer 7: Plan Content Strategy
176
+
177
+ - [ ] **Home Page:**
178
+ - [ ] Hero banner with featured products/sale
179
+ - [ ] Featured products section
180
+ - [ ] Best sellers section
181
+ - [ ] New arrivals section
182
+ - [ ] Testimonials/social proof
183
+ - [ ] Newsletter signup
184
+ - [ ] Trust badges (free shipping, returns, security)
185
+ - [ ] **Product Pages:**
186
+ - [ ] Rich descriptions (benefits, use cases)
187
+ - [ ] Size guides (if applicable)
188
+ - [ ] Care instructions
189
+ - [ ] Customer reviews with photos
190
+ - [ ] Q&A section
191
+ - [ ] Related products
192
+ - [ ] **Static Pages:**
193
+ - [ ] About us
194
+ - [ ] Contact us
195
+ - [ ] FAQ
196
+ - [ ] Shipping & returns policy
197
+ - [ ] Privacy policy
198
+ - [ ] Terms of service
199
+
200
+ ### Infer 8: Design Visual System
201
+
202
+ - [ ] **Color Palette:**
203
+ - [ ] Primary: Brand color for CTAs, active states
204
+ - [ ] Secondary: Accents, highlights
205
+ - [ ] Success: Green for checkmarks, confirmations
206
+ - [ ] Warning: Orange/red for alerts
207
+ - [ ] Neutral: Grays for borders, backgrounds
208
+ - [ ] Dark mode support
209
+ - [ ] **Typography:**
210
+ - [ ] Heading sizes: H1 (36px), H2 (28px), H3 (24px), H4 (20px)
211
+ - [ ] Body: 16px for standard text, 14px for secondary
212
+ - [ ] Font weights: Regular (400), semibold (600), bold (700)
213
+ - [ ] **Components:**
214
+ - [ ] Buttons: Primary (solid), secondary (outline), ghost
215
+ - [ ] Cards: Product, testimonial, feature
216
+ - [ ] Forms: Text inputs, selects, checkboxes, radios
217
+ - [ ] Badges: Category, discount, new
218
+ - [ ] Stars: 5-star rating display
219
+
220
+ ### Infer 9: Plan Performance & Analytics
221
+
222
+ - [ ] **Performance Targets:**
223
+ - [ ] Lighthouse: 90+ score
224
+ - [ ] LCP (Largest Contentful Paint): < 2.5s
225
+ - [ ] Core Web Vitals: All green
226
+ - [ ] Bundle size: < 100KB (gzipped)
227
+ - [ ] **Analytics to Track:**
228
+ - [ ] Page views, unique visitors
229
+ - [ ] Top products viewed
230
+ - [ ] Cart abandonment rate
231
+ - [ ] Conversion rate (visitors → orders)
232
+ - [ ] Average order value
233
+ - [ ] Customer acquisition cost
234
+ - [ ] **Third-party Services:**
235
+ - [ ] Stripe for payments
236
+ - [ ] Google Analytics (or Plausible for privacy)
237
+ - [ ] Email service for order confirmations
238
+
239
+ ### Infer 10: Define Success Metrics
240
+
241
+ - [ ] Frontend complete when:
242
+ - [ ] Home page displays beautifully on all devices
243
+ - [ ] Product catalog page loads with filters/search working
244
+ - [ ] Product detail page shows all information
245
+ - [ ] Add to cart works (localStorage persistence)
246
+ - [ ] Cart page displays with edit controls
247
+ - [ ] Checkout form validates all fields
248
+ - [ ] Stripe payment integration working
249
+ - [ ] Order confirmation page displays
250
+ - [ ] Mobile UX is smooth and fast
251
+ - [ ] Lighthouse score > 85
252
+ - [ ] First test order completed successfully
253
+
254
+ ---
255
+
256
+ ## PHASE 2: ASTRO PAGES & LAYOUTS (Infer 11-20)
257
+
258
+ **Purpose:** Create page structure and Astro components for static content
259
+
260
+ ### Infer 11: Create Layout Components
261
+
262
+ - [ ] **MainLayout.astro**
263
+ - [ ] Header with logo, search, cart icon, account menu
264
+ - [ ] Navigation (collections, sale, about, contact)
265
+ - [ ] Main content area
266
+ - [ ] Footer with links, newsletter signup, social media
267
+ - [ ] Mobile hamburger menu
268
+ - [ ] **CheckoutLayout.astro**
269
+ - [ ] Simplified header (back to store link)
270
+ - [ ] Progress indicator (step 1-7)
271
+ - [ ] Form content area
272
+ - [ ] Order summary sidebar (desktop) / collapsed (mobile)
273
+
274
+ ### Infer 12: Create Home Page (index.astro)
275
+
276
+ - [ ] **Hero Section:**
277
+ - [ ] Large background image
278
+ - [ ] Bold headline
279
+ - [ ] Subheading
280
+ - [ ] "Shop Now" CTA button
281
+ - [ ] Trust badges (free shipping, easy returns, secure)
282
+ - [ ] **Featured Products (6 items):**
283
+ - [ ] Product grid (3 columns desktop, 2 tablet, 1 mobile)
284
+ - [ ] ProductCard component (image, name, price, rating, button)
285
+ - [ ] Hover effects (scale, shadow)
286
+ - [ ] **Best Sellers (4 items):**
287
+ - [ ] Similar layout to featured
288
+ - [ ] Badge "Best Seller" on cards
289
+ - [ ] **New Arrivals (4 items):**
290
+ - [ ] Similar layout
291
+ - [ ] Badge "New" on cards
292
+ - [ ] **Testimonials (3-4 reviews):**
293
+ - [ ] Customer photos
294
+ - [ ] Star ratings
295
+ - [ ] Review text
296
+ - [ ] Customer name + title
297
+ - [ ] **Newsletter Section:**
298
+ - [ ] Heading "Stay Updated"
299
+ - [ ] Email input
300
+ - [ ] Subscribe button
301
+ - [ ] Privacy note
302
+ - [ ] **CTA Section:**
303
+ - [ ] "Discover More" heading
304
+ - [ ] Browse all button, View sale button
305
+
306
+ ### Infer 13: Create Products Listing Page (products/index.astro)
307
+
308
+ - [ ] **Header:**
309
+ - [ ] Page title "All Products"
310
+ - [ ] Product count
311
+ - [ ] Sort dropdown (newest, price low-high, price high-low, rating)
312
+ - [ ] **Sidebar (desktop only):**
313
+ - [ ] **Category Filter:**
314
+ - [ ] Checkboxes for each category
315
+ - [ ] Count per category
316
+ - [ ] **Price Filter:**
317
+ - [ ] Range slider ($0 - $500+)
318
+ - [ ] Min/max text inputs
319
+ - [ ] **Rating Filter:**
320
+ - [ ] 5★, 4★, 3★, 2★, 1★ options
321
+ - [ ] **Clear all filters** button
322
+ - [ ] **Main Content:**
323
+ - [ ] Product grid (3 columns desktop, 2 tablet, 1 mobile)
324
+ - [ ] ProductCard for each item
325
+ - [ ] Pagination (12 items per page)
326
+ - [ ] "Show more" button (infinite scroll option)
327
+ - [ ] **Mobile:**
328
+ - [ ] Filter button (opens drawer)
329
+ - [ ] Filter drawer with same options
330
+
331
+ ### Infer 14: Create Product Detail Page (products/[slug].astro)
332
+
333
+ - [ ] **Left Column (60%):**
334
+ - [ ] ImageGallery component
335
+ - [ ] Primary image display
336
+ - [ ] Thumbnail strip (vertical on desktop, horizontal on mobile)
337
+ - [ ] Zoom on hover
338
+ - [ ] Keyboard navigation (arrows)
339
+ - [ ] **Right Column (40%):**
340
+ - [ ] **Product Info:**
341
+ - [ ] Category breadcrumb
342
+ - [ ] Product name (H1)
343
+ - [ ] Rating (stars + count + link to reviews)
344
+ - [ ] Price (sale price, original price crossed out)
345
+ - [ ] Stock status (in stock / out of stock / low stock)
346
+ - [ ] **Selectors:**
347
+ - [ ] Size selector (if applicable)
348
+ - [ ] Color selector (if applicable)
349
+ - [ ] Quantity picker (1-10)
350
+ - [ ] **Buttons:**
351
+ - [ ] "Add to Cart" (primary)
352
+ - [ ] "Add to Wishlist" (secondary)
353
+ - [ ] Share button (copy link, email, social)
354
+ - [ ] **Info Sections:**
355
+ - [ ] Shipping info (free over $50, express available)
356
+ - [ ] Returns policy (30-day free returns)
357
+ - [ ] Trust badges (SSL, secure, quality guaranteed)
358
+ - [ ] **Below (Full Width):**
359
+ - [ ] **Tabs: Description, Details, Reviews, Q&A**
360
+ - [ ] Description: Rich text with images
361
+ - [ ] Details: Specifications table
362
+ - [ ] Reviews: Customer reviews with photos
363
+ - [ ] Q&A: Questions and answers section
364
+ - [ ] **Related Products:**
365
+ - [ ] 4-6 similar items
366
+ - [ ] ProductCard grid
367
+ - [ ] **Recently Viewed (if user has history):**
368
+ - [ ] 4-6 recently viewed products
369
+
370
+ ### Infer 15: Create Shopping Cart Page (cart.astro)
371
+
372
+ - [ ] **Page Title & Actions:**
373
+ - [ ] "Shopping Cart" heading
374
+ - [ ] "Continue Shopping" link
375
+ - [ ] "Clear Cart" button (if items > 0)
376
+ - [ ] **If items exist:**
377
+ - [ ] **Cart Items Table (desktop) / List (mobile):**
378
+ - [ ] Product image, name, variant (size/color)
379
+ - [ ] Price per item
380
+ - [ ] Quantity controls (-, number input, +)
381
+ - [ ] Line total (qty × price)
382
+ - [ ] Remove button
383
+ - [ ] Save for later button (optional)
384
+ - [ ] **Order Summary (sticky on desktop):**
385
+ - [ ] Subtotal
386
+ - [ ] Estimated tax (if available)
387
+ - [ ] Estimated shipping (if entered)
388
+ - [ ] Discount code input + apply button
389
+ - [ ] Order total (large, bold)
390
+ - [ ] "Proceed to Checkout" button (primary)
391
+ - [ ] "Continue Shopping" button
392
+ - [ ] **Info Box:**
393
+ - [ ] Free shipping over $50
394
+ - [ ] Easy 30-day returns
395
+ - [ ] Secure checkout
396
+ - [ ] **If empty:**
397
+ - [ ] "Your cart is empty" message
398
+ - [ ] Featured products grid
399
+ - [ ] "Continue Shopping" button
400
+
401
+ ### Infer 16: Create Checkout Pages (checkout/[step].astro)
402
+
403
+ - [ ] **Shared Checkout Layout:**
404
+ - [ ] Progress indicator (1 2 3 4 5 6 7)
405
+ - [ ] Current step highlighted
406
+ - [ ] Left: Form content (70%)
407
+ - [ ] Right: Order summary sidebar (30%)
408
+ - [ ] **Step 1: Cart Review (checkout/index.astro)**
409
+ - [ ] Cart items list
410
+ - [ ] Edit cart button (back to cart)
411
+ - [ ] Next button (to step 2)
412
+ - [ ] **Step 2: Shipping Address (checkout/shipping.astro)**
413
+ - [ ] Form fields:
414
+ - [ ] First name, last name (inline)
415
+ - [ ] Email
416
+ - [ ] Phone number
417
+ - [ ] Street address
418
+ - [ ] Apartment/suite (optional)
419
+ - [ ] City, state/province, zip/postal code, country
420
+ - [ ] "Save this address" checkbox
421
+ - [ ] For logged-in users: Load saved addresses
422
+ - [ ] Back button, Next button
423
+ - [ ] **Step 3: Billing Address (checkout/billing.astro)**
424
+ - [ ] "Same as shipping" checkbox (checked by default)
425
+ - [ ] If unchecked, show address form
426
+ - [ ] Back button, Next button
427
+ - [ ] **Step 4: Shipping Method (checkout/shipping-method.astro)**
428
+ - [ ] Radio button options:
429
+ - [ ] Standard (5-7 days) - Free / $5.99
430
+ - [ ] Express (2-3 days) - $10.99
431
+ - [ ] Overnight (1 day) - $24.99
432
+ - [ ] Show delivery date estimate
433
+ - [ ] Back button, Next button
434
+ - [ ] **Step 5: Order Review (checkout/review.astro)**
435
+ - [ ] Summary of all info:
436
+ - [ ] Shipping address
437
+ - [ ] Billing address
438
+ - [ ] Shipping method
439
+ - [ ] Items with prices
440
+ - [ ] Links to edit each section
441
+ - [ ] Back button, Next button
442
+ - [ ] **Step 6: Payment (checkout/payment.astro)**
443
+ - [ ] Stripe payment form (embedded via React component)
444
+ - [ ] Card number, expiry, CVC
445
+ - [ ] Billing zip code
446
+ - [ ] "Save card for future" checkbox
447
+ - [ ] Security badges
448
+ - [ ] Back button, "Complete Purchase" button
449
+ - [ ] Loading state (spinner while processing)
450
+ - [ ] **Step 7: Confirmation (checkout/confirmation.astro)**
451
+ - [ ] Order number display
452
+ - [ ] "Order confirmed!" heading + checkmark icon
453
+ - [ ] Items purchased
454
+ - [ ] Total amount paid
455
+ - [ ] Delivery date estimate
456
+ - [ ] "Confirmation email sent to [email]"
457
+ - [ ] "Track order" button (links to account/orders)
458
+ - [ ] "Continue Shopping" button
459
+ - [ ] "Download Invoice" button
460
+
461
+ ### Infer 17: Create Account Pages (account/[page].astro)
462
+
463
+ - [ ] **Orders Page (account/orders.astro)**
464
+ - [ ] List of all orders (paginated, 10 per page)
465
+ - [ ] Order number, date, total, status
466
+ - [ ] View details button
467
+ - [ ] Download invoice button
468
+ - [ ] Track shipment link
469
+ - [ ] **Order Details (account/order-[id].astro)**
470
+ - [ ] Order number, date, status
471
+ - [ ] Items purchased with images
472
+ - [ ] Shipping address
473
+ - [ ] Tracking number + link
474
+ - [ ] Total paid + payment method
475
+ - [ ] Return request button (if within 30 days)
476
+ - [ ] Leave review button
477
+ - [ ] **Account Settings (account/settings.astro)**
478
+ - [ ] Profile section (name, email)
479
+ - [ ] Password change
480
+ - [ ] Saved addresses
481
+ - [ ] Payment methods
482
+ - [ ] Notification preferences
483
+ - [ ] Wishlist items
484
+
485
+ ### Infer 18: Create Static Pages
486
+
487
+ - [ ] **About (about.astro)**
488
+ - [ ] Company story
489
+ - [ ] Mission statement
490
+ - [ ] Team members
491
+ - [ ] Timeline
492
+ - [ ] Press mentions
493
+ - [ ] **Contact (contact.astro)**
494
+ - [ ] Contact form
495
+ - [ ] Email address, phone
496
+ - [ ] Store locations (if applicable)
497
+ - [ ] Hours of operation
498
+ - [ ] Social media links
499
+ - [ ] **FAQ (faq.astro)**
500
+ - [ ] Accordion of common questions
501
+ - [ ] Organized by category
502
+ - [ ] **Shipping & Returns (shipping-returns.astro)**
503
+ - [ ] Shipping policy
504
+ - [ ] Return window (30 days)
505
+ - [ ] Return process steps
506
+ - [ ] Refund timeline
507
+ - [ ] International shipping info
508
+ - [ ] **Privacy Policy (privacy.astro)**
509
+ - [ ] Legal text
510
+ - [ ] **Terms of Service (terms.astro)**
511
+ - [ ] Legal text
512
+
513
+ ### Infer 19: Create Error Pages
514
+
515
+ - [ ] **404 Not Found (404.astro)**
516
+ - [ ] Friendly message
517
+ - [ ] Search products
518
+ - [ ] Navigation links
519
+ - [ ] **500 Server Error (500.astro)**
520
+ - [ ] Apologize
521
+ - [ ] Suggest actions
522
+ - [ ] Support email
523
+
524
+ ### Infer 20: Create Email Templates (Astro)
525
+
526
+ - [ ] **Order Confirmation Email:**
527
+ - [ ] Order number, date
528
+ - [ ] Items purchased
529
+ - [ ] Total amount
530
+ - [ ] Shipping address
531
+ - [ ] Tracking number (when available)
532
+ - [ ] Link to view order
533
+ - [ ] Customer support contact
534
+ - [ ] **Shipping Notification Email:**
535
+ - [ ] "Your order is on its way!"
536
+ - [ ] Tracking number with link
537
+ - [ ] Estimated delivery date
538
+ - [ ] **Return Confirmation Email:**
539
+ - [ ] Return number
540
+ - [ ] Refund amount
541
+ - [ ] Return address
542
+ - [ ] Timeline for refund
543
+
544
+ ---
545
+
546
+ ## PHASE 3: REACT COMPONENTS (Infer 21-30)
547
+
548
+ **Purpose:** Build interactive React components for client-side functionality
549
+
550
+ ### Infer 21: Create ProductCard Component
551
+
552
+ - [ ] **Props:**
553
+ - [ ] product (id, image, name, price, rating, category)
554
+ - [ ] onAddToCart (callback)
555
+ - [ ] onQuickView (callback)
556
+ - [ ] **Display:**
557
+ - [ ] Product image (with hover zoom effect)
558
+ - [ ] Category badge
559
+ - [ ] Product name
560
+ - [ ] Rating (stars + count)
561
+ - [ ] Price (sale and original if on sale)
562
+ - [ ] Availability badge
563
+ - [ ] **Interactions:**
564
+ - [ ] Hover: Show "Add to Cart" button + "Quick View"
565
+ - [ ] Click add: Trigger toast notification
566
+ - [ ] Click quick view: Open modal
567
+
568
+ ### Infer 22: Create ProductQuickView Modal
569
+
570
+ - [ ] **Content:**
571
+ - [ ] Main product image (large)
572
+ - [ ] Product name, rating, price
573
+ - [ ] Size/color selectors
574
+ - [ ] Quantity picker
575
+ - [ ] "Add to Cart" button
576
+ - [ ] "View Full Details" link (to product page)
577
+ - [ ] **Behavior:**
578
+ - [ ] Click outside closes modal
579
+ - [ ] Escape key closes modal
580
+ - [ ] Smooth open/close animation
581
+
582
+ ### Infer 23: Create ImageGallery Component
583
+
584
+ - [ ] **Features:**
585
+ - [ ] Main image display (large)
586
+ - [ ] Thumbnail strip (clickable)
587
+ - [ ] Zoom on hover (magnifying glass)
588
+ - [ ] Previous/next arrows
589
+ - [ ] Keyboard navigation (arrow keys)
590
+ - [ ] Mobile: Swipe to change images
591
+ - [ ] Alt text for accessibility
592
+ - [ ] **Props:**
593
+ - [ ] images (array of image URLs)
594
+ - [ ] alt (product name for alt text)
595
+
596
+ ### Infer 24: Create SizeSelector Component
597
+
598
+ - [ ] **Display:**
599
+ - [ ] Size options as buttons or chips
600
+ - [ ] Show availability for each size
601
+ - [ ] Selected size highlighted
602
+ - [ ] **Props:**
603
+ - [ ] sizes (array with availability)
604
+ - [ ] onSelect (callback)
605
+
606
+ ### Infer 25: Create ColorSelector Component
607
+
608
+ - [ ] **Display:**
609
+ - [ ] Color swatches as circles
610
+ - [ ] Color name on hover
611
+ - [ ] Selected color has border/checkmark
612
+ - [ ] **Props:**
613
+ - [ ] colors (array with color codes/names)
614
+ - [ ] onSelect (callback)
615
+
616
+ ### Infer 26: Create QuantityPicker Component
617
+
618
+ - [ ] **Display:**
619
+ - [ ] Minus button, number input, plus button
620
+ - [ ] Min 1, max based on inventory
621
+ - [ ] **Props:**
622
+ - [ ] maxQuantity (inventory count)
623
+ - [ ] onChange (callback)
624
+
625
+ ### Infer 27: Create CartIcon Component
626
+
627
+ - [ ] **Display:**
628
+ - [ ] Shopping cart icon
629
+ - [ ] Item count badge (if > 0)
630
+ - [ ] Highlight when items added
631
+ - [ ] **Behavior:**
632
+ - [ ] Click to go to cart page
633
+ - [ ] Show tooltip with item count on hover
634
+
635
+ ### Infer 28: Create AddToCartButton Component
636
+
637
+ - [ ] **Display:**
638
+ - [ ] "Add to Cart" text
639
+ - [ ] Loading spinner while processing
640
+ - [ ] Success checkmark briefly
641
+ - [ ] **Props:**
642
+ - [ ] onClick (callback)
643
+ - [ ] isLoading (boolean)
644
+ - [ ] className (for styling)
645
+
646
+ ### Infer 29: Create ProductFilter Component
647
+
648
+ - [ ] **Sections:**
649
+ - [ ] Category filter (checkboxes)
650
+ - [ ] Price range (slider)
651
+ - [ ] Rating filter (stars)
652
+ - [ ] Clear all button
653
+ - [ ] **Behavior:**
654
+ - [ ] Update URL params as user filters
655
+ - [ ] Mobile: Collapsible/drawer
656
+ - [ ] Desktop: Sidebar
657
+
658
+ ### Infer 30: Create SearchBar Component
659
+
660
+ - [ ] **Features:**
661
+ - [ ] Text input
662
+ - [ ] Search icon
663
+ - [ ] Clear button (when typing)
664
+ - [ ] Search suggestions (dropdown)
665
+ - [ ] Submit on enter or button click
666
+ - [ ] **Props:**
667
+ - [ ] onSearch (callback with query)
668
+ - [ ] placeholder (search placeholder text)
669
+
670
+ ---
671
+
672
+ ## PHASE 4: STRIPE INTEGRATION (Infer 31-40)
673
+
674
+ **Purpose:** Integrate Stripe payment processing for checkout
675
+
676
+ ### Infer 31: Set Up Stripe Environment
677
+
678
+ - [ ] **Get Stripe Keys:**
679
+ - [ ] Create Stripe account
680
+ - [ ] Get publishable key (public)
681
+ - [ ] Get secret key (private, backend only)
682
+ - [ ] **Add to Environment:**
683
+ - [ ] `PUBLIC_STRIPE_PUBLISHABLE_KEY` in `.env.local`
684
+ - [ ] `STRIPE_SECRET_KEY` in backend `.env.local`
685
+ - [ ] **Install Dependencies:**
686
+ - [ ] `bun add @stripe/stripe-js`
687
+ - [ ] `bun add @stripe/react-stripe-js`
688
+
689
+ ### Infer 32: Create StripePaymentForm Component
690
+
691
+ - [ ] **Structure:**
692
+ - [ ] Elements provider (wraps form)
693
+ - [ ] CardElement (Stripe hosted input)
694
+ - [ ] Billing email input
695
+ - [ ] Billing zip code (prepopulated)
696
+ - [ ] Save card checkbox
697
+ - [ ] Error message display
698
+ - [ ] Processing state
699
+ - [ ] **Props:**
700
+ - [ ] onSubmit (callback with payment method)
701
+ - [ ] clientSecret (from backend payment intent)
702
+
703
+ ### Infer 33: Create StripeElements Configuration
704
+
705
+ - [ ] **Initialize Stripe:**
706
+ - [ ] Load Stripe.js with public key
707
+ - [ ] Create Elements instance
708
+ - [ ] Configure styling (fonts, colors, focus states)
709
+ - [ ] **CardElement Options:**
710
+ - [ ] Placeholder text
711
+ - [ ] Font matching site
712
+ - [ ] Focus state styling
713
+ - [ ] Error state styling
714
+
715
+ ### Infer 34: Create Payment Intent API Handler
716
+
717
+ - [ ] **Frontend function:**
718
+ - [ ] Call backend to create payment intent
719
+ - [ ] Receive clientSecret
720
+ - [ ] Pass to payment form
721
+ - [ ] **Backend stub:**
722
+ - [ ] Accept cart data
723
+ - [ ] Calculate total
724
+ - [ ] Create Stripe payment intent
725
+ - [ ] Return clientSecret
726
+
727
+ ### Infer 35: Create Payment Confirmation Handler
728
+
729
+ - [ ] **After form submit:**
730
+ - [ ] Use Stripe.confirmCardPayment()
731
+ - [ ] Pass clientSecret + payment details
732
+ - [ ] Handle success (show confirmation)
733
+ - [ ] Handle error (show error message)
734
+ - [ ] Handle 3D Secure redirect (if needed)
735
+
736
+ ### Infer 36: Create Order Submission Flow
737
+
738
+ - [ ] **Sequence:**
739
+ 1. User completes checkout form
740
+ 2. Create payment intent on backend
741
+ 3. Show Stripe payment form
742
+ 4. User enters card details
743
+ 5. Confirm payment
744
+ 6. If successful, create order on backend
745
+ 7. Show confirmation page
746
+ - [ ] **Error handling:**
747
+ - [ ] Invalid card → show message
748
+ - [ ] Declined card → suggest retry
749
+ - [ ] Network error → retry option
750
+
751
+ ### Infer 37: Create Cart State Management (Zustand)
752
+
753
+ - [ ] **Store structure:**
754
+ - [ ] items (array)
755
+ - [ ] addItem (fn)
756
+ - [ ] removeItem (fn)
757
+ - [ ] updateQuantity (fn)
758
+ - [ ] clear (fn)
759
+ - [ ] total (computed)
760
+ - [ ] itemCount (computed)
761
+ - [ ] **Persistence:**
762
+ - [ ] Save to localStorage
763
+ - [ ] Load from localStorage on init
764
+ - [ ] Sync across tabs
765
+
766
+ ### Infer 38: Create Order State Management
767
+
768
+ - [ ] **Store structure:**
769
+ - [ ] currentOrder (object)
770
+ - [ ] setOrder (fn)
771
+ - [ ] clearOrder (fn)
772
+ - [ ] orders (array, for logged-in users)
773
+ - [ ] addOrder (fn)
774
+ - [ ] **Data:**
775
+ - [ ] Order ID, date, items, total, status
776
+ - [ ] Shipping address, tracking number
777
+
778
+ ### Infer 39: Create Toast/Notification System
779
+
780
+ - [ ] **Types:**
781
+ - [ ] Success (green)
782
+ - [ ] Error (red)
783
+ - [ ] Info (blue)
784
+ - [ ] Warning (orange)
785
+ - [ ] **Features:**
786
+ - [ ] Auto-dismiss after 5 seconds
787
+ - [ ] Stack multiple toasts
788
+ - [ ] Dismiss button
789
+ - [ ] Undo action button (optional)
790
+ - [ ] **Use cases:**
791
+ - [ ] "Added to cart" success
792
+ - [ ] "Item removed" success
793
+ - [ ] Payment error message
794
+ - [ ] Form validation error
795
+
796
+ ### Infer 40: Create Loading States
797
+
798
+ - [ ] **Spinners:**
799
+ - [ ] Full page loader (checkout)
800
+ - [ ] Component loader (button, form)
801
+ - [ ] Skeleton loaders (product grid)
802
+ - [ ] **Disabled states:**
803
+ - [ ] Disable buttons while loading
804
+ - [ ] Disable form inputs while processing
805
+ - [ ] Show loading text/icons
806
+
807
+ ---
808
+
809
+ ## PHASE 5: MOBILE OPTIMIZATION (Infer 41-50)
810
+
811
+ **Purpose:** Ensure flawless mobile experience (80% of users)
812
+
813
+ ### Infer 41: Test Mobile Navigation
814
+
815
+ - [ ] **Header changes:**
816
+ - [ ] Logo (smaller on mobile)
817
+ - [ ] Search (collapsible or moved to page)
818
+ - [ ] Cart icon (always visible)
819
+ - [ ] Account menu (hamburger)
820
+ - [ ] **Hamburger Menu:**
821
+ - [ ] Navigation links
822
+ - [ ] Account link
823
+ - [ ] Settings link
824
+ - [ ] Logout link
825
+
826
+ ### Infer 42: Optimize Forms for Mobile
827
+
828
+ - [ ] **Checkout form changes:**
829
+ - [ ] Full-width inputs
830
+ - [ ] Large labels
831
+ - [ ] 16px font size (prevents zoom on iOS)
832
+ - [ ] Larger touch targets (48px buttons)
833
+ - [ ] Auto-focus first field
834
+ - [ ] Mobile keyboard types (email, tel, number)
835
+ - [ ] One field per line (no side-by-side on small screens)
836
+
837
+ ### Infer 43: Optimize Product Pages for Mobile
838
+
839
+ - [ ] **Image gallery:**
840
+ - [ ] Swipe to change images
841
+ - [ ] Touch-friendly thumbnails
842
+ - [ ] Avoid hover states
843
+ - [ ] **Product info:**
844
+ - [ ] Stack vertically
845
+ - [ ] Larger font sizes
846
+ - [ ] Prominent "Add to Cart" button
847
+ - [ ] **Scroll behavior:**
848
+ - [ ] Sticky "Add to Cart" button at bottom
849
+ - [ ] Smooth scroll to quantity picker
850
+
851
+ ### Infer 44: Optimize Checkout for Mobile
852
+
853
+ - [ ] **Step-by-step:**
854
+ - [ ] Show one step per screen
855
+ - [ ] Progress indicator above content
856
+ - [ ] Large next/back buttons
857
+ - [ ] **Order summary:**
858
+ - [ ] Collapse on mobile (expandable)
859
+ - [ ] Show on each step
860
+ - [ ] Sticky at bottom with total
861
+
862
+ ### Infer 45: Test Touch Interactions
863
+
864
+ - [ ] **Size controls:**
865
+ - [ ] Large, touchable buttons for size/color
866
+ - [ ] Clear visual feedback (highlight on select)
867
+ - [ ] No hover-only info
868
+ - [ ] **Buttons:**
869
+ - [ ] 48px minimum height
870
+ - [ ] 16px padding
871
+ - [ ] Clear labels
872
+
873
+ ### Infer 46: Optimize Image Loading
874
+
875
+ - [ ] **Lazy loading:**
876
+ - [ ] Load images as user scrolls
877
+ - [ ] Use `loading="lazy"` attribute
878
+ - [ ] Show placeholder while loading
879
+ - [ ] **Responsive images:**
880
+ - [ ] Serve smaller images on mobile
881
+ - [ ] Use `srcset` for multiple sizes
882
+ - [ ] WebP format with fallback
883
+ - [ ] **Image optimization:**
884
+ - [ ] Compress images
885
+ - [ ] Remove EXIF data
886
+ - [ ] Use CDN for fast delivery
887
+
888
+ ### Infer 47: Optimize Performance on Mobile
889
+
890
+ - [ ] **Reduce bundle size:**
891
+ - [ ] Code split by route
892
+ - [ ] Lazy load heavy components
893
+ - [ ] Remove unused CSS/JS
894
+ - [ ] **Network optimization:**
895
+ - [ ] Gzip responses
896
+ - [ ] Cache static assets
897
+ - [ ] Minimize API calls
898
+ - [ ] **Rendering optimization:**
899
+ - [ ] Avoid large layouts
900
+ - [ ] Use `client:load` sparingly
901
+ - [ ] Optimize React components
902
+
903
+ ### Infer 48: Test on Real Devices
904
+
905
+ - [ ] **Devices:**
906
+ - [ ] iPhone SE (375px)
907
+ - [ ] iPhone 12 (390px)
908
+ - [ ] iPhone 14 Pro (430px)
909
+ - [ ] Samsung Galaxy S21 (360px)
910
+ - [ ] iPad (768px)
911
+ - [ ] **Browsers:**
912
+ - [ ] Safari (iOS)
913
+ - [ ] Chrome (Android)
914
+ - [ ] Samsung Internet
915
+ - [ ] **Conditions:**
916
+ - [ ] Slow 4G network
917
+ - [ ] High latency (3000ms)
918
+ - [ ] Battery saver mode
919
+
920
+ ### Infer 49: Fix Mobile Issues
921
+
922
+ - [ ] **Common issues:**
923
+ - [ ] Fixed headers blocking content
924
+ - [ ] Horizontal scrolling
925
+ - [ ] Invisible form fields
926
+ - [ ] Unresponsive buttons
927
+ - [ ] Text too small
928
+ - [ ] Images not loading
929
+ - [ ] **Testing:**
930
+ - [ ] Chrome DevTools mobile view
931
+ - [ ] Browser testing tools (BrowserStack)
932
+ - [ ] Real device testing
933
+
934
+ ### Infer 50: Add Mobile-Specific Features
935
+
936
+ - [ ] **PWA features (optional):**
937
+ - [ ] Install app prompt
938
+ - [ ] Offline support
939
+ - [ ] Push notifications
940
+ - [ ] **Mobile gestures:**
941
+ - [ ] Pull to refresh
942
+ - [ ] Swipe navigation
943
+ - [ ] Tap to expand
944
+
945
+ ---
946
+
947
+ ## PHASE 6: TESTING & QA (Infer 51-60)
948
+
949
+ **Purpose:** Comprehensive testing of all features
950
+
951
+ ### Infer 51: Test Product Pages
952
+
953
+ - [ ] **Functionality:**
954
+ - [ ] Product loads correctly
955
+ - [ ] Images display and zoom
956
+ - [ ] Variant selectors work
957
+ - [ ] Quantity picker increments/decrements
958
+ - [ ] Add to cart adds item
959
+ - [ ] Add to wishlist works
960
+ - [ ] Share buttons work
961
+ - [ ] **Edge cases:**
962
+ - [ ] Out of stock handling
963
+ - [ ] Maximum quantity restriction
964
+ - [ ] Missing images (fallback)
965
+ - [ ] Very long product names/descriptions
966
+
967
+ ### Infer 52: Test Shopping Cart
968
+
969
+ - [ ] **Functionality:**
970
+ - [ ] Items persist in cart
971
+ - [ ] Update quantity works
972
+ - [ ] Remove item works
973
+ - [ ] Clear cart works
974
+ - [ ] Cart total calculates correctly
975
+ - [ ] Cart icon shows count
976
+ - [ ] **Edge cases:**
977
+ - [ ] Add same item twice (increase qty)
978
+ - [ ] Remove last item
979
+ - [ ] Maximum inventory limit
980
+ - [ ] LocalStorage sync across tabs
981
+
982
+ ### Infer 53: Test Checkout Flow
983
+
984
+ - [ ] **Each step:**
985
+ - [ ] Step 1: Cart review loads
986
+ - [ ] Step 2: Shipping form validates
987
+ - [ ] Step 3: Billing address toggle works
988
+ - [ ] Step 4: Shipping methods display
989
+ - [ ] Step 5: Summary correct
990
+ - [ ] Step 6: Payment form loads
991
+ - [ ] Step 7: Confirmation shows
992
+ - [ ] **Navigation:**
993
+ - [ ] Next button works
994
+ - [ ] Back button works
995
+ - [ ] Can't skip steps
996
+ - [ ] Can go back to previous step
997
+
998
+ ### Infer 54: Test Form Validation
999
+
1000
+ - [ ] **Required fields:**
1001
+ - [ ] All required fields validated
1002
+ - [ ] Error messages displayed
1003
+ - [ ] User can't submit invalid form
1004
+ - [ ] **Specific validation:**
1005
+ - [ ] Email format validation
1006
+ - [ ] Phone number format (US)
1007
+ - [ ] Zip code format (US)
1008
+ - [ ] Card details validation (via Stripe)
1009
+ - [ ] **Error messages:**
1010
+ - [ ] Clear and helpful
1011
+ - [ ] Highlight invalid field
1012
+ - [ ] Suggest correction
1013
+
1014
+ ### Infer 55: Test Stripe Integration
1015
+
1016
+ - [ ] **Payment flow:**
1017
+ - [ ] Payment form loads
1018
+ - [ ] User can enter card
1019
+ - [ ] Valid card processes
1020
+ - [ ] Invalid card shows error
1021
+ - [ ] Confirmation shows order
1022
+ - [ ] **Card testing (use Stripe test cards):**
1023
+ - [ ] 4242 4242 4242 4242 (visa - success)
1024
+ - [ ] 4000 0000 0000 0002 (visa - declined)
1025
+ - [ ] 3782 822463 10005 (amex)
1026
+ - [ ] Various error scenarios
1027
+
1028
+ ### Infer 56: Test Search & Filters
1029
+
1030
+ - [ ] **Search:**
1031
+ - [ ] Search by product name
1032
+ - [ ] Search by category
1033
+ - [ ] No results handling
1034
+ - [ ] Partial matches work
1035
+ - [ ] Search suggestions appear
1036
+ - [ ] **Filters:**
1037
+ - [ ] Category filter works
1038
+ - [ ] Price range filter works
1039
+ - [ ] Rating filter works
1040
+ - [ ] Multiple filters combine correctly
1041
+ - [ ] Clear filters button works
1042
+
1043
+ ### Infer 57: Test Cross-Browser
1044
+
1045
+ - [ ] **Desktop browsers:**
1046
+ - [ ] Chrome
1047
+ - [ ] Firefox
1048
+ - [ ] Safari
1049
+ - [ ] Edge
1050
+ - [ ] **Mobile browsers:**
1051
+ - [ ] Safari (iOS)
1052
+ - [ ] Chrome (Android)
1053
+ - [ ] Samsung Internet
1054
+ - [ ] **Issues to check:**
1055
+ - [ ] Layout problems
1056
+ - [ ] Missing styles
1057
+ - [ ] JavaScript errors
1058
+ - [ ] Form input issues
1059
+
1060
+ ### Infer 58: Test Accessibility
1061
+
1062
+ - [ ] **Keyboard navigation:**
1063
+ - [ ] Tab through form
1064
+ - [ ] Enter submits form
1065
+ - [ ] Escape closes modals
1066
+ - [ ] Focus visible on all elements
1067
+ - [ ] **Screen reader (NVDA, JAWS):**
1068
+ - [ ] All text readable
1069
+ - [ ] Images have alt text
1070
+ - [ ] Form labels associated
1071
+ - [ ] Button purposes clear
1072
+ - [ ] **Color contrast:**
1073
+ - [ ] Text on background >= 4.5:1
1074
+ - [ ] Icons on background >= 3:1
1075
+ - [ ] **WCAG 2.1 AA compliance:**
1076
+ - [ ] Use axe DevTools
1077
+ - [ ] Check for violations
1078
+
1079
+ ### Infer 59: Test Performance
1080
+
1081
+ - [ ] **Lighthouse audit:**
1082
+ - [ ] Performance > 85
1083
+ - [ ] Accessibility > 90
1084
+ - [ ] Best Practices > 90
1085
+ - [ ] SEO > 90
1086
+ - [ ] **Core Web Vitals:**
1087
+ - [ ] LCP (Largest Contentful Paint) < 2.5s
1088
+ - [ ] FID (First Input Delay) < 100ms
1089
+ - [ ] CLS (Cumulative Layout Shift) < 0.1
1090
+ - [ ] **Bundle size:**
1091
+ - [ ] JS < 100KB (gzipped)
1092
+ - [ ] CSS < 50KB (gzipped)
1093
+ - [ ] Total < 200KB
1094
+
1095
+ ### Infer 60: Test Edge Cases
1096
+
1097
+ - [ ] **Scenarios:**
1098
+ - [ ] Network disconnection (checkout)
1099
+ - [ ] Browser back button during checkout
1100
+ - [ ] Multiple tabs with same order
1101
+ - [ ] Session timeout
1102
+ - [ ] Extremely long product names
1103
+ - [ ] Special characters in address
1104
+ - [ ] International addresses
1105
+ - [ ] Rate limiting (repeated requests)
1106
+
1107
+ ---
1108
+
1109
+ ## PHASE 7: DEPLOYMENT & OPTIMIZATION (Infer 61-70)
1110
+
1111
+ **Purpose:** Deploy to Cloudflare Pages and optimize for production
1112
+
1113
+ ### Infer 61: Prepare for Deployment
1114
+
1115
+ - [ ] **Build optimization:**
1116
+ - [ ] Run `bun run build`
1117
+ - [ ] Check for build errors
1118
+ - [ ] Review bundle size
1119
+ - [ ] Minification working
1120
+ - [ ] **Environment setup:**
1121
+ - [ ] Set production Stripe key
1122
+ - [ ] Set production API endpoints
1123
+ - [ ] Enable security headers
1124
+ - [ ] Set up CORS properly
1125
+
1126
+ ### Infer 62: Deploy to Cloudflare Pages
1127
+
1128
+ - [ ] **Deployment steps:**
1129
+ - [ ] Connect GitHub repo
1130
+ - [ ] Set build command: `bunx astro build`
1131
+ - [ ] Set output directory: `dist`
1132
+ - [ ] Set node version
1133
+ - [ ] Deploy
1134
+ - [ ] **Verify deployment:**
1135
+ - [ ] Site loads correctly
1136
+ - [ ] All pages accessible
1137
+ - [ ] Forms work
1138
+ - [ ] Images load
1139
+ - [ ] Stripe test mode active
1140
+
1141
+ ### Infer 63: Set Up Analytics
1142
+
1143
+ - [ ] **Google Analytics (or Plausible):**
1144
+ - [ ] Add tracking code
1145
+ - [ ] Track page views
1146
+ - [ ] Track custom events (add to cart, checkout)
1147
+ - [ ] Set up goals (purchase)
1148
+ - [ ] **Stripe analytics:**
1149
+ - [ ] Track payment events
1150
+ - [ ] Monitor declined cards
1151
+ - [ ] Track refunds
1152
+ - [ ] Revenue reporting
1153
+
1154
+ ### Infer 64: Monitor Site Health
1155
+
1156
+ - [ ] **Error tracking (Sentry or similar):**
1157
+ - [ ] Set up error reporting
1158
+ - [ ] Monitor JavaScript errors
1159
+ - [ ] Monitor API errors
1160
+ - [ ] Alert on critical errors
1161
+ - [ ] **Uptime monitoring:**
1162
+ - [ ] Set up status page
1163
+ - [ ] Monitor site availability
1164
+ - [ ] Alert on downtime
1165
+
1166
+ ### Infer 65: Set Up Email Infrastructure
1167
+
1168
+ - [ ] **Email service (Resend or SendGrid):**
1169
+ - [ ] Create account
1170
+ - [ ] Set up sender domain
1171
+ - [ ] Create email templates
1172
+ - [ ] Test sending
1173
+ - [ ] **Emails to set up:**
1174
+ - [ ] Order confirmation
1175
+ - [ ] Shipping notification
1176
+ - [ ] Return confirmation
1177
+
1178
+ ### Infer 66: Implement Security
1179
+
1180
+ - [ ] **HTTPS:**
1181
+ - [ ] Verify SSL certificate
1182
+ - [ ] Force HTTPS redirect
1183
+ - [ ] Check certificate expiry
1184
+ - [ ] **Headers:**
1185
+ - [ ] Content-Security-Policy
1186
+ - [ ] X-Frame-Options
1187
+ - [ ] X-Content-Type-Options
1188
+ - [ ] Referrer-Policy
1189
+ - [ ] **Stripe security:**
1190
+ - [ ] Never log card data
1191
+ - [ ] Use Stripe.js
1192
+ - [ ] Validate on backend
1193
+
1194
+ ### Infer 67: Optimize Images for Production
1195
+
1196
+ - [ ] **Image compression:**
1197
+ - [ ] Use TinyPNG or similar
1198
+ - [ ] Remove metadata
1199
+ - [ ] Save as WebP
1200
+ - [ ] Create multiple sizes
1201
+ - [ ] **Srcset optimization:**
1202
+ - [ ] 1x and 2x versions
1203
+ - [ ] Mobile and desktop sizes
1204
+ - [ ] Lazy load all images
1205
+ - [ ] Use modern formats with fallback
1206
+
1207
+ ### Infer 68: Implement Caching Strategy
1208
+
1209
+ - [ ] **Browser caching:**
1210
+ - [ ] Cache static assets 1 year
1211
+ - [ ] Cache images 1 month
1212
+ - [ ] Cache HTML 1 hour
1213
+ - [ ] No cache for API responses
1214
+ - [ ] **Cloudflare Page Rules:**
1215
+ - [ ] Cache everything (except API)
1216
+ - [ ] Set minimum cache TTL
1217
+ - [ ] Purge cache on deploy
1218
+
1219
+ ### Infer 69: Set Up Custom Domain
1220
+
1221
+ - [ ] **Domain setup:**
1222
+ - [ ] Point domain to Cloudflare
1223
+ - [ ] Set up SSL/TLS
1224
+ - [ ] Configure DNS
1225
+ - [ ] Test from custom domain
1226
+ - [ ] **Email setup (optional):**
1227
+ - [ ] Set up SPF record
1228
+ - [ ] Set up DKIM
1229
+ - [ ] Set up DMARC
1230
+
1231
+ ### Infer 70: Create Deployment Checklist
1232
+
1233
+ - [ ] **Before going live:**
1234
+ - [ ] All tests passing
1235
+ - [ ] No console errors
1236
+ - [ ] Lighthouse > 85
1237
+ - [ ] Stripe test transaction successful
1238
+ - [ ] Email sending working
1239
+ - [ ] Analytics installed
1240
+ - [ ] 404 page custom
1241
+ - [ ] All links working
1242
+ - [ ] Forms validating
1243
+ - [ ] Mobile responsive
1244
+
1245
+ ---
1246
+
1247
+ ## SUCCESS CRITERIA
1248
+
1249
+ Frontend ecommerce store is complete when:
1250
+
1251
+ - ✅ Home page displays beautifully with hero, featured products, testimonials
1252
+ - ✅ Product catalog with search, filters, and sorting functional
1253
+ - ✅ Product detail pages show all information (images, price, reviews, variants)
1254
+ - ✅ Shopping cart persists items across sessions
1255
+ - ✅ Checkout flow validates all required information
1256
+ - ✅ Stripe payment integration accepts test cards
1257
+ - ✅ Order confirmation page displays with order details
1258
+ - ✅ Mobile responsive on all screen sizes (375px - 2560px)
1259
+ - ✅ Lighthouse score > 85 on all metrics
1260
+ - ✅ Cross-browser tested (Chrome, Firefox, Safari, Edge)
1261
+ - ✅ Accessible (WCAG 2.1 AA compliant)
1262
+ - ✅ First test purchase completed successfully
1263
+ - ✅ Deployed to Cloudflare Pages and live at custom domain
1264
+ - ✅ Analytics tracking page views and purchases
1265
+ - ✅ Error handling and user feedback (toasts, validation)
1266
+
1267
+ ---
1268
+
1269
+ **Timeline:** 70-80 inferences for complete implementation
1270
+ **Status:** Ready to build
1271
+ **Next:** Use Claude Code to implement step by step following inference sequence
1272
+
1273
+ ---
1274
+
1275
+ ## COPY THIS PROMPT TO CLAUDE CODE
1276
+
1277
+ ```
1278
+ Build a complete ecommerce storefront frontend with Astro 5 and React 19:
1279
+
1280
+ REQUIREMENTS:
1281
+ 1. Homepage with hero, featured products, best sellers, testimonials
1282
+ 2. Product catalog page with search, category filters, price filter, sorting
1283
+ 3. Product detail pages showing images gallery, variant selectors (size/color), reviews
1284
+ 4. Shopping cart with persistent storage (localStorage)
1285
+ 5. Multi-step checkout: cart → shipping → billing → shipping method → review → payment → confirmation
1286
+ 6. Stripe payment integration (use test keys)
1287
+ 7. Mobile-optimized (80% of users on mobile, 48px buttons, swipeable galleries)
1288
+ 8. Responsive design (works on 375px mobile to 2560px desktop)
1289
+ 9. Dark mode support with Tailwind v4
1290
+ 10. Accessibility (WCAG 2.1 AA, keyboard nav, alt text, color contrast)
1291
+
1292
+ DESIGN SYSTEM:
1293
+ - Use the existing shadcn/ui components from your library
1294
+ - Color palette: Primary (brand), secondary (accents), success (green), neutral (grays)
1295
+ - Typography: H1 36px, H2 28px, H3 24px, body 16px
1296
+ - Spacing: 4px, 8px, 16px, 24px, 32px, 48px (multiples of 4)
1297
+ - Buttons: 48px height minimum, rounded corners, hover effects
1298
+
1299
+ TECHNICAL:
1300
+ - Use Astro pages for static content (product listings, checkout steps)
1301
+ - Use React components (`client:load`) for interactive features (cart, payment form, filters)
1302
+ - Use Zustand for state management (cart items, orders)
1303
+ - Stripe Elements for secure payment form
1304
+ - localStorage for cart persistence
1305
+ - Mobile-first responsive design (Tailwind v4)
1306
+
1307
+ DEPLOYMENT:
1308
+ - Build target: Cloudflare Pages
1309
+ - Deploy command: `bun run build && wrangler pages deploy dist`
1310
+ - Set up Stripe test mode with publishable key in .env.local
1311
+
1312
+ Start with the foundation (Astro pages and layouts), then add React components, then integrate Stripe.
1313
+ ```