tracker
All repositories: gitoria
3.4 KB
# AP56: tracker#56 rest — opening a season and watch toggles as keyed one-row writesTicket 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."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).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.## Read firstWORKER-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.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.## Steps1. `git worktree add -b ap56 /media/STORAGE/claude-scratch/tracker/AP56/wt main` (main = 4871f8a, bin day52).2. Change, one commit per part (toggles first, then opening).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.4. Same output: served CSS identical to main; canonical HTML of a show page with seasons (closed and one opened) identical to main.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.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.## LimitsScratch only /media/STORAGE/claude-scratch/tracker/AP56/. maxUsd 4; ~60 requests.
Branches
Latest commits
- 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
- 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
- e84586a7Mission AP56bmre
- 15917f03Record PR workflow rule (gitoria#50)mre
- 942ac995status: paused workers statemre
- 44b934e5log: respawn cleanupmre
- 03a80097Log: Anton GC A/Bmre