jukebox
All repositories: gitoria
4.3 KB
# 002 — jukebox: put mission 001 live on :8700 (Apollo's GO 2026-11-02)TASK (NOT HIS; Apollo 2026-11-02): "fast-forward main, push, and restart :8700 on day35 without HL_COMPILER, only after 5 minuteswith no listener connected. Afterwards: one live check in his Chrome (play, next song, favourites)."His underlying words (2026-10-31): "The styles are totally wrong formatted. This is getting annoying."## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full (esp. HIS JUKEBOX :8700,A CONNECTION = WAIT; PLAIN TAB; NO TAB LEFT BEHIND; processes).- /media/STORAGE/projects/WorldAPI/jukebox/CONDUCTOR.md "Path to live" (the steps; you do them for the conductor).- Mission 001 reports: /media/STORAGE/claude-scratch/jukebox/S1/REPORT.md and REPORT-S1b.md.## Steps1. Repo /media/STORAGE/projects/WorldAPI/jukebox (main, the live checkout). The branch style-form (worktree/media/STORAGE/claude-scratch/jukebox/S1/wt, HEAD 7601518) is based on 1838d7e; main has records-only commits after it.Rebase style-form onto main in the worktree (expect no conflicts; on any conflict stop and report), then`git -C <root> merge --ff-only style-form`. Never commit a bin symlink.2. Push: `git -c credential.helper='!f(){ echo username=Jukebox; echo "password=$(cat ~/.config/jukebox/gitoria-token)"; }; f' push origin main`.Check `git ls-remote origin main` = local main.3. bin/: the root's bin/ (not in git) is Hybriel day31. Move it to /media/STORAGE/claude-scratch/jukebox/L1/bin-day31 (the rollback),then put the day35 set's bin/ + lib/ into root bin/ exactly as S1 did in the worktree (set /media/STORAGE/claude-scratch/anton/set-day35,check SHA256SUMS; bin/hybriel sha256 4bb25cfa94dd…). Do this only right before the restart in step 4, never while :8700 is stillrunning from it if the running process needs those files: copy into a fresh dir first, swap with two mv's right after the oldprocess is stopped.4. Restart, following "A CONNECTION = WAIT": sample `ss -tnp | grep ':8700'` for connections (not the LISTEN line) once every30 s in ONE background command; restart only after 5 minutes with none. If that does not happen within 40 minutes,change nothing and report. Then: note the old PID (expected 3917192; check /proc/<pid>/cwd = the root), stop it by that PID only,swap bin/, start from the root:`cd /media/STORAGE/projects/WorldAPI/jukebox && HL_HOST=0.0.0.0 JUKEBOX_WATCH=0 setsid nohup ./bin/hybriel project.hl > /media/STORAGE/claude-scratch/jukebox/L1/live.log 2>&1 &`with NO HL_COMPILER in the environment (`env -u HL_COMPILER`). Cold compile 10–40 s. Then`curl -s -o /dev/null -w '%{http_code}' 127.0.0.1:8700/` = 200, and check /proc/<newpid>/environ has no HL_COMPILER.If it does not come up within 3 minutes: stop the new PID, move bin-day31 back, git reset the root to the old main(the main SHA you noted before the merge in step 1; note it there), start it the same way, and report.5. Live check in his Chrome on lisbeth :9223 (tunnel `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth` if needed), under/media/STORAGE/claude-scratch/atlas/lisbeth.lock, one own plain tab (Target.createTarget without browserContextId), closed in finally,json/list before and after. URL http://192.168.178.75:8700/ (or the address his tabs use). At 390×844 and 1280×800: the songs listshows; play a song and see it run (currentTime grows); press next and see another song start; open Favourites and see the list change.Do not change his data beyond what a normal listen does (one play count is fine; do not toggle favourites). Look at the shots.Before this check, sample `ss -tnp` for :8700 again: if he is connected, do it anyway only if it is a read-and-play check of under2 minutes; else wait.## Environment- Scratch: /media/STORAGE/claude-scratch/jukebox/L1/ (logs, shots, REPORT.md). No test ports needed.- No ticket writes. No other change to the code. Stop every process you started except the new live server; list name + PID.- Model Sonnet. Cap about 40 requests. Waiting is ONE background command, never a polling loop of separate calls.## Report (L1/REPORT.md + final message at most 10 lines)Merge and push commits, old PID / new PID, the connection samples (times), curl code, environ check, the live check results withscreenshot paths, processes, the final json/list page list.
Branches
Latest commits
- eaa7e6d6Vendor Hybriel day76 for live parent member readsmre
- 0923398bMerge branch 'records-1124d' into mainJukebox
- 78f0cc86|||PR records 2026-11-24: inbox-thread rule, "Not playing" confirmed and closedmre
- c1b153c4Merge branch 'records-1124c' into mainJukebox
- d7b5e780|||PR Records 2026-11-24 (2): live day72, PR #19 merge, #10 newsmre
- 43b564dbMerge branch 'records-1124b' into mainJukebox
- fa86b08c|||PR Records 2026-11-24: LOG, STATUS, missions 020-023mre
- 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