jukebox
All repositories: gitoria
3.6 KB
# 014 — jukebox: no playback after the tab was in the background (his report 2026-11-19)TASK (his words, verbatim, inbox thread "Not playing"): "i think its not reconnecting when i come back after some time and the browser was in background for a while"(Original report 2026-11-17: "I just opened it on the tablet and no matter how often I touch on a song in the list it won't start playing")NOT HIS (Jukebox): live = loreana :8700, PID 991692, main 04f5d9d, Hybriel day41 (bin e9911159). T1 (mission 013, report/media/STORAGE/claude-scratch/jukebox/T1/REPORT.md, read it) could not reproduce on a fresh tab: every tap played. A tap emits theserver face jbQueue (components/main.hl, near :679) and plays only after the answer (media-player.hl:513/525). The app has NOreconnect handling at all (no `on client reconnected`, no `__hlReach`; grep is empty). Per SPEC.md (~line 2680-2710, protocol"resumed"/reconnected) and HL-STANDARD F13, hl:web should reopen the socket and replay queued emits; `on client reconnected(r)` with`location.reload()` on `r.stale` is the app's part.## Goal: reproduce and find the mechanism, then propose the fix (no fix yet)1. Read WORKER-RULES in full: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md; CONDUCTOR.md"Verification"; README "Run it"; /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (F13, F20); SPEC.md around the "resumed" frame;/media/STORAGE/projects/hybriel/COMPONENTS.md §10 (reconnect). Copy a working shape from the docs.2. Worktree /media/STORAGE/claude-scratch/jukebox/T2/wt from main 04f5d9d (bin/ = copy of the root's bin/, never a symlink), storagecopy in T2/storage. Server ports 8824-8829 (8822 is someone else's; check `ss -ltn`), reachable from lisbeth via Tailscale(loreana 100.77.141.84). Never ./storage, never any request to :8700.3. In his Chrome on lisbeth :9223 (tunnel `ssh -f -N -o ExitOnForwardFailure=yes -L 9223:127.0.0.1:9223 [email protected]`, stop it ifyou opened it; one own plain tab; json/list before and after), 800x1280 with touch emulation. Lose the connection the ways a realtablet does, each followed by a tap on a song row:a) Page.setWebLifecycleState frozen for a few minutes, then active (Android freezes background tabs);b) network offline (Network.emulateNetworkConditions) for a while, then online;c) the server drops the socket while the tab stays (e.g. kill the TCP connection with `ss -K` on the test port, or restart thetest server) — no new page load;d) a long idle (>= 10 min) in the background if a-c show nothing.Record per case: does the socket reopen (CDP Network.webSocket* events), does the jbQueue emit leave and get an ack, does audioplay, console errors, what the page shows (__hlReach).4. Name the mechanism with file:line (app or vendored hl:web under the worktree). Say plainly: app bug (missing reconnect handling)or framework gap (hl:web does not reopen/replay). If framework: write a minimal repro (smallest .hl page + steps) intoT2/repro/ for Arachne. If app: the proposed change in a few lines, built the framework's way (no hand JS, no workaround).5. No code changes in main, no PR, no ticket writes.## EnvironmentScratch /media/STORAGE/claude-scratch/jukebox/T2/. Chrome via HL_PORT_BASE=8630 if a gate needs it. Model Sonnet. Cap about 60 requests.Stop every process you started (name + PID in the report), delete the storage copy, no tab left (paste final json/list).## Report (T2/REPORT.md + final message at most 10 lines, plain sentences)Reproduced yes/no and with which case; the cause with file:line; app or framework; proposed fix; processes stopped; final tab list.
Branches
Latest commits
- 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
- 204fc828Merge branch 'day72' into mainJukebox
- 8e8d0e2b|||PR Records: PROCEDURES.md, missions 016-019, GO 2026-11-23mre
- 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