tracker
All repositories: gitoria
12.2 KB
HM49 is partially complete on branch `hm49-styles`, based on `13dea5b`. This is a bounded, validated first batch for tracker#49, not completion of the whole ticket. His request was: “Do all you apps misuse the framework and put all styles in styles.hl instead of making proper Style {} blocks inside the componet files?”Seven component files now carry their rules in `Style {}`: `main.hl`, `franchisewidget.hl`, `unwatched.hl`, `schedule.hl`, `genres.hl`, `settings.hl`, and `loginfailed.hl`. This moves the shell's app-specific header/ident/offline rules, the franchise widget, both episode lists, genre pills, settings wrapper, and login-failure return link. The two narrow-header media queries are nested in `main.hl`; the moved components' 40rem overrides are nested under their affected rules. The remaining 40rem query still holds the unmigrated pages' overrides. The shell's theme components retain their own intrinsic styles in the vendored theme. The main component's contextual overrides still target its composed theme tags.`components/styles.hl` shrank from **39,715 bytes to 30,633 bytes**, a reduction of 9,082 bytes. There are now 9 component files with Style blocks among 25 files with Views, up from 2. Existing class names, View markup, handlers, data flow, theme files, and `project.hl` were not changed. The app accent remains **#4ec9b0**. No application JavaScript was added.DOCS: I read the full worker rules, `docs/HL-PRIMER.md`, `docs/CODE-ORDER.md`, `COMPONENTS.md` §4 Styles, §12 Composition, and §6's page-body rule, plus the web architecture and the vendored theme. The requested framework sections establish that a plain own-tag rule is global in the one stylesheet, descendants can reach composed children, and a root body refers to the document body. I first moved only settings and checked the served HTML/CSS: one `settings-page { display: block; }` rule, the unchanged `<settings-page id="settings">`, and no generated class. Only after that passed did I apply the other six files. No framework gap blocked this batch. An authoring error initially wrote two `unwatchedRow` entries; the comparison caught the lost check-button grid-row rule. I merged the nested rule into the one entry and repeated the after capture and full gates.The quoted selectors retain existing compounds rather than doing ticket #51's class renaming. Their reasons are:- `a#home` preserves the existing tag-qualified id specificity. `.schedule-show`, `.unwatched-show`, and `button.checkicon` retain existing class selectors, including the dynamically supplied watch class.- `a.genre-link`, `a.fw-franchise`, `.fw-side`, `.fw-next`, `.fw-side.off`, `a.fw-side`, and `a.fw-timeline` retain the existing class/state specificity. Hover and descendant `fwDir` rules are nested.- `franchise-widgets:not(:has(franchise-widget))` tests whether any widget is present; the named pseudo-class form has no `not`/`has` argument form.- `ident-selector::part(button)`, `ident-selector::part(status)`, `ident-selector::part(identity)`, and `ident-selector::part(panel)` address ident's shadow parts; a named descendant would select a different node.- The seven `body:has(main h1.typed > type-word.type-*)` conditions retain the exact type classes `type-series`, `type-show`, `type-movie`, `type-genre`, `type-person`, `type-franchise`, and `type-timeline`. Nested attribute selectors retain `a[href="/series"]`, `a[href="/shows"]`, `a[href="/movies"]`, `a[href="/genres"]`, `a[href="/people"]`, and `a[href="/franchises"]`. These are conditional/attribute selectors, not plain element names.- `body:has(application-header > ident-selector.in)` retains the signed-in condition. The nested `>` keys preserve immediate-child relationships; `button.menu-toggle`, `button.search-toggle`, and `a.brand` retain the theme's existing classes. No flat repeated descendant selector was added.Proof artifacts are under `/media/STORAGE/claude-scratch/tracker/HM49/`. The source data was the finished backup `tracker.worldapi.org-20261106-1417.tgz`, extracted as storage only, excluding posters and profiles, without sessions or .env. A new test session in the copy used az5b2's existing tracker user `0mujqspn0aqb`. Jobs were disabled with HM1's switches. Every process used scratch-local TMPDIR and HL_CACHE_DIR. The app was bound to 127.0.0.1:8704. The finished scan read 320,722 titles, 3,000,726 episodes, and 1,413,967 people.As the mission specifically requested, the comparison used local headless Chrome through `tests/cdp.mjs`, at 390×844, 800×1280, and 1280×800. There are 57 before/after screenshot pairs in `before/` and `after/`, named `<width>x<height>-<page>.png`; matching JSON files contain boxes and all computed properties/pseudo-element properties for viewport elements and representatives of other tag/id/class combinations. Animations were frozen for deterministic comparisons. `capture.mjs`, `compare.py`, `css-compare.py`, `comparison.json`, `css-comparison.json`, and six `*-contact.png` sheets preserve the method and results. I opened all six contact sheets and the differing pixel crops. The layout, type colours, poster placeholders, dense episode rows, genre pills, editor fields, and header controls match.The matrix covered `/`, `/shows`, `/movies`, `/shows/Serge-a-Paris`, `/person/Lavanya-Rajesh`, `/search/star%20wars`, `/franchises`, `/franchises/Alien-Predator`, `/genres`, `/settings`, `/login/failed`, signed-out and signed-in `/my/unwatched` and `/my/schedule`, signed-in `/my/shows`, `/franchises/edit`, and `/timelines/Alien/edit`, plus the selector popup. The final 57 computed-style comparisons are identical. All **555 selector/query/declaration records** in the before and after stylesheets are identical. Fifty-five screenshots are pixel-identical. Two have only rounding differences on the ident status pill's rounded top edge, with all computed styles and geometry identical: `1280x800-franchise-edit` has two pixels, at (1165,10) RGB (34,39,44)→(34,38,43) and (1166,10) (14,19,24)→(15,20,25); `390x844-my-shows` has one pixel, at (345,10) (34,39,44)→(34,38,43). Each changed channel differs by one; the crops show edge antialiasing, not a layout or rule change.The real-data sign-in-dialog requirement remains unproven: ident rejected the copied localhost origin, so the captured selector popup says “ident does not answer this site. Is it registered in ident with this API key?” It is not a sign-in form. The capture logs contain three corresponding ident network errors per run. The isolated sign-in-return gate uses its own registered ident fixture and tests the actual form. A continuation must arrange that fixture for the real-data before/after dialog capture rather than claim the error popup proves it. The selected person's incomplete filmography also remained on its loading state because this copy had no TMDB token and capture animations were frozen.The first proof start lost port 8704 to HM58's gate Chrome while the real-data scan was running. It exited with EADDRINUSE. I did not kill the other worker's Chrome. All subsequent proof apps held the shared tracker gate lock until their app and Chrome were stopped. Baseline and final suites ran only through `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM49/gates.sh`, copied from CB with scratch paths/cache and app 8704, ident 8705, TMDB 8706, browser 8713–8719. Cold-start readiness budgets were at least 120 seconds.Both baseline and final runs passed all 11 gates with exit code 0 and zero failures. The final results, from `final-gates.txt`, are:| Gate | Result || --- | --- || `node tests/browser.mjs` | ok no console errors/warnings 389 passed, 0 failed || `node tests/security.mjs` | ok the server did not crash or panic through all of it 56 passed, 0 failed || `node tests/kinds.mjs` | ok browser: no console errors / failed requests 32 passed, 0 failed || `node tests/franchises.mjs` | ok no console errors/warnings 53 passed, 0 failed || `node tests/pager.mjs` | ok 1280px script: no console errors/warnings 229 passed, 0 failed || `node tests/franchiseseed.mjs` | ok no error in the server log (absorbed errors included) 26 passed, 0 failed || `node tests/signin-return.mjs` | ok signed in: the selector says so and the one-time code is not left in the URL 3 passed, 0 failed || `node theme/check-theme.mjs .` | check-theme: 119 files, 0 problems || `node tests/person-lookup.mjs` | ok people.hl personBySlug ok components/person.hl person-lookup: passed || `node tests/mobile.mjs` | ok browser: no console errors / failed requests 45 passed, 0 failed || `node tests/warmstart.mjs` | ok after: an unknown short id is a 404 again 12 passed, 0 failed |The final full run was after the unwatched grid-row correction. The interrupted earlier post-change run is not used as the acceptance result. `git diff --check` also passed.What remains is the migration of `allseries.hl`, `allshows.hl`, `franchise.hl`, `franchiseedit.hl`, `franchises.hl`, `genre.hl`, `home.hl`, `movies.hl`, `mymovies.hl`, `myshows.hl`, `people.hl`, `person.hl`, `search.hl`, `show.hl`, `tilelist.hl`, and `timelineedit.hl`, including their shared row/tile/check/pager rules and the remaining responsive overrides. The existing modal and pagination Style blocks also need the final ticket-wide ownership/format review. The remaining 30,633-byte stylesheet is not yet only shared rules. The shell's contextual rules should receive that same strict per-child ownership review; this batch preserves their selectors and places them with the composing shell rather than forking theme files. No part of the remaining migration was started after fixing the batch scope.I read `main...hm54-fill` for the four overlapping paths. This branch does not edit show.hl, person.hl, or project.hl. HM54 removes showProbe, personProbe, and the person tick/pulse keyframes in styles.hl; this batch leaves those sections intact. No direct content conflict is expected from the current hunks, although both branches edit styles.hl and the merge still needs its gates. A later migration of show/person styles must account for HM54's removals.This exceeded the approximate 60-request target because of repeated shared-lock waits, the port collision, and the extra comparison/fix/revalidation. Roughly 15 requests read/setup the required sources and baseline, 15 prepared the migration/proof, 15 monitored/coordinated the shared port, and 20 covered comparisons, the correction, and final verification/reporting, plus long-wait resumptions. The component scope was held to the seven-file batch rather than expanding the task.The real-data copy and scope-test sessions were deleted. The final `/proc` audit found no live HM49 processes; `ss -ltnp` found ports 8704, 8705, 8706 and 8713–8719 free. The required Chrome-cwd check printed no HM49 paths. Nothing was pushed, deployed, or changed in the main checkout, LOG/STATUS, ticket system, or byrodin.The stopped/completed saved app processes were the collision start (PID 3232315), baseline real-data app (PID 3422523), settings scope app (PID 3454131), and corrected after app (PID 3528784). The owned proof Chrome main PIDs 3443437, 3488427, and 3550430 were closed by `tests/cdp.mjs`. Superseded waiting controllers 3028381, 3236960, and 3248506 were terminated by their saved PIDs. The earlier final-gate runner 3499379 was stopped before restarting validation; its active security test completed its own teardown. Baseline controller/test PIDs included 2925311, 2925312 and 2925319. All final gate apps, ident/TMDB fixtures and Chromes were stopped by their test harnesses, and the final process/port audit above verifies no remainder. The first after-app PID was overwritten in the pid file when it was restarted; its Chrome PID and successful script teardown were retained.The final page-target lists before closing each owned Chrome contain only its original blank tab; browser-ui/service-worker targets are excluded here. The complete lists remain in `before/targets-after.json` and `after/targets-after.json`:```json{"baseline": [{"id": "DF96F65F2F2D14BB4F97681FD97CCC58","type": "page","title": "about:blank","url": "about:blank"}],"correctedAfter": [{"id": "F48614BE30BA4CF945E902C9E096245F","type": "page","title": "about:blank","url": "about:blank"}]}```
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