notes
All repositories: gitoria
1.5 KB
# Mission 002 — notes.worldapi.org: code order cleanup (no behaviour change)Rules: /CONTAINERS/projects/antcolony/docs/code-order.md on Byrodin (the creator's own wording — read it fully). Lessonsfrom the apps done first: loreana tickets.worldapi.org/reports/010-code-order.md, gitoria.worldapi.org/reports/002-code-order.md, tracker.worldapi.org/reports/028-code-order.md (pass request/session by & through extra calls; loop-bodylets stay until hybriel#128; same-output comparison scripts you can copy).Repo loreana:/media/STORAGE/projects/notes.worldapi.org (main at HEAD, deployed). Kill by PID only, never read .env; git: commit onmain only, never push. Ports 8760–8769 (8765/8766 foreign — skip) only.1. Baseline on a real-data copy (signed in as az5b2 and signed out): /, a note page, sync API pulls + one save — saved for diffing; counts (root .hl,project.hl lines, let total / never reassigned).2. One lib/ file per topic with its central logic; noise + cross-topic helpers to lib/util.hl (or lib/<topic>-helpers.hl);API/faces/page handlers = thin wrappers; project.hl = map (config, routes, index comment). let only where reassigned.No new concepts, no layers.3. All gates green (browser + short-id-switch); outputs identical to the baseline. README (file map) + STATUS + LOG. Small commits.## Report — loreana …/notes.worldapi.org/reports/002-code-order.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-code-order-notes.md)Before/after counts, file map, gates, diff result, commits, open points. Foreground only, never wait for notifications.
Branches
Latest commits
- 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
- 84b574c4notes mission 015: re-vendor plugins from hybriel f9614007 (incl. web, #117)mre
- 447da53dnotes mission 014: report — remaining gates and lisbeth E2E proofmre
- fd9f92c3notes mission 014: report (partial), LOG, STATUSmre
- b2501360notes mission 014: open() sets asking=false before flush(0) (hybriel#196)mre
- 9414ce59notes mission 014: merge theme 76f99f6, components 3794c59, strict single-press openAsk (fails on old open())mre
- c08c655anotes 013: theme re-copied from layouts 76f99f6 (menu marks the current page), current = true on the menu item, e2e marker checks, reportmre
- 21c8f65dnotes mission 012: STATUSmre
- 0bbb3dd9notes mission 012: delete section of the browser gate de-flaked (openAsk: calm wait, press again when the question closes by itself); report 012mre
- f431bdf8notes mission 011: notes on the layouts theme (ListFirst shell), styles cut, check-theme gate, E2E extended; reportmre
- 1a8603d1notes mission 011 WIP: deploy.sh gate summary also matches check-theme, browser.mjs logout via the user menumre
- dae2e508notes mission 011 WIP: theme dbe3de7, shell on AppHeader/MainMenu/UserMenu/Sidebar + ListFirst, styles cut to the app's own, check-theme gate, e2e auditmre
- fd36da27notes mission 010: the note editor is the Hybriel MdEditor block (components.hybriel 1442e58, verbatim); md-editor.js, its route, script tag and offlineFiles retired; gate 66/0, realdata-offline 12/0, round-trip and Chrome E2E tests; report 010mre
- efa92170notes tests/identkit.mjs: refuse a taken ident port, cold-wait deadline, emit, identities; mission 009 reportmre