gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9332bd109332bd10log: DP70 livemre9332bd10/missions/HM59-logic.md

3.9 KB

  1. # HM59: tracker#59 page logic out of the components
  2. Task (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.
  3. 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.
  4. 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.
  5. 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.
  6. ## Rules
  7. - 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.
  8. - 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.
  9. - 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.
  10. - 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.
  11. - 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.
  12. - 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.
  13. - 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.
  14. - 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

  • 9332bd10log: DP70 livemre
  • be11daa0DP70 brief fixmre
  • 886a7028DP70 brief, HM67 mergedmre
  • b41cdd6dMerge hm67-searchids: packed search IDsmre
  • 385904eaReport HM67 matched heap measurements and gate proofmre
  • e5c9b659Pack retained search IDs into UTF-8 bytesmre
  • 62a5f6c7HM67 brief, HM66 mergedmre
  • b32b8440Merge hm66-catalogindex: packed catalog indexmre
  • 2db0f7adReport HM66 heap measurements and validationmre
  • 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
  • 71134e21HM66 briefmre
  • ed4cbab2status timemre
  • e982c26dlog: HM65 mergedmre
  • 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre
  • 07a5c883HM65 report measured field projection and complete validationmre
  • 0eab858fRead only catalog date fields during the episode boot scanmre
  • d3179273log: HM65 hl:heap vendoringmre
  • cb78a1a0HM65 report missing heap diagnostic package with repromre
  • 89606a5cHM65 briefmre
  • 096ce0d4log: DP69 live on day48mre