gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain10f8a8c8Merge branch 'code-order' into mainJukeboxmain/missions/012-day41.md

6.2 KB

  1. # 012 — jukebox: re-vendor to Hybriel day41 + media-player from components df9e7df, put it live (Apollo GO 2026-11-04 ~13:55)
  2. TASK (NOT HIS; Apollo 2026-11-04): "GO ... Re-vendor complete plugin dirs + media-player from components df9e7df, gates, Chrome proof
  3. (lisbeth may be offline — then wait), PR, Kunibert, merge, idle-wait swap." Why (Atlas 13:47): components#26 — the last queue item
  4. reloaded and replayed — was caused in hl:web (hybriel#303) and is fixed in day41. The media-player change in df9e7df is one line
  5. (line 377: `repeatOne = repeat == 'one' ? true : null` becomes `repeatOne = repeat == 'one'`) and needs day41 (hybriel#302).
  6. No other app code change is wanted. Budget: about 4 % of the usage window — keep it lean.
  7. ## Read first
  8. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full (esp. HIS JUKEBOX :8700,
  9. A CONNECTION = WAIT; GATE PORTS; PROOF IN HIS CHROME; NO TAB LEFT BEHIND; STOP WHAT YOU STARTED; never commit a bin symlink).
  10. - /media/STORAGE/projects/WorldAPI/jukebox/CONDUCTOR.md "Verification" and "Path to live"; README.md "Run it" and the vendor note (line ~141).
  11. - The previous run of the same job: missions/011-day39.md and its LOG.md lines (2026-11-03/04, "day39"); commit 5fa19e8 (merge of branch day39) for the shape.
  12. - Set: /media/STORAGE/claude-scratch/anton/set-day41 (SOURCE commit 57054d9e11329a5e2cfc83124030b563d4a5276a in /media/STORAGE/projects/hybriel;
  13. bin/hybriel sha256 e9911159…; SHA256SUMS). Plugin sources come from the hybriel repo at 57054d9e; .so files from the set.
  14. - Components: /media/STORAGE/projects/WorldAPI/components.hybriel.worldapi.org commit df9e7df; copy with tools/sync-components.sh
  15. (update its media-player pin from c96709c to df9e7df and components/SOURCE; icons 46fefaa and virtual-list e5b98ec stay).
  16. Then `tools/sync-components.sh --check` must pass. Never edit the copies by hand.
  17. ## Steps
  18. 1. Worktree /media/STORAGE/claude-scratch/jukebox/D41/wt, branch day41 from current origin/main (1fecd6a or later).
  19. bin/ = the set's bin/ + lib/ (not in git), check SHA256SUMS. Every vendored plugin dir (core, crypto, data, fetch, fs, http, http1,
  20. math, mpackdb, proc, time, web): complete dir from hybriel 57054d9e (`git -C /media/STORAGE/projects/hybriel archive 57054d9e plugins/<name>`)
  21. plus the set's .so (sha256 checked). List per plugin: changed / unchanged. Update the README vendor note (day41, 57054d9e, e9911159…).
  22. Commit 1: vendor. Commit 2: media-player df9e7df + sync script pin + components/SOURCE. No attribution lines.
  23. 2. Gates on day41, every port overridden into your range (check `ss -ltn` first): node tests/gate.mjs, ui.mjs, jb3.mjs, jb11.mjs,
  24. jb13.mjs, jb14.mjs, jb15.mjs, jb19.mjs, jb20.mjs, node theme/check-theme.mjs . — compare with the day39 numbers in LOG.md/reports.
  25. A single jb3 "songs heading" timeout or a single jb19 25/1 is known flaky: rerun once before judging. Also components#26 itself:
  26. show that the last queue item no longer reloads/replays (reuse the idea of components tests/mp-last-item.mjs at df9e7df if it fits the
  27. jukebox; otherwise check it in step 3 by hand: seek near the end of the last song of a short queue with repeat off and watch it stop).
  28. One run on a fresh COPY of ./storage with the server on a test port: start, list songs, stop, then
  29. /media/STORAGE/projects/hybriel/plugins/mpackdb/tools/check-integrity.mjs on that copy: 0 duplicates, 0 collisions.
  30. 3. Proof in his Chrome on lisbeth :9223 (a tunnel may already be open: check `ss -ltnp | grep ':9223 '`; if none, open
  31. `ssh -f -N -o ExitOnForwardFailure=yes -L 9223:127.0.0.1:9223 [email protected]` (Tailscale; LAN has no route) and stop it at the end;
  32. lock /media/STORAGE/claude-scratch/atlas/lisbeth.lock; one own plain tab; json/list before and after; server on a test port reachable from
  33. lisbeth (loreana Tailscale 100.77.141.84) with the storage copy): at 390×844 and 1280×800 the songs list shows, play runs (currentTime grows),
  34. next starts another song, repeat-one repeats, "Shuffle my favourites" starts a song, the last-item case from step 2. Shots in D41/shots/, look at them.
  35. If lisbeth is unreachable: one background wait (up to 60 min, check every 5 min), then report and stop. If anything fails: stop, report, no PR.
  36. 4. PR: rebase onto origin/main; top commit subject starts with '|||PR '; push the BRANCH only:
  37. `git -c credential.helper='!f(){ echo username=Jukebox; echo "password=$(cat ~/.config/jukebox/gitoria-token)"; }; f' push origin day41`.
  38. Report the PR number and STOP. The conductor merges after Kunibert and sends you on with step 5.
  39. 5. Swap (only on the conductor's word): as missions/011 step 4 — root's day39 bin kept as D41/bin-day39 (rollback), A CONNECTION = WAIT
  40. (one background command sampling `ss -tnp | grep ':8700'` every 30 s; restart only after 5 min with none; if not within 60 min, change
  41. nothing live and report). Old PID 1639725 (check /proc cwd = root), stop by PID only, wait until gone, swap bin/ (two mv's), start:
  42. `cd /media/STORAGE/projects/WorldAPI/jukebox && env -u HL_COMPILER HL_HOST=0.0.0.0 JUKEBOX_WATCH=0 setsid nohup ./bin/hybriel project.hl > /media/STORAGE/claude-scratch/jukebox/D41/live.log 2>&1 &`
  43. curl 200 within 3 min, else roll back (stop new PID, bin-day39 back, root main reset to 1fecd6a-era commit, same start) and report.
  44. Then one live look in his Chrome (http://100.77.141.84:8700/, 1280×800 only, under 2 minutes, no favourites, no shuffle/repeat changes).
  45. ## Environment
  46. - Scratch: /media/STORAGE/claude-scratch/jukebox/D41/ (wt, logs, storage copy, shots, REPORT.md). Ports: servers 8820–8829, Chrome via
  47. HL_PORT_BASE=8630 (debug ports 8830–8839). Never ./storage, never test traffic to :8700.
  48. - No ticket writes. Never push main. Model Sonnet. Cap about 50 requests. Waiting = ONE background command, never polling calls.
  49. - Stop every process you started except the new live server; list name + PID. Delete the storage copy at the end. No Chrome left
  50. with cwd in your scratch dir.
  51. ## Report (D41/REPORT.md + final message at most 10 lines)
  52. Commits, per-plugin changes, gate numbers, components#26 result, integrity, shots, PR number; after step 5: old/new PID, connection
  53. samples, curl code, environ, processes stopped, final json/list. DOCS line not needed (no .hl written by hand).

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