gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit477d7bdc477d7bdcMerge branch 'p50'mre477d7bdc/missions/W30b-org-list.md

2.0 KB

  1. # W30b — org list without hand loop (follow-up of gitoria#30)
  2. Task line (ticket #30 title, Atlas audit 2026-10-26): "Lists are rebuilt by hand in handlers instead of keyed records with upsert and remove".
  3. #30 is done and live; its worker left one hand loop: components/list.hl line ~138 `for (x of orgs) { if (x.slug != r.org.slug) { next.push(x) } }` (createOrgIt's orgs list; reports/W30-REPORT.md says orgs have no id). Line ~156 `repos = [row, for (x of repos) { x }]` — check whether that is the documented whole-list form or can be `[row].concat(repos)` (Arachne 2026-11-08: shorter equivalent; check that rows keep their DOM nodes if switched).
  4. Read first, fully: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md; /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md; /media/STORAGE/projects/hybriel/docs/CODE-ORDER.md; COMPONENTS.md section "List rendering" (rowKey paragraph); SPEC.md "Looking records up by the `@` property: `upsert` and `remove`". reports/W30-REPORT.md shows the shape used for the other lists. Copy a working shape from the docs; a gap → DOCS line in the report.
  5. ## Work (git worktree `../gitoria-W30b`, branch w30b from main; copy main's bin/ (day52, not in git); never edit LOG.md/STATUS.md; ports 8720-8739 only, `ss -ltn` first, port 8700 taken: GITORIA_GATE_* variables as in reports/V52-REPORT.md)
  6. 1. Give org rows their @ key (the org's slug or id: what identifies an org server-side; check the server data). Replace the hand loop with upsert / one-arg remove / whole-list write newest first, as the docs say.
  7. 2. Extend tests/browser.mjs: creating an org puts it where the list order says, existing org row nodes are kept, a second visit shows the same order.
  8. 3. Gates (LC_ALL=C): `node theme/check-theme.mjs .`, `node tests/browser.mjs`, every gate in deploy.sh's GATES list, all 0 failed.
  9. 4. Commit on branch w30b (subject without "#N"). Do NOT merge, push or deploy.
  10. ## Report
  11. reports/W30b-REPORT.md (≤15 lines): old → new shape, @ key, checks added, gate numbers, DOCS lines. Then stop. Budget ~40 requests.

Branches

Latest commits

  • 477d7bdcMerge branch 'p50'mre
  • 00efc06fP50 reportmre
  • e3f85afblog: commit mention slipmre
  • 4d1a4cf4log: #25 numbersmre
  • 1af0a60ddocs: H25 run() correctionmre
  • eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre
  • 8c8ba2f1log: PR flow announcedmre
  • fa00cd35log: Kunibert pings provenmre
  • 3a68cfaclog: components decisionmre
  • 87de8e31log: Kunibert connected to 9 app reposmre
  • c22aff69log: PR-only rollout startedmre
  • 25309981log: STOP and paused workers 2026-11-08mre
  • 5286803alog: worker briefs and reports of 2026-11-08mre
  • 85c86605log: 2026-11-08 Arachne on list shapemre
  • cb634512log: 2026-11-08 keyed lists livemre
  • 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
  • 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
  • b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
  • 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
  • f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre