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
- 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