gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd063dad3d063dad3calendar mission 008 (A7): Web Push (WIP): lib/push.hl subscriptions + sender clock, faces calPushSave/calPushOff, button subscribes, VAPID tool, tests/push.mjs; instantOf on hl:timemred063dad3/LOG.md

10.5 KB

  1. # LOG — calendar.worldapi.org
  2. Append-only, one short dated line per step. History up to 2026-09-30 moved here from the antcolony LOG
  3. (byrodin:/CONTAINERS/projects/antcolony/LOG.md) on 2026-10-01 (antcolony#40); dates reconstructed from its
  4. day sections and times. "mission N (old O)" = `missions/N-*.md` here; "antcolony mission O" =
  5. byrodin:/CONTAINERS/projects/antcolony/missions/; every old number: antcolony docs/mission-map.md
  6. (Loreana copy: /media/STORAGE/projects/antcolony-docs/docs/mission-map.md).
  7. ## 2026-09-25
  8. - Infra: DNS calendar.worldapi.org (proxied CNAME via the certbot CF token), certs calendar + components.hybriel (dns-cloudflare), vhosts calendar.conf -> 45005, components.hybriel.conf -> 45006; notes new app -> 45007 (demo on 45000 until switch). Ports in /CONTAINERS/web/README.md.
  9. - Loreana: CONCEPT.md (creator verbatim + architect decisions) for calendar, notes, components.hybriel; registry entries (dev loreana, live byrodin).
  10. - Tickets: components#1-5 (month view, date picker, range picker, upload one, upload many), calendar#1-4 (month view, ident+events, PWA, reminders offline), notes#1-2 (sidebar+editor, offline sync). Only cross-project blocker kept: calendar#1 <- components#1 (blockers clear only on CONFIRMED -> the architect removes it when components#1 is live). calendar#2-4 on hold (released one by one) after calendar#2 jumped ahead when unblocked.
  11. - Scheduler: COLONY_PARALLEL=2 (.env, compose up). Running: components#1 (resumed after park) + notes#1. Quota at start: 5h 84% (reset 13:49Z), week 8%.
  12. - 18:48 components.hybriel.worldapi.org deployed (#1-#5, gate 49/0; Chrome: 5 components listed, month view Sep->Okt 2026) -> calendar#1 unblocked. notes #1/#2 deployed (gate 42/0), marked.
  13. - 19:05 calendar#1 deployed (gate 10/0; Chrome: Sep 2026, Mo-first, next -> Okt, today li.today) -> calendar#2 opened. calendar login needs the creator: register calendar in ident (origin https://calendar.worldapi.org) + key/secret in /CONTAINERS/projects/calendar.worldapi.org/.env. Running now: ident#21, gitoria#17.
  14. - 19:40 calendar#2 (ident login + private events, gate 41/0) and gitoria#17 (merge button, gate 157/0) deployed; live: calendar shows 'Log in with ident', gitoria /pulls 200. calendar .env still missing (creator: register calendar in ident). calendar#3 (PWA) opened.
  15. - 20:25 Creator: components "bypass the entire system and write fucking javascript files" — every component was a hand-written .js (month-view 33, date-picker 72, range-picker 108, file(s)-upload 57/58 lines); calendar has its own month-view.js, notes has notes-offline.js (322) + sw.js (34). Cause: no rule forbade JS; workers fell back to JS at Hybriel gaps. Fixed the process: scheduler templates/conventions.md "No hand-written JavaScript" (stop + report the Hybriel gap instead), templates/controller.md: any new .js outside plugins/bin/tests = finding false -> fail. Reason commented on components #1-#5 (states untouched). Existing JS elsewhere: login.js (ident selector bridge, hybriel#31 awaiting creator ruling) in tickets/gitoria/notes/calendar, md-editor.js (the existing WYSIWYG).
  16. - 21:05 Controller failed calendar#3 (sw.js, pwa.js) and components#2 (date-picker.js) for JavaScript — the new check works. Found: the current hl:web lost the OLD hl:web's offline/PWA support (offline allow-list D38) with the #45 rename -> filed hybriel#95; calendar#3 blocked by it (calendar#4 and notes#2 depend on it too).
  17. - 23:15 antcolony Mission 035 (re-vendor hybriel master 13ef4f9b): components (uploads parked, 57/0), notes (42/0), gitoria (157/0 + push 46 + ssh 44; 411 workaround dropped) DEPLOYED; live: hashed /__hl/app.css?v= on all three, /file-upload 404, DATE PICKER FIXED live (arrival=2026-09-17). calendar re-vendored but not deployed (gate flaky 50% due to its month-view.js) -> calendar#5 (use the pure-Hybriel component), calendar#3 on hold until then. ident + tickets STOPPED on new Hybriel bugs -> hybriel#103 (nested if insertBefore), #104 (if-built element child order); ident restored, changes in .scratch/035-wip. components#2 -> awaiting creator (works live), #7 (own styles) opened, blockers #102/#95 removed. worldapi-tokens/tokens.hl import -> hl:web/css. Stale upload folders on Byrodin moved to /CONTAINERS/projects/components-stale-20260925.
  18. - 23:50 calendar#5 deploy REFUSED: gate 11/2 twice ('Log in with ident' missing signed out, then null classList). Cause: antcolony mission 035 re-vendored calendar WHILE the #5 session built in the same folder (22:37-22:55) — my coordination gap (035 only checked sessions before each app). #5 sent back open with the failure. Lesson: pause the scheduler (or hold that project's tickets) while an architect mission touches a project folder.
  19. ## 2026-09-26
  20. - 00:05 calendar#5 deployed (gate 44/0; live: hashed CSS, login button, paging OK; only login.js JS left). Filed calendar#6 (server English vs browser German names). calendar#3 (PWA) opened.
  21. - 00:25 Deployed components (#8 md editor, #10 code editor; gate 119/0; no JS) and calendar (#6; 44/0). Live tests by typing: md editor keeps typed markdown markers ('# # Heading', '- - two'), code editor doesn't type over auto-closed brackets, calendar#6 first page shows '09 2026' + dots (names only after paging) -> all three sent back open with exact findings (not put in the creator's inbox). calendar#3 (PWA) not started yet.
  22. - 02:10 calendar#6 deployed (45/0; live: German names on the first page and after paging) -> marked. components deploy REFUSED 131/1: 'today is marked (browser date)' after midnight (server vs browser date) -> filed components ticket; md editor #8 / code editor #10 fixes wait for that deploy.
  23. - 02:40 calendar#6 had patched the vendored framework (plugins/web LOCAL PATCH: acceptLanguage) — not caught (rule covered JS only). Anton took hybriel#105 (headers = null). Conventions + controller now also forbid changes under plugins/ and bin/. Cleanup noted in STATUS.
  24. - 02:45 calendar#3 (PWA) opened (calendar#5/#6 live).
  25. - 02:50 calendar#3 was blocked by hybriel#96/#97 (fixed on master, awaiting creator) -> blockers removed, comment; scheduler picks it up.
  26. - 03:00 calendar#3 PWA deployed (48/0); live Chrome: manifest via hl:web, sw.js active, installability errors none, offline reload shows the calendar -> marked. calendar#4 opened with the architect's scope: notifyAt/notifyIn while app/worker alive; push for closed app later via ident#8.
  27. - 04:05 calendar#4 reminders deployed (70/0; no new JS, no plugin changes; live: still installable, sw active, offline reload OK; calendar .env now exists = creator registered it). Filed calendar#7 (offline-added event edited again -> duplicate) and hybriel#106 (let in while loop shared by closures). All 4 calendar steps done; calendar#7 next.
  28. - 04:20 calendar#7 (offline-added event edited again) deployed (70/0 incl. the browser offline flow); fix proven server-side only (live test needs a login) - creator's test decides.
  29. - 08:10 antcolony Mission 037 done: components (132/0), calendar (76/0; LOCAL PATCH gone, headers=null; de/en/fr names live; #106 timer workaround gone; PWA still installable+offline), notes (42/0) DEPLOYED on master e6720b1f. gitoria ROLLED BACK to 13ef4f9b (new client pulls Firefox users back mid-navigation) -> hybriel#107 filed. Scheduler started. #94 blockers removed from components #4/#5/#9 with emit-based instructions.
  30. - 17:55 calendar#8 verified by the architect (gate 76/0; the check was wrong: exact 4 -> at least 4; timeouts widened, Loreana load ~30-41). SWITCH STARTED: scheduler stopped (antcolony#24 killed -> #28 bug, restarts later).
  31. ## 2026-10-02
  32. - 05:30 antcolony mission 069: re-vendored Hybriel master 8efba065 (#126, #48). Lambda audit: no `&` needed. Gates 78/0 + 18/0. RSS (200 loads + 200 pagings, live copy) old 1620 MB → new 384 MB. Not deployed.
  33. - antcolony mission 072: re-vendored Hybriel master 190aa11d (GC correctness, #127). Gates 78/0 + 18/0. RSS live copy 200+200: new 215 MB (old 376 MB); 1000+1000: 233 MB, flat. Not deployed by me.
  34. ## 2026-10-03
  35. - antcolony mission 074: re-vendored Hybriel master 06617221 (plugin allocators). Gates 78/0 + 18/0. RSS live copy 1000+1000: new 194 → 218 MB flat (old 190aa11d 194 → 231). Not deployed by me.
  36. - calendar mission 001 (code order, w085): lib/ per topic (events + helpers, settings, users, api + helpers, util), project.hl = map (107 → 65 lines), root .hl 4 → 1, `let` 256 → 110 (0 never reassigned); gates 78/0 + 18/0; live-data run identical except the failed-login reason now kept (&req fix). Not pushed, not deployed.
  37. - calendar mission 002 (w2, 2026-10-19): morning gate failure "3 reminders" = TEST bug — alice's all-day Vacation (20th–22nd) from the events steps added 2 reminders (12th 20:00 … 19th 23:00); reminder steps now use their own identity carol, Tokyo check runs at every hour; new GATE_CLOCK=HH:MM. Fixed gate 78/0 at 00:30 05:40 12:00 19:59 20:01 (23:30 not run, quota stop). Not deployed.
  38. - calendar mission 003 (w3, 2026-10-20): calendar#9 cause = timers only in an open, front, touched page; missed reminders were dropped; closed app unreachable. Fix 31ffe91: missed reminders shown when the app is back + re-arm on visibility; gate notify-paths old 5/2 → new 7/0 (3 Hybriel gaps: Web Push, page-shown hook); browser 78/0, switch 18/0. Not deployed.
  39. - calendar mission 004 (wv, 2026-10-20): re-vendored Hybriel 0f396652 (static); compose cache volume + HL_CACHE_DIR + tmpfs; deploy.sh + notify-paths gate. Gates old/new browser 78/0 78/0, notify 7/0 7/0, switch 18/0 18/0; real-data copy identical except routes list (+/__hl/up, reordered). No Hybriel gap. Not deployed.
  40. - calendar mission 005 (w-identkit-guard): tests/identkit.mjs = notes' guarded kit (CALENDAR_COLD_MS 150 s). Gates browser 78/0, notify-paths 7/0; decoy: old 'ident sign-in failed: {}', new 'port … already in use'. Not deployed. Report: reports/005-identkit-guard.md
  41. - 2026-10-21 mission 006 (A3): calendar on the layouts theme dbe3de7 (ContentFirst shell, AppHeader/MainMenu/UserMenu/Sidebar), styles cut, check-theme 0, browser 78/0, notify-paths 7/0; 390 audit taps 161→0, inputs 42→0; E2E 390 15/15 new, 1280 new walk fails at 'next month' (open); same-output NOT run. Not deployed.
  42. 2026-10-21 calendar 006 continuation (A4): browserEnv no longer repaints/round-trips when day+names match; lisbeth E2E 33/33; notify 7/0; same-output ok; README/usage.md left
  43. - 2026-10-21 mission 007 (A5): gate check fails on 3c5604f (2 calLoad frames on the first pointer event) and passes on ba9b495 (1); browser 81/0, notify 7/0, check-theme 0; README theme section; deploy --dry-run ok. Not deployed.
  44. - 2026-10-21 calendar mission 008 (A6): re-vendored Hybriel f9833544, gates old=new; STOPPED at Web Push: hl:crypto half (crypto173) not on master. Report reports/008-webpush.md

Branches

Latest commits

  • d063dad3calendar mission 008 (A7): Web Push (WIP): lib/push.hl subscriptions + sender clock, faces calPushSave/calPushOff, button subscribes, VAPID tool, tests/push.mjs; instantOf on hl:timemre
  • cf175c80calendar mission 008 (A7): re-vendor Hybriel master 0e3c9830 (bin 9d957fed, plugins whole: hl:crypto Web Push primitives, hl:web sendPush)mre
  • 9bf3c38bcalendar mission 008: re-vendor Hybriel f9833544 (gates old = new); Web Push stopped: hl:crypto half missing on mastermre
  • 186f969bcalendar mission 007: signed-in gate for the first-pointer race (fails on 3c5604f), README theme section, reportmre
  • ba9b4955calendar mission 006: first pointer event no longer re-runs the month (stale overwrite race), gate check, e2e settings cleanup, reportmre
  • bd730759calendar mission 006: theme move (WIP): brief, report, LOG, STATUSmre
  • b117b153calendar mission 006 WIP: reminder row fields keep 44 px; e2e script flagsmre
  • 53e3b0debrowser gate: Log out through the user menu, theme colour rgb(15, 20, 25)mre
  • 90bf9e2ecalendar mission 006 WIP: theme dbe3de7, theme shell (AppHeader/MainMenu/UserMenu/Sidebar/ContentFirst), styles cut to the app's own rules, check-theme gate, e2e toolsmre
  • 3c5604f9identkit: refuse a taken ident port, cold-start deadline, abort on dead ident, clear no-code error (as notes)mre
  • 4996bbe7paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • f5bf0803calendar mission 004: re-vendor Hybriel to the shared static build 0f396652; compose cache volume + tmpfs; notify-paths gate in deploy.sh; gate start waits 150 s; reportmre
  • eb86526fmission brief 004mre
  • 2f953b16deploy.sh: wait up to DEPLOY_URL_WAIT (120 s) for 200 after the restart, as the other apps (cold compile, hybriel#148)mre
  • 9078e1b7calendar mission 003 (2/2): report, LOG, STATUS (cause: timers only in an open, front, touched page; gate old 5/2 new 7/0; Hybriel gaps Web Push + page-shown hook, STOP)mre
  • 31ffe910calendar mission 003 (1/2): calendar#9 — missed reminders shown when the app is back, timers set again when it is shownmre
  • 26c997d3mission brief 003mre
  • c6809c76calendar mission 002: report, LOG, STATUS (test bug; fixed gate 78/0 at 00:30 05:40 12:00 19:59 20:01; 23:30 not run, quota stop)mre
  • 00f72783calendar mission 002 (2/2): TEST bug — the reminder steps get their own identity (carol): alice's all-day Vacation (20th-22nd) from the events steps added 2 reminders from the 12th 20:00 to the 19th 23:00; Tokyo check no longer skipped in the Tokyo eveningmre
  • 54fb0ce1calendar mission 002 (1/2): gate clock override GATE_CLOCK=HH:MM (this process and every page get Date shifted to that local time today)mre