gitoria

tracker

All repositories: gitoria

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

10.5 KB

  1. # HM56 — ordered list construction and keyed-row blockers
  2. This branch implements the independent sorted-list part of tracker#56. The show-page conversion remains blocked by the reproduced framework limits below; the ticket is not fully resolved.
  3. The personal shows, series and movies builders now mutate their one output list through an explicitly referenced helper instead of assigning a fresh copy for each row. The schedule builder does the same. Binary search finds the insertion position and one language-native splice inserts the row. Newest follows remain first; earliest releases remain first; equal values keep the historical reverse-insertion order. There is no intended visitor-visible change. Array shifting can still take linear time; this does not claim a fully linear-time sort.
  4. No show.hl or person.hl code changed, including the completion code reserved for hm54-fill. No controls moved, changed appearance or disappeared. There is no application JavaScript change, no framework patch and no workaround for keyed ordering.
  5. DOCS: I read WORKER-RULES.md, HL-PRIMER.md, CODE-ORDER.md, COMPONENTS.md “List rendering” and its row-key contract, SPEC.md “Looking records up by the @ property: upsert and remove”, its hybrid copying/reference rules, and its supported list methods. The working @ record/upsert/remove shape is the upstream tests/pass/hybrid/066_upsert_remove_by_at.hl fixture. The current conductor MANUAL.md path did not exist, so I read the archived MANUAL.md and RULINGS.md. The live ticket was fetched read-only using the required Accept and user-agent headers; it returned HTML carrying the ticket description.
  6. The documentation states that upsert replaces an existing keyed record or appends a new record. It does not provide an insertion position for upsert. The list-rendering documentation and this vendored plugins/web/view.hl rowKey use the ordinary id member; an @id property is a different name. The outstanding framework questions are how to insert new keyed rows between existing rows and how to make the renderer recognize the same @ key used by the language mutators.
  7. Run `HL_CACHE_DIR=<scratch>/cache bin/hybriel tests/hm56-upsert-order.hl` for the committed reproduction. The exact output is in `/media/STORAGE/claude-scratch/tracker/HM56/framework-repro.log`. Starting with @id s2 and s1, updating s2 works, but upserting s2e1 produces s2,s1,s2e1 rather than s2,s2e1,s1. The view reader gives the two @id-only records positional keys ["0","1"], and gives those same positions after removing s2. Expected retained keys are the surviving record identifiers. The initial small reproduction also remains in `.scratch/hm56/upsert-order.hl`. Duplicating id/@id, changing the data/view shape, rebuilding the list after upsert, or adding DOM code was not attempted. The show-page row conversion and @-key declarations await framework support.
  8. `tests/hm56-list-order.hl` checks caller mutation and compares each of 16 insertions against the original algorithm, including empty lists, ascending/descending insertions, zeros and ties. It fails on the original code at insertion 0 because the original helper only returns a copied list, and passes on the candidate. Evidence is old-helper-test.log and new-helper-test.log in the scratch directory.
  9. The branch is hm56-rows, based on main commit 2aa22d2. Its worktree is /media/STORAGE/claude-scratch/tracker/HM56/wt, with main's bin/ copied as a directory. Main's checkout, LOG, STATUS, tickets, other branches and byrodin were not changed. Nothing was pushed or deployed.
  10. After checking 146 GB free, I extracted only storage from tracker.worldapi.org-20261106-0753.tgz into HM56/copy, excluding posters/profiles, .env and sessions. The copy was 6.1 GB. A fresh test session in that copy used the copied az5b2 user; no existing or live session was used. Jobs were disabled using HM1/start.sh's switches. Every Hybriel invocation used scratch-local HL_CACHE_DIR from the first invocation. TMPDIR and cache directories were also inside HM56. Both real-data app starts waited more than 120 seconds before browser proof and listened only on 127.0.0.1:8716. The initial background launch exited, and an initial foreground launch failed because its scratch-cache directory did not exist; that directory was created before the successful baseline start.
  11. The browser proof used tests/cdp.mjs and local headless Chrome, as this mission explicitly requires. His Chrome was never used. Before and after, real mouse clicks opened and closed Season 37 of The Simpsons, toggled an episode twice, and toggled the season twice at 390×844, 800×1280 and 1280×800. All retained season-row elements remained the same DOM objects through the changes. The check verifies identity of other season rows; it does not instrument every episode text node or establish a new keyed-update path. show.hl remains unchanged because of the framework blockers.
  12. At every size the rendered component HTML of /my/shows, /my/series, /my/movies and /my/schedule matched the baseline byte for byte, including order and text. The counts were 5 shows, 129 series, 1 movie and 68 scheduled episodes. This compares the rendered list subtrees; the complete page's build/seed metadata is not claimed byte-identical. The lists were revisited at each size and direct HTTP requests checked SSR independently of the DOM. Browser problems were [] in both completed runs.
  13. Measured real-click times in milliseconds follow. These are single observations including driver/network overhead, not a benchmark or a show-page speedup claim.
  14. | Width | Open before/after | Close before/after | Episode before/after | Season before/after |
  15. | --- | --- | --- | --- | --- |
  16. | 390 | 79/59 | 21/7 | 159/320 | 218/168 |
  17. | 800 | 62/69 | 16/18 | 167/168 | 216/165 |
  18. | 1280 | 71/69 | 15/14 | 175/172 | 167/169 |
  19. Evidence is retained under /media/STORAGE/claude-scratch/tracker/HM56/: before-proof.log, after-proof.log, before/results.json, after/results.json, and each before/after directory's twelve list screenshots, twelve list HTML files and six show screenshots. The screenshots are named -my-{shows,series,movies,schedule}-{390,800,1280}.png and show-{open,closed}-{390,800,1280}.png. I inspected all 36 screenshots through before-contact-{390,800,1280}.jpg and after-contact-{390,800,1280}.jpg, plus the individual phone series screenshot. Order, text, check controls and season expansion match visually at each size. Phone schedule rows wrap as before, tablet dates align on the right, and excluded artwork shows placeholders. Two initial browser attempts stopped because of a test-selector quoting error and then an overrestrictive request for a fully watched Simpsons season; their Chromes were closed. The corrected complete runs are the evidence above.
  20. The final local Chrome page target list before closing each complete browser was [{"type":"page","url":"about:blank"}]. All test-owned tabs were closed; the remaining service workers, extension background and browser UI targets disappeared with that owned Chrome. No tab in his Chrome was opened.
  21. The eleven gates ran only under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM56/gates.sh`. This is CB/gates.sh copied with HM56 paths, HL_CACHE_DIR, local temporary directories, host, app port 8716, ident port 8717, fake TMDB port 8718, Chrome ports 8719–8724 and the sign-in app port 8716. The proof server was stopped before gates. TRACKER_COLD_MS was 180000. All eleven returned rc=0; detailed zero-failure summaries are below, with logs at gates.log and log-*.txt.
  22. ```
  23. === node tests/browser.mjs 10:21:04
  24. rc=0 ok no console errors/warnings 389 passed, 0 failed
  25. === node tests/security.mjs 10:26:25
  26. rc=0 ok the server did not crash or panic through all of it 56 passed, 0 failed
  27. === node tests/kinds.mjs 10:26:56
  28. rc=0 ok browser: no console errors / failed requests 32 passed, 0 failed
  29. === node tests/franchises.mjs 10:27:44
  30. rc=0 ok no console errors/warnings 53 passed, 0 failed
  31. === node tests/pager.mjs 10:28:24
  32. rc=0 ok 1280px script: no console errors/warnings 229 passed, 0 failed
  33. === node tests/franchiseseed.mjs 10:30:48
  34. rc=0 ok no error in the server log (absorbed errors included) 26 passed, 0 failed
  35. === node tests/signin-return.mjs 10:31:40
  36. rc=0 ok signed in: the selector says so and the one-time code is not left in the URL 3 passed, 0 failed
  37. === node theme/check-theme.mjs . 10:32:09
  38. rc=0 check-theme: 119 files, 0 problems
  39. === node tests/person-lookup.mjs 10:32:09
  40. rc=0 ok people.hl personBySlug ok components/person.hl person-lookup: passed
  41. === node tests/mobile.mjs 10:32:09
  42. rc=0 ok browser: no console errors / failed requests 45 passed, 0 failed
  43. === node tests/warmstart.mjs 10:32:35
  44. rc=0 ok after: an unknown short id is a 404 again 12 passed, 0 failed
  45. ALLDONE 10:32:40
  46. ```
  47. The 6.1 GB personal-data copy and fresh session token file were deleted after validation. Unit fixture storage was also removed.
  48. Stopped direct proof processes: initial background launch 3635083 (exited), baseline app 3640842, changed app 3688118, and local proof Chromes 3671988, 3679881, 3684399, 3715770. The successful proof Chrome PIDs are also recorded in before-proof.log and after-proof.log; the process inventory below is authoritative for observed gate roots. The browser helpers stop their own apps and Chromes by saved PID.
  49. Observed gate/compiler/browser process roots are listed below. These processes exited or were stopped by their owning helpers. Full command and cwd records are in processes.json.
  50. - Compiled app/fixture processes: 3717404, 3721197, 3730391, 3731162, 3731502, 3732072, 3733487, 3734233, 3734912, 3735710, 3736542, 3739466, 3739761, 3742697, 3743337, 3743788, 3745237, 3745832, 3746067, 3747598, 3748449, 3750654, 3756592, 3756841, 3760035, 3760337, 3763555, 3763686, 3764616, 3765183, 3766226, 3769351, 3770048, 3771058, 3787859, 3791086, 3792269, 3793018, 3797751, 3800970.
  51. - Hybriel compiler/helper processes: 3739094, 3749519, 3750129, 3794113.
  52. - Local Chrome browser processes: 3715770, 3727398, 3770156, 3771210, 3793239, 3797913.
  53. The process monitor PID was 3702980 and the finalizer PID was 3738928; both exited. Final `ss -ltnp` found no listener on 8716–8724. A /proc cwd/command audit found no mission app, compiler or Chrome process remaining. The personal-data copy no longer exists. The exact final checks are in cleanup-check.txt.
  54. Request accounting is approximate: 15 requests for brief/docs/source inspection and setup, 12 for repro/helpers/tests, 14 for baseline/after browser setup and evidence, and about 18 for serial gate monitoring, cleanup and reporting (about 60 total). No subagents were spawned. No exact API-cost meter was available, so spending in USD was not independently measured.

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