gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchrecords-1124d78f0cc86|||PR records 2026-11-24: inbox-thread rule, "Not playing" confirmed and closedmrerecords-1124d/missions/019-code-order.md

2.9 KB

  1. # 019 — jukebox code-order cleanups #7, #10, #8, #9 (behaviour unchanged) — up to the PR
  2. TASK (NOT HIS; Apollo GO 2026-11-23 "work your open tickets … then the rest"). The tickets are audit findings (Atlas 2026-10-26), read each in full:
  3. `curl -s -A Jukebox -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/jukebox/tickets/<n>` for n = 7, 10, 8, 9.
  4. - #7: drop needless `let` (only names reassigned later keep it; recheck every listed line, the line numbers are old).
  5. - #10: project.hl is the map — the key migration, scheduler, ticker and scan child wiring move into one call in lib/ (e.g. startBackground()).
  6. - #8: lib/api.hl handlers thin — apiCopies/apiQueue logic into its topic file (lib/dups.hl, lib/queue.hl), cover/thumb response built once, no songsTable in api.hl.
  7. - #9: one writer for the songs table (db.hl), catalog.hl calls it; reads go through db.hl accessors.
  8. Order: #7, #10, #8, #9; one commit per ticket (subject names the ticket). Cleanups never change behaviour, page output or gate numbers.
  9. If the cap comes, stop after a finished ticket.
  10. ## Read first
  11. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full; /media/STORAGE/projects/WorldAPI/jukebox/PROCEDURES.md.
  12. - /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md rules L2, L10, L11 (& params: caller writes & too), L14–L18; docs/HL-PRIMER.md. Copy working shapes from the docs. DOCS line in the report.
  13. ## Steps
  14. 1. Worktree /media/STORAGE/claude-scratch/jukebox/C19/wt, branch code-order from origin branch day72 (head 33072bb, = Hybriel day72 + jukebox#4, PR #9 not merged yet). bin/ = copy of /media/STORAGE/claude-scratch/anton/set-day72 bin/ + lib/ (not in git, never a symlink).
  15. 2. Gates BEFORE on 33072bb (record numbers), then the four tickets, then gates AFTER: gate, ui, jb3, jb11, jb13, jb14, jb15, jb19, jb20, jb23, theme (ports in your range). Numbers must be equal.
  16. 3. A start on a fresh COPY of ./storage (the startup migration/scan path of #10 must still run: show the log lines before/after match), then check-integrity 0/0.
  17. 4. Chrome proof on lisbeth (PROCEDURES.md), 1280x800 and 390x844: Songs list, tap plays, Next, Shuffle, Search tap plays. Final tab list.
  18. 5. Push branch code-order. Exactly ONE commit subject starts with '|||PR ' (the last one); the others must not, or Gitoria opens several PRs. Report the PR number and STOP.
  19. ## Environment
  20. - Scratch /media/STORAGE/claude-scratch/jukebox/C19/. Ports: servers 8824–8829, Chrome HL_PORT_BASE=8630 (8830–8839). Check `ss -ltn` first.
  21. Never ./storage, never test traffic to :8700. Never touch /media/SLOW1TB1/Musik (read-only library). No ticket writes. Never push main.
  22. - Budget: $3 hard cap, about 60 requests. Waiting = one background command.
  23. - Stop every process you started; list name + PID.
  24. ## Report (C19/REPORT.md + final message at most 12 lines)
  25. Commits per ticket, gate numbers before/after, migration log comparison, integrity, shots + final tab list, PR number, DOCS line, processes stopped.

Branches

Latest commits

  • 78f0cc86|||PR records 2026-11-24: inbox-thread rule, "Not playing" confirmed and closedmre
  • c1b153c4Merge branch 'records-1124c' into mainJukebox
  • d7b5e780|||PR Records 2026-11-24 (2): live day72, PR #19 merge, #10 newsmre
  • 43b564dbMerge branch 'records-1124b' into mainJukebox
  • fa86b08c|||PR Records 2026-11-24: LOG, STATUS, missions 020-023mre
  • 0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre
  • 9a48cfcaMerge branch 'vendor-theme' into mainJukebox
  • 170d3735Merge branch 'code-order-2' into mainJukebox
  • 3f1918a7|||PR Re-sync layouts theme 4099e64 with Segoe UI firstmre
  • 2e7f6a43Vendor virtual-list 489afcf from components.hybrielmre
  • 0ba85799Merge branch 'reset-classes' into mainJukebox
  • 502eeed5jukebox#20: vendor virtual-list initial resetKey baseline fixmre
  • 6d5ce287|||PR jukebox#9 Centralize songs table reads and writes in db.hlmre
  • dcca21abjukebox#8 Move copies and queue logic into their topicsmre
  • 3b76651cjukebox#20: update virtual-list README pin and resetKey optionsmre
  • bc09e1e8|||PR jukebox#20: reset virtual lists through resetKey (partial validation)mre
  • a3796dc5Records: live step waits for idlemre
  • 3b158e16Records: merges of #9 and #11mre
  • 27204167Merge main into records-1123mre
  • 10f8a8c8Merge branch 'code-order' into mainJukebox