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
- 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
- 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre
- 6da612fclog: T36A tool defectmre
- d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
- 08e55255log: HM56 done, T36A startedmre
- 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
- 5fd2ac75status: #36 GOmre
- 0d253b45mission: T36Amre
- 2aa22d23log: #36 GOmre
- 833aee2flog: #50 closed, HM56 startedmre