notes
All repositories: gitoria
2.3 KB
# notes mission 008 — re-vendor Hybriel 97bcf128 and run the gates (notes#4, offline / pure Hybriel)Worker K2, notes mission 008 (notes.worldapi.org ticket #4, offline / pure Hybriel): re-vendor notes branch w7 to Hybriel 97bcf128 and run the gates. hybriel#170 (the hl:web gap notes#4 waited for) is fixed there; Arachne (hl:web conductor) verified 97bcf128 green on all 11 Hybriel gates.Worktree: /media/STORAGE/claude-scratch/atlas/notes-w7/wt (branch w7, HEAD eeaea98). Read first: reports/007-offline-pure-hybriel-2.md (what waited on #170, notes gate 62/2 before) and reports/006-revendor-0f396652.md (HOW the shared vendor was built and how notes was re-vendored — follow that method).1. Build the vendor ONCE into /media/STORAGE/claude-scratch/vendor-97bcf128/ from `git -C /media/STORAGE/projects/hybriel archive 97bcf128` (read-only; never touch that checkout), same way as vendor-0f396652. Prove static link (ldd) and that it runs in the worldapi-hybriel-runtime:debian12 container image (build + run locally on a port in your slot, then remove the container). Write vendor-97bcf128/README.txt (sha256 per file, build cmd, ldd output).2. Re-vendor w7 from it (keep docker-compose: cache volume, tmpfs, init; keep the local XSS patch in plugins/webex/WebFramework.hl if still needed — check whether upstream already has it). Re-vendored apps compile at start (cold ~20 s) — wait before checks.3. Gates: tests/browser.mjs old (current w7 bin) vs new; the 2 failing checks from report 007 should now pass. Any other gate the app has. Cold start time. Same-output real-data run on a COPY of the newest notes backup (newest dir for notes under /media/STORAGE/deploy-backups/; copy storage/ into scratch, never open originals — opening an mpackdb table rewrites it) per the mission-004 method. MOBILE FIRST: offline pages at 390 px measured in the DOM (no element wider than 390, taps ≥ 44 px); no PNG viewing.Save this brief as missions/008-revendor-97bcf128.md. Commit. Report reports/008-revendor-97bcf128.md (gate numbers old/new, start time, commit, what is left) + LOG/STATUS lines.Rules: ports 8740–8759 only. NO hand-written JavaScript (tests/ excepted): at a Hybriel gap STOP, write a minimal repro into /media/STORAGE/claude-scratch/atlas/notes-w7/probe and report it. Commit messages: NO attribution line. No deploy, no push, no .env, no live session. Kill only own PIDs; at the end nothing of yours listens.
Branches
Latest commits
- 90c73ed3notes mobile: back link gapmre
- 72bd4f83notes mobile: list header on the gutter, delete confirmation as a question + two equal buttons, Delete note under the editor edgemre
- ba1e73f8notes: a sent edit is done once the server's version is not older, so a second writer's text shows in the first tab; gate: two writers both waysmre
- c69ef9ebsync components.hybriel 134b4e3: MdEditor builds an editor put into the page at once, redraws a surface put in anew (F5, hybriel#211)mre
- 2eb783f5sync components 9a: shared Icon (icons/icons.hl), md-editor toolbar icons + single focus ring (components f4-icons ba96735)mre
- 4dd46dadsync-components: copy icons/icons.hl + README (F4); testsmre
- c92e4a0ftests/e2e-outside.mjs: real-Chrome E2E, a note pushed from another device while open, then typingmre
- 0516b4ccmd-editor.hl: verbatim copy of components f3-mdvalue (an older text handed back is kept)mre
- 38cc11ecmd-editor.hl: verbatim copy of components f3-mdvalue (an outside value change is shown by the editor)mre
- 3e7e79f5reports/H1-hydrate.mdmre
- d98775e8tests/browser.mjs: wait for hydration before the clicks after a goto('/') (tables new note, phone sidebar)mre
- 1f3198b6tests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
- 39cf9fdfre-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
- db07aa84tests: short-id-switch ports from env (NOTES_SWITCH_IDENT_PORT/_PORT), defaults unchangedmre
- ef9f9feere-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
- 5485467cdocker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
- 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