tracker
All repositories: gitoria
1.7 KB
# Mission 028 — tracker: code order cleanup (no behaviour change)Rules: /CONTAINERS/projects/antcolony/docs/code-order.md (read via `cat` on Byrodin — it is the creator's own wording).Repo loreana:/media/STORAGE/projects/tracker.worldapi.org (main at HEAD, deployed). Rules: tracker missions/002-*.md(kill by PID, never read .env; git: commit on main only, never push). Ports 8720–8731.1. Before: count root .hl files, project.hl lines, `let` total + how many are never reassigned; save the page output(HTML) of /, /movies, /series, /shows, /franchises, a series page, a movie page, a person page, /my/* on a real-datacopy signed in as az5b2 as the baseline.2. Move every root .hl except project.hl into lib/ (one file per topic; merge files that belong together, splitfiles that mix topics). Duplicated helpers (envOr, todayStr, storageDir, …) once in lib/util.hl.3. project.hl = map: config, routes/wiring, short index comment (feature → file). Move all process functions out.4. `let` only where reassigned; every other `let` becomes a plain declaration. Also in components/ and tools/.5. Topic files keep only the central logic; noise and cross-topic helpers to lib/util.hl (or lib/<topic>-helpers.hl). API endpoints, faces and page handlers become thin wrappers that call the topic function.6. No new concepts, no layers, no behaviour change. All three gates green; page output identical to the baseline(diff); load times not worse. README (file map) + STATUS. Commit in small steps (move / util / project.hl / let).## Report — loreana …/tracker.worldapi.org/reports/028-code-order.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w078.md)Before/after counts, the new file map, gates, output diff result, commits, open points. Foreground only, never wait.
Branches
Latest commits
- 23375c58mission 044: report, LOG, STATUSmre
- c6fd928emission 044: 4096 slices for tables over 200 K rows, 15 ms budget, TRACKER_SLICE_DEPTH for testsmre
- fb057680mission 044: jobs.hl imports mergeLeft (gate found it), mission file, slices benchmre
- d25bd14amission 044: sliced merge prepare + sliced collections prepare; jobs-dump old/new check + bulk fixturemre
- 633ee210mission 044: sliced table scans (slices.hl, pk-range slices) for the adult/kind/status/art/credits/details-repair queuesmre
- 6648ba44mission 042: real-browser E2E on ce6f2e0a re-vendor 69/0 at 390 + 1280mre
- 3ed3a0efmission 042: gates old/new equal (browser #41 route-table regex accepts unescaped hl:web output), real-data TTFB, E2E blocked by lisbeth lockmre
- d5b61e90LOG 042mre
- 4acdbaccmission 042: memory comparison old vs ce6f2e0a (stopped: warm VmHWM higher), reportmre
- d0f620d6mission 042: re-vendor Hybriel ce6f2e0a (plugins incl. mpackdb; bin runtime built from the same archive, git-ignored), compact=false keptmre
- 5bd14e12mission 040: theme 76f99f6 gates + E2E green; 44 px fixes (skeleton row, type-word, genre-link/pill); README, reportmre
- 77cfa45cmission 040: partial report (theme/modal/pagination re-copied, tilelist onPage, 44 px taps; gates new + E2E pending)mre
- 4b14822fe2e-theme: menu marker by colourmre
- 09780f4emission 040 WIP: theme, modal, pagination, tokens re-copied from layouts 76f99f6; tilelist uses onPage; tap sizes 44 px for tracker's own small buttons; tests/e2e-theme.mjsmre
- fb80bb8chotfix: open the 5 show stores without compaction (compact = false) — compact-on-open left another handle on stale offsets, every read gave a bare Number (hybriel mpackdb refresh after a shrink); live down 2026-10-20 05:11mre
- e00d3bf7paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
- a8c7f234tracker#36 (mission 039): tools/tmdb-check.hl survives a dropped connection (on Error, asked again, failed lines) and resumes with --from N; tests/tmdbcheck.mjs 6/6 against a fake TMDBmre
- 9c230516mission brief w39mre
- 3609121dmission 038 docs + report (quota stop): README/kinds.md for #43 #42 #36, STATUS, LOG; HEAD browser gate 374/8 in the in-app daily run block (hour-boundary suspected, rerun pending), other gates green; #36 real run needs TMDB_READ_TOKENmre
- a5d06e79tracker#36 (mission 038): tools/tmdb-check.hl + lib/tmdbcheck.hl — every live migrated title's migrated title + year against its TMDB entry (one GET /movie|tv/<id>?append_to_response=alternative_titles, 260 ms apart, passing failures asked once more): ok / ambiguous (one of title, year disagrees) / clear (both, or 404); read-only; token only from TMDB_READ_TOKEN; --stored = a title-only preview from the TMDB names already stored (no request). Tested against a fake TMDB (.scratch/w38/t36): 7 titles, 3 ok, 2 ambiguous, 2 clear, data unchangedmre