jukebox
All repositories: gitoria
4.9 KB
# 003 — jukebox: re-vendor to Hybriel day38b and put it live (Apollo 2026-11-03)TASK (NOT HIS; Apollo 2026-11-03): "day38b (hybriel 1e554d75, bin 5ff2a46d) ... carries the mpackdb store-open race fix.The freeze ends for each app once IT runs day38b: re-vendor to day38b, then normal deploys/standby swaps are fine again."No app code change is wanted. Only the Hybriel vendor changes.## 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 (~line 141).- The day35 re-vendor for the shape: commit 6219211 and missions/001-style-form.md step 1.- /media/STORAGE/projects/hybriel/plugins/mpackdb/README.md "Checking a store after the open race (mission 559/560)".- Set: /media/STORAGE/claude-scratch/anton/set-day38b (SOURCE = commit 1e554d758497e16ee535ff71ee1b9c01051cef67; bin/hybriel sha256 5ff2a46d…; SHA256SUMS).## Rule until live runs day38b (data safety)The live server (PID 3112715, day35) uses ./storage. Never open ./storage from any other process. Tests use a COPY of storage(copying files is safe; a copy taken mid-write can be torn, so if data looks odd, copy again).## Steps1. Worktree /media/STORAGE/claude-scratch/jukebox/V1/wt, new branch day38b from main (f2b5db9 code + record commits).bin/ = the set's bin/ + lib/ (not in git), check SHA256SUMS. plugins/core and plugins/web = unchanged source from 1e554d75.plugins/mpackdb: bring it to day38b (source from 1e554d75 + the set's libmpackdb.so; find out how the set expects it; theapp's copy today differs). Other plugins: update only if day38b needs it to build/run; say which and why.Update the README vendoring note. Commit (no attribution lines).2. Gates on day38b, 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, node theme/check-theme.mjs . — all must pass (last results on day35: 120, 53, 50, 5, 10, 5, 33, 0).One run on a fresh COPY of ./storage (real data) with the server on a test port: start, list songs, then run Anton'scheck-integrity.mjs (/media/STORAGE/projects/hybriel/plugins/mpackdb/tools/) on that copy after stopping it: 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 songs list shows, play runs (currentTime grows), next starts another song,favourites list shows. Shots in V1/shots/. If anything fails: stop, report, no merge.4. Live: `git -C /media/STORAGE/projects/WorldAPI/jukebox merge --ff-only day38b` (note old main SHA = rollback), push with`git -c credential.helper='!f(){ echo username=Jukebox; echo "password=$(cat ~/.config/jukebox/gitoria-token)"; }; f' push origin main`,check ls-remote. Prepare root bin/ day38b in a fresh dir; keep the root's day35 bin as V1/bin-day35 (rollback).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 3112715'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/V1/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 toggle favourites).## Environment- Scratch: /media/STORAGE/claude-scratch/jukebox/V1/ (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.- Stop every process you started except the new live server; list name + PID. Delete the storage copy at the end.## Report (V1/REPORT.md + final message at most 10 lines)Vendor commit + what changed in plugins, 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