gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9edcc2df9edcc2dflog: #58 live, HM57 startedmre9edcc2df/missions/HM53-dom-access.md

3.9 KB

  1. # HM53: tracker#53 components without direct DOM access
  2. Task (ticket tracker#53, Atlas's audit): "Framework way: the typed text is a member bound to the input (the handler gets the value from the event), and a dialog opens by a member write (for example a `signinOpen` flag the modal component reads) instead of a call on a found element. Anything that truly needs a DOM call and cannot be done by a member write should be a repro in .scratch/ for the framework team."
  3. Read the full ticket: https://tickets.worldapi.org/tracker.worldapi.org/53 (headers `Accept: text/markdown`, `user-agent: Tracker`; read only).
  4. Tracker's reading (unconfirmed): behaviour stays identical. Line numbers in the ticket are old; `grep -n 'getElementById\|activeElement\|textContent\|showModal' components/*.hl` gives today's list (franchiseedit 3, timelineedit 1, search 1, show 4, modal.hl). Inputs: bind to members. Sign-in dialog: opens by a member write, still the browser's real `<dialog>` modal (inert background, focus trap, Esc) as modal.hl describes; signed-in flows untouched. modal.hl's own internals (activeElement, textContent, the showModal call inside the component): only change what the framework can really do; whatever cannot be done by a member write stays as it is, gets a minimal repro in your scratch dir and a line in the report. Finish everything else; that part is not a reason to stop the rest.
  5. ## Rules
  6. - Read 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, and in /media/STORAGE/projects/hybriel/COMPONENTS.md the sections on members, bindings, events. Map: project.hl.
  7. - Fixed tracker rules: no hand-written JavaScript; .hl only; no workaround at a framework gap. One ticket = one step: not #52 (search.hl's replaceState stays), #54, #55. Pitfalls: a face that clears `session.user` needs the client to flip its own members too; mpackdb-touching helpers in an `on server` face must be `static`.
  8. - Branch hm53-dom from main (current HEAD) with main's bin/ copied in (`cp -a`), worktree /media/STORAGE/claude-scratch/tracker/HM53/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. A deploy of main runs at the same time: do not use claude-scratch/tracker/deploy/ or the deploy-init lock.
  9. - Data: only if a test needs it, unpack /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261106-0116.tgz into /media/STORAGE/claude-scratch/tracker/HM53/copy (storage only, no posters/profiles, no sessions, no .env; check disk first). Jobs off as in claude-scratch/tracker/HM1/start.sh. Delete the copy at the end. HL_CACHE_DIR inside your scratch dir, from the first run on. Nothing in /tmp or /home/mre.
  10. - App port 8712 only, HL_HOST=127.0.0.1; check `ss -ltnp`. Every start waits >=120 s (cold compile).
  11. - Gates: ONLY under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <your gates.sh>`, a copy of /media/STORAGE/claude-scratch/tracker/CB/gates.sh with your paths, plus HL_CACHE_DIR. All 11 pass with 0 failed.
  12. - Proof in a real browser, one case per changed spot: franchise edit and timeline edit inputs save what was typed; signed out, each sign-in trigger on show and search opens the real modal dialog (`:modal` matches), Esc closes it, and it opens again. Signed-in paths need a test session in your own copy, never his. His Chrome on lisbeth :9223 only under `flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock`, one own plain tab, closed in finally, never touch cookies; the app's port must be tunnelled for that, see HM52's proof.mjs in claude-scratch/tracker/HM52/.
  13. - Budget: maxUsd 5, ~60 requests/150k context, then commit, report, stop. Stop everything started, list pids, port free at the end.
  14. - Report: reports/HM53.md, committed on your branch (no LOG/STATUS edits, no tickets), plus a short final message: branch + commit, what changed, what stayed with repro path, browser proof, gates.

Branches

Latest commits

  • 9edcc2dflog: #58 live, HM57 startedmre
  • 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
  • 14195720log: HM49B done, HM51 startedmre
  • 78ee6b56Move remaining component styles into Style blocksmre
  • 7f04de33log: HM49Bmre
  • 00616cf3log: #49 batch merged, DP67 startedmre
  • d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
  • 079f376dMove seven components' styles into Style blocksmre
  • 17d66feelog: #58 mergedmre
  • 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre
  • a85f7900Move route logic out of the project mapmre
  • 13dea5belog: #56 live, HM49 and HM58 startedmre
  • a31c8f2fdocs: tracker#36 remaining listmre
  • 975d06d1log: #36 live, DP66 startedmre
  • d6d03fa3mission: T36Bmre
  • e7512d00status: #36 rolled back, retry askedmre
  • c98e2043log: T36A rollbackmre
  • ae905f15Merge t36a: tracker#36 apply rechecks, reportmre
  • 796bfaceT36A: report validated fixes, failed live SSH check and verified rollbackmre
  • 55257852log: #53 live, #56 mergedmre