oneie 3.6.25 → 3.6.27

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 (55) hide show
  1. package/.claude/agents/TROUBLESHOOTING.md +530 -0
  2. package/.claude/agents/agent-builder.md +226 -198
  3. package/.claude/agents/agent-claude.md +645 -0
  4. package/.claude/agents/agent-designer.md +166 -11
  5. package/.claude/agents/agent-director.md +109 -41
  6. package/.claude/agents/agent-frontend.md +314 -27
  7. package/.claude/agents/agent-quality.md +377 -0
  8. package/.claude/commands/chat.md +504 -0
  9. package/.claude/commands/create.md +134 -18
  10. package/.claude/commands/fast.md +531 -0
  11. package/.claude/commands/one.md +12 -85
  12. package/.claude/commands/optimize.md +74 -0
  13. package/.claude/commands/plan.md +420 -373
  14. package/.claude/commands/review.md +99 -0
  15. package/.claude/commands/test.md +197 -0
  16. package/.claude/commands/validate.md +140 -0
  17. package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
  18. package/.claude/hooks/auto-format.sh +106 -0
  19. package/.claude/hooks/formatting.py +187 -0
  20. package/.claude/hooks/ontology-validation.py +255 -0
  21. package/.claude/hooks/validate-imports.py +182 -0
  22. package/.claude/hooks/validate-ontology.py +140 -0
  23. package/CLAUDE.md +105 -0
  24. package/dist/commands/agent.d.ts +18 -0
  25. package/dist/commands/agent.d.ts.map +1 -0
  26. package/dist/commands/agent.js +271 -0
  27. package/dist/commands/agent.js.map +1 -0
  28. package/dist/commands/init.js +1 -1
  29. package/dist/commands/init.js.map +1 -1
  30. package/dist/index.js +20 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/lib/agent-detection.d.ts +19 -0
  33. package/dist/lib/agent-detection.d.ts.map +1 -0
  34. package/dist/lib/agent-detection.js +87 -0
  35. package/dist/lib/agent-detection.js.map +1 -0
  36. package/dist/lib/detect.d.ts +45 -0
  37. package/dist/lib/detect.d.ts.map +1 -0
  38. package/dist/lib/detect.js +221 -0
  39. package/dist/lib/detect.js.map +1 -0
  40. package/llms.txt +257 -0
  41. package/one/knowledge/cascading-context-specification.md +1617 -0
  42. package/one/knowledge/claude-code-integration.md +1293 -0
  43. package/one/knowledge/development-commands.md +251 -0
  44. package/one/knowledge/games-english.md +691 -0
  45. package/one/knowledge/games.md +1082 -0
  46. package/one/knowledge/guidelines.md +314 -0
  47. package/one/knowledge/parallel-agents.md +932 -0
  48. package/one/knowledge/performance.md +459 -0
  49. package/one/knowledge/troubleshooting.md +434 -0
  50. package/one/things/plans/dsl-claude-code.md +1011 -0
  51. package/one/things/plans/npx-agent-safety.md +785 -0
  52. package/one/things/plans/npx-agent.md +1089 -0
  53. package/one/things/plans/remove-backend-development-from-agents.md +1331 -0
  54. package/package.json +3 -2
  55. package/.claude/agents/AUDIT-agent-ops-alignment.md +0 -379
@@ -0,0 +1,251 @@
1
+ ---
2
+ title: Development Commands Reference
3
+ dimension: knowledge
4
+ category: development
5
+ tags: commands, development, workflow, tools
6
+ related_dimensions: all
7
+ scope: global
8
+ created: 2025-11-08
9
+ version: 1.0.0
10
+ ai_context: |
11
+ Complete reference of all development commands for frontend, backend, testing,
12
+ and deployment workflows in the ONE platform.
13
+ ---
14
+
15
+ # Development Commands Reference
16
+
17
+ **Quick reference for all development workflows.**
18
+
19
+ ---
20
+
21
+ ## Frontend Development
22
+
23
+ ```bash
24
+ cd web/
25
+
26
+ # Development server (localhost:4321)
27
+ bun run dev
28
+
29
+ # Build for production (includes type checking)
30
+ bun run build
31
+
32
+ # Type checking only
33
+ bunx astro check
34
+
35
+ # Generate content collection types
36
+ bunx astro sync
37
+
38
+ # Linting
39
+ bun run lint
40
+
41
+ # Formatting
42
+ bun run format
43
+ ```
44
+
45
+ ---
46
+
47
+ ## Backend Development
48
+
49
+ ```bash
50
+ cd backend/
51
+
52
+ # Start Convex dev server (watch mode)
53
+ npx convex dev
54
+
55
+ # Deploy to production
56
+ npx convex deploy
57
+
58
+ # Run query from CLI
59
+ npx convex run queries/entities:list '{"type": "user"}'
60
+
61
+ # View function logs
62
+ npx convex logs --history 50 --success
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Testing
68
+
69
+ ```bash
70
+ cd web/
71
+
72
+ # Run all tests
73
+ bun test
74
+
75
+ # Run auth tests specifically
76
+ bun test test/auth
77
+
78
+ # Watch mode
79
+ bun test --watch
80
+ ```
81
+
82
+ **Test Coverage:**
83
+
84
+ - 50+ test cases for authentication (6 methods: email/password, OAuth, magic links, password reset, email verification, 2FA)
85
+ - Integration tests verify frontend → backend auth flows
86
+ - Backend connection: `https://shocking-falcon-870.convex.cloud`
87
+
88
+ ---
89
+
90
+ ## Cycle Workflow Commands
91
+
92
+ ```
93
+ ██████╗ ███╗ ██╗███████╗
94
+ ██╔═══██╗████╗ ██║██╔════╝
95
+ ██║ ██║██╔██╗ ██║█████╗
96
+ ██║ ██║██║╚██╗██║██╔══╝
97
+ ╚██████╔╝██║ ╚████║███████╗
98
+ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
99
+
100
+ Make Your Ideas Real
101
+
102
+ https://one.ie • npx oneie
103
+
104
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
105
+ /now /next /todo /done
106
+ /build /design /deploy /see
107
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
108
+ ```
109
+
110
+ **Workflow Commands:**
111
+ - `/now` - Display current cycle and what you're working on
112
+ - `/next` - Advance to next cycle and load context
113
+ - `/todo` - View complete task list (100-cycle sequence)
114
+ - `/done` - Mark current cycle complete and advance
115
+
116
+ **Creation Commands:**
117
+ - `/build` - Build features with AI specialists
118
+ - `/design` - Create wireframes & UI components
119
+ - `/deploy` - Ship to production
120
+
121
+ **Insight Commands:**
122
+ - `/see` - View analytics, refine vision, explore courses
123
+
124
+ ---
125
+
126
+ ## Deployment
127
+
128
+ ### Automated Release (v3.0.0+)
129
+
130
+ ```bash
131
+ # Patch release (bug fixes)
132
+ /release patch
133
+
134
+ # Minor release (new features)
135
+ /release minor
136
+
137
+ # Major release (breaking changes)
138
+ /release major
139
+
140
+ # Sync files without version bump
141
+ /release sync
142
+ ```
143
+
144
+ **Read full deployment guide:** `/.claude/commands/release.md`
145
+
146
+ ### Manual Deployment
147
+
148
+ **Web (Cloudflare Pages):**
149
+
150
+ ```bash
151
+ cd web/
152
+ bun run build
153
+ wrangler pages deploy dist --project-name=web
154
+ ```
155
+
156
+ **Backend (Convex Cloud):**
157
+
158
+ ```bash
159
+ cd backend/
160
+ npx convex deploy
161
+ ```
162
+
163
+ Convex automatically deploys on git push when connected to GitHub.
164
+
165
+ ---
166
+
167
+ ## Installation Management
168
+
169
+ ```bash
170
+ # Initialize new installation folder
171
+ npx oneie init
172
+
173
+ # Prompts for:
174
+ # - Organization name
175
+ # - Installation identifier
176
+ # Creates folder structure and updates .env.local
177
+ ```
178
+
179
+ ---
180
+
181
+ ## Common Command Sequences
182
+
183
+ **Starting a new feature:**
184
+ ```bash
185
+ # 1. Load current cycle
186
+ /now
187
+
188
+ # 2. Run dev servers (parallel terminals)
189
+ cd web && bun run dev # Terminal 1
190
+ cd backend && npx convex dev # Terminal 2
191
+
192
+ # 3. Work on feature...
193
+
194
+ # 4. Test changes
195
+ cd web && bun test
196
+
197
+ # 5. Mark cycle complete
198
+ /done
199
+ ```
200
+
201
+ **Deploying a release:**
202
+ ```bash
203
+ # All-in-one deployment
204
+ /release minor
205
+
206
+ # Manual deployment
207
+ cd web && bun run build && wrangler pages deploy dist
208
+ cd backend && npx convex deploy
209
+ ```
210
+
211
+ **Debugging an issue:**
212
+ ```bash
213
+ # Check types
214
+ cd web && bunx astro check
215
+
216
+ # Check backend logs
217
+ cd backend && npx convex logs --history 50
218
+
219
+ # Run specific tests
220
+ cd web && bun test test/auth/email-password.test.ts
221
+ ```
222
+
223
+ ---
224
+
225
+ ## Environment Setup
226
+
227
+ **Root (.env):**
228
+ ```bash
229
+ CLOUDFLARE_GLOBAL_API_KEY=your-key
230
+ CLOUDFLARE_ACCOUNT_ID=your-account-id
231
+ CLOUDFLARE_EMAIL=your-email
232
+ ```
233
+
234
+ **Web (.env.local):**
235
+ ```bash
236
+ PUBLIC_CONVEX_URL=https://shocking-falcon-870.convex.cloud
237
+ CONVEX_DEPLOYMENT=prod:shocking-falcon-870
238
+ BETTER_AUTH_SECRET=your-secret-key
239
+ BETTER_AUTH_URL=http://localhost:4321
240
+ ```
241
+
242
+ **Backend (.env.local):**
243
+ ```bash
244
+ CONVEX_DEPLOYMENT=prod:shocking-falcon-870
245
+ RESEND_API_KEY=your-resend-api-key
246
+ RESEND_FROM_EMAIL=noreply@yourdomain.com
247
+ ```
248
+
249
+ ---
250
+
251
+ **Quick access to the right command for the task at hand.**