gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc98e2043c98e2043log: T36A rollbackmrec98e2043/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

  • 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
  • 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
  • 7aea52batmdb fix: protect owners without slugs and record passing gatesmre
  • 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre
  • 6da612fclog: T36A tool defectmre
  • d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
  • 08e55255log: HM56 done, T36A startedmre
  • 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
  • 5fd2ac75status: #36 GOmre
  • 0d253b45mission: T36Amre
  • 2aa22d23log: #36 GOmre
  • 833aee2flog: #50 closed, HM56 startedmre
  • ac58c1e5mission: HM56mre
  • 58979c0clog: HM54 held for decision, DP65 startedmre
  • bb2ebc67log: #64 live, #53 mergedmre
  • 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
  • 2156cc7flog: HM54 reviewmre