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
- 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
- d6b3e068|||PR Records: day39 live (PR #2), mission 011 PR step, statusmre
- 5fa19e89Merge branch 'day39' into mainJukebox
- cfe95440|||PR day39 re-vendor: Hybriel 51e921d7 (bin 6b481aa7), ids kebab-case since hybriel#256: quoted state rule and tests use jb-shuffle / jb-repeatmre
- f3614c9bRe-vendor to Hybriel day39 (51e921d7, bin 6b481aa7)mre
- 9f5c6532Merge branch 'status-22-pr' into mainJukebox
- 5838d6c7|||PR STATUS: #22 pending decision, PR-only rulemre
- 29d2029cRecords: PR-only rule (Kunibert)mre
- adacb0abRecords: neutral ticket rule, #22 decision recordedmre
- b2d6f121Records: #308 hold liftedmre
- 7ab67533Records: day39 on hold (hybriel#308)mre
- 22f21739Records: note rebase before mergemre
- f7368ea3Records: mission 011 day39, waits for lisbethmre
- 9515d2cdRecords: jb20 livemre
- 019f6601ui gate: comment names the open bug components#27 (workaround, not fixed)mre
- 277a2722README: provenance linemre
- 4169ca6aREADME: sync pinmre