jukebox
All repositories: gitoria
6.0 KB
# 011 — jukebox: re-vendor to Hybriel day39 and put it live (Apollo 2026-11-03 ~18:00)TASK (NOT HIS; Apollo 2026-11-03): "day39 (hybriel 51e921d7, bin 6b481aa7) is live on loreana + byrodin since 17:58 ...It carries ... #298 (jukebox Number→String) ... Re-vendor to day39 now (complete plugin dirs from the set, sources AND .so),gates, normal standby swap, live check; report one line."No app code change is wanted. Only the Hybriel vendor changes. This replaces mission 003 (day38b, blocked on hybriel#298).## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full (esp. HIS JUKEBOX :8700,A CONNECTION = WAIT; GATE PORTS; PROOF IN HIS CHROME; STOP WHAT YOU STARTED; never commit a bin symlink).- /media/STORAGE/projects/WorldAPI/jukebox/CONDUCTOR.md "Verification" and "Path to live"; README.md "Run it" and the vendoring note.- The day38b attempt for the shape: commit 8470125 (branch day38b in claude-scratch/jukebox/V1/wt, do not touch V1) andmissions/003-day38b.md + its LOG lines (jb3 failed 41/1 on "Shuffle my favourites" = hybriel#298; day39 must pass it).- Set: /media/STORAGE/claude-scratch/anton/set-day39 (SOURCE = commit 51e921d7de72ebe3ba4d0febdcc32e9a9084b178 in/media/STORAGE/projects/hybriel; bin/hybriel sha256 6b481aa7…; SHA256SUMS). The set's plugins/ has only the .so files;the plugin sources come from the hybriel repo at 51e921d7.## Rule until live runs day39 (data safety)Live (PID 400016, day35, main 019f660 + record commits) uses ./storage. Never open ./storage from any other process. Tests use aCOPY of storage (copying is safe; a copy taken mid-write can be torn, so if data looks odd, copy again).## Steps1. Worktree /media/STORAGE/claude-scratch/jukebox/D39/wt, new branch day39 from current main (9515d2c or later).bin/ = the set's bin/ + lib/ (not in git), check SHA256SUMS. For EVERY plugin dir the app vendors (plugins/core, crypto, data,fetch, fs, http, http1, math, mpackdb, proc, time, web): replace it with the complete dir from hybriel 51e921d7(`git -C /media/STORAGE/projects/hybriel archive 51e921d7 plugins/<name>`), and where the set has a .so for it, the set's .so(check its sha256 against SHA256SUMS). List per plugin: changed / unchanged / not in the set (and what you did). Do not addplugins the app does not vendor. Update the README vendoring note (day39, 51e921d7, 6b481aa7). Commit (no attribution lines).2. Gates on day39, every port overridden into 8820–8839 (check `ss -ltn` first): node tests/gate.mjs, ui.mjs, jb3.mjs, jb11.mjs,jb13.mjs, jb14.mjs, jb15.mjs, jb19.mjs, jb20.mjs, node theme/check-theme.mjs . — last results on main day35:120, 53, 50, 7, 10, 5, 33, 26, 9, 0. A single jb3 "songs heading" timeout or a single jb19 25/1 is known flaky: rerun oncebefore judging. jb3 "Shuffle my favourites" must pass.One run on a fresh COPY of ./storage (real data) with the server on a test port: start, list songs, stop it, then run/media/STORAGE/projects/hybriel/plugins/mpackdb/tools/check-integrity.mjs (or the day39 copy) on that copy: 0 duplicates, 0 collisions.3. Proof in his Chrome on lisbeth :9223 (tunnel `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth` if needed; lock/media/STORAGE/claude-scratch/atlas/lisbeth.lock; one own plain tab, closed in finally; json/list before and after), server on atest port with the storage copy: at 390×844 and 1280×800 the songs list shows, play runs (currentTime grows), next startsanother song, "Shuffle my favourites" starts a song, the favourites list shows. Shots in D39/shots/. If anything fails: stop, report, no merge.4. Live (UPDATED 2026-11-04, PR-only repo): rebase day39 onto origin/main; make the top commit subject start with '|||PR ' and push theBRANCH day39 (never main) with `git -c credential.helper='!f(){ echo username=Jukebox; echo "password=$(cat ~/.config/jukebox/gitoria-token)"; }; f' push origin day39`.That opens a PR on https://jukebox.gitoria.worldapi.org/pulls. Report the PR number and STOP; the conductor merges it after the 'kunibert' check succeeds,then sends the worker on with the swap below.check ls-remote. Prepare the root's new bin/ (day39) in a fresh dir; keep the root's day35 bin as D39/bin-day35 (rollback).There is no standby port for the jukebox: the swap is stop-then-start on :8700.A CONNECTION = WAIT: sample `ss -tnp | grep ':8700'` (connections, not LISTEN) every 30 s in ONE background command; restart onlyafter 5 minutes with none; if not within 60 minutes, change nothing live (merge/push may stay) and report.Then: check PID 400016's /proc cwd = root, stop it by that PID only, WAIT until it is gone, swap bin/ (two mv's), start:`cd /media/STORAGE/projects/WorldAPI/jukebox && env -u HL_COMPILER HL_HOST=0.0.0.0 JUKEBOX_WATCH=0 setsid nohup ./bin/hybriel project.hl > /media/STORAGE/claude-scratch/jukebox/D39/live.log 2>&1 &`Cold compile 10–40 s; then `curl -s -o /dev/null -w '%{http_code}' 127.0.0.1:8700/` = 200. If not up within 3 minutes: stop the newPID, put bin-day35 back, `git reset --hard <old main>` in the root, start the same way, report.Then one live check in his Chrome (as step 3, http://192.168.178.75:8700/, 1280×800 only, under 2 minutes; do not togglefavourites; do not change his scroll positions or shuffle/repeat state on purpose).## Environment- Scratch: /media/STORAGE/claude-scratch/jukebox/D39/ (wt, logs, storage copy, shots, REPORT.md). Ports 8820–8839 only;e.g. servers 8820–8829, Chrome via HL_PORT_BASE=8630 (debug ports 8830–8839).- No ticket writes. Model Sonnet. Cap about 60 requests. Waiting = ONE background command, never polling calls; do not end yourturn while it runs.- Stop every process you started except the new live server; list name + PID. Delete the storage copy at the end.## Report (D39/REPORT.md + final message at most 10 lines)Vendor commit + per-plugin changes, gate numbers, integrity result, Chrome shots, merge/push SHAs, old/new PID, connectionsamples (times), curl code, environ (no HL_COMPILER other than the runtime's own), processes stopped, final json/list.
Branches
Latest commits
- 10f8a8c8Merge branch 'code-order' into mainJukebox
- 204fc828Merge branch 'day72' into mainJukebox
- 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
- 6422a020Sync media-player at 51c3818mre
- b582ba1cVendor complete Hybriel day72 plugin setmre
- 02dccbc9Merge branch 'records-1119' into mainJukebox
- a39e1c23|||PR Records: missions 013-015, reconnect fix livemre
- fc7db075Merge branch 'reconnect-retry' into mainJukebox
- ac6f4c6fL2: plain declaration for a in pickedNextmre
- 2f335086Review round 2: only an explicit queue pick drops pend (not the automatic advance); jb23 records every source changemre
- 3eb6695fReview fixes: action generation, queue pick clears pend, Previous/Next retry the decided request, typed handlersmre
- 7a53c0c2|||PR A tap lost to a dead socket plays after reconnect (mission 015)mre
- 1f0cd77bMerge branch 'records-day41' into mainJukebox
- 67be229f|||PR Records: day41 live (PR #4), mission 012, statusmre
- 0bb027daconductor: caramboleyo is the user, not owner/creatorApollo
- 04f5d9d5Merge branch 'day41' into mainJukebox
- 8ed6da45|||PR README: media-player pin df9e7dfmre
- d5d45fc3|||PR media-player df9e7df (repeat-one fix), sync pin and SOURCEmre