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
- ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre
- 6dea1c60Merge branch 'r35-day72' into mainTickets
- 7bcfdc22|||PR drop worker edits to conductor recordsmre
- 2617b6ee|||PR dialogs: host flag cleared on close, dialog gate (tickets#40)mre
- 6e701371|||PR record partial day72 dialog validationmre
- b9fb9a91|||PR bind ticket dialog visibility to member flagsmre
- 0788e65f|||PR re-vendor Hybriel day72mre
- e2a6bdcfMerge branch 'records-t35' into mainTickets
- d8d54df1|||PR records: R35 day72 + #40mre
- 8a7f475aMerge branch 'records-t33' into mainTickets
- e685d0c2|||PR records: PROCEDURES merge callmre
- b42aff2b|||PR records: GO 2026-11-23, workers L33 O34, PROCEDURES.mdmre
- ed091d44Merge branch 'records' into mainTickets
- 180c0cdb|||PR records: ticket move live (M32), hybriel#439mre
- 497cae7bMerge branch 'm32-move' into mainTickets
- 772e0696|||PR Allow project admins to move tickets between their projectsmre
- be92a560Merge branch 'records' into mainTickets
- 0daf2ea8|||PR records: PR-only workflow, #50 donemre
- 0185d0b6Log PR 1 deploymre
- f5bf16e2Mission 031: deploy PR 1mre