gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit7eb2898d7eb2898dRecords: mpackdb second-opener rule until day38mre7eb2898d/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

  • 7eb2898dRecords: mpackdb second-opener rule until day38mre
  • b011f98eRecords: style form live on day35mre
  • 60d90cb2Records: L1 woken for the restartmre
  • 75ae544fRecords: restart waits for the connection to closemre
  • e0b75951Records: L1 merged and pushed, restart waits for an open connectionmre
  • f2b5db98styles: format styles with nested rules and bare queriesmre
  • f036bab4search: format styles with nested rules and bare queriesmre
  • ef9a9d4asongs: format styles with nested rules and bare queriesmre
  • f22f9aacmain: format styles with nested rules and bare queriesmre
  • f56cd7c7Sync icons from 8176eb1 and verify mixed component sourcesmre
  • d56e5054Sync theme and shared tokens from layouts 17e0f03mre
  • b1362547Re-vendor to Hybriel set day35mre
  • 89e10f08Records: mission 002 rollback wordingmre
  • 9485dee7Records: mission 002 brief (live step)mre
  • 9ba68fe7Records: S1b reviewedmre
  • 193dfff1Records: S1 result, S1b startedmre
  • 028ed776Records: mission 001 continuation S1bmre
  • 1838d7e8Records: S1 startedmre
  • a43fca3fRecords: mission 001 decided pointsmre
  • 41773828Records: statusmre