layouts
All repositories: gitoria
3.5 KB
# layouts mission 004 — re-vendor Hybriel to the shared static build 0f396652 — gates green, NOT deployed, NOT merged (branch wv)- Vendor: /media/STORAGE/claude-scratch/vendor-0f396652 (bin/ + plugins/ copied whole; 11 plugins, new: fetch, mpackdb). bin/hybriel sha25660fa02f341ffa799b41a3dbd26d76057169f786e20dae0f98bb2ca3c46c39080 (was 38b34baf…697d1fe7 = c5b8b2e2); statically linked. bin/ is git-ignored (rsync);the commit holds plugins/.- Changes beyond the vendor: docker-compose.yml (named volume `hybriel-cache` at /root/.hybriel, HL_CACHE_DIR=/root/.hybriel/cache, tmpfs /tmp:exec; init wasalready there); tests/browser.mjs + tests/same-output.mjs server wait 30 s → 120 s (i > 480 × 250 ms); same-output.mjs ports from env(SAME_OUTPUT_PORT, SAME_OUTPUT_CHROME; defaults unchanged) so it runs in a worker's port slot; README line on the vendored build. No app code, no JS written(the .mjs are gates; /probe in my scratch is a throwaway diagnosis).- Gates (each tree its own HL_CACHE_DIR = cold start, ports 8720–8730; two gates at once, both came up well inside 120 s):| gate | OLD (1376e90, c5b8b2e2) | NEW (0f396652) || node tests/browser.mjs | 76 passed, 0 failed (twice) | 76 passed, 0 failed (twice) || node theme/check-theme.mjs . | 0 problems (35 files) | 0 problems || python3 tests/letcount.py . | never reassigned 0 | 0 || tools/sync-components.sh --check | verbatim, 17 files = a567b57 | same |deploy.sh GATES = check-theme + browser.mjs only. A gate that can fail: the gate already carries its own negative fixtures (check-theme radius/colourfixtures); not changed here.- Real data: NONE EXISTS. /media/STORAGE/deploy-backups/layouts.worldapi.org/ is an empty directory (the app has no storage, no sessions, no .env: sessionDir = false).Substitute: tests/same-output.mjs on code-only copies of OLD and NEW (crawl of every answer + hydrated DOM of 34 pages × 390/1280 + file-upload and md-editordrops): old http 144 / dom 71, new http 145 / dom 71. compare: 102 same, 74 different, 0 of them DOM. All 71 DOM files identical (incl. the two drops).The 74: (a) every compiled browser module (components/*.hl, theme/shell/*.hl, hl-runtime.js, web client.js: new compiler emits the site table / renumberedhelper imports, e.g. `hlSites`, `argCopy`; same-output-modules.py lists them as "component code differs" — compiler output, expected); (b) every HTML pagediffers only in the seed's `routes` list (now `{"kind":"function","pattern":…}` entries instead of `{"component":true…}`, as in tickets 015); (c) ONE newanswer: GET /__hl/up → 204 text/html no-store (new hl:web route). No other answer differs (checked: after masking the routes entries the page diffs are empty).- Screenshots (19 gate shots, 390/1280): old run1 = old run2 byte for byte; new equals old in 18 of 19. `gate-390-content-first.png` differs in a 4 px strip at theright edge (x 386–389, y 0–235; 944 px; brightness differs run to run on NEW: 50 vs 44 over a 25 backdrop). 236 px = the height of the phone overlay scrollbarthumb (844 × 844/3003); probe (scratch/probe/p.mjs, /elements at 390): same layout old/new, no sideways scroll, same scrollWidth 390, same element at theedge. So it is the fading overlay scrollbar caught at a different moment, not content. I analysed the PNGs by pixel diff, I cannot view images in thisenvironment — I did not eyeball them.- Not done: no container run (no Docker image build here; static binary on debian:12-slim as for notes/tickets/gitoria).- Hybriel gaps: none hit. Nothing failed. Nothing left running (ss checked; 8731 is not mine).
Branches
Latest commits
- 2dbe0df5Re-vendor Hybriel to the shared static build 0f396652 (plugins; bin/ is git-ignored), compose cache volume + tmpfs /tmp, gate wait 120 s, report 004mre
- 0adc551emission brief 004mre
- 1376e905deploy.sh: wait up to DEPLOY_URL_WAIT (120 s) for 200 after the restart, as the other apps (cold compile, hybriel#148)mre
- c0fdbf6cdocker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
- ecf70665usage: layouts on components a567b57mre
- 315731efcomponents re-synced to components.hybriel a567b57 (md-editor tables)mre
- b59e2ee9docs/usage.md + tools/usage.sh: which app carries which component/theme/tokens copy, and whether it matches the sourcemre
- 0222f67ctheme: two corner radii only (radiusSmall 5px, radiusLarge 10px); check-theme flags any other radius; gate 76/0mre
- 877b63acdesign rules: two radii only (5px small, 10px large)mre
- 635234dfcomponents re-synced to components.hybriel 5a98d77 (#15 black/white base look); gate 73/0, check-theme 0, screenshots unchangedmre
- 876b2064docs: workaround note for hybriel#130 (slot marker mid-line)mre
- 85b56541layouts mission 002 3/3: same-output tests, letcount, shots ports, docs, reportmre
- 0f325d3blayouts mission 002 2/3: code rules — styles.hl -> components/styles.hl, the one never-reassigned let dropped; gate 73/0, same outputmre
- a3e74c8alayouts mission 002 1/3: components re-copied byte-verbatim from components.hybriel 3f93d71 by tools/sync-components.sh (+ --check, components/SOURCE); gate 73/0, check-theme 0mre
- 80ce6ba9report 001 (mission 075)mre
- 5c6e338flayouts.worldapi.org in Hybriel: WorldAPI theme (tokens, borderless elements, themed components.hybriel components), shells (header, main/user menu, sidebar overlay, content-first, list-first, three-pane), showcase, check-theme helper; gate 73/0 (mission 075)mre