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
- 90734c6cMerge branch 'hm60-shortids'mre
- e0db0d1bHM60 report: tracker#60 packed short-ID ownersmre
- 3c79b576Pack short-ID ownership into byte buffersmre
- e822524bstatus wordingmre
- 1c7f0480log: HM60/HM61 startedmre
- 2841d215missions HM60 HM61mre
- 289c6ce4HM1 report: heap object breakdownmre
- 2e7d6257log: HM1 startedmre
- 2f790465mission HM1: heap object breakdownmre
- a18957falog: evening re-measure after CBmre
- aac9a98dlog: evening re-measure startmre
- 45163bd4log: person/tmdb error hypothesismre
- cb38de2blog: swap 503 causemre
- fd10c3d5log: CB livemre
- 7557c025log: CB deploy try 2mre
- 06a7534aMerge branch 'cb'mre
- 2f8030d6log: CB gates greenmre
- 498bf644log: CB gates startmre
- f59c2847gc1: bound the five request caches (shows.hl cacheLimit)mre
- 6ea2c6d6log: morning re-measure 11-04mre