gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitaed12917aed12917Reference owned Style rules in genres and searchmreaed12917/reports/HM51.md

9.4 KB

  1. HM51 is a budget-limited, gated first part of tracker#51 on branch `hm51-classes`, based on `hm49b-styles` commit `78ee6b5`. The full ticket is not finished. The worktree is `/media/STORAGE/claude-scratch/tracker/HM51/wt`; main's physical `bin/` was copied with `cp -a`. No push, deploy, ticket change, LOG/STATUS edit, or byrodin access was performed.
  2. Genres and Search now refer to four component-owned Style rules: `Style.aGenreLink`, `Style.imgSearchPoster`, `Style.searchTitle`, and `Style.searchPerson`. These replace six literal class attributes: one genre-link use, three search-poster uses, one title-result link, and one person-result link. The compiler emits the same existing class names and selectors. No control, content, handler, element, or declaration was removed or moved. The accent stays #4ec9b0. All application changes are in .hl files.
  3. Literal class attributes in components went from **143 to 137**. Genres went from **4 to 3**, and Search from **15 to 10**. Dynamic class bindings are excluded from this count. The count is a scan for a class assignment whose value starts with a single or double quote; `counts-before.json` and `counts-after.json` hold every file's count.
  4. The remaining 13 literals in the touched files retain shared theme/site vocabulary (`message`, `banner`, `typed`, `type-word`, `type-genre`, `muted`, `primary`, `inverted`, `button`) and the existing `add`/`search-more` markers. The latter markers still need a usage review; this report does not claim every retained string is necessary. The other 124 literal attributes, in the 22 other files listed below, remain unmigrated. Finish those components in small groups, distinguish shared theme and dynamic-state contracts from component rules, capture their populated controls before and after, and rerun gates. The full migration could not be finished within this small mission's request budget, so this complete part is committed as the brief permits.
  5. DOCS: I read the archived WORKER-RULES, manual and rulings, the full HL-PRIMER and CODE-ORDER, COMPONENTS §4 Styles, §1 component/View values and §12 Composition, the archived web architecture, project.hl's map, and the vendored theme/theme.hl. The implementation copies the documented `Style.ruleName` form and tag-prefix stripping rule. No unanswered documentation question or Hybriel/framework gap was encountered in the implemented part. The remaining migration has not been diagnosed for framework gaps.
  6. The proof uses HM49B's capture/comparison method in the creator's actual Chrome on lisbeth :9223. It opens one plain tab in the existing window, closes it, and disconnects. Chrome runs are serialized by the lisbeth lock. The app uses port 8708, HL_HOST=127.0.0.1, scratch-local HL_CACHE_DIR and TMPDIR, and HM1's disabled-job switches. Startup readiness budgets are 600 seconds. No real-data backup was needed: the existing tests/seed-pager.hl creates 250 movies, 250 series, 250 shows, and 250 people in a scratch fixture. The fixture and gate stores were deleted after testing.
  7. At **390×844, 800×1280, and 1280×800**, the proof captures populated `/genres`, `/search/Pg%20Movie`, and `/search/Pgperson`. Each size also checks a real genre-link click and Back, real typing followed by the server result update, and a second direct visit. Animations are frozen. The first group migrates only Genres and compares all nine captures; the second migrates Search and compares all nine again.
  8. Both groups have **9/9 pixel-identical captures and identical computed styles and geometry**. All three stylesheets (`before.css`, `genres.css`, `after.css`) are **byte-for-byte identical**. Their 555 canonical selector/query/declaration records also match with zero differences. The three completed capture runs have empty console problem lists. I opened all nine contact sheets, covering every captured page in all three phases; the genre chips, poster placeholders, dense title/person rows, colours, header and responsive layout match.
  9. The captures and computed-style JSON are in `before/`, `genres/`, and `after/` under `/media/STORAGE/claude-scratch/tracker/HM51/`. The nine contact sheets are `<phase>-<size>-contact.png`. The scripts/results are `capture.mjs`, `group-run.sh`, `compare.py`, `css-compare.py`, `comparison.json`, `genres-comparison.json`, `after-comparison.json`, and `css-comparison.json` there. This fixture does not demonstrate the full real catalog, authenticated controls, or TMDB web search in lisbeth Chrome; the browser gate covers the web search/import controls with its own fixture.
  10. Two baseline Chrome attempts were discarded before any .hl edit. The first typing check ran before reliable hydration and assumed an end caret; it now waits for the socket and checks the actual input value. The next attempt hit Chrome's screenshot timeout on the tall tablet viewport. An explicit screenshot clip with captureBeyondViewport enabled resolved that. Their partial captures/logs remain in `before-initial/`, `before-retry1/`, and the corresponding capture logs. Every failed attempt closed its owned tab; target snapshots confirm the original blank page remained.
  11. One gate selector needed adjustment, exactly **photo37 in tests/browser.mjs**. Its raw-HTML regex required the class attribute before src/href. Style references serialize the same class after the authored attributes. Consequently the first final run had three photo checks fail with null matches, while captures, DOM classes, image URLs and styles matched. Only that regex was changed to accept either attribute order; no assertion, expected photo, or application behavior was changed. `search-people.html` preserves the served HTML showing `<img src="/profiles/none" alt="" class="search-poster">` and `<a href="/person/Pgperson-001" class="search-person">`. The complete suite was rerun after the selector edit. The earlier failed result is preserved in `final-gates-initial.txt` and `log-browser-initial.txt`.
  12. All eleven baseline gates passed. All eleven final gates ran only through `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM51/gates.sh`, a CB copy with mission paths, scratch cache/temp, app 8708, ident 8709, TMDB 8710, and Chrome 8713–8719. The proof app was stopped before every gate run, including the sign-in gate's derived ident port 8709.
  13. | Final gate | Result |
  14. |---|---|
  15. | browser | 389 passed, 0 failed |
  16. | security | 56 passed, 0 failed |
  17. | kinds | 32 passed, 0 failed |
  18. | franchises | 53 passed, 0 failed |
  19. | pager | 229 passed, 0 failed |
  20. | franchiseseed | 26 passed, 0 failed |
  21. | signin-return | 3 passed, 0 failed |
  22. | theme/check-theme | 121 files, 0 problems |
  23. | person-lookup | passed |
  24. | mobile | 45 passed, 0 failed |
  25. | warmstart | 12 passed, 0 failed |
  26. Every final gate has rc=0 in `final-gates.txt`; the final run completed at 18:52:10 Europe/Vienna on 2026-11-06. The copied CB wrapper itself does not propagate suite failure, so the final result was verified from all eleven recorded rc values, not from its process exit alone. Per-suite logs are `log-*.txt`. `git diff --check` passes.
  27. HM54 merge: this part changes only genres.hl, search.hl and one test selector. It does not overlap HM54's described show.hl/person.hl/styles.hl/project.hl edits. The existing HM49B base still has the style-move merge considerations described in reports/HM49B.md.
  28. Stopped proof app PIDs were **581668** (completed before capture), **623275** (Genres group), **663338** (Search group), **944760** (served-HTML capture), and **1417674** (service-worker cleanup). The two discarded baseline apps were stopped by the proof controller's EXIT trap, but their numeric PID files were overwritten by subsequent attempts; those two old numeric values could not be recovered. This is an evidence limitation. Gate harnesses tore down their own apps, ident/TMDB fixtures and headless Chromes. Gate/proof controllers finished. SSH tunnel **270361** was stopped after verifying its cwd was this scratch directory. No proof Chrome process was launched; the helper disconnected from lisbeth Chrome and closed only owned tabs. The proof origin's service worker was unregistered from an owned tab on that origin (`service-worker-cleanup.json`).
  29. The final process audit (`process-audit-final.json`, excluding the audit process and its ancestors) is empty. The final ss check shows ports 8708, 8709, 8710, 8713–8719 and the owned local 9223 tunnel free. The Chrome cwd scan prints no HM51 path. No mission process or data copy remains. The final page-target list is:
  30. ```json
  31. [
  32. {
  33. "id": "0118C0F7E669B08C2B8A0E3AB195BA4C",
  34. "type": "page",
  35. "title": "about:blank",
  36. "url": "about:blank"
  37. }
  38. ]
  39. ```
  40. The remaining component counts are:
  41. | Component | Literal class attributes still present |
  42. |---|---:|
  43. | allseries.hl | 4 |
  44. | allshows.hl | 4 |
  45. | franchise.hl | 9 |
  46. | franchiseedit.hl | 9 |
  47. | franchises.hl | 8 |
  48. | franchisewidget.hl | 6 |
  49. | genre.hl | 5 |
  50. | home.hl | 15 |
  51. | loginfailed.hl | 1 |
  52. | main.hl | 1 |
  53. | modal.hl | 1 |
  54. | movies.hl | 4 |
  55. | mymovies.hl | 5 |
  56. | myshows.hl | 4 |
  57. | pagination.hl | 1 |
  58. | people.hl | 4 |
  59. | person.hl | 11 |
  60. | schedule.hl | 2 |
  61. | show.hl | 10 |
  62. | tilelist.hl | 1 |
  63. | timelineedit.hl | 17 |
  64. | unwatched.hl | 2 |
  65. Rough request accounting: about 15 replies covered docs/setup, 15 baseline/harness work and waits, 15 proof and the two CDP failures, 10 review/gate diagnosis and rerun, and 10 reporting/cleanup. The roughly 60-request target was exceeded while correcting the proof harness and the gate selector; no further migration group was started. Dollar spend was not available to measure.

Branches

Latest commits

  • aed12917Reference owned Style rules in genres and searchmre
  • 78ee6b56Move remaining component styles into Style blocksmre
  • 7f04de33log: HM49Bmre
  • 00616cf3log: #49 batch merged, DP67 startedmre
  • d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
  • 079f376dMove seven components' styles into Style blocksmre
  • 17d66feelog: #58 mergedmre
  • 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre
  • a85f7900Move route logic out of the project mapmre
  • 13dea5belog: #56 live, HM49 and HM58 startedmre
  • a31c8f2fdocs: tracker#36 remaining listmre
  • 975d06d1log: #36 live, DP66 startedmre
  • d6d03fa3mission: T36Bmre
  • e7512d00status: #36 rolled back, retry askedmre
  • 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