tracker
All repositories: gitoria
3.6 KB
# HM56: tracker#56 keyed rows instead of whole-list rebuildsTask (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."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.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.## Rules- 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.- 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`.- 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.- 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.- 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).- 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.- 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.- 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.- 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
- d2e6d26bMerge branch 'records-park55' into mainTracker
- f567f025|||PR records: park #55, no Claude workers ruleTracker
- c21aff6bMerge branch 'records-hm55c' into mainTracker
- 9ba258d3|||PR records: HM55b resultTracker
- 64f2d300Merge branch 'records-hm55b2' into mainTracker
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- a4d1a7d2|||PR records: later steps checked, branch auditTracker
- e070e16fMerge branch 'records-dp75' into mainTracker
- 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker