gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit4e0186784e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker4e018678/missions/AP56-toggle-rows.md

3.4 KB

  1. # AP56: tracker#56 rest — opening a season and watch toggles as keyed one-row writes
  2. Ticket tracker#56 (https://tickets.worldapi.org/tracker.worldapi.org/56), his/the audit's words: "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."
  3. State after AP52 (live d9bf298, Hybriel day52): season rows carry @id; closing a season = one upsert + remove(id=) per row. Still whole-list writes: opening a season (episode rows inserted after the season row), episode watch toggle, season watch toggle (and any fill path).
  4. Tracker's reading (unconfirmed): (1) a watch toggle of one episode = one `upsert` of that row (and of its season row if its counter changes); a season toggle = upserts of the season row and its episode rows, no whole-list write. (2) opening a season: if day52's list API can insert rows at a position (check COMPONENTS.md "List rendering" at source 77cfca31: insert/upsert-after/order key), use it; if the only way is a whole-list write, keep it and STOP that part with a short repro + note (it is a framework gap for Arachne, no workaround). Same visible behaviour, same HTML. Do NOT touch fill/completion code reserved for branch hm54-fill (reports/HM56.md). Smallest diff.
  5. ## Read first
  6. WORKER-RULES /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (fully); /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md; docs/CODE-ORDER.md; COMPONENTS.md section "List rendering" at day52 (`git -C /media/STORAGE/projects/hybriel show 77cfca31:<path>`); reports/HM56.md; missions/AP52-day52-rows-routes-style.md and /media/STORAGE/claude-scratch/tracker/AP52/REPORT.md (same method, real-data copy recipe, gate runner); CONDUCTOR.md sections 4-5.
  7. Fixed rules: no hand-written JavaScript; login.js stays; ident selector stays; styles in the language's form; `node theme/check-theme.mjs .` = 0. Hybriel gap: STOP with a repro, no workaround.
  8. ## Steps
  9. 1. `git worktree add -b ap56 /media/STORAGE/claude-scratch/tracker/AP56/wt main` (main = 4871f8a, bin day52).
  10. 2. Change, one commit per part (toggles first, then opening).
  11. 3. All 11 gates of deploy.sh GATES, LC_ALL=C, under `flock /media/STORAGE/claude-scratch/tracker/gates.lock`, port 8716 (check `ss -ltnp`; never 8700). Detached with log, poll sparsely; starts wait >=120 s.
  12. 4. Same output: served CSS identical to main; canonical HTML of a show page with seasons (closed and one opened) identical to main.
  13. 5. Proof on a real-data copy (6.6 GB, recipe as AP52: storage only from newest restorable backup in /media/STORAGE/deploy-backups — tracker.worldapi.org-20261108-1302.tgz — no posters/profiles/.env/sessions, jobs off, fresh test session; delete the copy at the end). loreana test Chrome http://127.0.0.1:9223 (Apollo's): one own plain tab, closed in finally; list targets before/after; never cookies/cache/other tabs. Show page with real clicks at 390x844, 800x1280, 1280x800: open a season, toggle an episode twice, toggle the season twice, close it. Measure with CDP/MutationObserver from the test harness (not app code): which DOM nodes change per action; other rows must stay the same nodes. Compare with main.
  14. 6. Stop everything (list processes started/stopped). Report in /media/STORAGE/claude-scratch/tracker/AP56/REPORT.md; end with <=8 lines (commits, gates each, node-change counts main vs ap56). Do NOT merge or deploy, no tickets, no LOG/STATUS.
  15. ## Limits
  16. Scratch only /media/STORAGE/claude-scratch/tracker/AP56/. maxUsd 4; ~60 requests.

Branches

Latest commits

  • 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
  • f5be5f18records: gitoria PR-only planTracker