jukebox
All repositories: gitoria
6.2 KB
# 012 — jukebox: re-vendor to Hybriel day41 + media-player from components df9e7df, put it live (Apollo GO 2026-11-04 ~13:55)TASK (NOT HIS; Apollo 2026-11-04): "GO ... Re-vendor complete plugin dirs + media-player from components df9e7df, gates, Chrome proof(lisbeth may be offline — then wait), PR, Kunibert, merge, idle-wait swap." Why (Atlas 13:47): components#26 — the last queue itemreloaded and replayed — was caused in hl:web (hybriel#303) and is fixed in day41. The media-player change in df9e7df is one line(line 377: `repeatOne = repeat == 'one' ? true : null` becomes `repeatOne = repeat == 'one'`) and needs day41 (hybriel#302).No other app code change is wanted. Budget: about 4 % of the usage window — keep it lean.## 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; NO TAB LEFT BEHIND; 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 vendor note (line ~141).- The previous run of the same job: missions/011-day39.md and its LOG.md lines (2026-11-03/04, "day39"); commit 5fa19e8 (merge of branch day39) for the shape.- Set: /media/STORAGE/claude-scratch/anton/set-day41 (SOURCE commit 57054d9e11329a5e2cfc83124030b563d4a5276a in /media/STORAGE/projects/hybriel;bin/hybriel sha256 e9911159…; SHA256SUMS). Plugin sources come from the hybriel repo at 57054d9e; .so files from the set.- Components: /media/STORAGE/projects/WorldAPI/components.hybriel.worldapi.org commit df9e7df; copy with tools/sync-components.sh(update its media-player pin from c96709c to df9e7df and components/SOURCE; icons 46fefaa and virtual-list e5b98ec stay).Then `tools/sync-components.sh --check` must pass. Never edit the copies by hand.## Steps1. Worktree /media/STORAGE/claude-scratch/jukebox/D41/wt, branch day41 from current origin/main (1fecd6a or later).bin/ = the set's bin/ + lib/ (not in git), check SHA256SUMS. Every vendored plugin dir (core, crypto, data, fetch, fs, http, http1,math, mpackdb, proc, time, web): complete dir from hybriel 57054d9e (`git -C /media/STORAGE/projects/hybriel archive 57054d9e plugins/<name>`)plus the set's .so (sha256 checked). List per plugin: changed / unchanged. Update the README vendor note (day41, 57054d9e, e9911159…).Commit 1: vendor. Commit 2: media-player df9e7df + sync script pin + components/SOURCE. No attribution lines.2. Gates on day41, every port overridden into your range (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 . — compare with the day39 numbers in LOG.md/reports.A single jb3 "songs heading" timeout or a single jb19 25/1 is known flaky: rerun once before judging. Also components#26 itself:show that the last queue item no longer reloads/replays (reuse the idea of components tests/mp-last-item.mjs at df9e7df if it fits thejukebox; otherwise check it in step 3 by hand: seek near the end of the last song of a short queue with repeat off and watch it stop).One run on a fresh COPY of ./storage with the server on a test port: start, list songs, stop, then/media/STORAGE/projects/hybriel/plugins/mpackdb/tools/check-integrity.mjs on that copy: 0 duplicates, 0 collisions.3. Proof in his Chrome on lisbeth :9223 (a tunnel may already be open: check `ss -ltnp | grep ':9223 '`; if none, open`ssh -f -N -o ExitOnForwardFailure=yes -L 9223:127.0.0.1:9223 [email protected]` (Tailscale; LAN has no route) and stop it at the end;lock /media/STORAGE/claude-scratch/atlas/lisbeth.lock; one own plain tab; json/list before and after; server on a test port reachable fromlisbeth (loreana Tailscale 100.77.141.84) with the storage copy): at 390×844 and 1280×800 the songs list shows, play runs (currentTime grows),next starts another song, repeat-one repeats, "Shuffle my favourites" starts a song, the last-item case from step 2. Shots in D41/shots/, look at them.If lisbeth is unreachable: one background wait (up to 60 min, check every 5 min), then report and stop. If anything fails: stop, report, no PR.4. PR: rebase onto origin/main; top commit subject starts with '|||PR '; push the BRANCH only:`git -c credential.helper='!f(){ echo username=Jukebox; echo "password=$(cat ~/.config/jukebox/gitoria-token)"; }; f' push origin day41`.Report the PR number and STOP. The conductor merges after Kunibert and sends you on with step 5.5. Swap (only on the conductor's word): as missions/011 step 4 — root's day39 bin kept as D41/bin-day39 (rollback), A CONNECTION = WAIT(one background command sampling `ss -tnp | grep ':8700'` every 30 s; restart only after 5 min with none; if not within 60 min, changenothing live and report). Old PID 1639725 (check /proc cwd = root), stop by PID only, wait until 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/D41/live.log 2>&1 &`curl 200 within 3 min, else roll back (stop new PID, bin-day39 back, root main reset to 1fecd6a-era commit, same start) and report.Then one live look in his Chrome (http://100.77.141.84:8700/, 1280×800 only, under 2 minutes, no favourites, no shuffle/repeat changes).## Environment- Scratch: /media/STORAGE/claude-scratch/jukebox/D41/ (wt, logs, storage copy, shots, REPORT.md). Ports: servers 8820–8829, Chrome viaHL_PORT_BASE=8630 (debug ports 8830–8839). Never ./storage, never test traffic to :8700.- No ticket writes. Never push main. Model Sonnet. Cap about 50 requests. Waiting = ONE background command, never polling calls.- Stop every process you started except the new live server; list name + PID. Delete the storage copy at the end. No Chrome leftwith cwd in your scratch dir.## Report (D41/REPORT.md + final message at most 10 lines)Commits, per-plugin changes, gate numbers, components#26 result, integrity, shots, PR number; after step 5: old/new PID, connectionsamples, curl code, environ, processes stopped, final json/list. DOCS line not needed (no .hl written by hand).
Branches
Latest commits
- 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
- 89cdabb1Vendor Hybriel day41 (57054d9e): plugin dirs, set .somre
- 1fecd6a7Merge branch 'records-day39' into mainJukebox