gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6bb7c20e6bb7c20estatus: window 2026-11-09mre6bb7c20e/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

  • 6bb7c20estatus: window 2026-11-09mre
  • 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
  • e84586a7Mission AP56bmre
  • 15917f03Record PR workflow rule (gitoria#50)mre
  • 942ac995status: paused workers statemre
  • 44b934e5log: respawn cleanupmre
  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre
  • d0c083fbLog: usage stopmre
  • c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
  • 1eb6f1a1Missions AP56, BS1mre
  • 4871f8adLog: AP52 live on day52, browser gate greenmre
  • d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
  • c4a60ef2Log: RT52 retest passed, AP52 startedmre
  • 83760a55Browser gate: search results belong to the address form of the typed text (tracker#52 navigate replace)mre
  • 6e951d91AP52: show-page rows are keyed records; closing a season is one upsert and removes (tracker#56, hybriel#331)mre
  • 3bb4ccddAP52: modal close button refers to its nested rule with Style.buttonModalX (tracker#51, hybriel#333)mre
  • ba16933fAP52: login callback and title route are static handlers taking the server as third argument (tracker#58, hybriel#332)mre
  • 85153900AP52: re-vendor Hybriel set day52 (source 77cfca31, bin 0a8ed496)mre
  • 7c051eddLog: hybriel#338 answermre