gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2047955b2047955bMerge branch 'u12-gateports' into mainTracker2047955b/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

  • 2047955bMerge branch 'u12-gateports' into mainTracker
  • 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
  • 0b86324aMerge branch 'records-dp73' into mainTracker
  • 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
  • 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
  • 4b54f6f9Merge branch 'records-audit' into mainTracker
  • cab4a3bc|||PR records: branch audit, PR-onlyTracker
  • 641e1c4cMerge branch 'records-dp71' into mainTracker
  • 85a6e9f5|||PR records: DP71 checked in ChromeTracker