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
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker
- b9c7c3c8Merge branch 'records-dp74' into mainTracker
- 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
- b1496147Merge branch 'ap61' into mainTracker
- 2047955bMerge branch 'u12-gateports' into mainTracker
- c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker
- 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
- 0b86324aMerge branch 'records-dp73' into mainTracker
- 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
- 613ae0ecMerge branch 'bs3' into mainTracker
- 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
- 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
- 310613f1Merge branch 'records-dp72' into mainTracker
- 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
- c41587d2Merge branch 'bs2' into mainTracker
- 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
- 019d5cedMerge branch 'records-1110' into mainTracker
- f88ae8b9|||PR records: day56 toggle live, reviewTracker
- b6b3bb4dMerge branch 'ap56e' into mainTracker