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
- 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
- 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