oneie 3.6.38 → 3.6.40

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 (52) hide show
  1. package/.claude/agents/agent-frontend.md +48 -0
  2. package/.claude/commands/deploy.md +187 -17
  3. package/.claude/commands/media-upload.md +186 -0
  4. package/.claude/hooks/.last-news-context +1 -1
  5. package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
  6. package/README.md +28 -0
  7. package/dist/index.js +17 -0
  8. package/dist/index.js.map +1 -1
  9. package/one/README.md +1 -2
  10. package/one/knowledge/one-protocol-ai-agents.md +892 -0
  11. package/one/knowledge/one-protocol-executive-report.md +617 -0
  12. package/one/knowledge/one-protocol-standard.md +869 -0
  13. package/one/knowledge/one-protocol-whitepaper.md +756 -0
  14. package/one/knowledge/ontology-education-game.md +1654 -0
  15. package/one/knowledge/ontology-v2.md +4449 -0
  16. package/one/knowledge/ontology.md +1 -1
  17. package/one/things/contracts/Move.toml +12 -0
  18. package/one/things/contracts/README.md +288 -0
  19. package/one/things/contracts/one.move +762 -0
  20. package/one/things/contracts/sdk.ts +578 -0
  21. package/one/things/crypto/FEATURES.md +78 -0
  22. package/one/things/crypto/ONECORE.md +62 -0
  23. package/one/things/crypto/ONECOREFAQ.md +22 -0
  24. package/one/things/crypto/ONECOREHOW.md +46 -0
  25. package/one/things/crypto/ONEENTERPRISE.md +64 -0
  26. package/one/things/crypto/ONEENTERPRISEFAQ.md +64 -0
  27. package/one/things/crypto/ONEENTERPRISEHOW.md +53 -0
  28. package/one/things/crypto/ONEPRO.md +60 -0
  29. package/one/things/crypto/ONEPROFAQ.md +22 -0
  30. package/one/things/crypto/ONEPROHOW.md +53 -0
  31. package/one/things/crypto/READMEAGENCY.md +64 -0
  32. package/one/things/crypto/VSL.md +45 -0
  33. package/one/things/crypto/WebsiteCopy.md +176 -0
  34. package/one/things/design-system.md +832 -0
  35. package/one/things/pay.one.ie.md +53 -0
  36. package/one/things/plans/ai-elements-integration.md +483 -0
  37. package/one/things/plans/one-protocol-and-payone-usage.md +82 -0
  38. package/one/things/plans/plan-connect-to-api.md +146 -0
  39. package/one/things/plans/video-frontend.md +146 -88
  40. package/one/things/plans-u.md +905 -0
  41. package/one/things/products/Blockchain Products.md +6278 -0
  42. package/one/things/scripts-clean-mac.sh +409 -0
  43. package/one/things/todo-release.md +654 -0
  44. package/one/things/todo.md +9 -642
  45. package/one/things/video-script-backup.md +318 -0
  46. package/one/things/video-script-demo.md +382 -0
  47. package/one/things/video-script-ontology.md +0 -1
  48. package/one/things/video-script.md +361 -0
  49. package/package.json +8 -6
  50. package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
  51. package/.claude/hooks/__pycache__/todo.cpython-311.pyc +0 -0
  52. package/llms.txt +0 -257
@@ -3,652 +3,19 @@ title: Todo
3
3
  dimension: things
4
4
  primary_dimension: events
5
5
  category: todo.md
6
- tags: ai, backend, frontend
6
+ tags:
7
7
  related_dimensions: events, people
8
8
  scope: global
9
9
  created: 2025-11-03
10
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.md category.
14
- Location: one/things/todo.md
15
- Purpose: Documents one platform: release workflow v1.0.0
16
- Related dimensions: events, people
17
- For AI agents: Read this to understand todo.
18
11
  ---
12
+ ## Goal
13
+ Sell Pre Launch Tokens
19
14
 
20
- # ONE Platform: Release Workflow v1.0.0
15
+ - [ ] Strategy
16
+ - [ ] ONE
17
+ - [ ] Landing Page
18
+ - [ ] Release
19
+ - [ ] BULL FM
20
+ - [ ]
21
21
 
22
- **Focus:** Release software correctly every time
23
- **Process:** `/release [patch|minor|major]`
24
- **Duration:** ~12-15 minutes per release
25
- **Last Updated:** 2025-10-30
26
-
27
- ---
28
-
29
- ## RELEASE SEQUENCE: Steps 1-100
30
-
31
- **Golden Rule:** Execute steps IN ORDER. Never skip validation.
32
-
33
- ---
34
-
35
- ## PHASE 1: PRE-RELEASE VALIDATION (Steps 1-10)
36
-
37
- **Purpose:** Verify system is ready to release
38
-
39
- ### Step 1: Check Git Status
40
-
41
- - [ ] Run: `git status --short`
42
- - [ ] Expected: Clean or acceptable uncommitted changes only
43
- - [ ] If dirty: Commit or stash changes
44
- - [ ] Continue: ✓
45
-
46
- ### Step 2: Run All Tests
47
-
48
- - [ ] Frontend: `cd web && bun test`
49
- - [ ] Backend: `cd backend && npx convex dev` (verify no errors)
50
- - [ ] Expected: All tests passing
51
- - [ ] If failing: Fix tests before release
52
- - [ ] Continue: ✓
53
-
54
- ### Step 3: Check Web Builds
55
-
56
- - [ ] Run: `cd web && bun run build`
57
- - [ ] Expected: Build succeeds with 0 errors
58
- - [ ] Type check: `bunx astro check`
59
- - [ ] If errors: Fix TypeScript errors
60
- - [ ] Continue: ✓
61
-
62
- ### Step 4: Validate Environment
63
-
64
- - [ ] Check root `.env` exists with:
65
- - [ ] CLOUDFLARE_GLOBAL_API_KEY=\*\*\*
66
- - [ ] CLOUDFLARE_ACCOUNT_ID=\*\*\*
67
- - [ ] CLOUDFLARE_EMAIL=\*\*\*
68
- - [ ] Check web `.env.local` exists with:
69
- - [ ] PUBLIC_CONVEX_URL=\*\*\*
70
- - [ ] CONVEX_DEPLOYMENT=\*\*\*
71
- - [ ] BETTER_AUTH_SECRET=\*\*\*
72
- - [ ] Continue: ✓
73
-
74
- ### Step 5: Run Pre-Deployment Check
75
-
76
- - [ ] Run: `./scripts/pre-deployment-check.sh`
77
- - [ ] Expected: 0 errors (warnings acceptable)
78
- - [ ] If errors: Fix issues or abort
79
- - [ ] Continue: ✓
80
-
81
- ### Step 6: Verify npm Authentication
82
-
83
- - [ ] Run: `npm whoami`
84
- - [ ] Expected: Your npm username
85
- - [ ] If not logged in: `npm login` and enter credentials
86
- - [ ] Continue: ✓
87
-
88
- ### Step 7: Verify Wrangler Authentication
89
-
90
- - [ ] Run: `wrangler whoami`
91
- - [ ] Expected: Your Cloudflare email
92
- - [ ] If not authenticated: `wrangler login`
93
- - [ ] Continue: ✓
94
-
95
- ### Step 8: Check GitHub Remotes
96
-
97
- - [ ] Run: `git remote -v`
98
- - [ ] Expected: github.com/one-ie/one is configured
99
- - [ ] If missing: `git remote add origin https://github.com/one-ie/one`
100
- - [ ] Continue: ✓
101
-
102
- ### Step 9: Document Current Version
103
-
104
- - [ ] Run: `cat cli/package.json | grep '"version"'`
105
- - [ ] Note: Current version (e.g., 1.0.0)
106
- - [ ] Next version will be:
107
- - [ ] patch: 1.0.1
108
- - [ ] minor: 1.1.0
109
- - [ ] major: 2.0.0
110
- - [ ] Continue: ✓
111
-
112
- ### Step 10: Final Safety Check
113
-
114
- - [ ] All tests passing? YES / NO
115
- - [ ] Web builds successfully? YES / NO
116
- - [ ] Environment variables set? YES / NO
117
- - [ ] npm + wrangler authenticated? YES / NO
118
- - [ ] Ready to release? YES / NO
119
- - [ ] If NO: Stop and fix issues
120
- - [ ] If YES: Continue to Phase 2
121
-
122
- ---
123
-
124
- ## PHASE 2: EXECUTE RELEASE SCRIPT (Steps 11-20)
125
-
126
- **Purpose:** Run the automated release pipeline
127
-
128
- ### Step 11: Decide Release Type
129
-
130
- - [ ] Patch release (bug fixes)
131
- - [ ] Example: 1.0.0 → 1.0.1
132
- - [ ] Use when: Bugs fixed, no new features
133
- - [ ] Minor release (new features)
134
- - [ ] Example: 1.0.0 → 1.1.0
135
- - [ ] Use when: New features, backwards compatible
136
- - [ ] Major release (breaking changes)
137
- - [ ] Example: 1.0.0 → 2.0.0
138
- - [ ] Use when: Breaking changes, major restructure
139
-
140
- ### Step 12: Run Release Script
141
-
142
- - [ ] Command: `./scripts/release.sh [patch|minor|major]`
143
- - [ ] Wait for script to complete
144
- - [ ] Expected output: Version bumped, files synced, git operations
145
- - [ ] Continue: ✓
146
-
147
- ### Step 13: Verify File Sync
148
-
149
- - [ ] Check: 518+ files synced
150
- - [ ] Expected locations:
151
- - [ ] cli/one/ (ontology files)
152
- - [ ] cli/.claude/ (agent files)
153
- - [ ] apps/one/one/ (ontology)
154
- - [ ] apps/one/.claude/ (agents)
155
- - [ ] apps/one/web/ (frontend)
156
- - [ ] Continue: ✓
157
-
158
- ### Step 14: Verify Git Status
159
-
160
- - [ ] Run: `git status`
161
- - [ ] Expected: All changes committed
162
- - [ ] If untracked files: Add and commit them
163
- - [ ] Continue: ✓
164
-
165
- ### Step 15: Verify Version Bump
166
-
167
- - [ ] Run: `cat cli/package.json | grep '"version"'`
168
- - [ ] Expected: New version (e.g., 1.0.1)
169
- - [ ] Should match what you decided in Step 11
170
- - [ ] Continue: ✓
171
-
172
- ### Step 16: Check Git Tags
173
-
174
- - [ ] Run: `git tag -l | tail -5`
175
- - [ ] Expected: Latest tag is v1.0.1 (or your new version)
176
- - [ ] Continue: ✓
177
-
178
- ### Step 17: Verify one-ie/one Repository
179
-
180
- - [ ] Run: `cd apps/one && git status`
181
- - [ ] Expected: All changes committed and pushed
182
- - [ ] If not pushed: `git push origin main`
183
- - [ ] Continue: ✓
184
-
185
- ### Step 18: Verify one-ie/cli Repository
186
-
187
- - [ ] Run: `cd cli && git status`
188
- - [ ] Expected: Changes committed, ready to push
189
- - [ ] If prompted during script: Answer 'y' to push
190
- - [ ] Continue: ✓
191
-
192
- ### Step 19: Check Release Script Output
193
-
194
- - [ ] Script should have output:
195
- - [ ] ✓ Files synced (518+)
196
- - [ ] ✓ Version bumped
197
- - [ ] ✓ Git operations completed
198
- - [ ] ✓ Tags created
199
- - [ ] If errors: Review and fix
200
- - [ ] Continue: ✓
201
-
202
- ### Step 20: Confirm Ready for Publishing
203
-
204
- - [ ] All files synced? YES / NO
205
- - [ ] Version bumped correctly? YES / NO
206
- - [ ] Git operations complete? YES / NO
207
- - [ ] Ready to publish? YES / NO
208
- - [ ] If NO: Run release script again
209
- - [ ] If YES: Continue to Phase 3
210
-
211
- ---
212
-
213
- ## PHASE 3: PUBLISH TO npm (Steps 21-30)
214
-
215
- **Purpose:** Release package to npm registry
216
-
217
- ### Step 21: Navigate to CLI Directory
218
-
219
- - [ ] Command: `cd cli`
220
- - [ ] Verify: You're in cli/ directory
221
- - [ ] Continue: ✓
222
-
223
- ### Step 22: Verify Package Name
224
-
225
- - [ ] Run: `cat package.json | grep '"name"'`
226
- - [ ] Expected: "oneie"
227
- - [ ] Continue: ✓
228
-
229
- ### Step 23: Verify Package Version
230
-
231
- - [ ] Run: `cat package.json | grep '"version"'`
232
- - [ ] Expected: Your new version (e.g., 1.0.1)
233
- - [ ] Continue: ✓
234
-
235
- ### Step 24: Publish to npm
236
-
237
- - [ ] Command: `npm publish --access public`
238
- - [ ] Expected output:
239
- - [ ] - oneie@1.0.1
240
- - [ ] published 1 package
241
- - [ ] Time: ~30 seconds
242
- - [ ] Continue: ✓
243
-
244
- ### Step 25: Verify npm Publication
245
-
246
- - [ ] Command: `npm view oneie version`
247
- - [ ] Expected: Your new version (e.g., 1.0.1)
248
- - [ ] If not matching: Wait 60 seconds and retry
249
- - [ ] Continue: ✓
250
-
251
- ### Step 26: Check npm Registry Page
252
-
253
- - [ ] URL: `https://www.npmjs.com/package/oneie`
254
- - [ ] Expected: Your version appears in versions list
255
- - [ ] Continue: ✓
256
-
257
- ### Step 27: Test npm Installation (Local)
258
-
259
- - [ ] Command: `npm view oneie dist-tags`
260
- - [ ] Expected: latest should show your version
261
- - [ ] Continue: ✓
262
-
263
- ### Step 28: Test npm Installation (Via npx)
264
-
265
- - [ ] Command: `npx oneie@latest --version`
266
- - [ ] Expected: Your new version (e.g., 1.0.1)
267
- - [ ] Continue: ✓
268
-
269
- ### Step 29: Document npm Success
270
-
271
- - [ ] npm URL: https://www.npmjs.com/package/oneie
272
- - [ ] Version: (your new version)
273
- - [ ] Published: ✓
274
- - [ ] Continue: ✓
275
-
276
- ### Step 30: Confirm npm Publishing Complete
277
-
278
- - [ ] Package published to npm? YES / NO
279
- - [ ] npm registry shows new version? YES / NO
280
- - [ ] CLI installation works? YES / NO
281
- - [ ] Ready to deploy to web? YES / NO
282
- - [ ] If NO: Troubleshoot npm issues
283
- - [ ] If YES: Continue to Phase 4
284
-
285
- ---
286
-
287
- ## PHASE 4: BUILD FRONTEND (Steps 31-40)
288
-
289
- **Purpose:** Compile Astro + React for production
290
-
291
- ### Step 31: Navigate to Web Directory
292
-
293
- - [ ] Command: `cd ../web`
294
- - [ ] Verify: You're in web/ directory
295
- - [ ] Continue: ✓
296
-
297
- ### Step 32: Clean Previous Build
298
-
299
- - [ ] Command: `rm -rf dist/ .astro/`
300
- - [ ] Verify: dist/ and .astro/ removed
301
- - [ ] Continue: ✓
302
-
303
- ### Step 33: Install Dependencies (if needed)
304
-
305
- - [ ] Check: `bun.lock` exists
306
- - [ ] Command: `bun install` (only if lock file changed)
307
- - [ ] Continue: ✓
308
-
309
- ### Step 34: Run Type Check
310
-
311
- - [ ] Command: `bunx astro check`
312
- - [ ] Expected: 0 errors
313
- - [ ] If errors: Fix TypeScript errors before building
314
- - [ ] Continue: ✓
315
-
316
- ### Step 35: Build Frontend
317
-
318
- - [ ] Command: `bun run build`
319
- - [ ] Expected output:
320
- - [ ] ✓ [build] output directory: ./dist
321
- - [ ] ✓ (XX files)
322
- - [ ] Time: ~30-60 seconds
323
- - [ ] Continue: ✓
324
-
325
- ### Step 36: Verify Build Output
326
-
327
- - [ ] Check: `ls dist/` shows files
328
- - [ ] Expected: HTML, CSS, JS files
329
- - [ ] Size check: `du -sh dist/` (should be < 10MB)
330
- - [ ] Continue: ✓
331
-
332
- ### Step 37: Check for Build Warnings
333
-
334
- - [ ] Review build output for warnings
335
- - [ ] Expected: No critical warnings
336
- - [ ] OK to continue with minor warnings
337
- - [ ] Continue: ✓
338
-
339
- ### Step 38: Generate Sitemap (if needed)
340
-
341
- - [ ] Check: `ls dist/sitemap-index.xml`
342
- - [ ] If exists: Sitemap generated ✓
343
- - [ ] Continue: ✓
344
-
345
- ### Step 39: Verify Static Assets
346
-
347
- - [ ] Check: `ls dist/` includes css/, js/, assets/
348
- - [ ] Expected: Assets copied correctly
349
- - [ ] Continue: ✓
350
-
351
- ### Step 40: Confirm Build Ready
352
-
353
- - [ ] Build completed successfully? YES / NO
354
- - [ ] 0 critical errors? YES / NO
355
- - [ ] dist/ directory ready? YES / NO
356
- - [ ] Ready to deploy? YES / NO
357
- - [ ] If NO: Fix issues and rebuild
358
- - [ ] If YES: Continue to Phase 5
359
-
360
- ---
361
-
362
- ## PHASE 5: DEPLOY TO CLOUDFLARE PAGES (Steps 41-50)
363
-
364
- **Purpose:** Deploy frontend to Cloudflare Pages
365
-
366
- ### Step 41: Verify Cloudflare Credentials
367
-
368
- - [ ] Check: Root `.env` has CLOUDFLARE_GLOBAL_API_KEY
369
- - [ ] Check: Root `.env` has CLOUDFLARE_ACCOUNT_ID
370
- - [ ] Check: Root `.env` has CLOUDFLARE_EMAIL
371
- - [ ] Continue: ✓
372
-
373
- ### Step 42: Deploy to Cloudflare
374
-
375
- - [ ] Command: `wrangler pages deploy dist --project-name=web`
376
- - [ ] Expected output:
377
- - [ ] ✓ Uploading...
378
- - [ ] ✓ Deployment ID: \*\*\*
379
- - [ ] ✓ https://\*\*\* (temporary URL)
380
- - [ ] Time: ~2-5 minutes
381
- - [ ] Continue: ✓
382
-
383
- ### Step 43: Monitor Deployment
384
-
385
- - [ ] Watch deployment progress in terminal
386
- - [ ] Expected: "Successfully published" message
387
- - [ ] Continue: ✓
388
-
389
- ### Step 44: Get Deployment URL
390
-
391
- - [ ] Cloudflare output should show: `https://web.one.ie`
392
- - [ ] Note this URL for verification
393
- - [ ] Continue: ✓
394
-
395
- ### Step 45: Wait for DNS Propagation
396
-
397
- - [ ] Time: Usually < 1 minute
398
- - [ ] Can check: `dig web.one.ie +short`
399
- - [ ] Continue: ✓
400
-
401
- ### Step 46: Test Deployed Site (HTTP)
402
-
403
- - [ ] Command: `curl -I https://web.one.ie`
404
- - [ ] Expected: HTTP 200
405
- - [ ] Continue: ✓
406
-
407
- ### Step 47: Test Deployed Site (Browser)
408
-
409
- - [ ] URL: `https://web.one.ie`
410
- - [ ] Expected: Site loads
411
- - [ ] Check: No 404 or 500 errors
412
- - [ ] Continue: ✓
413
-
414
- ### Step 48: Verify CSS/JS Loaded
415
-
416
- - [ ] Open browser DevTools (F12)
417
- - [ ] Check Console: No critical errors
418
- - [ ] Check Network: All assets loaded (200 status)
419
- - [ ] Continue: ✓
420
-
421
- ### Step 49: Smoke Test Core Pages
422
-
423
- - [ ] Test home page: /
424
- - [ ] Test features page: /features (if exists)
425
- - [ ] Test not found: /does-not-exist (should 404)
426
- - [ ] Continue: ✓
427
-
428
- ### Step 50: Confirm Cloudflare Deployment
429
-
430
- - [ ] Site live at https://web.one.ie? YES / NO
431
- - [ ] Page loads correctly? YES / NO
432
- - [ ] No JavaScript errors? YES / NO
433
- - [ ] Ready to verify all targets? YES / NO
434
- - [ ] If NO: Troubleshoot deployment
435
- - [ ] If YES: Continue to Phase 6
436
-
437
- ---
438
-
439
- ## PHASE 6: FINAL VERIFICATION (Steps 51-60)
440
-
441
- **Purpose:** Verify all platforms are live and consistent
442
-
443
- ### Step 51: Verify npm Package
444
-
445
- - [ ] Command: `npm view oneie version`
446
- - [ ] Expected: Your new version
447
- - [ ] Status: ✓ LIVE
448
-
449
- ### Step 52: Verify npm Downloads
450
-
451
- - [ ] URL: `https://www.npmjs.com/package/oneie`
452
- - [ ] Check: Version appears in list
453
- - [ ] Status: ✓ LIVE
454
-
455
- ### Step 53: Verify GitHub Tags
456
-
457
- - [ ] Command: `git tag -l | grep v`
458
- - [ ] Expected: Your new tag (v1.0.1)
459
- - [ ] Status: ✓ LIVE
460
-
461
- ### Step 54: Verify GitHub Releases
462
-
463
- - [ ] URL: `https://github.com/one-ie/cli/releases`
464
- - [ ] Expected: New release tag appears
465
- - [ ] Status: ✓ LIVE
466
-
467
- ### Step 55: Verify Web Deployment
468
-
469
- - [ ] URL: `https://web.one.ie`
470
- - [ ] Expected: Site accessible
471
- - [ ] Status: ✓ LIVE
472
-
473
- ### Step 56: Verify Monorepo Update
474
-
475
- - [ ] URL: `https://github.com/one-ie/one`
476
- - [ ] Expected: Latest commit shows version bump
477
- - [ ] Status: ✓ LIVE
478
-
479
- ### Step 57: Check Version Consistency
480
-
481
- - [ ] npm version: (your version)
482
- - [ ] cli/package.json version: (your version)
483
- - [ ] git tag: v(your version)
484
- - [ ] Expected: All match
485
- - [ ] Status: ✓ CONSISTENT
486
-
487
- ### Step 58: Verify File Synchronization
488
-
489
- - [ ] Check: one/knowledge/ontology.md in cli/one/knowledge/
490
- - [ ] Check: .claude/agents/ in cli/.claude/agents/
491
- - [ ] Check: All 518+ files present
492
- - [ ] Status: ✓ SYNCED
493
-
494
- ### Step 59: Document Release Success
495
-
496
- - [ ] Release date: (today)
497
- - [ ] Version: (your version)
498
- - [ ] npm: ✓ live
499
- - [ ] GitHub: ✓ tagged
500
- - [ ] Cloudflare: ✓ deployed
501
- - [ ] Files: ✓ synced
502
-
503
- ### Step 60: Confirm Full Release Success
504
-
505
- - [ ] All npm targets live? YES / NO
506
- - [ ] All GitHub repos updated? YES / NO
507
- - [ ] Web deployed to Cloudflare? YES / NO
508
- - [ ] All versions consistent? YES / NO
509
- - [ ] Release successful? YES / NO
510
- - [ ] If NO: Troubleshoot remaining issues
511
- - [ ] If YES: Release complete! ✓
512
-
513
- ---
514
-
515
- ## PHASE 7: POST-RELEASE TASKS (Steps 61-70)
516
-
517
- **Purpose:** Document and notify
518
-
519
- ### Step 61: Create GitHub Release (Manual)
520
-
521
- - [ ] URL: `https://github.com/one-ie/cli/releases`
522
- - [ ] Click: "Draft a new release"
523
- - [ ] Tag: v(your version)
524
- - [ ] Title: "Release v(your version)"
525
- - [ ] Description: Summary of changes
526
- - [ ] Status: ✓ CREATED
527
-
528
- ### Step 62: Update CHANGELOG.md (Manual)
529
-
530
- - [ ] File: `CHANGELOG.md`
531
- - [ ] Add entry for new version
532
- - [ ] List major changes
533
- - [ ] Commit and push
534
- - [ ] Status: ✓ UPDATED
535
-
536
- ### Step 63: Test CLI Installation (End User)
537
-
538
- - [ ] Command: `npx oneie@latest --version`
539
- - [ ] Expected: Your new version
540
- - [ ] Status: ✓ WORKS
541
-
542
- ### Step 64: Test Project Init (End User)
543
-
544
- - [ ] Command: `npx oneie@latest init test-project`
545
- - [ ] Expected: Creates new project directory
546
- - [ ] Status: ✓ WORKS
547
-
548
- ### Step 65: Notify Team (Optional)
549
-
550
- - [ ] Slack: Post release announcement
551
- - [ ] Email: Send release notes
552
- - [ ] Twitter: Tweet about new version (if applicable)
553
- - [ ] Status: ✓ NOTIFIED
554
-
555
- ### Step 66: Monitor Error Tracking
556
-
557
- - [ ] Check: No spikes in error rates
558
- - [ ] Check: Web deployment healthy
559
- - [ ] Check: npm package downloads normal
560
- - [ ] Status: ✓ HEALTHY
561
-
562
- ### Step 67: Archive Release Notes
563
-
564
- - [ ] Save: Release date, version, changes
565
- - [ ] Location: `one/events/deployments/v(version).md`
566
- - [ ] Status: ✓ ARCHIVED
567
-
568
- ### Step 68: Plan Next Release
569
-
570
- - [ ] Review: What to work on next
571
- - [ ] Update: `one/things/todo.md`
572
- - [ ] Plan: Next features or fixes
573
- - [ ] Status: ✓ PLANNED
574
-
575
- ### Step 69: Celebrate Success
576
-
577
- - [ ] You successfully released ONE Platform! 🎉
578
- - [ ] Version is live across all platforms
579
- - [ ] Status: ✓ COMPLETE
580
-
581
- ### Step 70: Review Release Performance
582
-
583
- - [ ] Time taken: (duration)
584
- - [ ] Issues encountered: (list)
585
- - [ ] Lessons learned: (document)
586
- - [ ] Next improvements: (plan)
587
- - [ ] Status: ✓ REVIEWED
588
-
589
- ---
590
-
591
- ## ROLLBACK PROCEDURE (Emergency Only)
592
-
593
- **Use if:** Critical bug found after release
594
-
595
- ### Rollback Steps:
596
-
597
- 1. **npm deprecation:** `npm deprecate oneie@X.X.X "Critical bug found"`
598
- 2. **Publish hotfix:** Bump patch, publish immediately
599
- 3. **Git revert:** `git revert <commit>` if needed
600
- 4. **Cloudflare rollback:** Via Cloudflare dashboard to previous deployment
601
- 5. **Notify:** Inform users of issue and hotfix
602
-
603
- ---
604
-
605
- ## TROUBLESHOOTING QUICK REFERENCE
606
-
607
- | Problem | Solution |
608
- | ----------------------- | --------------------------------------------------- |
609
- | Tests failing | Fix code, commit, restart release from Step 1 |
610
- | Build errors | Run `bunx astro check`, fix TypeScript, retry build |
611
- | npm auth fails | Run `npm login`, enter credentials |
612
- | Cloudflare deploy fails | Check `CLOUDFLARE_GLOBAL_API_KEY` in `.env` |
613
- | Version mismatch | Run release script again to sync all files |
614
- | Files not synced | Check release script output, verify 518+ files |
615
- | Site not live | Wait 2 minutes for DNS propagation, then test |
616
-
617
- ---
618
-
619
- ## SUCCESS CHECKLIST
620
-
621
- At the end of a successful release:
622
-
623
- - [ ] npm package live and installable
624
- - [ ] GitHub repos updated with new version
625
- - [ ] Cloudflare Pages deployed at web.one.ie
626
- - [ ] All 518+ files synced correctly
627
- - [ ] Version consistent across all platforms
628
- - [ ] Tests passing everywhere
629
- - [ ] Release notes documented
630
- - [ ] Team notified (if applicable)
631
- - [ ] No critical errors in logs
632
- - [ ] Next release planned
633
-
634
- ---
635
-
636
- ## QUICK REFERENCE: RELEASE COMMAND
637
-
638
- ```bash
639
- # From root directory
640
- ./scripts/release.sh [patch|minor|major]
641
-
642
- # Then publish
643
- cd cli && npm publish --access public
644
-
645
- # Then deploy
646
- cd ../web && bun run build && wrangler pages deploy dist --project-name=web
647
- ```
648
-
649
- ---
650
-
651
- **Remember:** A successful release is better than a fast release.
652
- Every step matters. Never skip validation.
653
-
654
- **Need help?** Read `one/knowledge/ontology-release.md` for detailed mapping.