tracker
All repositories: gitoria
3.9 KB
# HM59: tracker#59 page logic out of the componentsTask (tracker#59, Atlas's audit, checklist 16.5): "the topic file lib/shows.hl (and lib/watches.hl, lib/follows.hl) holds the logic that turns a record into a page's rows; the component only imports it, assigns members and has the View. Faces check input and session, call one topic function and return. Gates must be green before and after and the page output unchanged (rule 7)." Read the full ticket: https://tickets.worldapi.org/tracker.worldapi.org/59 (headers `Accept: text/markdown`, `user-agent: Tracker`; read only). Its line numbers are old.Tracker's reading (unconfirmed): move only, no rewrite, in groups: show.hl first as the biggest, then myshows, mymovies, unwatched, schedule, genre, franchise, person, search. Pitfall: mpackdb-touching helpers used in an `on server` face must be `static`. Do not move the completion code of show.hl and person.hl if moving it would make branch hm54-fill impossible to merge; name it in the report instead.Proof per group: served CSS byte-identical, canonical HTML identical on the 26 routes signed out and signed in (method and script in claude-scratch/tracker/HM51/; ignores attribute order and build metadata only), plus real clicks once at the end: open a season, check an episode, follow, on a test session in the copy, in local headless Chrome through tests/cdp.mjs. 11 gates once at the end. Name line counts of show.hl before and after, and how much static logic stays in components.Because main now carries several unreleased merges, the gates in your run are also the check of that merged state: report any failure even if it looks unrelated.## 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 named above. Map: project.hl.- Fixed tracker rules: no hand-written JavaScript; .hl only; no workaround at a framework gap: repro in your scratch dir, report, finish what does not depend on it. Behaviour and looks identical. Styles nested in the language's form, @media in the language's form; theme check `node theme/check-theme.mjs .` = 0; accent #4ec9b0. Branch hm54-fill (waits for a decision) edits show.hl completion code, person.hl, a few keyframes in styles.hl, 3 lines in project.hl: expect it to merge after you; say in the report if something will conflict.- Branch hm59-logic from main (current HEAD; holds #49, #51, #57, not yet live) with main's bin/ copied in (`cp -a`), worktree /media/STORAGE/claude-scratch/tracker/HM59/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. No other worker runs now; do not use claude-scratch/tracker/deploy/ or the deploy-init lock.- HL_CACHE_DIR and TMPDIR inside your scratch dir from the first run. Nothing in /tmp or /home/mre. App port 8708 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.- Data if needed: newest finished backup in /media/STORAGE/deploy-backups/tracker.worldapi.org/ (storage only, no posters/profiles, no sessions, no .env) into /media/STORAGE/claude-scratch/tracker/HM59/copy, jobs off as in /media/STORAGE/claude-scratch/tracker/HM1/start.sh, delete at the end.- 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.- Budget: maxUsd 6, ~60 requests/150k context. If the job is too big for that: commit a complete, gated part, say exactly what remains, stop. Stop everything started, list pids, port free at the end.- Report: reports/HM59.md on your branch (no LOG/STATUS edits, no tickets), plus a short final message: branch + commit, what changed, proof, gates, what remains.
Branches
Latest commits
- 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
- c1a8d074log: correct timesmre
- 5827eba9log: HM57 merged, HM59 startedmre
- d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre