gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmaind2e6d26bMerge branch 'records-park55' into mainTrackermain/reports/HM53.md

9.1 KB

  1. # HM53 — component DOM access
  2. Ticket: tracker.worldapi.org#53. Branch: `hm53-dom`, based on `3356fcf`.
  3. The franchise editor now stores the franchise name, summary, timeline name and timeline finder text in members. The timeline editor stores its title search text in a member. Inputs bind their values to these members, input handlers take the value from the real event, creation faces receive member values, and stale asynchronous search answers compare with the current member. No server face or signed-in business logic changed. The modal Tab handler uses the key event's target rather than looking up `document.activeElement`.
  4. The native modal requirement remains a framework gap. `dialog { open = signinOpen }` opens an ordinary dialog rather than entering the modal top layer. Keeping native modality requires `showModal()`. The five existing show/search sign-in trigger calls therefore remain unchanged; replacing them with an ordinary `open` binding would break inert background, focus handling and Escape. No bridge, timer, animation hook, custom element or JavaScript workaround was added. The modal's live focus candidate discovery/focus calls and unnamed footer button text fallback also remain. The reproducible project and explanatory file are in `/media/STORAGE/claude-scratch/tracker/HM53/repro/` and `repro-readme.txt`. This ticket should stay open for the framework portion.
  5. DOCS: I read the entire HL-PRIMER.md and CODE-ORDER.md, WORKER-RULES.md, project.hl, and COMPONENTS.md sections 2 (members and Boolean bindings), 6b (real input events, client mutations and server faces), and 12 (component member bindings and own state). The input shape follows the documented `draft = ev.target.value` example. The docs do not provide a member-only native modal effect or member-only live slotted focus/text extraction. The current MANUAL.md path was missing; I read the archive manual instead. The ticket endpoint returned HTML despite the required markdown Accept header; its complete ticket description was read from that response.
  6. The real-data browser copy came only from `tracker.worldapi.org-20261106-0116.tgz`, after checking 148 GB free. Only `storage/` was extracted, excluding posters and profiles; no `.env` or existing sessions were copied. Its size was 5.8 GB. All jobs were disabled. Every run used a scratch-local `HL_CACHE_DIR`, `TMPDIR` and cache directory; the app listened on `127.0.0.1:8712`. The native browser proof used the dedicated `hm53.localhost:8712` origin through the lisbeth SSH tunnel. A normal request to the copied app's failed-login callback created a fresh test session, and only that copy's session file was given the copied editor user `0mujqspn0aqb` (identity `az5b2`). No cookie APIs, live sessions, live storage, live ident login, push or deployment were used.
  7. The gates ran only under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM53/gates.sh`. This is CB's gate script with this mission's paths, host and cache settings. All 11 ultimately passed with zero failures: browser 389, security 56, kinds 32, franchises 53, pager 229, franchise seed 26, sign-in return 3, theme 117 files with zero problems, person lookup passed, mobile 45, warm start 12. Logs are `gates.log`, `log-*.txt`, and `signin-gate.log` in the scratch directory. The first sign-in-return attempt collided with the proof app because the gate derives its ident port as 8711 + 1 = 8712; `/api/code` therefore reached tracker and answered 404. After stopping the proof server, the same unchanged gate passed under the same gates lock. No application fix was made for this harness collision.
  8. The minimal repro was run on port 8712 after stopping the app, with a 120-second startup wait. In lisbeth Chrome at 390 and 1280 pixels, the member-bound dialog returned `matches(':modal') == false` and `open == true` after Escape. The native control returned `matches(':modal') == true` and closed with Escape. The exact output is in `repro-proof.log`; screenshots are `repro-390.png` and `repro-1280.png`. The 390 screenshot visibly shows an ordinary dialog over an undimmed page. The repro also includes the modal's live slotted input and unnamed footer-button example for its focus and text-label requirements.
  9. No controls were removed, moved or restyled. `search.hl`'s history replaceState handling (#52), #54 and #55 were not changed. New before-code screenshots were not captured; candidate screenshots and the repro are retained, and this is a limitation of the visual comparison. The first browser attempts failed during startup and while testing header-only authentication; each closed its own tab and saved the two existing page targets. Those failures were harness setup failures, not counted as passing proof.
  10. The completed browser checks are in `proof-2.log`: at 390×844, 800×1280 and 1280×800, the franchise name/summary saved and survived a reload; the timeline name saved, typed title search found Star Wars (1977), Add stored it and a reload retained it; the timeline finder opened the named timeline; rapidly replacing a title query with `qzxzq` ended with no old results; and signed-in follow/movie watch toggles changed and restored their state. At each size, signed-out Follow, movie watch, season watch, episode watch and search Add opened a real `:modal` dialog, Tab wrapped, Escape closed it and a second click opened it again. Search Add used one explicit fixture row placed through the framework's normal state write/patch in the test harness; it proves the guard and modal interaction, not a live TMDB search/import. No application JavaScript was authored.
  11. An extra 1280×1000 run passed the franchise and timeline create/search/add/reload checks, then stopped at the finder assertion: the harness waited for any nonempty result list and observed `HM53 390x844 timeline` before it expected `HM53 1280x1000 timeline`. The test's wait does not establish that the last query has finished. This extra run is incomplete, not counted as a full pass, and no code change was made from it. The copy has been deleted; repeating it needs a new isolated copy and a wait for the expected final result. There is no before-code browser run proving a failing regression test.
  12. I inspected all retained screenshots, individually or in `contact-390x844.png`, `contact-800x1280.png`, `contact-1280x800.png` and `contact-1280x1000.png`. The editor fields visibly contain the typed text. Timeline search results have reachable Add buttons; the phone view scrolls through the franchise chips to the title input. The sign-in dialogs are centered, readable and dim the background at all three fully tested sizes. Poster placeholders are expected because artwork was excluded from the copy. Exact original screenshot names are `editor-<size>.png`, `timeline-<size>.png`, and `modal-{follow,movie,season,episode,search-add}-<size>.png`, all in the scratch directory; only editor and timeline screenshots exist for the extra 1280×1000 run.
  13. The initial two page targets were `B531A097D3E80CE9AA7317C658F54F64` and `0118C0F7E669B08C2B8A0E3AB195BA4C`, both `about:blank`. Every own tab was closed. A user Hub tab appeared during the run and was preserved, even though it was absent from the initial list. The last page list, saved in `tabs-final-check.json`, is:
  14. ```json
  15. [
  16. {
  17. "id": "692B9B46324FE70BFE09BC5622480C93",
  18. "url": "http://hub156.localhost:8795/"
  19. },
  20. {
  21. "id": "B531A097D3E80CE9AA7317C658F54F64",
  22. "url": "about:blank"
  23. },
  24. {
  25. "id": "0118C0F7E669B08C2B8A0E3AB195BA4C",
  26. "url": "about:blank"
  27. }
  28. ]
  29. ```
  30. Cleanup was completed, with details in `cleanup.txt` and `process-audit.txt`:
  31. app.pid: PID 1623930 exited.
  32. repro.pid: PID 1823863 exited.
  33. app-2.pid: PID 1880227 exited.
  34. ssh.pid: stopped PID 1612810 (cwd /media/STORAGE/claude-scratch/tracker/HM53).
  35. own-host-ssh.pid: PID 1774753 exited.
  36. Deleted the storage/session copy.
  37. The original short-lived SSH attempt PID 1598372 exited before the successful tunnel was started. The shared gate wrapper PIDs 1578219/1578220 exited normally; its tests stopped their servers and automated browsers. The last scratch process audit contained only the audit shell and its Python process, with no app, tunnel or Chrome left. Port 8712 was checked free with `ss -ltnp` after cleanup. No main checkout, LOG/STATUS, tickets, byrodin, push or deploy was changed.
  38. Request budget: the roughly 60-request target was exceeded during the authentication harness fixes, the overlapping 8712 gate retry, and completion/cleanup of the already-started proof. The approximate allocation was 16 requests for docs/setup, 10 for implementation/repro, 40 for gates/browser setup and waits, and 8 for report/cleanup. No second ticket or further implementation was started. Actual dollar cost was not measured.
  39. The remaining framework work is a declarative native modal effect that preserves the top layer, Escape and focus semantics, plus a documented member-driven equivalent for the modal's live focus candidates and unnamed footer label fallback. After that exists, replace the five show/search calls with the host member binding and repeat the modal checks. The available input and key-event changes are complete; the native modal conversion remains blocked with the runnable repro above.

Branches

Latest commits

  • d2e6d26bMerge branch 'records-park55' into mainTracker
  • f567f025|||PR records: park #55, no Claude workers ruleTracker
  • c21aff6bMerge branch 'records-hm55c' into mainTracker
  • 9ba258d3|||PR records: HM55b resultTracker
  • 64f2d300Merge branch 'records-hm55b2' into mainTracker
  • ae3b80dc|||PR records: HM55b briefTracker
  • 7ef3cb3bMerge branch 'records-st55' into mainTracker
  • fec2e080|||PR records: STATUS HM55Tracker
  • 8e174918Merge branch 'records-hm55b' into mainTracker
  • b1ecee57|||PR records: HM55 stateTracker
  • 28eab08cMerge branch 'records-hm55' into mainTracker
  • d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
  • 3059f86cMerge branch 'records-design-rule' into mainTracker
  • 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
  • d1390692Merge branch 'records-dp75b' into mainTracker
  • a4d1a7d2|||PR records: later steps checked, branch auditTracker
  • e070e16fMerge branch 'records-dp75' into mainTracker
  • 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
  • bfc4ea4dMerge branch 'ap62' into mainTracker
  • 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker