tracker
All repositories: gitoria
5.1 KB
# HM54: tracker#54 and the show/person part of #55: fill by server push, no animation timerTasks, Atlas's audit tickets:#54: "the page's data are member initializers that read the server import; a long fill (TMDB fetch of an incomplete title or filmography) should be a push (`emit client` with audience) from a server job that writes the records, not a client loop that asks again and again. The face `showComplete` / `personFill` loop and the `r.done` / `r.pos` protocol disappear."#55: "the server pushes (`emit client ... audience`) when a title or person is complete; the online/offline state comes from the framework's own event or a real `every`/`after` clock, not a hidden animated element. If the framework has no way to react to the browser's online event, report that gap with a repro in .scratch/."Read both tickets fully: https://tickets.worldapi.org/tracker.worldapi.org/54 and /55 (headers `Accept: text/markdown`, `user-agent: Tracker`; read only).Tracker's reading (unconfirmed): one worker for both because the same code carries them. Three elements go: main.hl netProbe, show.hl showProbe, person.hl personProbe, plus their keyframes in styles.hl. What the visitor sees stays the same: an incomplete title or person fills in by itself without a reload, an offline note still appears and clears, a complete page does no extra work. Line numbers in the tickets are old; grep `animationiteration`, `completeTick`, `fillTick`, `netTick`, `showComplete`, `personFill`.STOP first if needed: read how the framework does it (hybriel/COMPONENTS.md, plugins/web/push.hl, plugins/web/README.md). If push with audience, or a browser online event, is missing or broken: minimal repro in your scratch dir, report, and do the parts that do not depend on it. No workaround.## Constraints that matter- The live app is one process with a GC pause problem: the server fill must not allocate more than today's loop, and must never run more TMDB fetches at once than today; respect lib/ existing fetch queue and limits. A visitor leaving the page must not leave work piling up. State what happens when nobody watches and when the same title is opened by two visitors.- A page opened after the fill finished must show the full data; a push missed through a reconnect must not leave a page stuck half-filled forever. Say how that is covered.- No stored-data format change. Signed-out visitors keep getting the fill as today.## Rules- Read fully: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md, /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, /media/STORAGE/projects/hybriel/docs/CODE-ORDER.md, and in /media/STORAGE/projects/hybriel/COMPONENTS.md the sections on server imports, push, lifecycle. Map: project.hl.- Fixed tracker rules: no hand-written JavaScript; .hl only. One step: not #52, not #53 (branch hm53-dom holds those; do not touch franchiseedit, timelineedit, modal.hl). Pitfalls: mpackdb-touching helpers in an `on server` face must be `static`.- Branch hm54-fill from main (current HEAD) with main's bin/ copied in (`cp -a`), worktree /media/STORAGE/claude-scratch/tracker/HM54/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. A deploy of main runs at the same time: do not use claude-scratch/tracker/deploy/ or the deploy-init lock.- Data: unpack /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261106-0116.tgz into /media/STORAGE/claude-scratch/tracker/HM54/copy (storage only, no posters/profiles, no sessions; check disk first). TMDB needs the key: read how lib/ gets it and take only that value from the live .env if there is no other way, keep it out of files, logs and the report. Jobs off except what the fill needs. Delete the copy at the end. HL_CACHE_DIR inside your scratch dir, from the first run on. Nothing in /tmp or /home/mre.- App port 8713 only, HL_HOST=127.0.0.1; the sign-in gate derives its ident port as app port + 1, so stop your proof app before the gates. Check `ss -ltnp`. Every start waits >=120 s (cold compile).- Gates: ONLY under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <your gates.sh>`, a copy of /media/STORAGE/claude-scratch/tracker/CB/gates.sh with your paths, plus HL_CACHE_DIR. All 11 pass with 0 failed.- Proof in a real browser at 390, 800x1280, 1280x800: an incomplete title fills without reload, an incomplete person likewise, a complete page sends no extra requests (count them), network off and on shows and clears the note, no `animationiteration` left, no console errors. Also [hl-gc] (HL_GC_STATS=1) and request counts for one fill before and after. His Chrome on lisbeth :9223 only under `flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock`, one own plain tab, closed in finally, never touch cookies; see claude-scratch/tracker/HM53/ for the proof scripts.- Budget: maxUsd 8, ~80 requests/150k context, then commit, report, stop. Stop everything started, list pids, port free at the end.- Report: reports/HM54.md, committed on your branch (no LOG/STATUS edits, no tickets), plus a short final message: branch + commit, what changed, what a visitor sees differently if anything, proof, gates, gaps with repro paths.
Branches
Latest commits
- cb78a1a0HM65 report missing heap diagnostic package with repromre
- 89606a5cHM65 briefmre
- 096ce0d4log: DP69 live on day48mre
- b3d8a80bDP69 brief, RV48 mergedmre
- ce6d7d32Merge rv48: Hybriel day48mre
- 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
- 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
- 4a802ae7status: RV48 runningmre
- 0a5412b6RV48 brief, day48 outmre
- 56665efelog: CB69 mergedmre
- 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
- e55b379dKeep shared app title independent of the route import graphmre
- 9a99659blog: hybriel#334, batch waits for day48mre
- 85fa6c9blog: CB68 result, CB69 startedmre
- 2f07c1b7log: DP68 boot gate failed, CB68mre
- 9652782dlog: HM59 merged, DP68 startedmre
- 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
- f7bfe90bMove remaining page builders into their topicsmre
- 7c3991f9log: day46 from Antonmre
- ec54fc35Move show page logic into the shows topicmre