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
- d2e6d26bMerge branch 'records-park55' into mainTracker
- f567f025|||PR records: park #55, no Claude workers ruleTracker
- c21aff6bMerge branch 'records-hm55c' into mainTracker
- 9ba258d3|||PR records: HM55b resultTracker
- 64f2d300Merge branch 'records-hm55b2' into mainTracker
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- a4d1a7d2|||PR records: later steps checked, branch auditTracker
- e070e16fMerge branch 'records-dp75' into mainTracker
- 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker