jukebox
All repositories: gitoria
8.6 KB
# 001 — jukebox: shared theme/components current, own Style blocks in the language's form (jukebox#2 follow-up)TASK (his words, unchanged): "The styles are totally wrong formatted. This is getting annoying."and "'@media (min-width: 60rem)' { <- the language has also something for this"and (2026-10-26) "that style block is also garbage, the styles are nested not repeated with spaces, and they directly relate to their component tags why is anything of the language ignored always?"NOT HIS: Apollo's order 2026-11-02 (same work as tickets' mission 025 for jukebox). Ticket context: https://tickets.worldapi.org/jukebox/2 (in review with him). Do not write to any ticket.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md, in full (esp. STYLE FORMAT, MEDIA QUERIES,HYBRIEL DOCS FIRST, NO TAB LEFT BEHIND, HIS JUKEBOX :8700, GATE PORTS).- /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, /media/STORAGE/projects/hybriel/docs/CODE-ORDER.md,/media/STORAGE/projects/hybriel/COMPONENTS.md "§4 — Styles" (incl. "@media, @supports, @container share one shape").Copy a working shape from the docs.- THE FORM: /media/STORAGE/claude-scratch/atlas/T36R/arachne-answer.md and /media/STORAGE/claude-scratch/atlas/LY7/arachne-theme-answer.md(day35: '>' / ids / compound classes as quoted NESTED keys, pseudo-elements and :has quoted whole).- Models with the same form and proof: /media/STORAGE/claude-scratch/atlas/CS23/REPORT.md, CS23b/REPORT.md, LY7/ and LY7b/REPORT.md,and /media/STORAGE/claude-scratch/tickets/T36/REPORT.md (tickets did this job; read its final section for the inbox regression it found).- App: README.md ("Run it", the gates, "Files", the Hybriel vendoring notes), tools/sync-components.sh, DECISIONS.md.## Scope (repo /media/STORAGE/projects/WorldAPI/jukebox, main a4bce6d; worktree, branch style-form)1. Re-vendor to Hybriel set day35 (/media/STORAGE/claude-scratch/anton/set-day35, source cb9e480d), exactly as componentsdid (its README "CS23: re-vendored to Hybriel set day35"): bin/ = the set's bin/ + lib/ (not in git; never commit a bin symlink),check SHA256SUMS, plugins core + web = source of cb9e480d, README vendoring note. Gates on day35 BEFORE any style change(= the baseline). One commit. (NOT HIS: this also moves jukebox#17 past the day33 fix it waits for.)2. Shared parts, unchanged copies (git show/archive of the commit, never a working tree):- theme/ and shared/ from layouts.worldapi.org 17e0f03; record the commit in the README theme note; `node theme/check-theme.mjs .`.- components: icons only, from components.hybriel 8176eb1. media-player and virtual-list stay exactly as they are(Apollo 2026-11-02; see "Decided points"). Adjust tools/sync-components.sh only as far as needed so that --checkstill proves each copy against its real source commit, and say how in the report.Gates again. One commit each.3. The app's own Style blocks, one commit per file: components/main.hl, songs.hl, search.hl, components/styles.hl (and anyother own .hl with a Style block you find; not the vendored copies, not theme/).- One declaration per line, nested like the View; rules named after this View's elements; an element with an id gets itsid rule; pseudo-classes nested (hover { … }); a one-line rule only with ONE declaration; one short comment line above arule, never between declarations.- The three quoted '@media (…)' (main.hl 140 and 145, songs.hl 152) → `@media { minWidth = '60rem' … }` / maxHeight,nested where the rule allows it, at the Style root with the rule inside where it must (as CS23 did).- The flat '.jb-bar media-player …' lines (main.hl, "a quoted plain tag nested under a quoted selector is dropped by thebuild"): retest that on day35 and nest them if day35 builds them; else keep them with the reason.- No form in the language (selectors into media-player's or virtual-list's parts, :not(), keyframes, selector lists,custom properties on classes): stays quoted (nested key where day35 allows it), one-line reason above, listed in thereport (file:line, why). No workaround, no change in components/ or theme/ for it. Do NOT rename ids or classes.- Changes he would see are not allowed: the served CSS must give the same rules and values.## Proof- Served /__hl/app.css after step 2 vs after step 3, same binary: same rules and values; every difference explained.- Real data per README on a COPY of storage/ (never ./storage, never :8700): tests/real.mjs with JUKEBOX_STORAGE=<copy>.- Screenshots before (step 2) and after (step 3) in his Chrome on lisbeth :9223 (`ssh -f -N -L 9223:127.0.0.1:9223 lisbeth` ifnot up), one own plain tab (Target.createTarget without browserContextId), closed in finally, browser.disconnect(), lock/media/STORAGE/claude-scratch/atlas/lisbeth.lock, json/list before and after. Pages: Songs, Artists, Albums, an album, anartist, Search with hits, Favourites; the player bar while a song plays; the now-playing overlay with its queue; the phonesidebar open. Sizes 390×844, 800×1280, 1280×800, 1280×900. ImageMagick compare -metric AE: 0 or every difference explained.Also play to the end of a short song (jukebox#11: the next song must start by itself) at step 1 and step 3.- Gates (README): node tests/gate.mjs, ui.mjs, jb3.mjs, jb11.mjs, jb13.mjs, jb14.mjs, jb15.mjs, node theme/check-theme.mjs . —0 failed at steps 1, 2 and 3. A flake: rerun once, report it.## Stop rule at step 1 (Apollo 2026-11-02)Day35 has hybriel#277: a member that reads a field of server data is not re-derived after a handler writes it. If the day35baseline gates (or your step-1 check in his Chrome) show this, e.g. a favourite, play count, sort or queue that does notupdate on screen after a click, STOP at step 1: commit nothing further, write the report with the failing check (gate,line, what you saw) and a minimal repro in S1/repro/, and end. Jukebox waits for Anton's set with the fix (538).## Not in this missionNo restart of :8700, no merge to main, no push, no ticket writes. STOP after the report; Jukebox reviews and does the live step.## Environment- Everything under /media/STORAGE/claude-scratch/jukebox/S1/ (worktree wt/, storage copies, logs, shots, REPORT.md).- Ports 8820–8839 only (check `ss -ltn` first). Every gate's port env var set inside it (gate heads: JUKEBOX_UI_PORT, JB11_PORT,JB13_PORT, JB14_PORT, JB15_PORT, JUKEBOX_GATE_PORT, HL_PORT_BASE so that HL_PORT_BASE+200..+209 lies in 8830–8839, i.e.HL_PORT_BASE=8630). Run the gates one at a time.- Stop every process you started and list it (name + PID) in the report. No attribution lines in commits.- Model Sol (codex|gpt-6.1-sol), at most 1.5 % of the Codex week. Cap about 60 requests.## Decided points (Apollo 2026-11-02: theme 17e0f03 and icons 8176eb1 unchanged; media-player and virtual-list stay as they are)- components 8176eb1 has NO virtual-list: jukebox's copy comes from the unmerged components branch jb2-virtual-list (46d90ec).- components 8176eb1's media-player lacks jukebox#11's fix (the next song starts inside the ended event, so it also plays withthe screen locked; jukebox commit b58e449, in review with him). An unchanged copy would undo #11.## Report (REPORT.md + short final message, at most 12 lines)Commits, gate numbers per step, CSS comparison per file, AE per page × size, the quoted gaps (file:line, why), DOCS line(sections used + what the docs did not answer), requests per step, processes started/stopped, the final`curl -s 127.0.0.1:9223/json/list` page list.## Continuation S1b (Jukebox 2026-11-02 02:00)S1 stopped at step 1 (report /media/STORAGE/claude-scratch/jukebox/S1/REPORT.md). Its own minimal repro re-confirmed hybriel#277(known, Apollo named it), but every jukebox gate passed on day35 and the app checks in his Chrome (favourites filter, the nextsong starting by itself, sort by plays after a reload) passed. Apollo's condition was "if the baseline gates show it": they donot, so the work goes on. Do NOT rebuild or rerun the #277 repro.- Continue in the same worktree /media/STORAGE/claude-scratch/jukebox/S1/wt, branch style-form. Its day35 vendor is uncommitted:check it (S1/logs/vendor-source-check.json, set-sha256.log; `git status` shows no bin symlink) and commit it as the step-1 commit.The day35 baseline gates in S1/logs/*-day35.log count; do not rerun them.- Then steps 2 and 3 and the whole Proof section as written above. Write your report as S1/REPORT-S1b.md.- If a step-2 or step-3 check shows a value that does not update on screen after a click, stop there, and report it with the gate,the line and what you saw.- Cap about 60 requests. S1 and S1b together stay within the 1.5 % Sol grant.
Branches
Latest commits
- 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
- 89cdabb1Vendor Hybriel day41 (57054d9e): plugin dirs, set .somre
- 1fecd6a7Merge branch 'records-day39' into mainJukebox