oneie 3.6.26 → 3.6.28

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 (37) hide show
  1. package/.claude/agents/TROUBLESHOOTING.md +530 -0
  2. package/.claude/agents/agent-claude.md +645 -0
  3. package/.claude/agents/agent-clone.md +2 -0
  4. package/.claude/agents/agent-frontend.md +162 -21
  5. package/.claude/agents/agent-writer.md +722 -0
  6. package/.claude/commands/chat.md +504 -0
  7. package/.claude/commands/create.md +134 -18
  8. package/.claude/commands/fast.md +531 -0
  9. package/.claude/commands/one.md +79 -90
  10. package/.claude/commands/optimize.md +74 -0
  11. package/.claude/commands/plan.md +420 -373
  12. package/.claude/commands/review.md +99 -0
  13. package/.claude/commands/server.md +97 -48
  14. package/.claude/commands/start.md +182 -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/hooks/write-news.sh +194 -0
  24. package/CLAUDE.md +150 -1057
  25. package/one/knowledge/cascading-context-specification.md +1617 -0
  26. package/one/knowledge/claude-code-integration.md +1293 -0
  27. package/one/knowledge/development-commands.md +251 -0
  28. package/one/knowledge/guidelines.md +314 -0
  29. package/one/knowledge/parallel-agents.md +932 -0
  30. package/one/knowledge/performance.md +459 -0
  31. package/one/knowledge/troubleshooting.md +434 -0
  32. package/one/things/plans/dsl-claude-code.md +1011 -0
  33. package/one/things/plans/video-backend.md +638 -0
  34. package/one/things/plans/video-frontend.md +432 -0
  35. package/one/things/plans/video-old-archived.md +656 -0
  36. package/package.json +1 -1
  37. package/.claude/agents/AUDIT-agent-ops-alignment.md +0 -379
@@ -0,0 +1,656 @@
1
+ # Video & Podcast Platform Plan
2
+
3
+ **Version:** 1.0.0
4
+ **Status:** Planning
5
+ **Created:** 2025-11-08
6
+ **Source:** Bull.fm migration + ONE Platform enhancement
7
+ **Total Cycles:** 42 (optimized)
8
+
9
+ ---
10
+
11
+ ## Executive Summary
12
+
13
+ Import proven video and podcast functionality from Bull.fm into ONE Platform, creating a unified media platform that supports:
14
+ - YouTube embeds + native video hosting
15
+ - Podcast hosting with custom audio player
16
+ - Content collections with rich metadata
17
+ - AI-powered transcription and knowledge extraction
18
+ - Multi-tenant media libraries (groupId scoping)
19
+
20
+ **Architecture:** Backend + Frontend (requires Convex for multi-tenant media)
21
+ **Quick Win:** Cycle 10 - Working video gallery with YouTube embeds deployed
22
+
23
+ ---
24
+
25
+ ## 6-Dimension Ontology Mapping
26
+
27
+ ### GROUPS
28
+ - Organization media libraries (groupId scoping)
29
+ - Course collections (nested groups)
30
+ - Playlist containers
31
+
32
+ ### PEOPLE
33
+ - Content creators (upload, manage)
34
+ - Viewers (consume, track progress)
35
+ - Roles: `org_owner` (full access), `org_user` (view only), `customer` (purchased content)
36
+
37
+ ### THINGS
38
+ Core entities:
39
+ ```typescript
40
+ {
41
+ type: "video",
42
+ metadata: {
43
+ title, description, duration,
44
+ youtubeId?, // For YouTube embeds
45
+ videoUrl?, // For native hosting (Cloudinary/Mux)
46
+ thumbnail,
47
+ transcript?, // Full transcript text
48
+ categories: string[]
49
+ }
50
+ }
51
+
52
+ {
53
+ type: "podcast",
54
+ metadata: {
55
+ title, description, duration,
56
+ audioUrl, // MP3/M4A file (Cloudinary)
57
+ thumbnail,
58
+ transcript?,
59
+ episodeNumber?, seasonNumber?
60
+ }
61
+ }
62
+
63
+ {
64
+ type: "playlist",
65
+ metadata: {
66
+ title, description,
67
+ playlistType: "video" | "podcast" | "course"
68
+ }
69
+ }
70
+
71
+ {
72
+ type: "course",
73
+ metadata: {
74
+ title, description,
75
+ instructor, level, estimatedHours
76
+ }
77
+ }
78
+
79
+ {
80
+ type: "lesson",
81
+ metadata: {
82
+ title, description, order,
83
+ videoId?, // Reference to video thing
84
+ duration, lessonType: "video" | "text" | "quiz"
85
+ }
86
+ }
87
+ ```
88
+
89
+ ### CONNECTIONS
90
+ ```typescript
91
+ {
92
+ type: "contains",
93
+ sourceId: playlistId,
94
+ targetId: videoId,
95
+ metadata: { order: 1 }
96
+ }
97
+
98
+ {
99
+ type: "authored",
100
+ sourceId: creatorId,
101
+ targetId: videoId,
102
+ metadata: { role: "creator" | "producer" | "editor" }
103
+ }
104
+
105
+ {
106
+ type: "enrolled_in",
107
+ sourceId: userId,
108
+ targetId: courseId,
109
+ metadata: { startedAt, progress: 0.65 }
110
+ }
111
+
112
+ {
113
+ type: "watched",
114
+ sourceId: userId,
115
+ targetId: videoId,
116
+ metadata: { lastPosition: 245, completed: false }
117
+ }
118
+ ```
119
+
120
+ ### EVENTS
121
+ ```typescript
122
+ {
123
+ type: "content_event",
124
+ action: "video_viewed" | "video_completed" | "podcast_played",
125
+ metadata: {
126
+ duration, completionRate,
127
+ watchTime, deviceType
128
+ }
129
+ }
130
+
131
+ {
132
+ type: "content_event",
133
+ action: "video_uploaded" | "video_published",
134
+ metadata: {
135
+ size, format, processingTime
136
+ }
137
+ }
138
+
139
+ {
140
+ type: "entity_created",
141
+ action: "playlist_created",
142
+ metadata: { itemCount: 0 }
143
+ }
144
+ ```
145
+
146
+ ### KNOWLEDGE
147
+ - Video transcripts chunked for RAG (500-word chunks)
148
+ - Podcast transcripts with speaker diarization
149
+ - Auto-generated labels: topics, keywords, sentiment
150
+ - Vector embeddings for semantic search
151
+ - Thematic connections between content
152
+
153
+ ---
154
+
155
+ ## ⚡ Quick Wins (Cycles 1-10)
156
+
157
+ **Goal:** Working video gallery deployed to staging by Cycle 10
158
+
159
+ ### Cycle 1-3: Foundation (3 cycles)
160
+ **Agent:** agent-director
161
+
162
+ ✓ **Cycle 1:** Validate against ontology
163
+ - Review Bull.fm analysis
164
+ - Confirm 6-dimension mapping
165
+ - Document migration strategy
166
+
167
+ ✓ **Cycle 2:** Architecture decisions
168
+ - Backend needed: YES (multi-tenant, progress tracking)
169
+ - Storage: Cloudinary for native hosting
170
+ - Transcription: Whisper API (future)
171
+
172
+ ✓ **Cycle 3:** Create migration plan
173
+ - Identify reusable components (90% of Bull.fm code)
174
+ - Define schema updates needed
175
+ - Plan data migration scripts
176
+
177
+ ### Cycle 4-7: Core Feature - YouTube Video Gallery (4 cycles)
178
+ **Agents:** agent-backend (parallel) + agent-frontend
179
+
180
+ ✓ **Cycle 4:** Backend schema (agent-backend)
181
+ - Update `schema.ts` with video/podcast thing types
182
+ - Add `watched`, `contains` connection types
183
+ - Add `video_viewed`, `video_completed` event types
184
+
185
+ ✓ **Cycle 5:** Backend mutations (agent-backend)
186
+ - `createVideo` - Add video to library
187
+ - `updateWatchProgress` - Track viewing position
188
+ - `createPlaylist` - Create video collections
189
+
190
+ ✓ **Cycle 6:** Backend queries (agent-backend)
191
+ - `listVideos` - Get all videos for group
192
+ - `getVideoById` - Single video with metadata
193
+ - `getPlaylistVideos` - Videos in playlist order
194
+
195
+ ✓ **Cycle 7:** Frontend components (agent-frontend)
196
+ - Port `VideoPlayer.tsx` from Bull.fm
197
+ - Create `VideoGallery.tsx` (grid layout)
198
+ - Create `VideoCard.tsx` (thumbnail + metadata)
199
+
200
+ ### Cycle 8-10: Deploy MVP (3 cycles)
201
+ **Agents:** agent-frontend + agent-ops
202
+
203
+ ✓ **Cycle 8:** Video pages (agent-frontend)
204
+ - `/videos` - Gallery view (SSR with Convex)
205
+ - `/videos/[id]` - Single video player
206
+ - Basic styling with Tailwind v4
207
+
208
+ ✓ **Cycle 9:** Integration testing (agent-quality)
209
+ - Test video playback
210
+ - Test progress tracking
211
+ - Test multi-tenant isolation (groupId)
212
+
213
+ ✓ **Cycle 10:** Deploy to staging (agent-ops)
214
+ - Deploy backend to Convex
215
+ - Deploy frontend to Cloudflare Pages
216
+ - ✅ **MILESTONE: Working video gallery live**
217
+
218
+ ---
219
+
220
+ ## 📋 Full Plan (42 Cycles)
221
+
222
+ ### Phase 1: Foundation (Cycles 1-3)
223
+ **Agent:** agent-director
224
+ **Deliverable:** Validated plan + architecture decisions
225
+
226
+ - Cycle 1: Validate against ontology
227
+ - Cycle 2: Architecture decisions
228
+ - Cycle 3: Create migration plan
229
+
230
+ ### Phase 2: Backend - Video Core (Cycles 4-10)
231
+ **Agent:** agent-backend
232
+ **Deliverable:** Video database + API
233
+
234
+ - Cycle 4: Schema updates (things, connections, events)
235
+ - Cycle 5: Mutations (create, update, delete videos)
236
+ - Cycle 6: Queries (list, get, search videos)
237
+ - Cycle 7: Progress tracking logic
238
+ - Cycle 8: Playlist management
239
+ - Cycle 9: Multi-tenant isolation testing
240
+ - Cycle 10: Backend deployed to Convex
241
+
242
+ ### Phase 3: Frontend - Video UI (Cycles 8-15)
243
+ **Agent:** agent-frontend
244
+ **Deliverable:** Video browsing + playback UI
245
+
246
+ **⚡ PARALLEL with Phase 2 (Cycles 8-10)**
247
+
248
+ - Cycle 8: Port VideoPlayer.tsx from Bull.fm
249
+ - Cycle 9: Create VideoGallery.tsx (grid layout)
250
+ - Cycle 10: Create VideoCard.tsx (thumbnail cards)
251
+ - Cycle 11: `/videos` page (gallery view)
252
+ - Cycle 12: `/videos/[id]` page (single video)
253
+ - Cycle 13: Progress tracking UI (resume playback)
254
+ - Cycle 14: Playlist UI (collections)
255
+ - Cycle 15: Responsive design + polish
256
+
257
+ ### Phase 4: Backend - Podcast Core (Cycles 16-20)
258
+ **Agent:** agent-backend
259
+ **Deliverable:** Podcast hosting + streaming
260
+
261
+ - Cycle 16: Podcast schema (reuse video schema mostly)
262
+ - Cycle 17: Audio upload to Cloudinary
263
+ - Cycle 18: Podcast mutations (create, update, delete)
264
+ - Cycle 19: Podcast queries (list, get, search)
265
+ - Cycle 20: Podcast progress tracking
266
+
267
+ ### Phase 5: Frontend - Podcast UI (Cycles 18-23)
268
+ **Agent:** agent-frontend
269
+ **Deliverable:** Podcast player + library
270
+
271
+ **⚡ PARALLEL with Phase 4 (Cycles 18-20)**
272
+
273
+ - Cycle 18: Port AudioPlayer.tsx from Bull.fm
274
+ - Cycle 19: Create PodcastCard.tsx
275
+ - Cycle 20: Create PodcastGallery.tsx
276
+ - Cycle 21: `/podcasts` page (library view)
277
+ - Cycle 22: `/podcasts/[id]` page (episode player)
278
+ - Cycle 23: Podcast playlists (seasons/series)
279
+
280
+ ### Phase 6: Advanced Features (Cycles 24-32)
281
+ **Agents:** agent-backend (24-28) + agent-frontend (28-32)
282
+
283
+ **Backend (Cycles 24-28):**
284
+ - Cycle 24: Video upload API (Cloudinary integration)
285
+ - Cycle 25: Transcript extraction (Whisper API)
286
+ - Cycle 26: Knowledge chunking (transcripts → embeddings)
287
+ - Cycle 27: Search with vector similarity
288
+ - Cycle 28: Analytics events (views, completion rate)
289
+
290
+ **Frontend (Cycles 28-32) - PARALLEL:**
291
+ - Cycle 28: Upload interface (video + podcast)
292
+ - Cycle 29: Transcript display (synced with playback)
293
+ - Cycle 30: Search interface (semantic search)
294
+ - Cycle 31: Analytics dashboard
295
+ - Cycle 32: Course builder (lessons with videos)
296
+
297
+ ### Phase 7: Bull.fm Data Migration (Cycles 33-36)
298
+ **Agent:** agent-clone
299
+ **Deliverable:** Bull.fm content imported
300
+
301
+ - Cycle 33: Write migration script
302
+ - Extract 4 videos (YouTube IDs)
303
+ - Extract 4 podcasts (1 MP3 file + 3 YouTube)
304
+ - Map to ONE schema
305
+
306
+ - Cycle 34: Run migration (dry-run first)
307
+ - Create things (videos, podcasts)
308
+ - Create connections (authored, contains)
309
+ - Create events (entity_created)
310
+
311
+ - Cycle 35: Extract knowledge
312
+ - Chunk transcripts (500 words)
313
+ - Generate embeddings (OpenAI)
314
+ - Create knowledge entries
315
+
316
+ - Cycle 36: Verification
317
+ - Validate data integrity
318
+ - Test playback of migrated content
319
+ - Generate migration report
320
+
321
+ ### Phase 8: Quality & Testing (Cycles 37-39)
322
+ **Agent:** agent-quality
323
+ **Deliverable:** Test suite + validation
324
+
325
+ - Cycle 37: Component tests
326
+ - VideoPlayer, AudioPlayer
327
+ - Progress tracking
328
+ - Playlist management
329
+
330
+ - Cycle 38: Integration tests
331
+ - Upload → process → playback
332
+ - Multi-tenant isolation
333
+ - Analytics tracking
334
+
335
+ - Cycle 39: Performance testing
336
+ - Video streaming optimization
337
+ - CDN configuration
338
+ - Mobile playback
339
+
340
+ ### Phase 9: Documentation (Cycles 40-41)
341
+ **Agent:** agent-documenter
342
+ **Deliverable:** Complete documentation
343
+
344
+ - Cycle 40: Technical docs
345
+ - API documentation
346
+ - Component library
347
+ - Migration guide
348
+
349
+ - Cycle 41: User docs
350
+ - Creator guide (upload videos)
351
+ - Viewer guide (playlists, progress)
352
+ - Admin guide (analytics)
353
+
354
+ ### Phase 10: Production Deploy (Cycle 42)
355
+ **Agent:** agent-ops
356
+ **Deliverable:** Live video/podcast platform
357
+
358
+ - Cycle 42: Production deployment
359
+ - Deploy backend to Convex production
360
+ - Deploy frontend to Cloudflare Pages
361
+ - Configure Cloudinary CDN
362
+ - ✅ **LAUNCH: Full video/podcast platform live**
363
+
364
+ ---
365
+
366
+ ## ⚡ Parallel Execution Opportunities
367
+
368
+ These cycles can run simultaneously for faster delivery:
369
+
370
+ **Wave 1 (Cycles 8-10):** 3 parallel streams
371
+ - Backend: Video queries + testing
372
+ - Frontend: Video UI components
373
+ - Ops: Staging environment setup
374
+
375
+ **Wave 2 (Cycles 18-23):** 2 parallel streams
376
+ - Backend: Podcast API (18-20)
377
+ - Frontend: Podcast UI (18-23)
378
+
379
+ **Wave 3 (Cycles 28-32):** 2 parallel streams
380
+ - Backend: Advanced features (24-28)
381
+ - Frontend: Upload + search UI (28-32)
382
+
383
+ **Time Savings:**
384
+ - Sequential: 42 cycles × 1 day = 42 days (~6 weeks)
385
+ - Parallel: 42 ÷ 1.8 = 23 days (~3 weeks)
386
+ - **Savings: 50% faster delivery**
387
+
388
+ ---
389
+
390
+ ## Migration from Bull.fm
391
+
392
+ ### Components to Reuse (High Priority)
393
+
394
+ **Video Components:**
395
+ ```
396
+ apps/bullfm/src/components/VideoPlayer.tsx
397
+ → web/src/components/media/VideoPlayer.tsx (90% reusable)
398
+
399
+ apps/bullfm/src/components/VideoEmbed.tsx
400
+ → web/src/components/media/VideoEmbed.tsx (95% reusable)
401
+
402
+ apps/bullfm/src/layouts/BullVideoLayout.tsx
403
+ → web/src/layouts/VideoLayout.tsx (needs Convex integration)
404
+ ```
405
+
406
+ **Audio Components:**
407
+ ```
408
+ apps/bullfm/src/components/AudioPlayer.tsx
409
+ → web/src/components/media/AudioPlayer.tsx (85% reusable)
410
+ ```
411
+
412
+ **Content Collections:**
413
+ ```
414
+ apps/bullfm/src/content/config.ts (video/podcast schemas)
415
+ → Migrate to Convex schema with Zod validation
416
+ ```
417
+
418
+ ### Data Migration Strategy
419
+
420
+ **Step 1: Extract (Cycle 33)**
421
+ ```typescript
422
+ // scripts/migrate-bullfm-media.ts
423
+ const videos = [
424
+ { youtubeId: "...", title: "...", ... },
425
+ // 4 videos total
426
+ ];
427
+
428
+ const podcasts = [
429
+ { audioUrl: "/audio/podcast.mp3", title: "...", ... },
430
+ // 4 podcasts total
431
+ ];
432
+ ```
433
+
434
+ **Step 2: Transform (Cycle 34)**
435
+ ```typescript
436
+ // Create things
437
+ for (const video of videos) {
438
+ await createThing({
439
+ groupId: "bullfm-migration",
440
+ type: "video",
441
+ metadata: {
442
+ title: video.title,
443
+ youtubeId: video.youtubeId,
444
+ // ... map fields
445
+ }
446
+ });
447
+ }
448
+ ```
449
+
450
+ **Step 3: Extract Knowledge (Cycle 35)**
451
+ ```typescript
452
+ // For videos/podcasts with transcripts
453
+ const chunks = chunkTranscript(video.transcript, 500);
454
+ for (const chunk of chunks) {
455
+ const embedding = await openai.embeddings.create({
456
+ model: "text-embedding-3-small",
457
+ input: chunk
458
+ });
459
+
460
+ await createKnowledge({
461
+ groupId: video.groupId,
462
+ vector: embedding.data[0].embedding,
463
+ text: chunk,
464
+ metadata: { sourceId: video.id, type: "transcript" }
465
+ });
466
+ }
467
+ ```
468
+
469
+ **Step 4: Verify (Cycle 36)**
470
+ - Validate all 8 items migrated
471
+ - Test playback of each video/podcast
472
+ - Verify knowledge searchable
473
+ - Generate migration report
474
+
475
+ ---
476
+
477
+ ## Technology Stack
478
+
479
+ ### Frontend
480
+ - **Framework:** Astro 5 + React 19
481
+ - **Styling:** Tailwind v4
482
+ - **Video Player:** Custom component (HTML5 Video API)
483
+ - **Audio Player:** Custom component (HTML5 Audio API)
484
+ - **Icons:** lucide-react
485
+
486
+ ### Backend
487
+ - **Database:** Convex (real-time sync)
488
+ - **Storage:** Cloudinary (video + audio hosting)
489
+ - **Transcription:** Whisper API (OpenAI)
490
+ - **Embeddings:** text-embedding-3-small (OpenAI)
491
+ - **CDN:** Cloudflare (frontend), Cloudinary (media)
492
+
493
+ ### External Services
494
+ - **YouTube API:** For YouTube embeds
495
+ - **Cloudinary:** Video/audio upload, transformation, streaming
496
+ - **OpenAI:** Transcription (Whisper) + embeddings
497
+ - **Convex:** Real-time database + file storage
498
+
499
+ ---
500
+
501
+ ## Success Metrics
502
+
503
+ ### Cycle 10 Milestone
504
+ ✅ Working video gallery deployed
505
+ - [ ] 4+ videos playable (YouTube embeds)
506
+ - [ ] Multi-tenant isolation working (groupId)
507
+ - [ ] Progress tracking functional
508
+ - [ ] Responsive design (mobile + desktop)
509
+
510
+ ### Cycle 23 Milestone
511
+ ✅ Podcast platform live
512
+ - [ ] Audio player with custom controls
513
+ - [ ] Podcast library browsable
514
+ - [ ] Episode playback with progress saving
515
+ - [ ] Playlist/series support
516
+
517
+ ### Cycle 36 Milestone
518
+ ✅ Bull.fm content migrated
519
+ - [ ] All 8 items (4 videos + 4 podcasts) imported
520
+ - [ ] Transcripts chunked + embedded
521
+ - [ ] Knowledge searchable via vector similarity
522
+ - [ ] Migration report generated
523
+
524
+ ### Cycle 42 Launch
525
+ ✅ Full platform in production
526
+ - [ ] Video upload + hosting (Cloudinary)
527
+ - [ ] Podcast upload + hosting
528
+ - [ ] Semantic search working
529
+ - [ ] Analytics tracking views/completions
530
+ - [ ] Course builder functional
531
+
532
+ ---
533
+
534
+ ## Risk Assessment
535
+
536
+ ### Technical Risks
537
+
538
+ **Medium Risk: Cloudinary Integration**
539
+ - Mitigation: Use Cloudinary React SDK, well-documented
540
+ - Fallback: Convex file storage (limited to 1GB free tier)
541
+
542
+ **Low Risk: Component Migration**
543
+ - Bull.fm components are clean React/TypeScript
544
+ - 90%+ reusable with minor Convex integration
545
+
546
+ **Low Risk: Transcription**
547
+ - Whisper API is stable and accurate
548
+ - Can defer to post-MVP (manual transcripts for now)
549
+
550
+ ### Business Risks
551
+
552
+ **Low Risk: Storage Costs**
553
+ - Cloudinary free tier: 25GB storage, 25GB bandwidth/month
554
+ - Convex free tier: 1GB file storage
555
+ - Estimate: $20-50/month for moderate usage
556
+
557
+ **Medium Risk: Video Processing Time**
558
+ - Large videos take time to upload + transcode
559
+ - Mitigation: Show progress, allow background processing
560
+
561
+ ---
562
+
563
+ ## Future Enhancements (Post-Cycle 42)
564
+
565
+ ### Phase 11: Advanced Features (Cycles 43-60)
566
+ - Live streaming (RTMP ingestion)
567
+ - Video collaboration (comments, annotations)
568
+ - Monetization (pay-per-view, subscriptions)
569
+ - Mobile apps (React Native)
570
+ - AI-generated summaries (GPT-4)
571
+ - Auto-generated chapters (transcript analysis)
572
+ - Multi-language subtitles (Whisper translation)
573
+
574
+ ### Phase 12: Creator Tools (Cycles 61-75)
575
+ - Video editor (trim, splice, effects)
576
+ - Thumbnail generator (AI-powered)
577
+ - SEO optimization (auto-tags, descriptions)
578
+ - Analytics dashboard (views, engagement, revenue)
579
+ - Bulk upload (drag-and-drop multiple files)
580
+
581
+ ---
582
+
583
+ ## Dependencies
584
+
585
+ ### Before Starting
586
+ - [x] Convex backend operational
587
+ - [x] Multi-tenant groups working
588
+ - [x] Authentication (Better Auth)
589
+ - [ ] Cloudinary account setup
590
+ - [ ] OpenAI API key (for Whisper + embeddings)
591
+
592
+ ### Blocking Dependencies
593
+ - Cycle 4 blocks Cycle 5 (schema before mutations)
594
+ - Cycle 6 blocks Cycle 7 (queries before frontend)
595
+ - Cycle 24 blocks Cycle 28 (upload API before upload UI)
596
+ - Cycle 26 blocks Cycle 30 (embeddings before search)
597
+
598
+ ---
599
+
600
+ ## Next Steps
601
+
602
+ ### To Start Execution
603
+
604
+ ```bash
605
+ # 1. Review this plan
606
+ cat /Users/toc/Server/ONE/one/things/plans/video.md
607
+
608
+ # 2. Start Cycle 1
609
+ /now
610
+
611
+ # 3. Execute cycles sequentially
612
+ /next # Advance to next cycle
613
+ /done # Mark current cycle complete
614
+
615
+ # 4. Or fast-track specific features
616
+ /fast video-player # Just the player component
617
+ /fast podcast-upload # Just upload functionality
618
+ ```
619
+
620
+ ### To Modify Plan
621
+
622
+ ```bash
623
+ /plan optimize # Reduce cycle count further
624
+ /plan add-feature [X] # Add new feature to plan
625
+ /plan skip [N] # Skip cycle N (not applicable)
626
+ ```
627
+
628
+ ---
629
+
630
+ ## Appendix: Bull.fm Analysis Reference
631
+
632
+ **Full Analysis:** `/one/events/bullfm-video-podcast-analysis.md` (2500+ lines)
633
+
634
+ **Key Findings:**
635
+ - 4 videos (all YouTube embeds)
636
+ - 4 podcasts (1 local MP3, 3 YouTube)
637
+ - Custom VideoPlayer.tsx (90% reusable)
638
+ - Custom AudioPlayer.tsx (85% reusable)
639
+ - Zod schemas for content validation
640
+ - No native hosting (opportunity for improvement)
641
+
642
+ **Technology Debt:**
643
+ - Vidstack player partially integrated (has errors)
644
+ - react-h5-audio-player installed but unused
645
+ - No upload interface
646
+ - No transcription service
647
+
648
+ **Migration Complexity:** Moderate (6/10)
649
+ **Estimated Effort:** 42 cycles (3-6 weeks with parallelization)
650
+
651
+ ---
652
+
653
+ **Built for creators, powered by the 6-dimension ontology.**
654
+
655
+ **Plan Status:** Ready for execution
656
+ **Next Command:** `/now` to start Cycle 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneie",
3
- "version": "3.6.26",
3
+ "version": "3.6.28",
4
4
  "type": "module",
5
5
  "description": "Build apps, websites, and AI agents in English. Zero-interaction setup for AI agents (Claude Code, Cursor, Windsurf). Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.",
6
6
  "bin": {