oneie 3.6.20 → 3.6.21
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.
- package/CLAUDE.md +12 -12
- package/one/groups/one.md +1 -1
- package/one/knowledge/architecture-frontend.md +5 -0
- package/one/knowledge/archived/ontology.old.md +1 -1
- package/one/knowledge/develop/design.md +364 -0
- package/one/knowledge/develop/index.md +145 -0
- package/one/knowledge/metadata-system.md +1 -1
- package/one/knowledge/ontology-engineering.md +1 -1
- package/one/knowledge/ontology.md +1 -1
- package/one/knowledge/patterns/design/index.md +160 -0
- package/one/knowledge/quick-start-ontology-mapping.md +773 -0
- package/one/knowledge/todo-template.md +100 -100
- package/one/knowledge/todo.md +100 -100
- package/one/people/anthony-o-connell.md +3 -3
- package/one/things/master-workflow-plan.md +2 -2
- package/one/things/plans/execution-strategy.md +243 -243
- package/one/things/plans/wave1-specialist-assignments.md +1 -1
- package/one/things/todo-ai.md +100 -100
- package/one/things/todo-assignment.md +21 -21
- package/one/things/todo-effects.md +100 -100
- package/one/things/todo-frontend-effects.md +100 -100
- package/one/things/todo-master-plan.md +1 -1
- package/one/things/todo-sequence.md +1 -1
- package/package.json +1 -1
|
@@ -26,151 +26,151 @@ Each number represents the sequence position when data is sent for AI cycle. Thi
|
|
|
26
26
|
|
|
27
27
|
## Cycle 1-10: Foundation & Setup
|
|
28
28
|
|
|
29
|
-
**1. [
|
|
30
|
-
**2. [
|
|
31
|
-
**3. [
|
|
32
|
-
**4. [
|
|
33
|
-
**5. [
|
|
34
|
-
**6. [
|
|
35
|
-
**7. [
|
|
36
|
-
**8. [
|
|
37
|
-
**9. [
|
|
38
|
-
**10. [
|
|
29
|
+
**1. [CYCLE-001]** Validate idea against 6-dimension ontology (groups, people, things, connections, events, knowledge)
|
|
30
|
+
**2. [CYCLE-002]** Map idea to specific entity types (which of 66+ thing types are involved?)
|
|
31
|
+
**3. [CYCLE-003]** Identify connection types needed (which of 25+ relationship types?)
|
|
32
|
+
**4. [CYCLE-004]** List event types that will be triggered (which of 67+ event types?)
|
|
33
|
+
**5. [CYCLE-005]** Determine knowledge requirements (embeddings, vectors, RAG needs)
|
|
34
|
+
**6. [CYCLE-006]** Identify organization scope (single-tenant vs multi-tenant)
|
|
35
|
+
**7. [CYCLE-007]** Define people roles involved (platform_owner, org_owner, org_user, customer)
|
|
36
|
+
**8. [CYCLE-008]** Create high-level vision document (what problem does this solve?)
|
|
37
|
+
**9. [CYCLE-009]** Generate initial plan with feature breakdown
|
|
38
|
+
**10. [CYCLE-010]** Assign features to specialists (backend, frontend, integration)
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
42
|
## Cycle 11-20: Backend Schema & Services
|
|
43
43
|
|
|
44
|
-
**11. [
|
|
45
|
-
**12. [
|
|
46
|
-
**13. [
|
|
47
|
-
**14. [
|
|
48
|
-
**15. [
|
|
49
|
-
**16. [
|
|
50
|
-
**17. [
|
|
51
|
-
**18. [
|
|
52
|
-
**19. [
|
|
53
|
-
**20. [
|
|
44
|
+
**11. [CYCLE-011]** Design database schema changes (if any new entity types)
|
|
45
|
+
**12. [CYCLE-012]** Update backend/convex/schema.ts with new types
|
|
46
|
+
**13. [CYCLE-013]** Create Effect.ts service for business logic (pure functions)
|
|
47
|
+
**14. [CYCLE-014]** Define service errors with tagged unions (_tag field)
|
|
48
|
+
**15. [CYCLE-015]** Write Convex queries for read operations
|
|
49
|
+
**16. [CYCLE-016]** Write Convex mutations for write operations
|
|
50
|
+
**17. [CYCLE-017]** Add event logging to all mutations (audit trail)
|
|
51
|
+
**18. [CYCLE-018]** Implement organization scoping (ensure multi-tenant isolation)
|
|
52
|
+
**19. [CYCLE-019]** Add rate limiting to mutations (prevent abuse)
|
|
53
|
+
**20. [CYCLE-020]** Write unit tests for Effect.ts services
|
|
54
54
|
|
|
55
55
|
---
|
|
56
56
|
|
|
57
57
|
## Cycle 21-30: Frontend Pages & Components
|
|
58
58
|
|
|
59
|
-
**21. [
|
|
60
|
-
**22. [
|
|
61
|
-
**23. [
|
|
62
|
-
**24. [
|
|
63
|
-
**25. [
|
|
64
|
-
**26. [
|
|
65
|
-
**27. [
|
|
66
|
-
**28. [
|
|
67
|
-
**29. [
|
|
68
|
-
**30. [
|
|
59
|
+
**21. [CYCLE-021]** Create Astro page with SSR data fetching
|
|
60
|
+
**22. [CYCLE-022]** Build React components for interactive UI
|
|
61
|
+
**23. [CYCLE-023]** Use shadcn/ui components (50+ pre-installed)
|
|
62
|
+
**24. [CYCLE-024]** Implement loading states with Suspense
|
|
63
|
+
**25. [CYCLE-025]** Add error boundaries for graceful failures
|
|
64
|
+
**26. [CYCLE-026]** Create forms with validation (React Hook Form + Zod)
|
|
65
|
+
**27. [CYCLE-027]** Implement client-side state with Convex hooks
|
|
66
|
+
**28. [CYCLE-028]** Style with Tailwind v4 (CSS @theme blocks)
|
|
67
|
+
**29. [CYCLE-029]** Ensure responsive design (mobile-first)
|
|
68
|
+
**30. [CYCLE-030]** Add dark mode support (@variant dark)
|
|
69
69
|
|
|
70
70
|
---
|
|
71
71
|
|
|
72
72
|
## Cycle 31-40: Integration & Connections
|
|
73
73
|
|
|
74
|
-
**31. [
|
|
75
|
-
**32. [
|
|
76
|
-
**33. [
|
|
77
|
-
**34. [
|
|
78
|
-
**35. [
|
|
79
|
-
**36. [
|
|
80
|
-
**37. [
|
|
81
|
-
**38. [
|
|
82
|
-
**39. [
|
|
83
|
-
**40. [
|
|
74
|
+
**31. [CYCLE-031]** Map external system to ontology dimensions
|
|
75
|
+
**32. [CYCLE-032]** Create connection records for system relationships
|
|
76
|
+
**33. [CYCLE-033]** Implement data synchronization logic
|
|
77
|
+
**34. [CYCLE-034]** Add event tracking for cross-system actions
|
|
78
|
+
**35. [CYCLE-035]** Create webhook handlers (if external system pushes data)
|
|
79
|
+
**36. [CYCLE-036]** Implement polling logic (if external system requires pulling)
|
|
80
|
+
**37. [CYCLE-037]** Add error handling for integration failures
|
|
81
|
+
**38. [CYCLE-038]** Create retry logic with exponential backoff
|
|
82
|
+
**39. [CYCLE-039]** Log all integration events to events table
|
|
83
|
+
**40. [CYCLE-040]** Write integration tests for data flows
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
87
|
## Cycle 41-50: Authentication & Authorization
|
|
88
88
|
|
|
89
|
-
**41. [
|
|
90
|
-
**42. [
|
|
91
|
-
**43. [
|
|
92
|
-
**44. [
|
|
93
|
-
**45. [
|
|
94
|
-
**46. [
|
|
95
|
-
**47. [
|
|
96
|
-
**48. [
|
|
97
|
-
**49. [
|
|
98
|
-
**50. [
|
|
89
|
+
**41. [CYCLE-041]** Configure Better Auth with 6 methods (email/password, OAuth, magic links, etc.)
|
|
90
|
+
**42. [CYCLE-042]** Implement role-based access control (4 roles)
|
|
91
|
+
**43. [CYCLE-043]** Add organization-scoped permissions
|
|
92
|
+
**44. [CYCLE-044]** Create session management with JWT tokens
|
|
93
|
+
**45. [CYCLE-045]** Implement password reset flow
|
|
94
|
+
**46. [CYCLE-046]** Add email verification flow
|
|
95
|
+
**47. [CYCLE-047]** Enable 2FA (two-factor authentication)
|
|
96
|
+
**48. [CYCLE-048]** Add brute force protection (rate limiting)
|
|
97
|
+
**49. [CYCLE-049]** Log all auth events (user_login, user_logout, etc.)
|
|
98
|
+
**50. [CYCLE-050]** Write auth integration tests
|
|
99
99
|
|
|
100
100
|
---
|
|
101
101
|
|
|
102
102
|
## Cycle 51-60: Knowledge & RAG
|
|
103
103
|
|
|
104
|
-
**51. [
|
|
105
|
-
**52. [
|
|
106
|
-
**53. [
|
|
107
|
-
**54. [
|
|
108
|
-
**55. [
|
|
109
|
-
**56. [
|
|
110
|
-
**57. [
|
|
111
|
-
**58. [
|
|
112
|
-
**59. [
|
|
113
|
-
**60. [
|
|
104
|
+
**51. [CYCLE-051]** Create knowledge records with labels
|
|
105
|
+
**52. [CYCLE-052]** Generate embeddings for content (OpenAI, Anthropic, or local)
|
|
106
|
+
**53. [CYCLE-053]** Store vectors in knowledge table
|
|
107
|
+
**54. [CYCLE-054]** Implement vector search (similarity queries)
|
|
108
|
+
**55. [CYCLE-055]** Create RAG pipeline (retrieve, augment, generate)
|
|
109
|
+
**56. [CYCLE-056]** Link knowledge to things via junction table
|
|
110
|
+
**57. [CYCLE-057]** Add semantic search to UI
|
|
111
|
+
**58. [CYCLE-058]** Implement knowledge graph traversal
|
|
112
|
+
**59. [CYCLE-059]** Create AI-powered recommendations
|
|
113
|
+
**60. [CYCLE-060]** Test RAG accuracy with sample queries
|
|
114
114
|
|
|
115
115
|
---
|
|
116
116
|
|
|
117
117
|
## Cycle 61-70: Quality & Testing
|
|
118
118
|
|
|
119
|
-
**61. [
|
|
120
|
-
**62. [
|
|
121
|
-
**63. [
|
|
122
|
-
**64. [
|
|
123
|
-
**65. [
|
|
124
|
-
**66. [
|
|
125
|
-
**67. [
|
|
126
|
-
**68. [
|
|
127
|
-
**69. [
|
|
128
|
-
**70. [
|
|
119
|
+
**61. [CYCLE-061]** Define user flows (what users must accomplish)
|
|
120
|
+
**62. [CYCLE-062]** Create acceptance criteria (how we know it works)
|
|
121
|
+
**63. [CYCLE-063]** Write unit tests for services (Effect.ts)
|
|
122
|
+
**64. [CYCLE-064]** Write integration tests for flows (frontend → backend)
|
|
123
|
+
**65. [CYCLE-065]** Write e2e tests for critical paths (Playwright)
|
|
124
|
+
**66. [CYCLE-066]** Run tests and capture results
|
|
125
|
+
**67. [CYCLE-067]** Validate against ontology (does it map to 6 dimensions?)
|
|
126
|
+
**68. [CYCLE-068]** Check type safety (bunx astro check)
|
|
127
|
+
**69. [CYCLE-069]** Run linter (bun run lint)
|
|
128
|
+
**70. [CYCLE-070]** Fix all failing tests before continuing
|
|
129
129
|
|
|
130
130
|
---
|
|
131
131
|
|
|
132
132
|
## Cycle 71-80: Design & Wireframes
|
|
133
133
|
|
|
134
|
-
**71. [
|
|
135
|
-
**72. [
|
|
136
|
-
**73. [
|
|
137
|
-
**74. [
|
|
138
|
-
**75. [
|
|
139
|
-
**76. [
|
|
140
|
-
**77. [
|
|
141
|
-
**78. [
|
|
142
|
-
**79. [
|
|
143
|
-
**80. [
|
|
134
|
+
**71. [CYCLE-071]** Create wireframes that satisfy acceptance criteria
|
|
135
|
+
**72. [CYCLE-072]** Design component architecture (atoms, molecules, organisms)
|
|
136
|
+
**73. [CYCLE-073]** Set design tokens (colors, spacing, timing)
|
|
137
|
+
**74. [CYCLE-074]** Ensure WCAG AA accessibility compliance
|
|
138
|
+
**75. [CYCLE-075]** Design loading states and skeletons
|
|
139
|
+
**76. [CYCLE-076]** Create error state designs
|
|
140
|
+
**77. [CYCLE-077]** Design empty states
|
|
141
|
+
**78. [CYCLE-078]** Implement animations and transitions
|
|
142
|
+
**79. [CYCLE-079]** Validate design enables tests to pass
|
|
143
|
+
**80. [CYCLE-080]** Get design approval (if needed)
|
|
144
144
|
|
|
145
145
|
---
|
|
146
146
|
|
|
147
147
|
## Cycle 81-90: Performance & Optimization
|
|
148
148
|
|
|
149
|
-
**81. [
|
|
150
|
-
**82. [
|
|
151
|
-
**83. [
|
|
152
|
-
**84. [
|
|
153
|
-
**85. [
|
|
154
|
-
**86. [
|
|
155
|
-
**87. [
|
|
156
|
-
**88. [
|
|
157
|
-
**89. [
|
|
158
|
-
**90. [
|
|
149
|
+
**81. [CYCLE-081]** Optimize database queries (add indexes)
|
|
150
|
+
**82. [CYCLE-082]** Implement pagination for large lists
|
|
151
|
+
**83. [CYCLE-083]** Add caching where appropriate (React Query, Convex cache)
|
|
152
|
+
**84. [CYCLE-084]** Optimize images (Astro Image component)
|
|
153
|
+
**85. [CYCLE-085]** Minimize JavaScript bundle size
|
|
154
|
+
**86. [CYCLE-086]** Use Astro Islands for selective hydration
|
|
155
|
+
**87. [CYCLE-087]** Enable SSR for critical pages
|
|
156
|
+
**88. [CYCLE-088]** Optimize Lighthouse scores (Performance, Accessibility, Best Practices, SEO)
|
|
157
|
+
**89. [CYCLE-089]** Test on slow connections (throttling)
|
|
158
|
+
**90. [CYCLE-090]** Monitor Core Web Vitals (LCP, FID, CLS)
|
|
159
159
|
|
|
160
160
|
---
|
|
161
161
|
|
|
162
162
|
## Cycle 91-100: Deployment & Documentation
|
|
163
163
|
|
|
164
|
-
**91. [
|
|
165
|
-
**92. [
|
|
166
|
-
**93. [
|
|
167
|
-
**94. [
|
|
168
|
-
**95. [
|
|
169
|
-
**96. [
|
|
170
|
-
**97. [
|
|
171
|
-
**98. [
|
|
172
|
-
**99. [
|
|
173
|
-
**100. [
|
|
164
|
+
**91. [CYCLE-091]** Build production bundle (bun run build)
|
|
165
|
+
**92. [CYCLE-092]** Deploy backend to Convex Cloud (npx convex deploy)
|
|
166
|
+
**93. [CYCLE-093]** Deploy frontend to Cloudflare Pages
|
|
167
|
+
**94. [CYCLE-094]** Run smoke tests in production
|
|
168
|
+
**95. [CYCLE-095]** Write feature documentation (one/knowledge/)
|
|
169
|
+
**96. [CYCLE-096]** Update API documentation (if public APIs)
|
|
170
|
+
**97. [CYCLE-097]** Create user guide (if user-facing feature)
|
|
171
|
+
**98. [CYCLE-098]** Capture lessons learned (what worked, what didn't)
|
|
172
|
+
**99. [CYCLE-099]** Update knowledge base with patterns
|
|
173
|
+
**100. [CYCLE-100]** Mark feature complete and notify stakeholders
|
|
174
174
|
|
|
175
175
|
---
|
|
176
176
|
|
package/one/knowledge/todo.md
CHANGED
|
@@ -26,151 +26,151 @@ Each number represents the sequence position when data is sent for AI cycle. Thi
|
|
|
26
26
|
|
|
27
27
|
## Cycle 1-10: Foundation & Setup
|
|
28
28
|
|
|
29
|
-
**1. [
|
|
30
|
-
**2. [
|
|
31
|
-
**3. [
|
|
32
|
-
**4. [
|
|
33
|
-
**5. [
|
|
34
|
-
**6. [
|
|
35
|
-
**7. [
|
|
36
|
-
**8. [
|
|
37
|
-
**9. [
|
|
38
|
-
**10. [
|
|
29
|
+
**1. [CYCLE-001]** Validate idea against 6-dimension ontology (groups, people, things, connections, events, knowledge)
|
|
30
|
+
**2. [CYCLE-002]** Map idea to specific entity types (which of 66+ thing types are involved?)
|
|
31
|
+
**3. [CYCLE-003]** Identify connection types needed (which of 25+ relationship types?)
|
|
32
|
+
**4. [CYCLE-004]** List event types that will be triggered (which of 67+ event types?)
|
|
33
|
+
**5. [CYCLE-005]** Determine knowledge requirements (embeddings, vectors, RAG needs)
|
|
34
|
+
**6. [CYCLE-006]** Identify organization scope (single-tenant vs multi-tenant)
|
|
35
|
+
**7. [CYCLE-007]** Define people roles involved (platform_owner, org_owner, org_user, customer)
|
|
36
|
+
**8. [CYCLE-008]** Create high-level vision document (what problem does this solve?)
|
|
37
|
+
**9. [CYCLE-009]** Generate initial plan with feature breakdown
|
|
38
|
+
**10. [CYCLE-010]** Assign features to specialists (backend, frontend, integration)
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
42
|
## Cycle 11-20: Backend Schema & Services
|
|
43
43
|
|
|
44
|
-
**11. [
|
|
45
|
-
**12. [
|
|
46
|
-
**13. [
|
|
47
|
-
**14. [
|
|
48
|
-
**15. [
|
|
49
|
-
**16. [
|
|
50
|
-
**17. [
|
|
51
|
-
**18. [
|
|
52
|
-
**19. [
|
|
53
|
-
**20. [
|
|
44
|
+
**11. [CYCLE-011]** Design database schema changes (if any new entity types)
|
|
45
|
+
**12. [CYCLE-012]** Update backend/convex/schema.ts with new types
|
|
46
|
+
**13. [CYCLE-013]** Create Effect.ts service for business logic (pure functions)
|
|
47
|
+
**14. [CYCLE-014]** Define service errors with tagged unions (_tag field)
|
|
48
|
+
**15. [CYCLE-015]** Write Convex queries for read operations
|
|
49
|
+
**16. [CYCLE-016]** Write Convex mutations for write operations
|
|
50
|
+
**17. [CYCLE-017]** Add event logging to all mutations (audit trail)
|
|
51
|
+
**18. [CYCLE-018]** Implement organization scoping (ensure multi-tenant isolation)
|
|
52
|
+
**19. [CYCLE-019]** Add rate limiting to mutations (prevent abuse)
|
|
53
|
+
**20. [CYCLE-020]** Write unit tests for Effect.ts services
|
|
54
54
|
|
|
55
55
|
---
|
|
56
56
|
|
|
57
57
|
## Cycle 21-30: Frontend Pages & Components
|
|
58
58
|
|
|
59
|
-
**21. [
|
|
60
|
-
**22. [
|
|
61
|
-
**23. [
|
|
62
|
-
**24. [
|
|
63
|
-
**25. [
|
|
64
|
-
**26. [
|
|
65
|
-
**27. [
|
|
66
|
-
**28. [
|
|
67
|
-
**29. [
|
|
68
|
-
**30. [
|
|
59
|
+
**21. [CYCLE-021]** Create Astro page with SSR data fetching
|
|
60
|
+
**22. [CYCLE-022]** Build React components for interactive UI
|
|
61
|
+
**23. [CYCLE-023]** Use shadcn/ui components (50+ pre-installed)
|
|
62
|
+
**24. [CYCLE-024]** Implement loading states with Suspense
|
|
63
|
+
**25. [CYCLE-025]** Add error boundaries for graceful failures
|
|
64
|
+
**26. [CYCLE-026]** Create forms with validation (React Hook Form + Zod)
|
|
65
|
+
**27. [CYCLE-027]** Implement client-side state with Convex hooks
|
|
66
|
+
**28. [CYCLE-028]** Style with Tailwind v4 (CSS @theme blocks)
|
|
67
|
+
**29. [CYCLE-029]** Ensure responsive design (mobile-first)
|
|
68
|
+
**30. [CYCLE-030]** Add dark mode support (@variant dark)
|
|
69
69
|
|
|
70
70
|
---
|
|
71
71
|
|
|
72
72
|
## Cycle 31-40: Integration & Connections
|
|
73
73
|
|
|
74
|
-
**31. [
|
|
75
|
-
**32. [
|
|
76
|
-
**33. [
|
|
77
|
-
**34. [
|
|
78
|
-
**35. [
|
|
79
|
-
**36. [
|
|
80
|
-
**37. [
|
|
81
|
-
**38. [
|
|
82
|
-
**39. [
|
|
83
|
-
**40. [
|
|
74
|
+
**31. [CYCLE-031]** Map external system to ontology dimensions
|
|
75
|
+
**32. [CYCLE-032]** Create connection records for system relationships
|
|
76
|
+
**33. [CYCLE-033]** Implement data synchronization logic
|
|
77
|
+
**34. [CYCLE-034]** Add event tracking for cross-system actions
|
|
78
|
+
**35. [CYCLE-035]** Create webhook handlers (if external system pushes data)
|
|
79
|
+
**36. [CYCLE-036]** Implement polling logic (if external system requires pulling)
|
|
80
|
+
**37. [CYCLE-037]** Add error handling for integration failures
|
|
81
|
+
**38. [CYCLE-038]** Create retry logic with exponential backoff
|
|
82
|
+
**39. [CYCLE-039]** Log all integration events to events table
|
|
83
|
+
**40. [CYCLE-040]** Write integration tests for data flows
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
87
|
## Cycle 41-50: Authentication & Authorization
|
|
88
88
|
|
|
89
|
-
**41. [
|
|
90
|
-
**42. [
|
|
91
|
-
**43. [
|
|
92
|
-
**44. [
|
|
93
|
-
**45. [
|
|
94
|
-
**46. [
|
|
95
|
-
**47. [
|
|
96
|
-
**48. [
|
|
97
|
-
**49. [
|
|
98
|
-
**50. [
|
|
89
|
+
**41. [CYCLE-041]** Configure Better Auth with 6 methods (email/password, OAuth, magic links, etc.)
|
|
90
|
+
**42. [CYCLE-042]** Implement role-based access control (4 roles)
|
|
91
|
+
**43. [CYCLE-043]** Add organization-scoped permissions
|
|
92
|
+
**44. [CYCLE-044]** Create session management with JWT tokens
|
|
93
|
+
**45. [CYCLE-045]** Implement password reset flow
|
|
94
|
+
**46. [CYCLE-046]** Add email verification flow
|
|
95
|
+
**47. [CYCLE-047]** Enable 2FA (two-factor authentication)
|
|
96
|
+
**48. [CYCLE-048]** Add brute force protection (rate limiting)
|
|
97
|
+
**49. [CYCLE-049]** Log all auth events (user_login, user_logout, etc.)
|
|
98
|
+
**50. [CYCLE-050]** Write auth integration tests
|
|
99
99
|
|
|
100
100
|
---
|
|
101
101
|
|
|
102
102
|
## Cycle 51-60: Knowledge & RAG
|
|
103
103
|
|
|
104
|
-
**51. [
|
|
105
|
-
**52. [
|
|
106
|
-
**53. [
|
|
107
|
-
**54. [
|
|
108
|
-
**55. [
|
|
109
|
-
**56. [
|
|
110
|
-
**57. [
|
|
111
|
-
**58. [
|
|
112
|
-
**59. [
|
|
113
|
-
**60. [
|
|
104
|
+
**51. [CYCLE-051]** Create knowledge records with labels
|
|
105
|
+
**52. [CYCLE-052]** Generate embeddings for content (OpenAI, Anthropic, or local)
|
|
106
|
+
**53. [CYCLE-053]** Store vectors in knowledge table
|
|
107
|
+
**54. [CYCLE-054]** Implement vector search (similarity queries)
|
|
108
|
+
**55. [CYCLE-055]** Create RAG pipeline (retrieve, augment, generate)
|
|
109
|
+
**56. [CYCLE-056]** Link knowledge to things via junction table
|
|
110
|
+
**57. [CYCLE-057]** Add semantic search to UI
|
|
111
|
+
**58. [CYCLE-058]** Implement knowledge graph traversal
|
|
112
|
+
**59. [CYCLE-059]** Create AI-powered recommendations
|
|
113
|
+
**60. [CYCLE-060]** Test RAG accuracy with sample queries
|
|
114
114
|
|
|
115
115
|
---
|
|
116
116
|
|
|
117
117
|
## Cycle 61-70: Quality & Testing
|
|
118
118
|
|
|
119
|
-
**61. [
|
|
120
|
-
**62. [
|
|
121
|
-
**63. [
|
|
122
|
-
**64. [
|
|
123
|
-
**65. [
|
|
124
|
-
**66. [
|
|
125
|
-
**67. [
|
|
126
|
-
**68. [
|
|
127
|
-
**69. [
|
|
128
|
-
**70. [
|
|
119
|
+
**61. [CYCLE-061]** Define user flows (what users must accomplish)
|
|
120
|
+
**62. [CYCLE-062]** Create acceptance criteria (how we know it works)
|
|
121
|
+
**63. [CYCLE-063]** Write unit tests for services (Effect.ts)
|
|
122
|
+
**64. [CYCLE-064]** Write integration tests for flows (frontend → backend)
|
|
123
|
+
**65. [CYCLE-065]** Write e2e tests for critical paths (Playwright)
|
|
124
|
+
**66. [CYCLE-066]** Run tests and capture results
|
|
125
|
+
**67. [CYCLE-067]** Validate against ontology (does it map to 6 dimensions?)
|
|
126
|
+
**68. [CYCLE-068]** Check type safety (bunx astro check)
|
|
127
|
+
**69. [CYCLE-069]** Run linter (bun run lint)
|
|
128
|
+
**70. [CYCLE-070]** Fix all failing tests before continuing
|
|
129
129
|
|
|
130
130
|
---
|
|
131
131
|
|
|
132
132
|
## Cycle 71-80: Design & Wireframes
|
|
133
133
|
|
|
134
|
-
**71. [
|
|
135
|
-
**72. [
|
|
136
|
-
**73. [
|
|
137
|
-
**74. [
|
|
138
|
-
**75. [
|
|
139
|
-
**76. [
|
|
140
|
-
**77. [
|
|
141
|
-
**78. [
|
|
142
|
-
**79. [
|
|
143
|
-
**80. [
|
|
134
|
+
**71. [CYCLE-071]** Create wireframes that satisfy acceptance criteria
|
|
135
|
+
**72. [CYCLE-072]** Design component architecture (atoms, molecules, organisms)
|
|
136
|
+
**73. [CYCLE-073]** Set design tokens (colors, spacing, timing)
|
|
137
|
+
**74. [CYCLE-074]** Ensure WCAG AA accessibility compliance
|
|
138
|
+
**75. [CYCLE-075]** Design loading states and skeletons
|
|
139
|
+
**76. [CYCLE-076]** Create error state designs
|
|
140
|
+
**77. [CYCLE-077]** Design empty states
|
|
141
|
+
**78. [CYCLE-078]** Implement animations and transitions
|
|
142
|
+
**79. [CYCLE-079]** Validate design enables tests to pass
|
|
143
|
+
**80. [CYCLE-080]** Get design approval (if needed)
|
|
144
144
|
|
|
145
145
|
---
|
|
146
146
|
|
|
147
147
|
## Cycle 81-90: Performance & Optimization
|
|
148
148
|
|
|
149
|
-
**81. [
|
|
150
|
-
**82. [
|
|
151
|
-
**83. [
|
|
152
|
-
**84. [
|
|
153
|
-
**85. [
|
|
154
|
-
**86. [
|
|
155
|
-
**87. [
|
|
156
|
-
**88. [
|
|
157
|
-
**89. [
|
|
158
|
-
**90. [
|
|
149
|
+
**81. [CYCLE-081]** Optimize database queries (add indexes)
|
|
150
|
+
**82. [CYCLE-082]** Implement pagination for large lists
|
|
151
|
+
**83. [CYCLE-083]** Add caching where appropriate (React Query, Convex cache)
|
|
152
|
+
**84. [CYCLE-084]** Optimize images (Astro Image component)
|
|
153
|
+
**85. [CYCLE-085]** Minimize JavaScript bundle size
|
|
154
|
+
**86. [CYCLE-086]** Use Astro Islands for selective hydration
|
|
155
|
+
**87. [CYCLE-087]** Enable SSR for critical pages
|
|
156
|
+
**88. [CYCLE-088]** Optimize Lighthouse scores (Performance, Accessibility, Best Practices, SEO)
|
|
157
|
+
**89. [CYCLE-089]** Test on slow connections (throttling)
|
|
158
|
+
**90. [CYCLE-090]** Monitor Core Web Vitals (LCP, FID, CLS)
|
|
159
159
|
|
|
160
160
|
---
|
|
161
161
|
|
|
162
162
|
## Cycle 91-100: Deployment & Documentation
|
|
163
163
|
|
|
164
|
-
**91. [
|
|
165
|
-
**92. [
|
|
166
|
-
**93. [
|
|
167
|
-
**94. [
|
|
168
|
-
**95. [
|
|
169
|
-
**96. [
|
|
170
|
-
**97. [
|
|
171
|
-
**98. [
|
|
172
|
-
**99. [
|
|
173
|
-
**100. [
|
|
164
|
+
**91. [CYCLE-091]** Build production bundle (bun run build)
|
|
165
|
+
**92. [CYCLE-092]** Deploy backend to Convex Cloud (npx convex deploy)
|
|
166
|
+
**93. [CYCLE-093]** Deploy frontend to Cloudflare Pages
|
|
167
|
+
**94. [CYCLE-094]** Run smoke tests in production
|
|
168
|
+
**95. [CYCLE-095]** Write feature documentation (one/knowledge/)
|
|
169
|
+
**96. [CYCLE-096]** Update API documentation (if public APIs)
|
|
170
|
+
**97. [CYCLE-097]** Create user guide (if user-facing feature)
|
|
171
|
+
**98. [CYCLE-098]** Capture lessons learned (what worked, what didn't)
|
|
172
|
+
**99. [CYCLE-099]** Update knowledge base with patterns
|
|
173
|
+
**100. [CYCLE-100]** Mark feature complete and notify stakeholders
|
|
174
174
|
|
|
175
175
|
---
|
|
176
176
|
|
|
@@ -68,7 +68,7 @@ ai_context: |
|
|
|
68
68
|
// Smart contract ownership (100% of all platform contracts)
|
|
69
69
|
contractOwnership: {
|
|
70
70
|
sui: {
|
|
71
|
-
cyclePayment: process.env.
|
|
71
|
+
cyclePayment: process.env.SUI_CYCLEENCE_PACKAGE_ID,
|
|
72
72
|
tokenContract: process.env.SUI_TOKEN_PACKAGE_ID,
|
|
73
73
|
nftContract: process.env.SUI_NFT_PACKAGE_ID,
|
|
74
74
|
subscription: process.env.SUI_SUBSCRIPTION_PACKAGE_ID,
|
|
@@ -156,7 +156,7 @@ ai_context: |
|
|
|
156
156
|
metadata: {
|
|
157
157
|
network: "sui",
|
|
158
158
|
contractType: "cycle_payment",
|
|
159
|
-
packageId: process.env.
|
|
159
|
+
packageId: process.env.SUI_CYCLEENCE_PACKAGE_ID,
|
|
160
160
|
ownershipPercentage: 100,
|
|
161
161
|
},
|
|
162
162
|
createdAt: Date.now(),
|
|
@@ -309,7 +309,7 @@ When Anthony deploys new contracts:
|
|
|
309
309
|
metadata: {
|
|
310
310
|
network: "sui",
|
|
311
311
|
contractType: "cycle_payment",
|
|
312
|
-
packageId: process.env.
|
|
312
|
+
packageId: process.env.SUI_CYCLEENCE_PACKAGE_ID,
|
|
313
313
|
deployedBy: anthonyId,
|
|
314
314
|
},
|
|
315
315
|
}
|
|
@@ -46,7 +46,7 @@ ONE Platform is a complete creator economy + AI agent marketplace built on a 6-d
|
|
|
46
46
|
|
|
47
47
|
### The Todos (Roadmap)
|
|
48
48
|
|
|
49
|
-
| # | Todo |
|
|
49
|
+
| # | Todo | Cycles | Purpose | Wave | Status |
|
|
50
50
|
| --- | -------------------- | ------- | ----------------------------------------- | --------------- | --------------------- |
|
|
51
51
|
| 1 | todo-onboard | 100 | User registration + team management | Wave 1 | Critical Path |
|
|
52
52
|
| 2 | todo-x402 | 100 | HTTP 402 micropayment protocol | Wave 1 | Critical Path |
|
|
@@ -330,7 +330,7 @@ Final Path:
|
|
|
330
330
|
|
|
331
331
|
### Summary by Agent
|
|
332
332
|
|
|
333
|
-
| Agent | Total
|
|
333
|
+
| Agent | Total Cycles | % of Build | Focus Areas |
|
|
334
334
|
| ---------------- | ------------ | ---------- | ------------------------------------ |
|
|
335
335
|
| agent-backend | ~1,200 | 29% | Schema, services, queries, mutations |
|
|
336
336
|
| agent-frontend | ~850 | 20% | Pages, components, UI/UX |
|