gitoria

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit77a93c1677a93c16mission 011: gate hook for md-keys (480/0), flatten() runs one at a time (removeChild race), surface also built on first focus / pointer-down (background tab), md-bg test, README keysmre77a93c16/LOG.md

14.8 KB

  1. # LOG — components.hybriel.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. - Creator decision: Hybriel components developed standalone at components.hybriel.worldapi.org (editor, differ, upload single/multiple -> markdown wysiwyg). Recorded in docs/global-decisions-seed.md; nothing filed yet.
  9. - 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.
  10. - Loreana: CONCEPT.md (creator verbatim + architect decisions) for calendar, notes, components.hybriel; registry entries (dev loreana, live byrodin).
  11. - 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.
  12. - 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%.
  13. - 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.
  14. - 20:15 Creator rejected components #1-#5 'total fail' (no detail). Put on hold so the 20:50 reset doesn't start blind reworks; asked the creator what fails; architect checks all demos in Chrome+Firefox after the reset.
  15. - 20:18 WRONG: I put the creator's 5 rejected components on hold (overriding his rejection). Undone -> open (architect cannot set rejected), rework after the reset with the rejection in history. Lesson: never change a state the creator just set.
  16. - 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).
  17. - 20:35 Creator agreed: uploads = event system in code, HTTP as carrier (framework). Filed hybriel#94; components#4/#5 blocked by it (states untouched).
  18. - 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).
  19. - 21:15 components: #3 range picker now pure Hybriel (ready), #4 built pre-decision (own upload request) -> not marked, comment. Deploy refused: gate 34/2 (month view next, pagination) because components#6 (pagination) session is running in the folder -> wait. month-view.js/date-picker.js still JS (#1/#2 reworks pending).
  20. - 21:55 components deployed (gate 71/0, no .js left): #1 month view, #3 range picker, #6 pagination checked live in Chrome by real clicks -> marked. #2 date picker: day click does not set the value (typing works) -> sent back open with the finding. #4 still not marked (pre-#94 design).
  21. - 22:15 components#2 date picker: day click fills the field locally (value after ~49 ms) but never on the live HTTPS site — same HTML + modules (md5), no network traffic either way -> Hybriel runtime bug, filed hybriel#102 with the repro; #2 blocked by it; answered antcolony#26 (scheduler's 2-fails question) so the creator only needs to confirm.
  22. - 22:30 hybriel#102 cause (Anton): Cloudflare HIT on a stale /__hl/app.css (old CSS -> both popups overlap, value lands in departure). Architect only compared modules — missed it. Fix = re-vendor to master (#83 hashed URLs). antcolony Mission 035: re-vendor all 6 apps (components, calendar, notes, gitoria, ident, tickets), no deploy; architect deploys app by app. certbot CF token cannot purge cache (401). After calendar re-vendor: remove blocker calendar#3 <- hybriel#95 (on master).
  23. - 22:45 Creator: live file upload still uses XMLHttpRequest (components #4/#5 built pre-#94, went live with the folder deploy although not marked). antcolony Mission 035 worker told to take both upload components off the site (parked in .scratch) until hybriel#94; grep proof in its report. Lesson: an unmarked ticket still ships if its code is in the folder — park such code before deploying.
  24. - 22:55 Creator: 'all componets have no styles' = no component has its own Style; all rules in the site's global styles.hl (copying a component gives it unstyled). First misread it as a browser cache issue. Filed components#7 (own Style per component), on hold until antcolony mission 035 finishes in that folder; rule added to scheduler conventions.
  25. - 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.
  26. - 23:30 components#7 deployed (own Style in month-view, date-picker, range-picker, pagination; global styles.hl 34 lines of site layout; bare-app copy check in the worker's gate; gate 57/0; live screenshot of the date picker styled).
  27. - 23:40 Creator: markdown wysiwyg into components + file upload in it + start the custom-ide codejar port -> components#8 (WYSIWYG port of md-editor.js, pure Hybriel), #9 (files/images in it, blocked by hybriel#94), #10 (code editor port from custom-ide CodeJar). CONCEPT updated.
  28. ## 2026-09-26
  29. - 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.
  30. - 00:05 Creator: components home shows a month view at the top — the #1 rework embedded MonthView in index.hl (unrequested). Removed it + gate now checks the home has no <month-view> and runs the month checks on /month-view. NOT deployed yet: md editor #8 session is PARKED in the folder (until 01:50) with its new failing tests -> goes out with the next components deploy. Creator: code editor breaks page markup on unbalanced code -> added to components#10 (code inserted as HTML = also XSS; gate checks listed).
  31. - 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.
  32. - 02:25 components deployed (132/0): #8 md editor (typed '# Heading','- one','two' -> exact Markdown), #10 code editor (one brace; '</div><b>… <img onerror>' stays text, structure unchanged, no execution), #11 today after midnight, home without embedded month view — all verified live by typing -> marked.
  33. - 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.
  34. - 08:40 components#9 (files/images in the md editor via emit, #94) deployed (141/0): live upload of a PNG -> ![uptest.png](/md-editor/files/…) + image shown, file served 200. Follow-up ticket for the list-item join. #4/#5 upload components still the old pre-#94 build (in progress, not reworked) — decide.
  35. - 08:55 components deployed (142/0) but #12 not fixed live (choose-file path still joins the image to the list item, with and without cursor) -> sent back with the finding.
  36. - 09:10 components#12 deployed (147/0): live upload via choose-file, with and without cursor at the list end -> image on its own line after the list. Marked.
  37. - 10:05 Creator: 'this just does not work' (1/2 slots, nothing to start). Causes: my holds, components#4 stuck as built, antcolony backlog 'on other hosts' (dev host = byrodin docs). Fixes: components#4 opened; antcolony registered with dev = loreana antcolony-scheduler + WORKER-RULES.md (never restart the live container, e2e only) + live/deploy = architect verifies e2e and restarts; scheduler immediately started antcolony#13 (events) in slot 2. antcolony#21 (librarian, built in antcolony mission 029) moved from a stale 'in progress' to awaiting creator.
  38. - 12:25 components#4 (single upload via emit) deployed (154/0; live upload of a PNG listed as uploaded) -> marked. ident#23 (public short ids) built but NOT deployed: exchange would hand apps new ids -> all known users look new. antcolony Mission 039: per-app migration scripts (tickets, gitoria, notes, calendar) + proof on copies + switch runbook (docs/short-id-switch.md); then one coordinated switch by the architect. No open tickets in those 4 folders (scheduler stays out).
  39. ## 2026-09-30
  40. - 30.9. Creator: 'Components: modals' -> components#13 filed (architect's scope), mission 001 (old 042), worker w042 (ports 8732-8739), in parallel to w041 (tracker).
  41. ## 2026-10-02
  42. - antcolony mission 069 (w069-components): re-vendored Hybriel master 8efba065 (#126 memory, #48 lambda copy); gate 220/0; 5 lambdas, none needs `&`; RSS old→new: 200 loads 1331→346 MB, +100 uploads 2532→489 MB (uploads still retain ~1.1 MB/MiB). Not deployed.
  43. - antcolony mission 072: re-vendored Hybriel master 190aa11d (GC correctness, #127); gate 220/0; 200 loads RSS 205 MB (old 353); uploads still retain ~1.4 MB per MiB (400 uploads: 751 vs old 713 MB). Not deployed by me.
  44. - antcolony mission 074 (2026-10-03): re-vendored Hybriel master 06617221 (plugin allocators, http1 773de63e); gate 220/0; 2000 loads flat at 205 MB, 400 uploads flat at ~363–403 MB (old 829 MB). Not deployed by me.
  45. ## 2026-10-03
  46. - mission 002 (code order, no behaviour change): styles.hl → components/styles.hl; lib/uploads.hl holds the demos' upload storage (demo handlers thin); project.hl map; `let` 471 → 213, never reassigned 255 → 0. Gate 220/0 each step; layouts theme gate 73/0 with the changed components; same output (tests/same-output.mjs). Not deployed (old root styles.hl stays on Byrodin until removed by hand).
  47. ## 2026-10-04
  48. - mission 003 (#15, w090): black/white base look — components fall back to black/white/greys (shared/base.hl names them), no WorldAPI palette, no decorative frames; site light + black header, icon b/w; md-editor strips Chrome's inline style after a format; gate 230/0 (+10 base-look checks); layouts re-synced 5a98d77 (73/0, check-theme 0, screenshots pixel-identical). Not deployed.
  49. ## 2026-10-19
  50. - mission 004 (w4): GitHub pipe tables in the Hybriel MdEditor (creator notes#5: typed, Tab/Enter, never merged, pasted HTML table, byte-for-byte when unchanged, #999 lines, scroll on a phone) + re-vendor hybriel master a832f73b (bin e1b53f7c…, HL_CACHE_DIR volume, 120 s start waits); gate 252/0 (22 new, 20 fail on the old editor); layouts dry run 76/0, check-theme 0; gap: no `new DOMParser()` in client code. Not deployed.
  51. - mission 005 (w5): #17 md-editor keeps backslash + r (real CR dropped instead); #16 Pagination `onPage(to)` from the host on every click (+ #555 focus ring); #5 file upload for several files (`/files-upload`, emit per file, row per file with progress); docker-compose init: true (hybriel#156); gate 290/0 (38 new, fail on the old code); layouts dry run 76/0; gaps: `String.fromCharCode` does not parse, watcher stale (hybriel#117). Not deployed.
  52. - mission 006 (w6): comments block layouts#2 (`components/comments`, `/comments`): host passes comments + user, hears onPost / onEdit / onDelete / onLike (hybriel#87); text drawn by the new MdEditor `readonly = "true"`, form in MdEditor; 'edited' with history, like, Edit / Delete for the author, 1 comment / n comments; gate 324/0 (34 new); gaps: imported-static derivation not re-derived in the browser, `x.length` View text empty on the server
  53. - mission 007 (T): re-vendor Hybriel static build 0f396652 (bin 60fa02f3…); gate 324/0 old and new, letcount same, same-output DOM identical (only /__hl/up + import.meta.url in generated code), real-data copy of backup 20261019-2101: 0 different after masks; Dockerfile/compose unchanged; no new gaps. Not deployed.
  54. - mission 008 (H2): files-upload pick-first-send-later mode (#18 for hycon#46): host owns the list (`files` + `onChange`), host input area in the slot, Ctrl+V paste (both modes), thumbnails (object URLs), name+size rows, ✕, `maxSize`, Camera (capture) on touch, 44 px targets; demo /files-upload/pick; gate 343/0 (19 new; old code 325/20, 18 of 19 new fail); layouts dry run 99/0, check-theme 0; gap: Number.toFixed missing in the native runtime (repro scratch H2/gap-tofixed). Not deployed.
  55. - 2026-10-20 worker Q2 (mission 010, tickets#29): md-editor look: root class md-empty, rows = surface height, phone toolbar one row ≥ 44 px; gate 357/0→360/0 (3 new fail on old). Not deployed. Report reports/010-mdeditor-look.md
  56. - 2026-10-21 011 mdeditor keys: flatten nested p/ul, bare br, link change, Ctrl+E, code-block exit; md-keys 106/0 new vs 80/26 old (headless); gate hook + lisbeth run open (WIP)

Branches

Latest commits

  • 77a93c16mission 011: gate hook for md-keys (480/0), flatten() runs one at a time (removeChild race), surface also built on first focus / pointer-down (background tab), md-bg test, README keysmre
  • 3c906718mission 011: md-editor key tests (real keys) and fixes: nested p/ul flatten, bare br, link change, Ctrl+E, code block exit (WIP)mre
  • 1442e583mission 010: report, LOG, STATUSmre
  • 6f27ad31md-editor: phone toolbar row contained (inline-size) so it never widens a grid parentmre
  • d702d76dmd-editor look: root class md-empty (a host .empty rule hit it), rows = surface height, one phone toolbar row with 44 px targets; comment form rows 3; gate 360/0mre
  • 15be2ac0comments: attach (FilesUpload pick), onPost(text, files), files per comment; md-editor files=off; README, gate fixmre
  • 1f8d79d6comments (mission 009 WIP, tickets#27): attachments — attach="true" puts the form in FilesUpload pick mode, onPost(text, files), files per comment (thumbnails open full size, file rows, no url = no link); MdEditor files="off"; demo with attachments; gate m009 checks (WIP: 356/1)mre
  • 13389d67mission 008: report, LOG, STATUSmre
  • ab47e4a2files-upload (mission 008, #18 for hycon#46): pick-first-send-later mode — host-owned list (files + onChange), slot for the host's input area, Ctrl+V paste (both modes), thumbnails, name+size rows, ✕ remove, maxSize per file, Camera on touch screens, 44 px targets; demo /files-upload/pick; gate 343/0 (19 new, 18 fail on the old code)mre
  • 172e66bemission brief 008mre
  • 9db927dfpaths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • 00a95329components (mission 007): re-vendor Hybriel to the shared static build 0f396652 (plugins; bin/ git-ignored), gate 324/0 old and new, real-data copy unchanged, report 007, same-output.mjs ports overridablemre
  • fe50766bmission brief 007mre
  • 2dce51b8components (mission 006) 4/4: docs (README comments + gate 324, STATUS, LOG), report reports/006-comments.mdmre
  • 9ec7273ecomponents layouts#2 (mission 006) 3/4: comments — each text is MdEditor readonly directly in its row (hl:web builds a composed child anew when a bound value changes, so the keyed one-row list was not needed); demo 'bob edits his comment elsewhere (a push)' + gate check that a text the host changes from outside is drawn anew; theme radii (var(--radius-small/large) with 5px/10px fallbacks: layouts' check-theme 0 problems with comments.hl copied in); README 'How it is built'; gate 324/0 (34 comments checks)mre
  • fd57c18bcomponents layouts#2 (mission 006) 2/3: comments block (components/comments, demo /comments) — pure Hybriel: '1 comment' / 'n comments', avatar initial, bubble with name, time, 'edited' (<details> with the earlier versions), the text drawn by MdEditor readonly (one-row list keyed by id + text, so an edit redraws), like ♥ n (aria-pressed), Edit / Delete (asks first) only where author == user, the form below in MdEditor (Comment button or Ctrl+Enter; a fresh editor after a post). Host passes comments + user and hands onPost / onEdit / onDelete / onLike (hybriel#87); demo keeps a mock thread from lib/comments.hl in the page, switches alice / bob / nobody. Home entry, routes, map line, README; base-look gate covers comments; 33 gate checks with real clicks / keysmre
  • 850a376bcomponents (mission 006) 1/3: MdEditor readonly = "true" — the Markdown shown formatted and nothing else (no toolbar, link form, file rows, placeholder, source view or switch; article contenteditable false, tabindex -1, role document; no field background or focus ring); the mount only loads the value. For the comments block, which draws every comment with the editor's own renderermre
  • ee9f1b57mission brief w6mre
  • fe691586components (mission 005) 4/4: docs (README components + gate 290, STATUS, LOG), report reports/005-fixes-16-17-5.mdmre
  • f1ebab53components #5 (mission 005) 3/4: file upload for several files (components/files-upload, demo /files-upload) — pure Hybriel, each file through emit server uploadFile (hybriel#94), drop or choose many, a row per file with live progress, one after the other in order, a drop during an upload waits, a file over uploadMax fails in its row and the next goes, 'n of m uploaded'; home entry, routes, map line, README; pagination keyboard focus ring #555 (Chrome painted its own orange one); docker-compose init: true (hybriel#156); gate 290/0 (17 #5 checks with real file drops, 1 #16 focus check)mre