tickets
All repositories: gitoria
3.6 KB
# Mission 034 — tickets#41 + tickets#43: offline note without polling, keyed list updates (worker O34)Task (Apollo's GO 2026-11-23: "Work your project's open tickets now"; ticket texts by Atlas, audit layouts.worldapi.org#6):- tickets#41 "The offline note is driven by a one-second animation that polls the browser every second"- tickets#43 "Lists are rebuilt by copying loops on every live event instead of keyed upsert and remove"NOT HIS (conductor's detail):- #41: remove netProbe, its keyframes in styles.hl and netTick (components/main.hl ~l.66–80, 192–193, 259–262; window.navigator.onLine goes too). Drive the offline note from the framework's connection state (F13: `__hlOnline = true`, `__hlReach = 'connecting'`, `on client reachability(r)`; the vendored plugins/web/client.hl and README document them). Same note text and place. Prove it: the note appears offline (Chrome DevTools offline / server stopped) and disappears when back, without a timer; a gate check that fails on the old code (e.g. no netProbe element / no animation).- #43: components/ticket.hl (ticketEvent, commentChanged), components/ticket_list.hl (place), components/inbox.hl (place): rows become keyed records (`@id`), a live event does one upsert or remove (F18). Ordering and the list limit stay as today (newest changed on top, limit kept): if the vendored set cannot keep order/limit with upsert, say so (gap) rather than a workaround. Live updates must still arrive in other tabs (tests/events.mjs, tests/browser.mjs).- Do not touch the dialogs (#40 waits for a newer Hybriel set).- Chrome proof on lisbeth :9223 if reachable (CONDUCTOR.md rules: one own plain tab, closed in finally, no contexts, never clear data) at 390 and 1280: a ticket page and the list, plus the offline note; paste `curl -s 127.0.0.1:9223/json`.Scratch: /media/STORAGE/claude-scratch/tickets/O34/ (worktree, logs, test storage, REPORT.md). Ports 8750–8759 on loreana (check `ss -ltn`). Branch o34-lists.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (in full)- /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (L14–L18, F-rules named below), /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md; the vendored framework docs plugins/web/README.md (the app runs Hybriel set day38b, NOT hybriel master: use only what the vendored set has). Copy a working shape from the docs and existing app code. Give a DOCS line in the report (what the docs did not answer).- README.md (Test, deploy, "Same output"), the ticket text (curl -s -A Worker -H "Accept: text/markdown" https://tickets.worldapi.org/tickets.worldapi.org/<n>).## Rules- A refactor must not change behaviour: gates before and after, and the real-data compare (README "Same output", tests/realdata-baseline.mjs + tests/realdata-compare*.py) on a COPY of storage, never the live storage. Any intended visible change: name it in the report.- A framework gap (the vendored set cannot do it the framework way): no workaround, keep the old code, write a minimal repro (GAP-<topic>.md in scratch) and say so (F20).- Git: PR-only. Own branch, commits titled "|||PR …", no attribution lines. Push the branch; do NOT merge. Report the PR number and sha; the conductor reviews and merges. No deploy unless the conductor tells you.- All gates in README "Test" 0 failed (each test server on your own ports). A new check counts only if it fails on the old code.- Cap: $3 hard (Sol). Stop every process you started and list it (name + PID) in the report.- Report: REPORT.md in scratch, plus a short final message: PR/sha, gate numbers, real-data compare result, DOCS line, gaps, open questions.
Branches
Latest commits
- 5d144817Merge branch 'records-t40' into mainTickets
- 44ee6f06|||PR records: #43 #45 livemre
- b8fdeee9Merge branch 'p39-routes' into mainTickets
- a0187a0a|||PR Remove redundant route-order loopmre
- 369e4b9cMerge branch 'k40-lists' into mainTickets
- 9af8e780|||PR Use keyed list mutations for live ticket updatesmre
- 610d8e8aMerge branch 'records-t39' into mainTickets
- 32bcdf24|||PR records: GO P39 K40mre
- 4123c6d1Merge branch 'records-t38' into mainTickets
- cd3641a1|||PR records: day72 deploy live, tickets closedmre
- 7d44d852Merge branch 'records-t37' into mainTickets
- 926f7061|||PR records: merges, D36 deploymre
- bf58534eMerge branch 'l33-final' into mainTickets
- 759a9ac3|||PR thin login (tickets#46, #45): merge main, route entry cleanupmre
- 239436d8Merge remote-tracking branch 'origin/main' into l33-finalmre
- 5822cb3aMerge branch 'o34-clean' into mainTickets
- 0870653c|||PR offline note from __hlOnline, no polling (tickets#41)mre
- 14cf96b4Merge branch 'records-t36' into mainTickets
- 07749fa1|||PR records: day72 + #40 mergedmre
- ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre