notes
All repositories: gitoria
10.7 KB
# LOG — notes.worldapi.orgAppend-only, one short dated line per step. History up to 2026-09-30 moved here from the antcolony LOG(byrodin:/CONTAINERS/projects/antcolony/LOG.md) on 2026-10-01 (antcolony#40); dates reconstructed from itsday sections and times. "mission N (old O)" = `missions/N-*.md` here; "antcolony mission O" =byrodin:/CONTAINERS/projects/antcolony/missions/; every old number: antcolony docs/mission-map.md(Loreana copy: /media/STORAGE/projects/antcolony-docs/docs/mission-map.md).## 2026-09-25- 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.- Loreana: CONCEPT.md (creator verbatim + architect decisions) for calendar, notes, components.hybriel; registry entries (dev loreana, live byrodin).- 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.- 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%.- 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.- 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.- 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.- 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).- 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).- 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.## 2026-09-26- 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.- 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).## 2026-10-02- 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.- 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.## 2026-10-03- 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.- 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.## 2026-10-18- 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.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.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.## 2026-10-19- 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.- 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.## 2026-10-20- 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.- 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)- 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)- 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)- 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)- 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- 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)- 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.- 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
- 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
- 84b574c4notes mission 015: re-vendor plugins from hybriel f9614007 (incl. web, #117)mre
- 447da53dnotes mission 014: report — remaining gates and lisbeth E2E proofmre
- fd9f92c3notes mission 014: report (partial), LOG, STATUSmre
- b2501360notes mission 014: open() sets asking=false before flush(0) (hybriel#196)mre
- 9414ce59notes mission 014: merge theme 76f99f6, components 3794c59, strict single-press openAsk (fails on old open())mre
- c08c655anotes 013: theme re-copied from layouts 76f99f6 (menu marks the current page), current = true on the menu item, e2e marker checks, reportmre
- 21c8f65dnotes mission 012: STATUSmre
- 0bbb3dd9notes mission 012: delete section of the browser gate de-flaked (openAsk: calm wait, press again when the question closes by itself); report 012mre
- f431bdf8notes mission 011: notes on the layouts theme (ListFirst shell), styles cut, check-theme gate, E2E extended; reportmre
- 1a8603d1notes mission 011 WIP: deploy.sh gate summary also matches check-theme, browser.mjs logout via the user menumre
- dae2e508notes mission 011 WIP: theme dbe3de7, shell on AppHeader/MainMenu/UserMenu/Sidebar + ListFirst, styles cut to the app's own, check-theme gate, e2e auditmre
- fd36da27notes mission 010: the note editor is the Hybriel MdEditor block (components.hybriel 1442e58, verbatim); md-editor.js, its route, script tag and offlineFiles retired; gate 66/0, realdata-offline 12/0, round-trip and Chrome E2E tests; report 010mre
- efa92170notes tests/identkit.mjs: refuse a taken ident port, cold-wait deadline, emit, identities; mission 009 reportmre
- f3dec0f1Merge branch 'w7'mre
- d1cf966dre-vendor hybriel 97bcf128: offlineFiles for the editor script, 44 px taps, 390 px offline checks, mission 008mre
- 4a610a21paths: projects moved into /media/STORAGE/projects/WorldAPI/mre