gitoria

tracker

All repositories: gitoria

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

9.7 KB

  1. # HM58 — project.hl is the map
  2. Branch: `hm58-map`. The starting main commit was `13dea5b`. This is tracker ticket #58 only. Nothing was pushed or deployed, and main's checkout was not edited.
  3. The route handlers for posters and profile images now live in `lib/images.hl`; short links in `lib/shortids.hl`; guest links in `lib/people.hl`; and the header search redirect in `lib/search.hl`. Permanent redirects live in `lib/redirects.hl`. The title-page HTTP adapter lives in `lib/title-route.hl`. The session tag lookup and the audience predicate live in `lib/users.hl`. The common 404 response lives in `lib/util.hl`, and the warm-up 503 response lives in `lib/warm.hl`. `project.hl` names these handlers, keeps the route table in its original order, and retains configuration and startup wiring.
  4. Two one-line closures remain in `project.hl`. The login callback needs the running server's session store and HTTPS check. The title route needs its router, page renderer and transient session store. The documented function-route contract supplies only `route` and `req`; neither gives the running framework instance. The scratch repro is `../repro/project.hl` with `handler.hl`, under `/media/STORAGE/claude-scratch/tracker/HM58/`. Removing these last closures depends on framework support. No global server registry, second framework instance or JavaScript workaround was added. Startup clock and Error event handlers remain as application wiring.
  5. No needless `let` occurs in the moved functions; the title adapter's `let s` is reassigned when the request has no session. Ticket #57 is otherwise untouched. No component, style, token, icon or login.js was edited. The accent remains in the existing theme configuration.
  6. DOCS: I read the archived worker rules, HL-PRIMER.md, CODE-ORDER.md, COMPONENTS.md's current function-route request contract, §11 Routing and static assets, and §7 The project manifest, plus CONCEPT.md. The manual's current path no longer exists; I read its archived 2026-10-31 copy. The docs give no handler argument for the running framework instance and list no redirect route kind; preserving the existing HTTP responses therefore keeps the redirect functions. The existing callback's `req.secure` field is also not listed in the request-field table; its behavior was preserved.
  7. The newest completed backup used for proof is `tracker.worldapi.org-20261106-1417.tgz`. Only its `storage/` was extracted, excluding posters and profiles; neither sessions nor .env was extracted. Every background job was disabled as in HM1. Both trees use main's copied `bin/`, their own scratch cache and temporary directory, and application port 8706 on 127.0.0.1.
  8. All 44 route table entries remain byte-identical to main. There are now only two function-valued members in project.hl, the required server closures described above.
  9. All 11 gates ran under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM58/gates.sh` and exited 0. Browser: 389 passed, 0 failed. Security: 56 passed, 0 failed. Kinds: 32 passed, 0 failed. Franchises: 53 passed, 0 failed. Pager: 229 passed, 0 failed. Franchise seed: 26 passed, 0 failed. Sign-in return: 3 passed, 0 failed. Mobile: 45 passed, 0 failed. Warm start: 12 passed, 0 failed. Person lookup passed. Theme: 121 files, 0 problems. The full logs are in the scratch directory as `gates-run.log` and `log-*.txt`. This branch did not run a second complete baseline gate set; its before/after baseline proof is the real-data comparison below.
  10. Curl captured 59 paths on the baseline tree and this branch, covering every route pattern, additional invalid inputs, short links in both cases, moved title paths, image placeholders, guest links, the login callback failure and not-found responses. Every raw response header is byte-identical, including Location, cookies, status and Content-Length. Every body is byte-identical after normalizing only the build hash and the framework's per-request `at` timestamp. `proof-differences.json` and `raw-header-differences.json` are both empty lists. The separate warm-up captures have exactly identical headers and 45-byte bodies: HTTP 503, Retry-After 30, and “tracker is starting up, try again in a minute”.
  11. Raw files are `/media/STORAGE/claude-scratch/tracker/HM58/proof-{before,wt}/{N}.headers` and `{N}.body`, with `paths.json` mapping N to its path. `warm.headers` and `warm.body` are the startup captures. `proof.py` is the repeatable curl driver. The per-path status, Location and body length are recorded below; the baseline has the same results.
  12. I confirmed the home page and /shows/The-Daily-Show in lisbeth's real Chrome, in one own plain tab, at 390×844, 800×1280, 1280×800 and 1280×900, before and after. I inspected all 16 screenshots through four contact sheets. The phone header, stacked title/poster/Follow arrangement, tablet and desktop title/cast/season rows, typography and spacing match. Missing image placeholders are expected because the copy excludes image files. Screenshots are `proof-before/{home,show}-<size>.png` and `proof-wt/{home,show}-<size>.png`; contact sheets are `sheet-<size>.png`, all in the scratch directory. The automated gates also cover navigation, repeated guest-link visits and session behavior.
  13. The framework repro returned exactly `{"requestHasServer":false,"routeHasServer":false,"entryHasServer":false}`. Its source and result are in `repro/`; it ran on port 8706 and was stopped. No workaround was added for this limitation.
  14. Cleanup is complete. The baseline proof app PID 3330001, branch proof app PID 3381295, repro app PID 3420541 and SSH tunnel PID 2950051 were stopped. The gate runners exited: browser 3231722, security 3283188, kinds 3286681, franchises 3293039, pager 3298258, franchise seed 3315532, sign-in return 3321963, theme 3325984, person lookup 3326000, mobile 3326016 and warm start 3329339. The final /proc check found no process whose cwd is under HM58, and ss showed no listener on port 8706. The extracted storage copy was deleted.
  15. The final Chrome page list, independently fetched after closing both proof tabs, contains only the original page: `0118C0F7E669B08C2B8A0E3AB195BA4C`, `about:blank`. Complete target lists are in `chrome-before.json`, each proof directory's `targets-{before,final}.json`, and `chrome-final.json`. No existing tab, cookie or session was changed.
  16. The work took approximately 85 requests including waits and status updates: reading/setup about 12, implementation about 10, proof/report/cleanup about 20, and serialized waiting/status about 43. The approximate 60-request target was exceeded mainly while waiting for HM49's gate lock and for the two multi-million-row scans. No additional ticket scope was taken. No app work remains; eliminating the final two closures requires the framework to supply the running instance to an imported route handler.
  17. The pending `hm54-fill` branch adds its PageFills import and instance independently. Its three audience entries are inserted into the same block that this branch changes to name `sessionAudience`; that audience hunk is expected to require manual merge resolution. Preserve all three fill entries and the two sessionAudience references. HM58 does not edit show.hl, person.hl or styles.hl.
  18. ## Per-path curl proof
  19. | Path | Status | Location | Body bytes |
  20. |---|---:|---|---:|
  21. | `/` | 200 | — | 20462 |
  22. | `/favicon.ico` | 200 | — | 15086 |
  23. | `/icons/icon-192.png` | 200 | — | 4393 |
  24. | `/icons/icon-512.png` | 200 | — | 12486 |
  25. | `/icons/apple-touch-icon.png` | 200 | — | 4131 |
  26. | `/icons/favicon.svg` | 200 | — | 440 |
  27. | `/login.js` | 200 | — | 2823 |
  28. | `/login/failed` | 200 | — | 10222 |
  29. | `/login/callback` | 302 | /login/failed | 38 |
  30. | `/posters/none` | 200 | — | 286 |
  31. | `/posters/bad%21` | 400 | — | 15 |
  32. | `/profiles/none` | 200 | — | 285 |
  33. | `/profiles/bad%21` | 400 | — | 14 |
  34. | `/movies` | 200 | — | 21170 |
  35. | `/movies/page/2` | 200 | — | 22136 |
  36. | `/movies/Star-Trek-First-Contact` | 200 | — | 30376 |
  37. | `/series` | 200 | — | 21634 |
  38. | `/series/page/2` | 200 | — | 21779 |
  39. | `/series/Star-Trek-Picard` | 200 | — | 107292 |
  40. | `/shows` | 200 | — | 21569 |
  41. | `/shows/page/2` | 200 | — | 21743 |
  42. | `/shows/The-Daily-Show` | 200 | — | 25494 |
  43. | `/shows/No-Such-Title` | 200 | — | 11405 |
  44. | `/shows/Star-Trek-Picard` | 301 | /series/Star-Trek-Picard | 33 |
  45. | `/shows/Star-Trek-First-Contact` | 301 | /movies/Star-Trek-First-Contact | 40 |
  46. | `/my/movies` | 200 | — | 10829 |
  47. | `/my/unwatched` | 200 | — | 698268 |
  48. | `/my/schedule` | 200 | — | 28943 |
  49. | `/my/series` | 200 | — | 47048 |
  50. | `/my/shows` | 200 | — | 11905 |
  51. | `/my/nothing` | 200 | — | 10262 |
  52. | `/unwatched` | 301 | /my/unwatched | 22 |
  53. | `/schedule` | 301 | /my/schedule | 21 |
  54. | `/search` | 200 | — | 11743 |
  55. | `/search/star%20trek` | 200 | — | 25474 |
  56. | `/find` | 302 | /search | 11 |
  57. | `/find?q=star%2Ftrek%3F%23` | 302 | /search/star%20trek | 23 |
  58. | `/person/tmdb/nope` | 404 | — | 9 |
  59. | `/person/tmdb/1` | 302 | /person/George-Lucas | 24 |
  60. | `/person/tmdb/2387` | 302 | /person/Patrick-Stewart | 27 |
  61. | `/person/Patrick-Stewart` | 200 | — | 196226 |
  62. | `/genres` | 200 | — | 14322 |
  63. | `/genres/drama` | 200 | — | 22018 |
  64. | `/genres/drama/page/2` | 200 | — | 22148 |
  65. | `/genre/drama` | 301 | /genres/drama | 22 |
  66. | `/genre/bad%21` | 301 | / | 10 |
  67. | `/people` | 200 | — | 21196 |
  68. | `/people/page/2` | 200 | — | 21302 |
  69. | `/settings` | 200 | — | 9929 |
  70. | `/franchises` | 200 | — | 24957 |
  71. | `/franchises/page/2` | 200 | — | 21827 |
  72. | `/franchises/edit` | 200 | — | 11296 |
  73. | `/franchises/star-trek` | 200 | — | 10599 |
  74. | `/timelines/star-trek` | 200 | — | 10580 |
  75. | `/timelines/star-trek/edit` | 200 | — | 10604 |
  76. | `/100jh` | 301 | /series/Raised-by-Wolves | 33 |
  77. | `/100JH` | 301 | /series/Raised-by-Wolves | 33 |
  78. | `/zzzzzzzzz` | 404 | — | 9 |
  79. | `/not/a/route` | 404 | — | 23 |

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