gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9d806e359d806e35records: mpackdb freeze until day38mre9d806e35/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

  • 9d806e35records: mpackdb freeze until day38mre
  • a660239drecords: day37 lacks #277, wait for day38mre
  • b0abfdeaLOG: Anton hybriel#277 fix ready for day37mre
  • 7b5b2918Tracker: hybriel#277 fix comes in day37mre
  • 7ddbeec8Tracker: RV28c blocked on day35 regressionmre
  • bf401884Tracker: RV28c startedmre
  • 0ff4ecd4Tracker: RV28c briefmre
  • 06565b1fRecords: day35 relay note, tickets subscription idmre
  • c6dc3e86RV28b: switch to set day35mre
  • 24e401b8Tracker: TR7 watch cleanmre
  • b0412957Tracker: RV28b handed overmre
  • 456940c8Tracker: RULINGS pathmre
  • b87a8fdcTracker: worldapi-conductor paths backmre
  • 641f3b54Tracker: Apollo answermre
  • 8b3cbddaTracker: status, TR7 fix livemre
  • ec30162aTracker: TR7 fix livemre
  • 54cbec80compose: ignore SIGPIPE (TR7 crash loop, exit 141)mre
  • 3e164b63Tracker: status after CL1mre
  • 9d686bb3Tracker: CL1 reviewedmre
  • b8bba562CL1: crash loop report (SIGPIPE confirmed, trap wrapper option)mre