gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit7f04de337f04de33log: HM49Bmre7f04de33/missions/HM56-keyed-rows.md

3.6 KB

  1. # HM56: tracker#56 keyed rows instead of whole-list rebuilds
  2. Task (ticket tracker#56, Atlas's audit): "Framework way: rows are keyed records (`@` key), the handler upserts or removes one row (`rows.upsert(...)`, one-argument `remove`), and the framework patches only that node. Note the day26 rule in WORKER-RULES (upsert/remove need an @ property) when doing this."
  3. Read the full ticket: https://tickets.worldapi.org/tracker.worldapi.org/56 (headers `Accept: text/markdown`, `user-agent: Tracker`; read only). Its line numbers are old.
  4. Tracker's reading (unconfirmed): behaviour identical. Show page: opening, closing or checking one season or episode patches only that row (`openingRows`, `closedRows`, `filledRows`). myshows, mymovies, schedule: `insertByFollowDesc` / `insertByReleaseAsc` copy the list per row; a build that does not copy per row. Check first that the order of rows on screen can really survive an upsert (rows inserted in the middle); if the framework cannot do that, repro and stop that part. Finish what does not depend on it.
  5. ## Rules
  6. - 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 on lists, keys, upsert. Map: project.hl.
  7. - Fixed tracker rules: no hand-written JavaScript; .hl only; no workaround at a framework gap. One step: not #52, #53, #54, #55. Branch hm54-fill waits with changes in show.hl's completion code and person.hl: stay out of those parts so it still merges. Pitfall: mpackdb-touching helpers in an `on server` face must be `static`.
  8. - Branch hm56-rows from main (current HEAD) with main's bin/ copied in (`cp -a`), worktree /media/STORAGE/claude-scratch/tracker/HM56/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. A deploy of main runs at the same time: do not use claude-scratch/tracker/deploy/ or the deploy-init lock.
  9. - Data: unpack /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261106-0753.tgz into /media/STORAGE/claude-scratch/tracker/HM56/copy (storage only, no posters/profiles, no sessions, no .env; check disk first). Jobs off as in claude-scratch/tracker/HM1/start.sh. Delete the copy at the end. HL_CACHE_DIR inside your scratch dir, from the first run on. Nothing in /tmp or /home/mre.
  10. - App port 8716 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 (cold compile).
  11. - 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.
  12. - Proof in a real browser with a test session in your copy (never his), at 390, 800x1280, 1280x800: open/close a season, check an episode and a season on a long series (real clicks), the same order and text on myshows, mymovies, schedule before and after (same HTML), other row nodes keep their identity after one change, time for one click before and after. Local headless Chrome through tests/cdp.mjs as the browser gate does; do not use his Chrome.
  13. - Budget: maxUsd 5, ~60 requests/150k context, then commit, report, stop. Do the whole ticket except what a real gap blocks. Stop everything started, list pids, port free at the end.
  14. - Report: reports/HM56.md, committed on your branch (no LOG/STATUS edits, no tickets), plus a short final message: branch + commit, what changed, what a visitor sees differently if anything, proof, gates, gaps with repro paths.

Branches

Latest commits

  • 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
  • a85f7900Move route logic out of the project mapmre
  • 13dea5belog: #56 live, HM49 and HM58 startedmre
  • a31c8f2fdocs: tracker#36 remaining listmre
  • 975d06d1log: #36 live, DP66 startedmre
  • d6d03fa3mission: T36Bmre
  • e7512d00status: #36 rolled back, retry askedmre
  • c98e2043log: T36A rollbackmre
  • ae905f15Merge t36a: tracker#36 apply rechecks, reportmre
  • 796bfaceT36A: report validated fixes, failed live SSH check and verified rollbackmre
  • 55257852log: #53 live, #56 mergedmre
  • 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
  • 7aea52batmdb fix: protect owners without slugs and record passing gatesmre
  • 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre
  • 6da612fclog: T36A tool defectmre