gitoria

jukebox

All repositories: gitoria

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

3.2 KB

  1. # 021 — jukebox code-order #10, #8, #9 (behaviour unchanged), up to the PR
  2. TASK (NOT HIS; Apollo GO 2026-11-24 "GO for your remaining tickets (#10, #8, #9, #5, #6), on day72 only"). The tickets are audit findings (Atlas 2026-10-26). Read each one in full:
  3. `curl -s -A Jukebox -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/jukebox/tickets/<n>` for n = 10, 8, 9.
  4. - #10: project.hl is the map. The key migration, scheduler, ticker and scan child wiring move into one call in lib/ (for example startBackground()).
  5. - #8: lib/api.hl handlers are thin. apiCopies/apiQueue logic moves into its topic file (lib/dups.hl, lib/queue.hl); the cover/thumb response is built once; no songsTable in api.hl.
  6. - #9: one writer for the songs table (db.hl); catalog.hl calls it; reads go through db.hl accessors.
  7. Order: #10, #8, #9. One commit per ticket; the commit subject names the ticket. Cleanups never change behaviour, page output or gate numbers. If the cap comes, stop after a finished ticket.
  8. (#7 is already done and merged, PR #11. Mission 019 / reports/019-code-order.md has the earlier attempt.)
  9. ## Read first
  10. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full, and /media/STORAGE/projects/WorldAPI/jukebox/PROCEDURES.md.
  11. - /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md rules L2, L10, L11 (& params: the caller writes & too), L14–L18; docs/HL-PRIMER.md. Copy working shapes from the docs. Put a DOCS line in the report.
  12. ## Steps
  13. 1. Worktree /media/STORAGE/claude-scratch/jukebox/C21/wt, branch code-order-2 from origin/main (10f8a8c = Hybriel day72 + #4 + #7). bin/ = a copy of /media/STORAGE/claude-scratch/anton/set-day72 bin/ + lib/ (not in git, never a symlink).
  14. 2. Gates BEFORE on 10f8a8c (record the numbers), then the three tickets, then gates AFTER: gate, ui, jb3, jb11, jb13, jb14, jb15, jb19, jb20, jb23, theme. Ports in your range. The numbers must be equal. jb19 is known flaky (a different check fails each run): rerun it once.
  15. 3. A start on a fresh COPY of ./storage. The startup migration/scan path of #10 must still run: show that the log lines before and after match. Then check-integrity 0/0.
  16. 4. Chrome proof on lisbeth (PROCEDURES.md), 1280x800 and 390x844: Songs list, tap plays, Next, Search tap plays. Give the final tab list.
  17. 5. Push branch code-order-2. 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. Do not write LOG.md, STATUS.md or any records file.
  18. ## Environment
  19. - Scratch /media/STORAGE/claude-scratch/jukebox/C21/. Ports: servers 8820–8824, Chrome HL_PORT_BASE=8625 (debug 8825–8829 where a test lets you; another worker uses 8830–8839, and check `ss -ltn` before each run). Every port is an env var; read each test file's head.
  20. - Never use ./storage, never send test traffic to :8700, never touch /media/SLOW1TB1/Musik (read-only library). No ticket writes. Never push main.
  21. - Budget: $2 hard cap, about 50 requests. Waiting = one background command.
  22. - Stop every process you started; list each one (name + PID).
  23. ## Report (C21/REPORT.md + a final message of at most 12 lines)
  24. 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