gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitbb2ebc67bb2ebc67log: #64 live, #53 mergedmrebb2ebc67/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

  • bb2ebc67log: #64 live, #53 mergedmre
  • 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
  • 2156cc7flog: HM54 reviewmre
  • 9fb82efclog: HM54 gap, fill continuesmre
  • b632eb8dlog: HM53 done, HM54 startedmre
  • ccb1a263tracker#53: bind editor drafts and use key event focus targetmre
  • 3356fcfclog: #52 blocked, HM53 startedmre
  • 833dcfc9Merge hm52-search: report only, tracker#52 blocked by framework gapmre
  • 73010cc0HM52: report replace-navigation search draft regressionmre
  • 1742e92bstatus: DP64 and HM52 runningmre
  • 29ad5b58log: #64 merged, DP64 and HM52 startedmre
  • fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmre
  • b2e2206dlog: #63 livemre
  • 5831e0e0log: HM64 donemre
  • 4042b923Flatten catalog membership rows into paired slotsmre
  • ea8a759elog: #61 #62 live, DP63 and HM64 startedmre
  • 40439456Merge hm63-searchtext: tracker#63 packed search textmre
  • b7e6b48ePack normalized search text behind numeric offsetsmre
  • b35f53e1log: DP62 stale runtime decisionmre
  • f9593602log: Apollo deploy rule correctionmre