gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit3da2ea863da2ea86RV48: report day48 cold starts, gates and cleanupmre3da2ea86/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

  • 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
  • 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
  • 4a802ae7status: RV48 runningmre
  • 0a5412b6RV48 brief, day48 outmre
  • 56665efelog: CB69 mergedmre
  • 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
  • e55b379dKeep shared app title independent of the route import graphmre
  • 9a99659blog: hybriel#334, batch waits for day48mre
  • 85fa6c9blog: CB68 result, CB69 startedmre
  • 2f07c1b7log: DP68 boot gate failed, CB68mre
  • 9652782dlog: HM59 merged, DP68 startedmre
  • 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
  • f7bfe90bMove remaining page builders into their topicsmre
  • 7c3991f9log: day46 from Antonmre
  • 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