gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit46a3703646a37036records: DP71 liveTracker46a37036/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

  • 46a37036records: DP71 liveTracker
  • 3bcb7039Status/log: DP71 in progressTracker
  • 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
  • 783957c2Merge branch 'sr1-search' into mainTracker
  • 792b9652README: search results come from the routeTracker
  • fd8570b1|||PR search: one server exchange per keystrokeTracker
  • e8f5cbcaLog: SR1 result, SR1bTracker
  • 8ad275a4Log/status: tracker 68, SR1Tracker
  • f5a06a0fLog: gitoria push setup, SR1Tracker
  • d6b109baMission SR1mre
  • 608b7558Log: FF1 merged via PR #1mre
  • 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker
  • c934361a|||PR tests: gates fail fast when the app exits during startmre
  • d714ae42Log/status: AP56 closed out, FF1mre
  • a429d088Mission FF1mre
  • 03bbfba3Log: AP56c causemre
  • 24845fe3Log: AP56b result, AP56cmre
  • 6a6d71eaLog: gitoria membershipmre
  • 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
  • 6bb7c20estatus: window 2026-11-09mre