gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit641f3b54641f3b54Tracker: Apollo answermre641f3b54/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

  • 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
  • 298785f2Tracker: CL1 startedmre
  • 36b22710Tracker: port slot, CL1 briefmre
  • a401190fTracker: GO for the crash loopmre
  • e195d372Tracker: token pathsmre
  • 7f541d11Tracker conductor: CONDUCTOR.md, short STATUS.md, old status + decisions archive to archive/2026-10-31mre
  • 8dd423f7README: login.js stays by caramboleyo's explicit rulemre
  • d8df1493tracker: standby service on port 45018 and a gap-free hand-over in deploy.sh step 4mre
  • 36dd1686ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • ff9b838etracker: the Ended status pill uses the same red as layouts (pill danger); gate updatedmre
  • 40d9719eTP2: LOG line and report for the tracker pillsmre
  • ab3f2ba5tracker: status, genres, TMDB/IMDb/TVDB/TVmaze links and list kinds use the theme's pill; dense season list with the season check centred on its title line; gates for bothmre
  • 521061d6tracker header on phones: signed in, the brand fits whole at 360 and 390 px (tighter gaps and side paddings, slightly smaller brand, narrow screens and signed in only); mobile gate checks itmre
  • 18114a53tracker: franchises gate waits for the signed-out selector instead of the removed Log in buttonmre