gitoria

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit337ca075337ca075MD1 gate check measures frames in the page, not milliseconds from outside, and takes the middle load (components#30)mre337ca075/STATUS.md

39.3 KB

  1. # STATUS
  2. ## 2026-10-25 — mission MP: media player, first version — NOT deployed (report reports/MP-media-player.md)
  3. `MediaPlayer { src kind title artist cover queue onPlay autoPlay }`: audio + video, phone first, the browser's own media element
  4. with the component's own controls (a draggable seek bar with played/buffered parts, back/forward 10 s, play/pause, times, mute, speed,
  5. fullscreen), a queue under the player whose current item is the accent on a surface. New icons in components/icons. The demo's media
  6. served with HTTP ranges (lib/media.hl, a function route with a Bytes body). Gate **605/0** (8740–8749; old code: the MP checks fail,
  7. the page 404s). layouts took it with sync-components (dd003e5): /components/media-player with a queue, theme rules for it — gate **340/0**,
  8. check-theme **0 problems**. Branches mp-player in both repos, NOT merged, NOT deployed.
  9. ## 2026-10-20 — mission 008: files-upload pick first, send later (#18 for HyperConductor hycon#46) — NOT deployed (report reports/008-files-upload-pick.md)
  10. `FilesUpload { mode = "pick" files = attached onChange = picked maxSize = … <host's textarea + Send> }`: collected, not sent; host sends its list with its own
  11. face at Send and clears it (`attached = []`). Ctrl+V paste (both modes), thumbnails, name+size rows, ✕, maxSize row message, Camera (capture) on touch, 44 px targets.
  12. Demo /files-upload/pick. Gate **343/0** (8740–8749; old code 325 passed / 20 failed). layouts dry run 99/0, check-theme 0. Hermes copies
  13. components/files-upload/files-upload.hl from ab47e4a. Hybriel gap: Number.toFixed missing in the native runtime.
  14. ## 2026-10-20 — mission 007: re-vendor Hybriel 0f396652 (static build) — NOT deployed (report reports/007-revendor-0f396652.md)
  15. bin/hybriel sha256 60fa02f3… (was a832f73b); plugins replaced whole (+fetch, +mpackdb). Gate 324/0 old and new; letcount identical; same-output DOM identical;
  16. real-data copy of the newest backup: 0 different after masks (new route /__hl/up only). Dockerfile / compose / deploy.sh unchanged. No new Hybriel gap.
  17. ## 2026-10-19 — mission 006: comments block (layouts#2), first user tickets — NOT deployed (report reports/006-comments.md)
  18. Commits 850a376 (MdEditor `readonly = "true"`), fd57c18 (components/comments + demo /comments + gate), 9ec7273 (text via MdEditor directly,
  19. "edited elsewhere" check, theme radii), + docs. Hybriel a832f73b unchanged.
  20. - `Comments { comments = list user = me onPost onEdit onDelete onLike }`: "1 comment" / "n comments", avatar initial, name, time,
  21. "edited" (<details>, earlier versions), Markdown text (MdEditor readonly), like ♥ n, Edit / Delete (asks) where author == user, form in
  22. MdEditor (button or Ctrl+Enter). Needs components/md-editor beside it. Demo: mock thread in lib/comments.hl, alice / bob / nobody.
  23. - Gate **324/0** (8740–8749; before 290/0): 34 comments checks with real clicks / keys; the old code fails them all (4 FAIL, then abort
  24. at the missing /comments); an author mutation (Edit / Delete for everyone) fails 2. layouts dry run 76/0, check-theme 0 (also with
  25. comments.hl copied in; its sync list has neither comments nor files-upload). Screenshots looked at (0 coloured px).
  26. - Hybriel gaps: a member derived through an IMPORTED static is never re-derived in the browser (`.scratch/w6/gap-derive-import/`;
  27. stopped the demo's mine-by-account part); `items.length` as View text is empty in the server HTML (`.scratch/w6/gap-length/`).
  28. ## 2026-10-19 — mission 005: #17 md-editor "\r", #16 pagination tells the host, #5 upload of several files — NOT deployed (report reports/005-fixes-16-17-5.md)
  29. Commits 6b27c0f (#17), 3b73ae5 (#16), f1ebab5 (#5, pagination focus ring, docker-compose `init: true`), + docs. Hybriel a832f73b unchanged.
  30. - #17: `parseInto` removed the two characters `\r` (C:\root → C:oot); now a real CR (`JSON.parse('"' + BS + 'r"')`), also from pastes.
  31. - #16: `Pagination { … onPage = goPage }` — called with the target page on every click (pointer, Enter/Space, script; Previous/Next/numbers/
  32. edges; not … / current), target from the button's `data-page`; keyboard focus ring #555 (was Chrome's orange). Tracker must re-vendor
  33. pagination.hl and replace its pagerBox/pagerClick workaround in tilelist.hl with `onPage` (report).
  34. - #5: `components/files-upload/` + `/files-upload`: drop or choose many, row per file with live progress, one after the other, waiting rows,
  35. over-limit file fails alone, "n of m uploaded"; pure Hybriel (`emit server uploadFile`).
  36. - Gate **290/0** (8720–8729; before 252/0); the new checks fail on the old code (#17 3/5, #16 15/16, #5 all). layouts dry run 76/0,
  37. check-theme 0 (its sync list lacks files-upload). Screenshots looked at (0 coloured px).
  38. - Hybriel gaps: `String.fromCharCode(…)` does not parse (`.scratch/w5/gap-fromcharcode/`); watcher keeps serving the old component
  39. (= hybriel#117, `.scratch/w5/gap-watch/`).
  40. ## 2026-10-19 — mission 004: tables in the Hybriel MdEditor + Hybriel master a832f73b — NOT deployed (report reports/004-md-editor-tables.md)
  41. Commits f2adb3f (re-vendor a832f73b, bin sha256 e1b53f7c…d272db9; HL_CACHE_DIR volume + /tmp tmpfs; 120 s start waits in tests and
  42. deploy.sh), 70fe7ab (tables in `components/md-editor/md-editor.hl`, demo third editor "plan", 22 gate checks, README "Tables"), + docs.
  43. - GitHub pipe tables, pure Hybriel (no .js): parse/render (alignment, `\|`, inline Markdown in cells, outer pipes optional), padded writer,
  44. unchanged table byte for byte, typing header + `|---|` + Enter → table, Tab/Shift+Tab, Enter new row / leaves on an empty last row,
  45. Backspace/Delete never merge, selection across a table empties cells, pasted HTML table → table; #999 cell lines; scrolls on a phone.
  46. - Gate **252/0** (8720–8729); before: 230/0 on the old binary and on the new one (cold cache). New gate on the old md-editor.hl: 20 of the 22
  47. table checks FAIL. Screenshots `.scratch/gate-md-editor-table-{1280,390}.png` looked at (ASCII render + pixel count: 0 coloured px).
  48. - layouts.worldapi.org (dry run, code-only copy, not edited): sync would change components/md-editor/md-editor.hl + README.md; its gate 76/0,
  49. check-theme 0 problems.
  50. - Hybriel gap: `new DOMParser()` in client code does not compile (repro `.scratch/w004/gap-domparser/`); the editor uses the inert
  51. `document.implementation.createHTMLDocument('')` instead.
  52. - **Deploy notes**: first start after the deploy compiles (~22 s; deploy.sh waits up to 120 s); the named volume `hybriel-cache` is new
  53. (docker compose creates it). Undo (Ctrl+Z) does not take back table structure steps (README "Tables" limits).
  54. ## 2026-10-04 — mission 003 (#15): black/white base look — NOT deployed (report reports/003-black-white.md)
  55. Commits 5a98d77 (code, icons, gate, READMEs) + docs. Every component falls back to black/white + greys `#555 #999 #ddd #f2f2f2`
  56. (named once in `shared/base.hl`, README "Look"), no WorldAPI palette, no decorative frames (left: focus ring #555, today ring, dashed
  57. invalid field, dashed drop zone). Token names / elements / classes unchanged. Site light (white page, black header), declares no
  58. `--color-…` token; PWA theme #000 / background #fff; icon white blocks on black (PNGs + ico re-rendered).
  59. - Gate **230/0** (`COMPONENTS_GATE_PORT=8750 COMPONENTS_GATE_CHROME=8751-8759 node tests/browser.mjs`); the 10 new `base look:` checks
  60. fail on the old tree (13 FAIL incl. the PWA colour checks) → they bite. Screenshots `.scratch/gate-bw-*-{390,1280}.png` looked at.
  61. - layouts.worldapi.org re-synced (635234d): gate 73/0, check-theme 0, its screenshots pixel-identical.
  62. - md-editor fix: Chrome wrote `<strong style="color: rgb(0, 0, 0)">` once strong and text had the same colour → `inlineRule` strips
  63. `style` attributes from the surface after its insertHTML (gate "typing **x**" failed before).
  64. - **Deploy notes**: the icon changed (Cloudflare/PWA caches may show the old one for a while); old root `styles.hl` on Byrodin still to remove (mission 002).
  65. ## 2026-10-03 — mission 002: code order, no behaviour change — NOT deployed (report reports/002-code-order.md)
  66. Commits d29f35b (styles.hl → components/styles.hl), 172914a (lib/uploads.hl + thin demo handlers + project.hl map), e747cfa (`let`),
  67. + docs/tests. Root .hl 2 → 1; project.hl 81 → 89 lines (the map comment); `let` 471 → 213; never reassigned 255 → **0** (`python3 tests/letcount.py .`).
  68. - Gate 220/0 before and after each step (8750–8759). Layouts theme gate (code-only copy with these components) 73/0, check-theme 0.
  69. - Same output (`tests/same-output.mjs`, README "Test"): pages, DOMs, uploads, stored files identical; modules differ only in import
  70. tables / positions (step 2) and `var`→`const` (step 3).
  71. - **Deploy note**: deploy.sh's rsync does not delete → remove the old root `styles.hl` on Byrodin by hand after the next deploy.
  72. - **Lessons**: (1) unlet must keep a name declared twice in one METHOD too (md-editor: `j`, `inner`, `p`, `sel`, `b`; code-editor `at`) —
  73. letcount/unlet's old function finder only saw lambdas and `on`/`static`. (2) layouts.worldapi.org's copies of the components (80ce6ba) differed from 0994575 in 13
  74. `let out` → `out` lines, so they were not byte-verbatim; after a component change re-copy all of them.
  75. ## 2026-10-03 — antcolony mission 074: re-vendored Hybriel master 06617221 (plugin allocators, http1 773de63e) — NOT deployed by me
  76. `bin/hybriel` + the same nine `plugins/` (sha256 21059cc7…; old copy `.scratch/pre-074/` = 190aa11d). No app change. Gate **220/0**
  77. (8760–8769). Live storage copy (deleted), Chrome:
  78. - 200 loads + 100 uploads: new 185 → 204 → 414 MB; old 183 → 207 → 511 MB.
  79. - 20 loads + 400 uploads + 60 s idle: new 185 → 363/363/363/364 MB (every 100) → 364 MB — **uploads flat now** after a one-time
  80. step; old 462/564/646/752 MB (+1 MB per upload).
  81. - 2000 loads + 400 uploads: loads new 204/205/205/205 MB (every 500), uploads 416/403/403/403 MB; old 208 → 215, then 521 → 829 MB.
  82. - The 072 open point (uploads retain ~1.4 MB per MiB) is fixed.
  83. ## 2026-10-02 — antcolony mission 072: re-vendored Hybriel master 190aa11d (GC correctness fc838894, #127) — NOT deployed by me
  84. `bin/hybriel` + the same nine `plugins/` (sha256 860f5e61…; old copy `.scratch/pre-072/` = 8efba065). No app change. Gate **220/0**
  85. (`.scratch/w072/gate1.txt`). Live-storage copy: 200 loads new 182 → 205 MB (old 288 → 353 MB), 35 ms avg. **Open**: file uploads
  86. still keep ~1.4 MB per 1 MiB upload (400 uploads: new 185 → 751 MB, old 277 → 713 MB; nothing freed after 60 s idle) —
  87. slightly more than 8efba065's ~1.1; live uploads are rare (≤ 5 MiB), watch RSS. Candidate hybriel follow-up to #126.
  88. ## 2026-10-02 — antcolony mission 069: re-vendored Hybriel master 8efba065 (#126 memory, #48 lambda copy)
  89. `bin/hybriel` + `plugins/` (same nine) from master 8efba065 (sha256 231fb9f2…; old copy `.scratch/pre-069/`, master ff51cf46). No local patch, no app code change.
  90. Gate `COMPONENTS_GATE_PORT=8720 COMPONENTS_GATE_CHROME=8721-8729 node tests/browser.mjs` → 220 passed, 0 failed (`.scratch/w069/gate1.txt`).
  91. #48 audit: 5 lambdas (date-picker.hl:11, range-picker.hl:11, clock.hl:4 serverToday(); md-editor.hl:497 mark(tool, active) reads only; md-editor.hl:762 selectionchange ()) → none writes a parameter, nothing needs `&`. Probe `.scratch/w069/probe48.hl`: new `copy: n=1 len=0`, old `n=2 len=1`.
  92. Memory (live storage copy, port 8730; RSS MB old ff51cf46 → new): boot 492 → 288; after 200 page loads 1331 → 346; after 100 uploads of 1 MiB 2532 → 489; 5 s idle 2532 → 489. Long run (new): 1000 loads 318 (flat), +400 uploads 840 — page loads plateau, but each 1 MiB upload still keeps ~1.1–1.3 MB (200 uploads: 480 MB, unchanged after 60 s idle). Watch live RSS after uploads. Not deployed.
  93. ## 2026-10-01 — antcolony mission 048: re-vendored Hybriel master ff51cf46
  94. `bin/hybriel` + `plugins/` (same nine) from master ff51cf46 (old copy `.scratch/pre-048/`, master e6720b1f). No local patch.
  95. Gate `COMPONENTS_GATE_PORT=8750 COMPONENTS_GATE_CHROME=8751-8759 node tests/browser.mjs` → 220 passed, 0 failed (before and after the workaround change).
  96. Duplicate-@id check (#113): the live storage/ holds no tables (only md-files/ 5 + uploads/ 1 files, no mpackdb) → nothing to count.
  97. Workarounds: removed `static` from `serverToday` in date-picker.hl + range-picker.hl (plain lambda member; gate green; the old binary e6720b1f rendered the plain form too, so it was precaution, not a needed workaround; old pickers in
  98. `.scratch/pre-048/*.static`). Kept: `static serverToday` in month-view/clock.hl (an imported module helper, not a component member);
  99. modal demo's `paragraphs = longText()` (20 generated paragraphs, not a literal-list detour). No browser-built SVG in any component → no SVG check. Not deployed.
  100. ## 2026-10-01 — antcolony mission 046: installable app (PWA) + own icon
  101. Icon: three stacked building blocks with studs, green-light #b5cea8 on rgb(25,30,35) (`icons/icon.svg` → 192/512/180 PNG, `favicon.svg` + `favicon.ico`). `project.hl`: `appShortName` "Components", `appIcons`, `appTouchIcon`, `appFavicon`, theme = token `darker` (header), background `dark`, `offline = [ Index ]`, icon routes, `/favicon.ico` now a real file (was `direct = ""`). `components/main.hl` + `styles.hl`: offline note ("You are offline. The demos need the network.") via the `netProbe` tick, as tracker. README "PWA".
  102. Gate: `COMPONENTS_GATE_PORT=8720 COMPONENTS_GATE_CHROME=8721-8729 node tests/browser.mjs` → 220 passed, 0 failed (13 new pwa/offline checks; server stopped + CDP offline → `/` from the worker cache). Phone shots `.scratch/gate-pwa-phone-{online,offline}.png`. The site's CSS accent stays light blue; only the icon is green-light. Not deployed; not tested: a real install on a phone.
  103. ## 2026-09-30 — ticket #13: modal dialog (pure Hybriel, mission 001 (old 042))
  104. `components/modal/modal.hl` (ONE file, own `Style`, no `.js`) + `demo.hl` (`/modal`: four modals — info, confirm with footer, a form with `backdropClose = "false"`, long text) + README; home entry, routes, demo styles in styles.hl.
  105. Built on the browser's `<dialog>` + `showModal()` (page inert, focus in, focus back to the opener); the component adds Tab/Shift+Tab wrap (without it Tab reaches `<body>`), the reason, background click (only when the press also started there), `html:has(modal-dialog > dialog[open]) { overflow: hidden }`. Page opens/closes by id (`showModal()` / `close('reason')`); closing sends a BUBBLING `close` from `<modal-dialog>` with `e.detail = { id, reason }` (close / escape / backdrop / footer button value / the page's own). Several modals per page work because every attribute is a literal per reference; handlers read options from the DOM (`data-backdrop`), never from members.
  106. Gate: 207 passed, 0 failed (53 modal checks, at 1280 and 390 px, real mouse/keys via CDP; a mutation run without the scroll lock / Tab wrap / backdrop switch failed 16). Screenshots: `.scratch/gate-modal-{open,form,long,closed}-{1280,390}.png`. Not deployed; not tested: Firefox, Safari, touch, a modal inside a modal.
  107. Hybriel facts learned: a custom event name (`on modalclose`) is not bound (warning "not a standard DOM event", ticket #31) — use a standard name; a `for` over a LIST LITERAL in a View (`for (n of [1, 2])`) is an unlocated 500 (`view.hl:316:11 reading 'name'`) — loop over a member instead (repro reported by mission 001 (old 042)).
  108. ## 2026-09-26 — ticket #4: file upload, one file (pure Hybriel, rebuilt on hybriel#94)
  109. `components/file-upload/file-upload.hl` (ONE file, own `Style`, no `.js`) + `demo.hl` (`/file-upload`) + README; home entry and routes added. Choose or drop: name, size, progress (`on client uploadProgress`), then "Uploaded" and a list. The file goes through `emit server saveFile(file)`; the demo stores it in storage/uploads (random name, 24 h). One file at a time. The earlier parked build was not reused. Gate: 154 checks (drop 3 MB: progress to 100%, bytes stored; choose via input; no console errors). Not deployed; not tested: Firefox, a very large file.
  110. ## 2026-09-26 — ticket #12 (2nd fix: choose button, caret lost)
  111. The first fix missed the File button and a lost caret (the point sat at the surface end, not in the item). Now the block is put after the list as elements whenever the point is in a list or at the surface end after a list. Gate checks drop / paste / choose × caret in item / no caret: 147 passed, 0 failed. Not deployed.
  112. ## 2026-09-26 — ticket #12 (1st): a file added in a list item
  113. A file/image dropped, pasted or chosen with the caret inside a list item now lands as its own block after the list (before: glued to the item text, `- second![x.png](…)`). Gate: 142 passed, 0 failed. Not deployed.
  114. ## 2026-09-26 — ticket #9: files and images in the Markdown editor
  115. Drop / paste / "File" button (several files): `emit server mdUpload(files)` (hybriel#94, files over HTTP with progress), a progress row per
  116. file under the toolbar (`on client uploadProgress`), then `![name](url)` (images, drawn in the editor; only http(s) and `/path` src) or
  117. `[name](url)` at the drop point / caret. The app stores: demo.hl answers the face (storage/md-files, random name, known extensions only,
  118. 24 h, 5 MiB `uploadMax`) and project.hl serves `/md-editor/files/*` (nosniff + sandbox). No XHR/fetch in the component. Gate: 141 passed, 0 failed
  119. (3 dropped files → 2 images + link, progress to 100%, images load, pasted image, javascript:/data: image refused). Not deployed; on the live
  120. site storage/ persists (bind mount). Not tested: Firefox, touch, a real 1 GiB file.
  121. ## 2026-09-26 — antcolony mission 037: re-vendored Hybriel master e6720b1f
  122. `bin/hybriel` + `plugins/` from hybriel master e6720b1f (includes #103/#104, #105 f15a2f7f, #106, #94 c12065d8; old copy in
  123. `.scratch/pre-037/`). No local patch. Gate `node tests/browser.mjs`: 132 passed, 0 failed. Dev server (`~/scratch-037/hashcheck.sh
  124. components.hybriel.worldapi.org COMPONENTS /`, port 8720): `/__hl/hl-runtime.js?v=…`, `/__hl/web/client.js?v=…`, `/__hl/app.css?v=…`
  125. (immutable), bare `/__hl/app.css` → no-cache, 0 unhashed refs. Not deployed.
  126. ## 2026-09-26 — ticket #11: month view marks the visitor's today
  127. The browser's today (and language) was only read when a pointer/finger/key first reached the month view, so until then the server's UTC date was marked. Now the month view reads it at load (mount hook: 100 ms CSS animation, as in md-editor); touch/hover stay as a fallback. Gate now runs the browser in Pacific/Kiritimati (UTC+14, a day ahead of the server) and waits for today without any pointer. Gate: 132 passed, 0 failed. Not deployed.
  128. ## 2026-09-25 — ticket #10 (2nd fix): closers, and code is only text
  129. Typing a closer on the empty indented line between an auto-inserted pair (`if (x) {` Enter `}`) now closes it (`if (x) {\n}`), no doubled `}`. The code was already only ever text (surface built with `textContent`/text nodes, never as markup); new gate checks type `if (x) {` unclosed, `</div><b>x` and `<img src=x onerror=window.__pwned=1>`: page structure unchanged, text literal, `window.__pwned` undefined. Gate: 131 passed, 1 failed (`today is marked` — date check of the date picker, not this ticket). Not deployed.
  130. ## 2026-09-25 — ticket #10: code editor (pure Hybriel)
  131. `components/code-editor/code-editor.hl` (ONE file, own `Style`, no `.js`) + `demo.hl` (`/code-editor`: a Hybriel and a JS editor, the second with `spaces = 2`) + README; home entry and routes added.
  132. Port of custom-ide's CodeJar editor (renderer/vendor/codejar.js): one `contenteditable="plaintext-only"` surface, highlighted tokens as `<span class="tok-…">` (hybriel / js / plain: comments, strings, numbers, keywords, function names, Capitalised names), caret kept as text offsets across the repaint, line-number gutter, Tab / Shift+Tab (also on several selected lines), Enter keeps the indent (+ one level after `( [ {`, closer moves down), autoclose of brackets/quotes (with wrap and step-over), own undo/redo history (Ctrl+Z, Ctrl+Shift+Z / Ctrl+Y), paste as plain text. Value in a hidden `<input name>` + bubbling `input` event; mount hook = the 100 ms CSS animation of md-editor.
  133. Hybriel facts learned: `let h = root.list` COPIES a list held on a DOM element — mutate `root.list` in place; `from` is reserved (also as a parameter); Chrome shows a last empty line only when one more line feed follows, so the surface always carries one extra trailing `\n` that is stripped when read; `execCommand('insertText')` / CDP `Input.insertText` split lines into `<div>`s in plaintext-only, so paste is handled by the component.
  134. Not ported: search, minimap, breadcrumbs, change bars, read-only, drop handling (native), scrolling the caret into view after Enter at the bottom of a tall editor. Gate: 119 passed, 0 failed (real keys: highlight, numbers, Tab/Shift+Tab, Enter indent, autoclose, undo/redo, paste, form post, 390 px). Not deployed; not tested: Firefox, Safari, touch, IME.
  135. ## 2026-09-25 — ticket #8: Markdown WYSIWYG editor (pure Hybriel)
  136. `components/md-editor/md-editor.hl` (ONE file, own `Style`, no `.js`) + `demo.hl` (`/md-editor`, two editors) + README; home entry and routes added.
  137. Port of worldapi-components/md-editor.js: headings 1-6, paragraphs, lists, fenced code, `code`, links, *em*, **strong**; toolbar (B I <> Link H lists Block undo redo);
  138. typing rules (`# `, `- `, `1. `, closed `**x**` `*x*` `_x_` `` `x` ``, ``` + Enter); Ctrl+B/I/E/K, Ctrl+Alt+0-3/C, Ctrl+Shift+7/8, Ctrl+Enter, Backspace at block start;
  139. paste/drop read as Markdown (HTML pasted stays text); "Markdown source" switch; value in a hidden `<input name>` + bubbling `input` event; an untouched value is returned byte for byte.
  140. How: contenteditable surface built in handlers (createElement only), never re-rendered by the framework; mount hook = a 100 ms CSS animation whose `animationiteration` fires after hydration.
  141. Hybriel facts learned: plain lists are COPIED when passed to a function (a function must return its list); `parent` `set` `on` are reserved words; a `<form>` inside a form breaks hydration (`claim: no element for …`), so the link form is a plain element.
  142. Not ported: textarea "enhance" mode, disabled/readonly/toolbar="none", the `[text](url)` typing rule, per-block byte-for-byte spelling, MdEditor.markdown API; files/images = ticket #9. The form post turns LF into CRLF (HTML rule).
  143. Gate: 88 passed, 0 failed (real keys and clicks: typing rules, toolbar, undo, link form, javascript: refused, paste, source switch, form post, 390 px). Not deployed; not tested: Firefox, Safari, touch.
  144. ## 2026-09-25 — ticket #7 (2nd try): a copied component is styled without tokens
  145. Every colour in the four components' `Style` is now `var(--color-x, <palette value>)`: the palette value is the fallback, so a component
  146. copied into an app with no tokens still gets its colours; an app that imports `shared/tokens.hl` (and sets its accent) overrides them.
  147. Checked in a bare app (month-view.hl + clock.hl, empty styles file, no tokens): served css carries the component rules and the month view
  148. looks the same as on the site (screenshots compared by eye; page background/heading are the app's own). Gate: 57 passed, 0 failed. Not deployed.
  149. ## 2026-09-25 — ticket #7: every component carries its own Style
  150. month-view, date-picker, range-picker and pagination each have a `Style { }` in their file (scoped by the component's tag, colours as
  151. `var(--color-…)` semantic tokens, buttons styled inside the component). `styles.hl` keeps only the page layout (header, main, home list,
  152. global button). A component cannot import `shared/tokens.hl` (its `hl:web/css` import fails in a browser module), so tokens are
  153. written as css variables; the app's styles.hl must import the tokens. Gate: 57 passed, 0 failed. Not deployed.
  154. ## 2026-09-25 — antcolony mission 035: re-vendored Hybriel master 13ef4f9b
  155. `bin/hybriel` + `plugins/` from hybriel master 13ef4f9b (old copy in `.scratch/pre-035/`). No local patch existed or was needed.
  156. Gate `node tests/browser.mjs` (run with `COMPONENTS_GATE_PORT=8720 COMPONENTS_GATE_CHROME=8721-8729`): 72 passed, 0 failed
  157. before and after (also on 9d608332). Dev server: page links `/__hl/app.css?v=<hash>` (Cache-Control immutable); bare `/__hl/app.css` → no-cache.
  158. Not deployed (architect).
  159. **File uploads taken OFF the site** (creator: "the file upload still bypasses the framework using XMLHttpRequest"), until
  160. hybriel#94 (files through emit): routes `/file-upload`, `/file-upload/receive|received|README.md`, `/files-upload[/README.md]`,
  161. the two home entries, their styles and gate sections removed; `components/file-upload` + `components/files-upload` moved (not
  162. deleted) to `.scratch/pre-035/upload-parked/` (with the removed styles `styles-upload.hl.txt`, gate section
  163. `gate-upload-section.mjs.txt` and the pre-change sources in `src/`). New gate checks: home lists no upload, the four URLs 404,
  164. `grep -rE "XMLHttpRequest|fetch\(" components/` finds nothing. Gate: **57 passed, 0 failed**. Byrodin: deploy.sh has no
  165. --delete, so the old folders stay there unused (no route imports them).
  166. ## 2026-09-25 — ticket #2: a clicked day now lands in the field (live it stayed empty)
  167. Live, with a real mouse click, the day set the field's `value` attribute but the field showed nothing (the input's `value` property
  168. stayed empty); locally the same click worked, so the gate missed it. Cause: the fields were rows bound to `values`/`invalids`, and every
  169. pick re-assigned `rows`, which re-renders the inputs. Fix: `rows` is never re-assigned; a pick / typed text is written to the input
  170. element itself (`value`, `aria-invalid`) from the handler. The gate now moves the pointer first, holds the button 100 ms, and checks the
  171. input element is the same one after a pick. Gate: 72 passed, 0 failed. NOT reproducible locally (also not with 80 ms lag), so the live
  172. fix is unproven until deployed. Not tested: Firefox, Safari, touch.
  173. ## 2026-09-25 — ticket #2 reworked: date picker in pure Hybriel
  174. The creator's reason for "total fail" was hand-written .js. `date-picker.js` and its route are deleted; the date picker is ONE
  175. file, `components/date-picker/date-picker.hl`, built like the range picker (own month grid, focus-within popup, `Date`/`Intl` read
  176. in a View handler when a field gets focus). `DatePicker { names = "arrival,departure" }` makes one field per name, each posts by its
  177. name; the month arrows, typing, an impossible date (`aria-invalid`), Escape, and the form post are all covered. It no longer needs
  178. the month view component. Gate: 71 passed, 0 failed. No `.js` of this project's own is left in `components/`.
  179. Hybriel limits met: a View attribute cannot be a list literal or expression (so `names` is a string, row `hint` a field);
  180. a host cannot read the child's values (hybriel#87). Not tested: Firefox, Safari, touch.
  181. ## 2026-09-25 — ticket #1 reworked again: month view without any .js
  182. The real reason for "total fail" (creator, via the architect): the components were hand-written .js files. `month-view.js` is deleted
  183. (file, route, script tags). The browser's today and language now come from Hybriel handlers in `month-view.hl` (`Date`/`Intl` are browser
  184. globals of View handlers) — read once when the pointer, a finger or the keyboard first reaches the month view, or on the first click of
  185. ‹ ›; until then the server's UTC date and English names show (Hybriel has no mount event). The month view is on the home page and has
  186. its demo page. Gate: 69 passed, 0 failed. STILL hand-written .js: `components/date-picker/date-picker.js` (ticket #2, not this one).
  187. ## 2026-09-25 — ticket #4 reworked: file upload in pure Hybriel
  188. Rejected because the components "write fucking javascript files". `file-upload.js` and `demo.js` are deleted; the component is ONE
  189. `file-upload.hl` (drop, choose, XHR with real progress, list of uploaded files via optional `listUrl`). The `Uploaded` list moved
  190. into the component (a host cannot hear a child's emit, hybriel#87). Finding: writes made in an async callback (XHR progress/onload)
  191. are never painted — only a DOM event's handler repaints; workaround: the callback dispatches standard DOM events (`progress`, `load`)
  192. at elements whose handlers write the state. Gate: upload checks pass (drop, chosen file, list, no .js served, no console errors).
  193. ## 2026-09-25 — ticket #3 reworked: date range picker in pure Hybriel
  194. Rejected because the components "write fucking javascript files". The range picker is now ONE file, `components/range-picker/range-picker.hl`
  195. (month grid, state, clicks, typing, Escape — all Hybriel; `Date`/`Intl` are browser globals of the View handlers); `range-picker.js` is deleted,
  196. and it no longer needs the month view. The field has a `name` and posts in a form. The demo lost the start/end outputs (a host cannot read a
  197. child member, hybriel#87). Gate: 56 passed (real clicks, swap, 9 days between, typed range, invalid range, form post, no .js file).
  198. Learned: `aria-invalid = x` is parsed as a subtraction — write `'aria-invalid' = x`; an element's attributes and `on` handlers must sit
  199. on ONE line (a newline before `on` is a parse error).
  200. STILL hand-written `.js` (not part of this ticket): month-view.js, date-picker.js, file-upload — the same rework applies.
  201. ## 2026-09-25 — ticket #1 rework (rejected: "total fail")
  202. The ticket's test is "open the site: the month view is there" — it was only behind a click. The month view now sits at the top of the
  203. home page (`components/index.hl`), the component list below; the demo page `/month-view` stays. Gate: 49 passed, 0 failed.
  204. The creator gave no reason beyond "total fail", so this is my reading; the rest is unchanged.
  205. ## 2026-09-25 — ticket #2 reworked: date picker for input fields
  206. The first build was one hard-wired field (fixed id, no name, one per page) and was rejected ("total fail", no reason given).
  207. Now `DatePicker { }` is placed once and EVERY `input.date-field` opens the month under itself (placed under the focused
  208. field), so several fields work on one page and post by their own `name`. The demo has two fields in a GET form.
  209. Gate: 55 passed, 0 failed (real mouse clicks; second field; typed month; impossible date; Escape; form posts both).
  210. The month view's next-month check is timing-flaky (English name before the browser's language arrives); passes on rerun.
  211. Not deployed; not tested: Firefox/Safari, touch. The range picker is unchanged (own field, not together with this one).
  212. ## 2026-09-25 — ticket #5 reworked: multiple file upload in pure Hybriel
  213. Rejected because the components "write fucking javascript files". `components/files-upload/files-upload.hl` is now the whole component
  214. (`files-upload.js` and its route are gone): drag/drop/change handlers, `fetch` (awaited inside the handler) per file, one row each, count line.
  215. Gate (tests/browser.mjs, multi section): 3 dropped = 3 rows, all Uploaded, "3 uploaded", 2 chosen add 2, no script served, no overflow at 390 px.
  216. GAPS: (1) real progress percent is impossible: an `XMLHttpRequest` `onprogress`/`onload` callback (or an `emit` from it) runs but the
  217. page does not take the state it writes (only handler code that finished normally renders), and `new Promise` inside a handler breaks it;
  218. so the bar is 0 → 100. (2) the `uploaded` / `uploadsdone` events for the Markdown editor are gone (hybriel#87).
  219. Note: another worker is reworking file-upload (ticket #4) in the same folder; its gate section may fail until it is done.
  220. ## 2026-09-25 — ticket #4: file upload (one file)
  221. Built `components/file-upload/` (component, script, demo + demo list script, README): drop zone + "Choose a file"; the file is
  222. POSTed (XHR, for real progress) to the component's `data-url` as `?name=<file name>` with the bytes as body; shows name, size,
  223. progress bar, "Uploaded"/"Failed (…)"; fires `uploaded` / `uploadfailed`. The app decides where it is stored: the demo's receiver
  224. (`/file-upload/receive`, project.hl) keeps only name and size (last 20, in memory) because hl:fs cannot write raw bytes yet.
  225. Gate: 40 passed, 0 failed (drop with name/size/100%, demo list, chosen file, no console errors, no overflow at 390 px).
  226. Not deployed; not tested: Firefox, big files, an app that really stores bytes. One per page; one file at a time.
  227. ## 2026-09-25 — ticket #3: date range picker
  228. Built `components/range-picker/` (component, demo, bridge script, README) on the month view, like the date picker: one field
  229. "YYYY-MM-DD – YYYY-MM-DD"; first click = start, second = end (earlier second click swaps), start/end marked, days between
  230. highlighted. Gate: 32 passed, 0 failed (incl. swap, between = 9 days, typed range, impossible range invalid, no console errors).
  231. Not deployed; not tested: Firefox, a real form post. One per page, not together with the date picker (shared month view state).
  232. ## 2026-09-25 — ticket #2: date picker
  233. Built `components/date-picker/` (component, demo, bridge script, README) on the month view; the month view got a hidden
  234. `#month-view-goto` input (jump to a "YYYY-MM-DD" month). Gate: 21 passed, 0 failed (closed at first, click opens, picked
  235. day = YYYY-MM-DD in the field and the month closes, typed 2028-02-29 opens February and marks it, impossible date marks
  236. the field invalid, no console errors, no overflow at 390 px). Not deployed; not tested: Firefox, a real form post.
  237. - The popup opens with CSS `:focus-within` (no class/`if`: hl:web re-renders reset them). A `<label>` around the picker
  238. refocuses the field on every click in the month — do not wrap it.
  239. - Data out still goes through the script (the month view's `emit` does not reach the host, hybriel#87). One per page.
  240. ## 2026-09-25 — ticket #1: month view
  241. Built: the app (Hybriel/hl:web, Docker, deploy.sh, gate) and the month view component (`components/month-view/`).
  242. - Verified: `node tests/browser.mjs` → 12 passed, 0 failed (server render of 42 days; today marked by the browser's date;
  243. next/prev; February 2028 has 29 days and starts on a Tuesday; December 2027 starts on a Wednesday; no console
  244. errors; no overflow at 390 px). `./deploy.sh --dry-run --target <local dir>` passes the gate.
  245. - Not deployed (architect). Not tested: a real Byrodin container, Firefox.
  246. - The first render is the server's UTC date and English names; the browser then sets its own today and language
  247. (`month-view.js` → hidden input). Between the two a moment of English names is possible.
  248. ## Hybriel findings (reported)
  249. - A nested `for` (rows → days) is not re-rendered when the outer list is reassigned: only the title changed; a flat
  250. list of 42 days works. So the component uses a flat list.
  251. - `emit` from a composed component's handler did not reach a handler of the same name in the host page; a host cannot read
  252. a composed member without redeclaring it (which overrides the child's value). So the month view has no data out yet.
  253. ## 2026-09-25 — ticket #6: pagination
  254. Built `components/pagination/` (component, demo, README): `Previous 1 … 44 45 46 … 89 Next`, no script, `Pagination { pages = 89 }`.
  255. Home entry, `/pagination` demo and README route, styles added. Gate extended (page 1, 4, middle, last, Previous, a click on … does nothing).
  256. No data out yet (hybriel#87). Not tested: Firefox. Hyphenated attributes (`aria-*`, `data-*`) do not compile / render literally in hl:web, so
  257. no ARIA attributes on the buttons.
  258. ## 2026-09-26 — ticket #8 fix: typed Markdown shortcuts are consumed
  259. `# `, `- `, `1. ` typed at the start of a paragraph, an (emptied) heading or a list item now drop the marker (no more `# # Heading`,
  260. `- - two`); a marker of the other list kind switches the list. Emptied surface gets a plain `<p>` (no nested paragraphs).
  261. Gate: 8 new checks typing character by character with real keys (126 passed; the one failure, "today is marked", is a
  262. local-vs-UTC date mismatch around midnight, not the editor). Not deployed.
  263. ## 2026-10-20 — worker Q2: mission 010 (md-editor look) — branch w10-mdeditor-look, NOT merged
  264. - Root class md-empty, rows honoured, phone toolbar one row/44 px; gate 360/0. Report reports/010-mdeditor-look.md.
  265. - 011 w11-mdeditor-keys: DONE on branch (not merged/pushed): gate 480/0, lisbeth 390+1280 60/0 each, background-tab fix; Atlas re-syncs the carriers (tickets, notes, layouts). reports/011
  266. ## MC (2026-10-23) mobile-first audit — branch mc-mobile, not merged
  267. Done: 44 px targets everywhere, header brand-only on phones, page-language month/weekday names (English default), UTC weekday fix, comments "You are" group. Gate 555/0 ×3. Open: sync into layouts/calendar/tickets/tracker copies (reports/MC-mobile.md).
  268. ## 2026-11-01 — CS23b component Style formatting — deployed and verified
  269. Atlas approved c71a0ab; 84e3dda removes the final pagination Style blank line. Deployed through deploy-init with boot rc=0, gate 613 passed/0 failed, deploy rc=0, and a drained standby swap. Backup confirmed in /media/STORAGE/deploy-backups. Public monitor: 362×200, 0×5xx. Live comments/range-picker/modal/pagination at 390 and 1280: all eight AE 0; CSS byte-identical to reviewed. Worker helpers/test browsers are stopped; his tab is untouched. Report: reports/CS23b-components-style-form.md.
  270. VL24: Deployed e5b98ec after Atlas approval. Deploy gates 613/0 and 26/0; 379 HTTP 200 and zero 5xx during handover; live virtual-list at 390 and 1280 passed scroll/pick checks with AE 0. main and origin/main synchronized.
  271. MP25: Native-loop options implemented on branch mp25, not deployed. Browser gate 623/2; virtual-list 26/0. Repeat-one video/audio passes. Two existing last-item reload checks fail on old and new code; see reports/MP25-media-player-options.md.
  272. MP25 approved continuation: Browser gate 623/0 and virtual-list 26/0. The two known last-item checks are in tests/mp-last-item.mjs for components#26 and excluded from GATES. Atlas authorized normal deployment.
  273. IC28: adfe2c4 on worker/IC28 is awaiting Atlas screenshot/diff review. Icons and demo are ready; IC28 6/0, existing-icon AE 0, virtual-list 26/0, browser 627/2 (MD1 timing and offline reload). Not deployed or pushed. Report: reports/IC28-icons-shuffle-repeat.md.
  274. IC28 continuation: Atlas approved the icon design. Deployment STOPPED: changed-tree rerun 627/2 (MP mute-state and offline reload), unchanged c96709c baseline 623/0. No merge/deploy/push. Await Atlas follow-up; reports/IC28-icons-shuffle-repeat.md.
  275. IC28 DEPLOYED: 46fefaa after Atlas approval; offline expectation corrected to 13 home entries. Deploy gates 629/0 and 26/0, boot/deploy rc=0, monitor 382×200 and 0×5xx; live /icons at 390 and 1280 passed. Earlier IC28 blocks above are resolved. reports/IC28-icons-shuffle-repeat.md.
  276. MP26b (2026-11-04): day41 vendored. components#26 fixed by hybriel#303: the two last-item checks pass and now run in tests/browser.mjs (631/0). media-player `repeatOne` is a plain Boolean (loop attribute, #302).
  277. B44A (2026-11-06): Day44 vendor ca3b495 and media-player detached-event guard are on b44a, not deployed. The kind-change reproduction improved from 11/30 failures to 0/30; demo option rows have an 8 px gap. Virtual-list 26/0. The browser gate reported MD1 timing [4,7,9999,10,3], so deployment is withheld. Report: /media/STORAGE/claude-scratch/atlas/B44A/REPORT.md.
  278. B44A approved rerun: browser 633 passed, 0 failed (MD1 passed); virtual-list 26/0. Deployment is authorized; the final deployment and live proof are recorded in /media/STORAGE/claude-scratch/atlas/B44A/REPORT.md.
  279. B44A DEPLOYED: source 06c1e02; browser rerun and deploy browser 633/0, virtual-list 26/0, boot/deploy rc=0. Standby 1/5 through 5/5 in 65 s. Monitor 605 HTTP 200, zero 5xx/000. Live day44 SHA 4f0f263e and /media-player 200; kind-change checks and full-page AE 0 at 390/800/1280. All owned processes stopped. Report reports/B44-backlog-day44.md.
  280. 2026-11-06 AP29: First-load and click-mounted autoplay pass 10/10 per scenario on guarded and pre-guard revisions. Component unchanged; replacement repro 0/30, browser 643/0, virtual-list 26/0. Committed on ap29; stopped at request cap before main integration/deploy/push. Report reports/AP29-autoplay.md.

Branches

Latest commits

  • 337ca075MD1 gate check measures frames in the page, not milliseconds from outside, and takes the middle load (components#30)mre
  • f5f131c5Record AP29 autoplay comparisons and passing gatesmre
  • 51c38187Gate media autoplay on first load and after client mountmre
  • a3f2223dRecord successful B44 deployment and live proofmre
  • 06c1e021Record passing B44 browser rerunmre
  • c9861533Record B44 component proof and browser gate blockermre
  • 1b7413beIgnore detached media events and space demo option outputsmre
  • ca3b4959Re-vendor complete Hybriel plugins and runtime to day44mre
  • df9e7df9Last-item checks run in the browser gate (components#26 fixed on day41); media-player loop is a plain Booleanmre
  • 895a5afcRe-vendor complete Hybriel plugins and runtime to day41mre
  • 16006bb3Backup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 88397fc3Re-vendor complete Hybriel plugins and runtime to day39mre
  • 9b872cedRecord IC28 deployment and live icon verificationmre
  • 46fefaa7Count the icons entry in the offline home-page checkmre
  • c7e14cabRecord IC28 rerun and unchanged-main baseline comparisonmre
  • 5e090ffdRecord IC28 review evidence and gate resultsmre
  • adfe2c4dAdd shuffle, repeat and repeatOne shared iconsmre
  • c96709c8media-player: skip = false and repeat = 'one' options (jukebox#19)mre
  • bd4aa808Record VL24 deployment and live verificationmre
  • e5b98ecfRun virtual-list gate before deploymentmre