gitoriaLog in with ident

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit1ca2f34d1ca2f34dantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre1ca2f34d/STATUS.md

6.8 KB

  1. # STATUS — notes.worldapi.org
  2. ## 2026-10-01 — mission 048: re-vendored Hybriel master ff51cf46 — NOT deployed
  3. `bin/hybriel` (sha256 e70631f0…eff3471b, ReleaseFast from read-only `git archive master`) + `plugins/` (same 11 packages)
  4. = master ff51cf46 (#113, #115/#116, #118, client SVG namespace, hl:markdown #111); old copy (e6720b1f) in `.scratch/pre-048/`.
  5. No app change. Gate `NOTES_GATE_PORT=8732 NOTES_GATE_IDENT_PORT=8733 NOTES_GATE_CHROME=8734-8739 node tests/browser.mjs`
  6. → **50 passed, 0 failed**. Duplicate @id check (#113) on a copy of the LIVE storage (deleted after): users 1 row / 0 dup,
  7. notes 40 rows / 40 distinct / 0 dup (records = 4-byte LE total length incl. prefix + msgpack map with `id`; `<t>.id.txt` =
  8. `id,offset,len`). Workarounds: none for #115/#116/#118 in notes (module `static`s in notes.hl/users.hl are plain module
  9. members, not workarounds; the hand sort for hybriel#1 stays). SVG: no Hybriel-built SVG in the browser (md-editor.js toolbar
  10. icons are plain-JS innerHTML) → no namespace check added. `tests/short-id-switch.mjs` not run (fixed ports 8720/8721).
  11. ## 2026-10-01 — mission 046: installable app (PWA) + own icons — built, NOT deployed
  12. `project.hl`: `appThemeColor` = token `darker` (the header, rgb(15, 20, 25); rule changed from the accent mid-mission), `appBackgroundColor` = `dark`, `appIcons` (192/512,
  13. any + maskable), `appTouchIcon`, `appFavicon`; file routes for `icons/*` and a real `/favicon.ico` (was `direct ""`).
  14. hl:web serves `/__hl/manifest.webmanifest` and links it + apple-touch-icon + theme-color from every head.
  15. **No `offline = [...]`** on purpose: it would make hl:web register `/__hl/sw.js` for scope `/` over notes' own `/sw.js`
  16. (same scope, one replaces the other). Offline stays notes' own (sw.js + notes-offline.js, notes#2) until notes#4.
  17. Icon: a note page (folded corner, text lines) with a pencil writing the last line; `icons/icon.svg` source, PNGs via
  18. rsvg-convert (README "PWA"). Images looked at: Loreana `/tmp/w046-notes/` (icon-48/192/512, sheet.png, maskable-preview,
  19. gate-pwa-phone-offline.png). Gate: `NOTES_GATE_PORT=8720 NOTES_GATE_IDENT_PORT=8721 NOTES_GATE_CHROME=8722-8726 node
  20. tests/browser.mjs` → **50 passed, 0 failed** (42 old + 8 new: head links, manifest, icons, Chrome manifest/installability,
  21. one worker = /sw.js, offline reload of `/` shows the shell). Signed out there is no worker (notes-offline.js only
  22. registers it when signed in) — unchanged behaviour.
  23. ## 2026-09-26 — mission 039: ident#23 short ids — switch tool + gate, NOT deployed
  24. `users.hl`: the exchange answer is checked with the new `isIdentId` (lower-case letters/digits, 1–64) instead of
  25. `isHex(…, 64)`, which refused ident#23's short ids (`a68sz`) — without it nobody could log in after the switch (shown on
  26. tickets, whose code mission 039 could not change). New `tools/migrate-short-ids.hl` (users.identity old → short id via
  27. ident `POST /api/migrate-ids`, idempotent, never `finish`, prints `users seen / mapped / already short / unmapped /
  28. conflicts / failed`, key/secret from env only; non-zero exit on refusal/failed write/conflict). New gate
  29. `node tests/short-id-switch.mjs` (ports 8720/8721; old ident `ident.worldapi.org/.scratch/pre-023-ident` → data → copies →
  30. new ident → control copy = NEW empty user → tool twice → same user + same data, old session too): **18 passed, 0 failed**.
  31. `tests/browser.mjs` (ident#23 in the folder, ports 8730-8739): 42 passed, 0 failed. Docker proof of the runbook command
  32. (fake .env, copy): `.scratch/m039-docker-proof.sh`.
  33. Runbook (architect, one go for all four apps): Loreana `antcolony-docs/docs/short-id-switch.md`. Deploy this code BEFORE
  34. ident#23 (accepts old ids too). Not deployed.
  35. ## 2026-09-26 — mission 037: re-vendored Hybriel master e6720b1f
  36. `bin/hybriel` + `plugins/` = hybriel master e6720b1f (includes #103/#104, #105 f15a2f7f, #106, #94 c12065d8); old copy
  37. (13ef4f9b) in `.scratch/pre-037/`. No local patch, no app change. Gate `node tests/browser.mjs`: 42 passed, 0 failed.
  38. Dev server (`~/scratch-037/hashcheck.sh notes.worldapi.org NOTES /`, port 8720): `hl-runtime.js`, `web/client.js`, `app.css`
  39. all `?v=39f4c3bb5bd56621` (immutable), bare app.css no-cache, 0 unhashed refs. Not deployed.
  40. ## 2026-09-25 — mission 035: re-vendored Hybriel master 13ef4f9b
  41. `bin/hybriel` + `plugins/` from hybriel master 13ef4f9b (old copy `.scratch/pre-035/`). No local patch existed.
  42. Gate (`NOTES_GATE_PORT=8720 NOTES_GATE_IDENT_PORT=8721 NOTES_GATE_CHROME=8722-8729 node tests/browser.mjs`): 42 passed,
  43. 0 failed before, on 9d608332 (2 runs) and on 13ef4f9b. Dev server: `/__hl/app.css?v=<hash>`, `hl-runtime.js?v=`,
  44. `web/client.js?v=` (immutable); bare `/__hl/app.css` → no-cache. sw.js caches by full URL, so `?v=` needs no change.
  45. Not deployed (architect).
  46. ## Ticket notes#1 — notes with a sidebar and the Markdown editor (2026-09-25) — built, not deployed
  47. Built: ident login (button + selector), sidebar by subject / last edited first, note on the right in `<md-editor>`,
  48. New note, Delete note (with a question), live sidebar across tabs, phone layout (list, then note), storage in
  49. `storage/mpackdb/`. `node tests/browser.mjs`: 33 checks green (own ident copy, real Chrome, 390 and 1280 px
  50. screenshots in `.scratch/gate-*.png`) — login, create, heading via "# ", edit moves to top, second tab follows,
  51. reload and server restart keep everything, another user sees nothing and cannot save/delete, size limit,
  52. delete with "Keep", phone and desktop layout, logout. `./deploy.sh --dry-run --skip-tests --target <dir>` shows a
  53. clean file list (no storage, no `.env`).
  54. Not done / next: the first deploy is the architect's (README "First deploy"). Not built because the concept does not ask: JSON / Markdown API, search,
  55. folders, display names.
  56. ## Ticket notes#2 — notes offline, synced when back online (2026-09-25) — built, not deployed
  57. Built: the notes area is now client-side (`notes-offline.js`): IndexedDB copy per user, edits written there first, sent
  58. to `/api/notes`, pulled every 10 s / on online / on tab focus; `sw.js` keeps the page so a reload works offline; a note
  59. made offline gets its server id at the first push; conflicts: later edit wins, the other version is kept as a copy;
  60. deletes are tombstones; log out sends the unsent and wipes the browser copy. The old hl faces for save/create/delete
  61. and the `notesChanged` push are gone (old components in `.scratch/old/`). `node tests/browser.mjs`: 42 checks green —
  62. real Chrome, the server really stopped for "offline" (reload, edit, new note offline; back online → server and second
  63. device; two devices editing one note → copy; delete; other user; phone/desktop; log out wipes).
  64. Not done: the service worker needs https (worldapi.org has it); no update-available prompt; Back button does not step
  65. through notes (replaceState); a note is compared by its edit time from the device's clock (large clock skew can make
  66. the "wrong" version the copy — nothing is lost).

Branches

Latest commits

  • 1ca2f34dantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
  • 2bebebdanotes: Hybriel master ff51cf46 (re-vendor round)mre
  • 3eff126dnotes#3: installable app (manifest + own icon/favicon; notes' own sw.js kept)mre
  • 9883c540deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
  • eee693b8deploy.sh: never send .git or .gitignore to Byrodinmre
  • c8904061State of 2026-09-27, before the move to gitoriamre