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
- 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