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
- 7d38cec4docker-compose: nofile 65536 (default soft 1024 refused boot: errno 24 in fs.listDir, Hybriel 528bc89f)mre
- 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
- 9b3828aemission 046a: report, LOGmre
- 4b37356emission 046: franchise seed supersedeCollections reads the curated timelines once (10 s one-tick block at the end of boot)mre
- ac6268e3mission 046a: re-vendor Hybriel 528bc89f (integration 6): plugins mpackdb/time/web (bin/ git-ignored)mre
- 322b3293mission 046: photoQueue guard for non-row fetch results (damaged persons index)mre
- e5b99aecmission 046: photoQueue in slices (people.hl photoQueueStart/Step, jobs.hl photoTick), tests/photoqueue.hlmre
- 31dcf2admission 045: report, LOGmre
- 9c3971d0tests/persons-skip-count.hlmre
- 4d72e365mission 045mre
- b9cae4c9slices: skip and count non-row values from range(); merge persons pass falls back to iterate; guard testmre
- 3db7dc31merge w44-jobs-slices into w43-trkmemmre
- 593dab6fmission 043: report, LOGmre
- 1a5a4818boot scans back to iterate (slices measured slower: titles 114 s, episodes 141 s, persons failed); lambda per rowmre
- 03d29893boot scans read primary-key slices (lib/slices.hl from mission 044): iterate is eager too; people view log line back; allShows/allEpisodes stay for toolsmre
- 23375c58mission 044: report, LOG, STATUSmre
- c6fd928emission 044: 4096 slices for tables over 200 K rows, 15 ms budget, TRACKER_SLICE_DEPTH for testsmre
- fb057680mission 044: jobs.hl imports mergeLeft (gate found it), mission file, slices benchmre
- 0d6293ebmission 043: mission filemre
- d25bd14amission 044: sliced merge prepare + sliced collections prepare; jobs-dump old/new check + bulk fixturemre