gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0a2ae3da0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre0a2ae3da/missions/016-day73-and-parent.md

4.7 KB

  1. # 016 — jukebox: re-vendor to Hybriel day73 + media-player, and jukebox#4 (screens call $parent instead of cross-file emit) — up to the PR
  2. TASK (NOT HIS; Apollo GO 2026-11-23: "Work your project's open tickets now … Deploy each fix once it passes the gates and is proven live").
  3. Ticket jukebox#4 (audit, not his words): "The screens songs.hl, artists.hl, albums.hl, artist.hl, album.hl and search.hl are placed by the
  4. shell components/main.hl, but they reach it with a plain emit whose handler lives only in main.hl … The framework way is that a component
  5. reaches the file that placed it with `$parent.jbPlay(ctx, index)`, `$parent.jbShuffle(spec)` and so on, written as plain functions or
  6. methods in main.hl." Full ticket: `curl -s -A Jukebox -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/jukebox/tickets/4`
  7. Why now (NOT HIS): hybriel#63 is done since set day63 — a page's $parent is the shell or layout that wraps it (Anton, 46ab022c9).
  8. The jukebox runs day41, so it needs the day73 set first. No other behaviour change is wanted; nothing he would notice may change.
  9. ## Read first
  10. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full.
  11. - /media/STORAGE/projects/WorldAPI/jukebox/PROCEDURES.md (live, Chrome, gates, re-vendor, git) and CONDUCTOR.md "Verification".
  12. - Shape of the last re-vendor: missions/012-day41.md (steps 1, 2, 4) and merge commit 04f5d9d.
  13. - Hybriel: /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (rules L1–L19, F1–F21; F16 = $parent, F19 = View attributes refused at
  14. build), docs/HL-PRIMER.md, COMPONENTS.md sections on $parent / placed components / slot and layouts. Copy a working shape from the docs.
  15. Report a DOCS line: what the docs did not answer.
  16. ## Steps
  17. 1. Worktree /media/STORAGE/claude-scratch/jukebox/V73/wt, branch day73 from origin/main (02dccbc or later).
  18. Set: /media/STORAGE/claude-scratch/anton/set-day73 (SOURCE commit 735278d8 in /media/STORAGE/projects/hybriel, heavy validation green
  19. 2026-11-23; check SHA256SUMS). bin/ = set bin/ + lib/ (not in git, never commit a bin symlink). Every vendored plugin dir complete from
  20. `git -C /media/STORAGE/projects/hybriel archive 735278d8 plugins/<name>` plus the set's .so. README vendor note updated. Commit 1: vendor.
  21. 2. Components: media-player from /media/STORAGE/projects/WorldAPI/components.hybriel.worldapi.org at the newest commit that changed
  22. components/media-player (1b7413b or 51c3818 — check with git log) via tools/sync-components.sh (pin + components/SOURCE), `--check` passes.
  23. Virtual-list/icons stay unless day73 needs a newer one. Commit 2.
  24. 3. Make the app build and run on day73 with the smallest changes (day73 may refuse forms the day41 build took, e.g. F19). Commit 3.
  25. 4. jukebox#4: replace every cross-file emit from a screen to main.hl (`emit jbPlay`, `emit jbShuffle`, `emit server jbRows` — recount with
  26. rg, the ticket's line numbers are old) by `$parent.<fn>(…)` calls in handlers to plain functions/methods in main.hl. Same-file emits
  27. stay. A server round trip that a screen needs goes through the framework's way for the screen itself, not through main.hl's emit — if
  28. unclear, STOP and report. Commit 4.
  29. 5. Gates on the final branch, all ports in your range: gate, ui, jb3, jb11, jb13, jb14, jb15, jb19, jb20, jb23, theme (numbers in
  30. PROCEDURES.md). One run on a fresh COPY of ./storage + check-integrity (0/0).
  31. 6. Proof in his Chrome on lisbeth (PROCEDURES.md): test server on 100.77.141.84:<your port> with the storage copy; at 390x844, 800x1280 and
  32. 1280x800: Songs list shows, tap a song plays (currentTime grows), Next/Previous, Shuffle from Songs, an Artist and an Album page, Search
  33. then tap a result. Look at every shot. Tab lists before/after in the report.
  34. 7. PR: rebase on origin/main, top commit subject starts with '|||PR ', push the branch only (PROCEDURES.md "Git"). Report PR number and
  35. STOP. The conductor merges after Kunibert and sends you on with the live step (PROCEDURES.md "Live server"). Keep wt + storage copy until then.
  36. ## Environment
  37. - Scratch /media/STORAGE/claude-scratch/jukebox/V73/. Ports: servers 8824–8829, Chrome HL_PORT_BASE=8630 (8830–8839). Check `ss -ltn` first.
  38. Never ./storage, never test traffic to :8700. No ticket writes. Never push main.
  39. - Budget: $3 hard cap, about 60 requests. Waiting = one background command. At the cap: commit WIP, report, end.
  40. - Stop every process you started; list name + PID. No Chrome with cwd in your scratch dir at the end.
  41. ## Report (V73/REPORT.md + final message at most 12 lines)
  42. Commits, plugin changes, what day73 forced in the app, the emit→$parent list (before/after counts), gate numbers vs day41, integrity,
  43. shots + final tab list, PR number, DOCS line, processes stopped.

Branches

Latest commits

  • 0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre
  • 9a48cfcaMerge branch 'vendor-theme' into mainJukebox
  • 170d3735Merge branch 'code-order-2' into mainJukebox
  • 3f1918a7|||PR Re-sync layouts theme 4099e64 with Segoe UI firstmre
  • 2e7f6a43Vendor virtual-list 489afcf from components.hybrielmre
  • 0ba85799Merge branch 'reset-classes' into mainJukebox
  • 502eeed5jukebox#20: vendor virtual-list initial resetKey baseline fixmre
  • 6d5ce287|||PR jukebox#9 Centralize songs table reads and writes in db.hlmre
  • dcca21abjukebox#8 Move copies and queue logic into their topicsmre
  • 3b76651cjukebox#20: update virtual-list README pin and resetKey optionsmre
  • bc09e1e8|||PR jukebox#20: reset virtual lists through resetKey (partial validation)mre
  • a3796dc5Records: live step waits for idlemre
  • 3b158e16Records: merges of #9 and #11mre
  • 27204167Merge main into records-1123mre
  • 10f8a8c8Merge branch 'code-order' into mainJukebox
  • 204fc828Merge branch 'day72' into mainJukebox
  • 8e8d0e2b|||PR Records: PROCEDURES.md, missions 016-019, GO 2026-11-23mre
  • 95f5faae|||PR jukebox#7 Drop needless let declarationsmre
  • 33072bb5|||PR Record day72 gates and Chrome proofmre
  • 95f2cd73|||PR Use typed parent methods for screen playback and local server facesmre