gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain10f8a8c8Merge branch 'code-order' into mainJukeboxmain/missions/002-live-style-form.md

4.3 KB

  1. # 002 — jukebox: put mission 001 live on :8700 (Apollo's GO 2026-11-02)
  2. TASK (NOT HIS; Apollo 2026-11-02): "fast-forward main, push, and restart :8700 on day35 without HL_COMPILER, only after 5 minutes
  3. with no listener connected. Afterwards: one live check in his Chrome (play, next song, favourites)."
  4. His underlying words (2026-10-31): "The styles are totally wrong formatted. This is getting annoying."
  5. ## Read first
  6. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full (esp. HIS JUKEBOX :8700,
  7. A CONNECTION = WAIT; PLAIN TAB; NO TAB LEFT BEHIND; processes).
  8. - /media/STORAGE/projects/WorldAPI/jukebox/CONDUCTOR.md "Path to live" (the steps; you do them for the conductor).
  9. - Mission 001 reports: /media/STORAGE/claude-scratch/jukebox/S1/REPORT.md and REPORT-S1b.md.
  10. ## Steps
  11. 1. Repo /media/STORAGE/projects/WorldAPI/jukebox (main, the live checkout). The branch style-form (worktree
  12. /media/STORAGE/claude-scratch/jukebox/S1/wt, HEAD 7601518) is based on 1838d7e; main has records-only commits after it.
  13. Rebase style-form onto main in the worktree (expect no conflicts; on any conflict stop and report), then
  14. `git -C <root> merge --ff-only style-form`. Never commit a bin symlink.
  15. 2. Push: `git -c credential.helper='!f(){ echo username=Jukebox; echo "password=$(cat ~/.config/jukebox/gitoria-token)"; }; f' push origin main`.
  16. Check `git ls-remote origin main` = local main.
  17. 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),
  18. 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,
  19. check SHA256SUMS; bin/hybriel sha256 4bb25cfa94dd…). Do this only right before the restart in step 4, never while :8700 is still
  20. running from it if the running process needs those files: copy into a fresh dir first, swap with two mv's right after the old
  21. process is stopped.
  22. 4. Restart, following "A CONNECTION = WAIT": sample `ss -tnp | grep ':8700'` for connections (not the LISTEN line) once every
  23. 30 s in ONE background command; restart only after 5 minutes with none. If that does not happen within 40 minutes,
  24. change nothing and report. Then: note the old PID (expected 3917192; check /proc/<pid>/cwd = the root), stop it by that PID only,
  25. swap bin/, start from the root:
  26. `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 &`
  27. with NO HL_COMPILER in the environment (`env -u HL_COMPILER`). Cold compile 10–40 s. Then
  28. `curl -s -o /dev/null -w '%{http_code}' 127.0.0.1:8700/` = 200, and check /proc/<newpid>/environ has no HL_COMPILER.
  29. 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
  30. (the main SHA you noted before the merge in step 1; note it there), start it the same way, and report.
  31. 5. Live check in his Chrome on lisbeth :9223 (tunnel `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth` if needed), under
  32. /media/STORAGE/claude-scratch/atlas/lisbeth.lock, one own plain tab (Target.createTarget without browserContextId), closed in finally,
  33. 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 list
  34. shows; play a song and see it run (currentTime grows); press next and see another song start; open Favourites and see the list change.
  35. Do not change his data beyond what a normal listen does (one play count is fine; do not toggle favourites). Look at the shots.
  36. 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 under
  37. 2 minutes; else wait.
  38. ## Environment
  39. - Scratch: /media/STORAGE/claude-scratch/jukebox/L1/ (logs, shots, REPORT.md). No test ports needed.
  40. - No ticket writes. No other change to the code. Stop every process you started except the new live server; list name + PID.
  41. - Model Sonnet. Cap about 40 requests. Waiting is ONE background command, never a polling loop of separate calls.
  42. ## Report (L1/REPORT.md + final message at most 10 lines)
  43. Merge and push commits, old PID / new PID, the connection samples (times), curl code, environ check, the live check results with
  44. screenshot 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