gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit90c73ed390c73ed3notes mobile: back link gapmre90c73ed3/LOG.md

10.7 KB

  1. # LOG — notes.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. - 15:20 notes.worldapi.org switched to the new app (notes#1): demo backed up (notes.worldapi.org-demo-backup-20260925.tgz, folder notes.worldapi.org-demo-20260925), stopped; new app deployed (gates passed, URL check failed only because the vhost still pointed to 45000) -> vhost 45007. Login needs the creator: register notes in ident (origin https://notes.worldapi.org), key/secret into .env. components deploy waits: parked #3 left half-done range-picker in the folder. Paused for the usage limit until 15:50.
  13. - 18:45 notes: .env was in the old demo folder (my folder move at 15:19 had moved the creator's shell with it) -> copied into notes.worldapi.org, login works (creator). Imported the creator's 54 old centralis notes (Loreana ~/Downloads/centralisNotes.Note.json, 3 old user ids: 46/4/4) into his notes user: subject -> '# subject', HTML summary -> Markdown (converter .scratch/import/convert.py, visible text checked equal per note, Word markup dropped), original created/edited dates kept. Storage backup before: .scratch/import/storage-before-import.tgz. Lesson: Hybriel resolves relative paths (storage, readFile) against the SCRIPT's folder, not the cwd.
  14. - 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.
  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. ## 2026-09-26
  19. - 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.
  20. - 14:05 Switch day STARTED then POSTPONED: backups in /root/short-id-switch-pre-*; notes deployed (42/0, accepts short ids). gitoria gate fails against the new tickets (#20 roles): gitoria's technical ticket user is no project member -> list empty -> filed gitoria ticket; switch waits for it. Also: gitoria's gate default ports 8700-8702 collide with the scheduler's worker pool (use 8740-8742). calendar not deployed yet (pre-existing 74/1 gate flake to check).
  21. ## 2026-10-02
  22. - antcolony mission 069: Hybriel master 8efba065 re-vendored (#126 GC by bytes, #48 lambda params copy) — gate 50/0, lambda audit: nothing to fix, RSS on live-data copy after 200 loads + 200 sync rounds 287 MB (old 1282 MB). Not deployed.
  23. - antcolony mission 072: Hybriel master 190aa11d re-vendored (GC correctness fc838894, #127) — gate 50/0, short-id-switch 18/0; live-data RSS 200 loads + 200 sync rounds 230 MB (old 277); sync API still grows ~0.27 MB/round. Not deployed by me.
  24. ## 2026-10-03
  25. - antcolony mission 074: Hybriel master 06617221 re-vendored (plugin allocators) — gate 50/0, short-id-switch 18/0; page loads and sync pulls flat now; saves still grow ~0.09 MB/save (same on old 190aa11d, mpackdb update path). Not deployed by me.
  26. - notes mission 002 (code order, w085): lib/ per topic (notes, users, api + helpers, util), project.hl = map (183 → 91 lines), root .hl 5 → 1, `let` 114 → 34 (0 never reassigned); gates 50/0 + 18/0 each step; live-data run identical except the failed-login reason now kept (&req fix). Not pushed, not deployed.
  27. ## 2026-10-18
  28. - notes mission 003 (#5, w1): GitHub pipe tables in shared/md-editor.js (parse, render, type with Tab/Enter, lossless write); gate 50/0 → 57/0; live-data copy 27/28 notes identical, the 1 table note shows 4 tables; upstream components/tickets change described in report 003. Not pushed, not deployed.
  29. 2026-10-19 mission 004 (w4): re-vendor hybriel a832f73b (native bin + plugins), compose cache volume + tmpfs, deploy URL wait; gate 57/0 old and new; real-data same output. Not deployed.
  30. 2026-10-19 notes mission 005 (w5, notes#4): STOPPED at a Hybriel gap — a `for` list repainted during hl:web's boot throws (client.hl rowKidless declared after boot(); repros .scratch/w5/); nothing built, JS files stay; gate 57/0 old. Not deployed.
  31. ## 2026-10-19
  32. - Mission 006: re-vendor hybriel 0f396652 (static bin 60fa02f3…9080, plugins web/time changed); gate 57/0 old and new; container test ok; branch w6, not deployed.
  33. - Mission 007 (notes#4): offline in pure Hybriel BUILT — notes-offline.js + sw.js deleted; hl:web offline = [Notes], queued faces, push, continuation (by/since); gate 62/2 new (2 = Hybriel gap: md-editor.js not kept offline, repro .scratch/w7/repro-appfile), old 57/0, new gate on old code 58/6; real-data copy 28/28 notes, offline edit synced; branch w7, not deployed.
  34. ## 2026-10-20
  35. - Mission 008: re-vendor hybriel 97bcf128 (bin identical to 0f396652, only plugins/web differs); `offlineFiles = ["/md-editor.js"]`; gate old 62/2 → new 64/0 (hybriel#170 closes the offline editor gap); real-data same output except the worker's precache (+/md-editor.js); 390 px offline checks (44 px taps fixed in styles.hl); branch w7, not deployed.
  36. - Mission 009: tests/identkit.mjs hardened (port-taken guard, NOTES_COLD_MS, emit, identities); reported 'sink format' failure did not reproduce — old kit 64/0 on 8e4f435 and fa288f6, new kit 64/0 on 8e4f435 and a6a874c; decoy on the ident port: old kit cryptic failure, new kit clear refusal (report 009)
  37. - Mission 010: notes on the Hybriel MdEditor block (components.hybriel 1442e58, tools/sync-components.sh); md-editor.js, its route, script tag, offlineFiles retired; gate old 64/0 → new 66/0 (new checks fail on old), realdata-offline 12/0, round-trip of 28 backup notes byte-identical, E2E in lisbeth's Chrome 24/0 old and new at 390/1280 (reload, offline); branch w10-mdeditor-theme (report 010)
  38. - Mission 011: notes on the layouts theme (dbe3de7, theme/ verbatim; check-theme a deploy gate, summary line fixed): AppHeader/MainMenu/UserMenu/Sidebar + ListFirst shell, styles cut to the app's own; gate old 66/0 → new 66/0 (one selector: Log out via the user menu), realdata-offline 12/0, round-trip byte-identical, real-Chrome E2E old 30/0 → new 33/0 (user menu, sidebar, open, delete), 390 audit 0 taps<44/0 wide/0 inputs<16, check-theme 14 → 0 (report 011)
  39. - Mission 012: notes browser gate de-flaked (delete section failed 3/12 on f431bdf; the question closes itself ~15–50 ms after the press when a late ack of an earlier emit arrives — a page-state revert, not layout/pane); gate openAsk (press, wait calm 0.5 s, press again) 20/20 after, full gate 66/0, realdata-offline 12/0; app-side cause open (Hybriel ack sync) (report 012)
  40. - mission 013 (w-theme-76f99f6, F4): theme re-copied from layouts 76f99f6 (menu marks the current page beyond colour), `current = true` on the one menu item. Not deployed. Report: reports/013-theme-76f99f6.md
  41. - Mission 014 (partial, J4): theme 76f99f6 merged, components 3794c59, #196 fix (asking=false before flush(0)), strict openAsk fails on old open() 2/3, new delete 10/10, full gate 66/0; realdata/roundtrip/check-theme/Chrome E2E NOT run (quota) (report 014)
  42. - 2026-10-21 notes mission 014 (J5): remaining gates green (theme 0, realdata 12/0, roundtrip 5/0, browser 66/0), lisbeth E2E new 39/0 (1 flaky 1280 run), old 33/6 (menu mark). Report appended.
  43. - 2026-10-21 notes mission 015 (J6): re-vendor f9614007 (bin sha 9d957fed…, plugins/web incl.), gates old=new 66/12/5/0, current = true kept (route marks only /), server-HTML checks, lisbeth E2E new 39/0. Report 015.

Branches

Latest commits

  • 90c73ed3notes mobile: back link gapmre
  • 72bd4f83notes mobile: list header on the gutter, delete confirmation as a question + two equal buttons, Delete note under the editor edgemre
  • ba1e73f8notes: a sent edit is done once the server's version is not older, so a second writer's text shows in the first tab; gate: two writers both waysmre
  • c69ef9ebsync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
  • 2eb783f5sync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
  • 4dd46dadsync-components: copy icons/icons.hl + README (F4); testsmre
  • c92e4a0ftests/e2e-outside.mjs: real-Chrome E2E, a note pushed from another device while open, then typingmre
  • 0516b4ccmd-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
  • 38cc11ecmd-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre
  • 3e7e79f5reports/H1-hydrate.mdmre
  • d98775e8tests/browser.mjs: wait for hydration before the clicks after a goto('/') (tables new note, phone sidebar)mre
  • 1f3198b6tests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
  • 39cf9fdfre-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • db07aa84tests: short-id-switch ports from env (NOTES_SWITCH_IDENT_PORT/_PORT), defaults unchangedmre
  • ef9f9feere-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • 5485467cdocker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
  • 86ea4a85deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • edeab20fnotes mission 015: mission, report, LOG, STATUSmre
  • 542a0383notes mission 015: e2e-chrome E2E_HOST (own cookie jar in the shared Chrome)mre
  • 8b30f510notes mission 015: main-menu from layouts 0bcc629, current = true kept (route marks only /), server-HTML marker checksmre