notes
All repositories: gitoria
4.4 KB
# Report 015 — re-vendor f9614007 + route marker (#197) — worker J6, branch w15-revendor-197 (NOT merged/deployed)## Vendor (bin/ is git-ignored; from hybriel native/zig-out, static build 18:48 = f9614007)- bin/hybriel 9d957fed77d0bd7f0bfeb3b90beb358b524d24d555f63578d3340ecd63706b65 (was 60fa02f3…)- bin/libhlrt.a 868266c424b96cb71fb937ef8d97c601164bf5e0b4fc422e589a44fb1944babb (was 2ec0ac28…)- bin/hlc.o cf4fb7d3e37f7aa59b9124aa1bd1a97fb929688870ee5c7ae1c718621793f65d (was 37457b8d…); bin/hlrt/ replaced.- plugins/ (core crypto data fetch fs http http1 mpackdb proc time web — the same 11 dirs) replaced whole from hybriel; identical to f9614007 for these dirs (master only moved in plugins/markdown since).## Gates (ports 8740–8751; old = main 447da53 + old bin in wt-old, new = branch; own HL_CACHE_DIR; logs J6/wt/logs)| gate | old | new || browser.mjs | 66/0 (old-browser.log, run at 8750–8759, before the narrower port range arrived) | 66/0 (new-browser2.log; `grep TypeError` 0). Run 1: 41/1 "B follows the delete" timeout (rerun once → 66/0) || realdata-offline (backup 0132) | 12/0 | 12/0 || e2e-roundtrip (28 notes) | 5/0 | 5/0 || check-theme | — | 21 files, 0 problems |Final tree (with 3 new server-HTML checks): browser 69/0 three times (final1–3.log). The "B follows the delete" timeout appeared again once in the experiment run without current = true (see below); 2 of ~8 new-tree runs, 0 of 1 old run — an open point (machine overloaded; passes on rerun; not reproduced in the 3 final runs).## Route marker (#197) — `current = true` STAYStheme/shell/main-menu.hl re-copied verbatim from layouts 0bcc629. The route marks an item with href '/' only on the page '/' itself (by design: '/' is not "above" other pages). Experiment, `current = true` removed: server HTML of '/' marked; '/note/abc123def456' and '/login/failed' NOT marked (`class="" aria-current="false"`). components/main.hl keeps `current = true` with a comment saying so. New gate checks (tests/browser.mjs): plain fetch of /, /note/<id>, /login/failed → both menus (header + sidebar) carry aria-current="page" and class current in the server's HTML before any script. Shown to FAIL without current = true (nocurrent.log: 42 passed, 3 failed — the two non-'/' pages + the flake), pass with it.## E2E in lisbeth's Chrome (tests/e2e-chrome.mjs, flock -o, tunnels outside the lock, ONE about:blank tab, real keys/clicks, 390 then 1280)- NEW: **39 passed, 0 failed** (e2e-new5.log): list → note (editor has content) → typing heading/bold/list/table → save → reload → offline edit → online → server has it → delete question opens and stays → delete; user menu + Escape; sidebar; menu marks the page on list, on a note, and after a real click on the item (sidebar at 390, header at 1280). 390 audit: 0 taps < 44, no overflow.- Earlier new runs (e2e-new, new2–4) failed at different steps with the tab showing a signed-out page: cause = the shared Chrome's cookie jar. Cookies ignore ports, so another worker's app on 127.0.0.1 overwrote/lost `notessid`; fix: tests/e2e-chrome.mjs honours `E2E_HOST` (run with `E2E_HOST=localhost`, own jar; API calls stay on 127.0.0.1). With it the run is green. Not a code bug (the old tree failed the same way before the fix).- OLD (wt-old) with E2E_HOST=localhost: 2 runs, both crashed (once "no #sidebar main-menu a", once "menu item leads to the list", the tab showing a signed-out page) — inconclusive, the shared Chrome was busy with other workers (tabs of other apps open); not repeated. OLD with 127.0.0.1: 12/2 (first run).- Shots (atlas-evidence/J6/): new-{390,1280}-{1-list,1b-user-menu,1c-sidebar,1d-note,1e/1f-menu…,1g-menu-after-click,2-typed,3-reloaded,4-offline,5a-delete-ask,5-end,audit-*}.png; old-390-* partial. LOOKED AT: new-390-5a-delete-ask (note with heading, table, list, toolbar; "Delete this note for good? Delete / Keep" open below, nothing overflowing) and new-1280-1f-menu-on-note (list left, editor with the note, header "Notes" with the accent underline = marked on a note page).## CleanupMy two ssh -R tunnels killed; no server of mine left; ports 8740–8751 and 9223 (my -L) checked empty; data copies deleted by the tests; wt-old worktree kept for the merger to remove: `git worktree remove --force /media/STORAGE/claude-scratch/atlas/J6/wt-old`.## Deploy-ready: yes (code + vendor; not deployed). bin/ must be vendored on the target (git-ignored). Open point: the rare "B follows the delete" timeout.
Branches
Latest commits
- 3a8bc0d2N5: empty Table-button table is written as a real pipe table (MdEditor 4bd1112, plain copy); gate tests/table-button.mjs; reportmre
- c16bd443N5: step 1 report (tables pass locally; his DASHBOARD note has no delimiter row)mre
- 6091320anotes: MdEditor 7437e32 (surface drawn at once when the page is claimed); gate measures claim-to-text on 5 note loads at 1280 and 390mre
- 0aa9277enotes: move each component's styles into its own Style block (shell and header selector in main.hl, list, editor frame and delete question in notes.hl); styles.hl keeps the theme inherit, the accent and the message colour; .gitignore ignores a bin symlink too; tests/shots.mjs for the pixel comparemre
- 9ba01de3notes: write the standby service out in full so the boot gate can read the main servicemre
- 98cab40anotes: standby service on its port plus 10 and a deploy that hands over through it without a gapmre
- 1fadb473notes gate: the editor table now has 1 px cell lines from the notes thememre
- 8762115cnotes: take the components e54f83a (paste as Markdown, text typed before the editor is built is kept, Table button); table lines come from the notes thememre
- ac23e194ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
- 2804f0d3Merge branch 'iw-ident-widget'mre
- 52d8d242notes: e2e script checks Log out and the selector in the header instead of the user menumre
- e5abf7b7notes header: the selector alone top right plus Log out as before the theme missions; the user icon is gonemre
- a2e343aeident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
- 7a889b82notes: MdEditor with the Table button, typed pipe rows and the theme's table look (components mt-tables); a table note is named by its header words; gate checks that fail on mainmre
- b96c7f70theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 6140e6a0sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- cb7e6469deploy: security gate (tests/security.mjs)mre
- 774bf34bnotes security: CSRF guard on /api/notes, new session at login, Secure cookie, uploadMax 0, login rate limit, nosniff, face payload check; tests/security.mjs; SN reportmre
- ef18a68fsync components.hybriel 214c318: MdEditor on a phone, two even toolbar rows of 44 px targets, label 15 px, table head 16 px (E2)mre
- c37488b1MN report: alignment updatemre