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
- 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
- a404ed75Report HM57 audit, gates and integration notesmre
- 1dcb87a7Use plain declarations for unchanged bindingsmre
- b90395e3log: HM51 mergedmre
- 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
- 4399bc2fReference remaining component-owned root Style rulesmre
- 9edcc2dflog: #58 live, HM57 startedmre
- 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
- aed12917Reference owned Style rules in genres and searchmre
- 14195720log: HM49B done, HM51 startedmre
- 78ee6b56Move remaining component styles into Style blocksmre
- 7f04de33log: HM49Bmre
- 00616cf3log: #49 batch merged, DP67 startedmre
- d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
- 079f376dMove seven components' styles into Style blocksmre
- 17d66feelog: #58 mergedmre
- 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre