jukebox
All repositories: gitoria
4.7 KB
# 016 — jukebox: re-vendor to Hybriel day73 + media-player, and jukebox#4 (screens call $parent instead of cross-file emit) — up to the PRTASK (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").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 theshell components/main.hl, but they reach it with a plain emit whose handler lives only in main.hl … The framework way is that a componentreaches the file that placed it with `$parent.jbPlay(ctx, index)`, `$parent.jbShuffle(spec)` and so on, written as plain functions ormethods in main.hl." Full ticket: `curl -s -A Jukebox -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/jukebox/tickets/4`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).The jukebox runs day41, so it needs the day73 set first. No other behaviour change is wanted; nothing he would notice may change.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full.- /media/STORAGE/projects/WorldAPI/jukebox/PROCEDURES.md (live, Chrome, gates, re-vendor, git) and CONDUCTOR.md "Verification".- Shape of the last re-vendor: missions/012-day41.md (steps 1, 2, 4) and merge commit 04f5d9d.- Hybriel: /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (rules L1–L19, F1–F21; F16 = $parent, F19 = View attributes refused atbuild), docs/HL-PRIMER.md, COMPONENTS.md sections on $parent / placed components / slot and layouts. Copy a working shape from the docs.Report a DOCS line: what the docs did not answer.## Steps1. Worktree /media/STORAGE/claude-scratch/jukebox/V73/wt, branch day73 from origin/main (02dccbc or later).Set: /media/STORAGE/claude-scratch/anton/set-day73 (SOURCE commit 735278d8 in /media/STORAGE/projects/hybriel, heavy validation green2026-11-23; check SHA256SUMS). bin/ = set bin/ + lib/ (not in git, never commit a bin symlink). Every vendored plugin dir complete from`git -C /media/STORAGE/projects/hybriel archive 735278d8 plugins/<name>` plus the set's .so. README vendor note updated. Commit 1: vendor.2. Components: media-player from /media/STORAGE/projects/WorldAPI/components.hybriel.worldapi.org at the newest commit that changedcomponents/media-player (1b7413b or 51c3818 — check with git log) via tools/sync-components.sh (pin + components/SOURCE), `--check` passes.Virtual-list/icons stay unless day73 needs a newer one. Commit 2.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.4. jukebox#4: replace every cross-file emit from a screen to main.hl (`emit jbPlay`, `emit jbShuffle`, `emit server jbRows` — recount withrg, the ticket's line numbers are old) by `$parent.<fn>(…)` calls in handlers to plain functions/methods in main.hl. Same-file emitsstay. A server round trip that a screen needs goes through the framework's way for the screen itself, not through main.hl's emit — ifunclear, STOP and report. Commit 4.5. Gates on the final branch, all ports in your range: gate, ui, jb3, jb11, jb13, jb14, jb15, jb19, jb20, jb23, theme (numbers inPROCEDURES.md). One run on a fresh COPY of ./storage + check-integrity (0/0).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 and1280x800: Songs list shows, tap a song plays (currentTime grows), Next/Previous, Shuffle from Songs, an Artist and an Album page, Searchthen tap a result. Look at every shot. Tab lists before/after in the report.7. PR: rebase on origin/main, top commit subject starts with '|||PR ', push the branch only (PROCEDURES.md "Git"). Report PR number andSTOP. The conductor merges after Kunibert and sends you on with the live step (PROCEDURES.md "Live server"). Keep wt + storage copy until then.## Environment- Scratch /media/STORAGE/claude-scratch/jukebox/V73/. Ports: servers 8824–8829, Chrome HL_PORT_BASE=8630 (8830–8839). Check `ss -ltn` first.Never ./storage, never test traffic to :8700. No ticket writes. Never push main.- Budget: $3 hard cap, about 60 requests. Waiting = one background command. At the cap: commit WIP, report, end.- Stop every process you started; list name + PID. No Chrome with cwd in your scratch dir at the end.## Report (V73/REPORT.md + final message at most 12 lines)Commits, plugin changes, what day73 forced in the app, the emit→$parent list (before/after counts), gate numbers vs day41, integrity,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