gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita722e526a722e526log: #62 blocked by hybriel#317mrea722e526/missions/028-code-order.md

1.7 KB

  1. # Mission 028 — tracker: code order cleanup (no behaviour change)
  2. Rules: /CONTAINERS/projects/antcolony/docs/code-order.md (read via `cat` on Byrodin — it is the creator's own wording).
  3. Repo loreana:/media/STORAGE/projects/tracker.worldapi.org (main at HEAD, deployed). Rules: tracker missions/002-*.md
  4. (kill by PID, never read .env; git: commit on main only, never push). Ports 8720–8731.
  5. 1. Before: count root .hl files, project.hl lines, `let` total + how many are never reassigned; save the page output
  6. (HTML) of /, /movies, /series, /shows, /franchises, a series page, a movie page, a person page, /my/* on a real-data
  7. copy signed in as az5b2 as the baseline.
  8. 2. Move every root .hl except project.hl into lib/ (one file per topic; merge files that belong together, split
  9. files that mix topics). Duplicated helpers (envOr, todayStr, storageDir, …) once in lib/util.hl.
  10. 3. project.hl = map: config, routes/wiring, short index comment (feature → file). Move all process functions out.
  11. 4. `let` only where reassigned; every other `let` becomes a plain declaration. Also in components/ and tools/.
  12. 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.
  13. 6. No new concepts, no layers, no behaviour change. All three gates green; page output identical to the baseline
  14. (diff); load times not worse. README (file map) + STATUS. Commit in small steps (move / util / project.hl / let).
  15. ## Report — loreana …/tracker.worldapi.org/reports/028-code-order.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w078.md)
  16. Before/after counts, the new file map, gates, output diff result, commits, open points. Foreground only, never wait.

Branches

Latest commits

  • a722e526log: #62 blocked by hybriel#317mre
  • 074a7418log: #62 assigned to Tracker; pending rulemre
  • 06f6ae8fHM62 report: mpackdb index gapmre
  • 86fe5430log: HM62 startedmre
  • 755307bbmission HM62mre
  • 4b2f2995HM61 report: tracker#61 packed people ordermre
  • 48faa84flog: #60 deploy startedmre
  • 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