tracker
All repositories: gitoria
3.7 KB
# CB69: bring cold compile back after tracker#59Task: tracker#59 demands "Gates must be green before and after and the page output unchanged (rule 7)." Its move made cold start fail the 900 s boot gate. Find the app-side fix.Facts (claude-scratch/tracker/CB68/REPORT.md, read it fully; minimal-repro/ and its harness are there): empty-storage cold start to first HTTP 200: d1a91be 110 s, 29867a7 (main, HM59) 1173 s, day46 no better. 1133 s of that is "served modules": every page module went from ~3 s to ~55 s, including unchanged ones such as loginfailed. Trigger: ec54fc3, which made lib/shows.hl import follows, watches, details, franchises, util, people (cycles back through shows). Many components import `appTitle` from ../project.hl, so they walk the map's whole graph.Tracker's reading (unconfirmed), in this order, measuring after each step:1. Move `appTitle` to a small dependency-free topic and import it from there everywhere. Also any other component import of ../project.hl.2. Only if still clearly above target: keep page-building helpers out of foundational lib/shows.hl (e.g. a page topic the components import, so low-level topics do not pull page logic), and break import cycles this creates. Move only, no rewrite.Target: first HTTP 200 on empty storage at most 200 s, same method as CB68. If not reached, say what remains and why; do not change the boot-gate timeout, and do not revert HM59 without saying so first.Proof: cold start numbers per step (fresh HL_CACHE_DIR and TMPDIR each, HL_BUILD_TIMES=1, HL_GC_STATS=1, same switches as CB68) with serial runs and load noted; served CSS byte-identical and canonical HTML identical to main 2f07c1b on the 26 routes signed out and signed in (claude-scratch/tracker/HM51/ scripts); 11 gates once at the end. Do not rerun full browser proof beyond the gates: nothing but imports and placement changes. Rerun the reduced loginfailed compile from CB68/reduce.py on your final tree as a quick check.## Rules- Read fully: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md, /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, /media/STORAGE/projects/hybriel/docs/CODE-ORDER.md. Map: project.hl.- Fixed tracker rules: no hand-written JavaScript; .hl only; mpackdb-touching helpers used in an `on server` face must be `static`; no workaround at a framework gap: repro in the scratch dir, report. Behaviour and looks identical.- Branch cb69-imports from main (current HEAD) with main's bin/ copied in (`cp -a`), worktree /media/STORAGE/claude-scratch/tracker/CB69/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. Do not use claude-scratch/tracker/deploy/ or the deploy-init lock.- HL_CACHE_DIR and TMPDIR inside your scratch dir /media/STORAGE/claude-scratch/tracker/CB69/ from the first run. Nothing in /tmp or /home/mre. App port 8712 only, HL_HOST=127.0.0.1; check `ss -ltnp`; every start waits >=120 s.- Data for HTML comparison: newest finished backup in /media/STORAGE/deploy-backups/tracker.worldapi.org/ (storage only, no posters/profiles, no sessions, no .env) into CB69/copy, jobs off as in claude-scratch/tracker/HM1/start.sh, delete at the end.- Gates: ONLY under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <your gates.sh>`, a copy of /media/STORAGE/claude-scratch/tracker/CB/gates.sh with your paths, plus HL_CACHE_DIR. All 11 with 0 failed.- Budget: maxUsd 4, ~60 requests/150k context. Long waits: use a detached script with a log, not many polling requests. Stop everything started, list pids, port free at the end.- Report: reports/CB69.md on your branch (no LOG/STATUS edits, no tickets), plus a short final message: branch + commit, cold start per step, proof, gates, conflicts for hm54-fill.
Branches
Latest commits
- 2f391aa9Log: HM50 startedmre
- 4b59c03dHM50 mission: doc pathmre
- ed526d67HM50 missionmre
- 2f986ca3Log: RT50 passmre
- 1c4715a4RT50 mission: day50 repro retestmre
- 57d1c0dcLog: day50 retest requestmre
- 60b1f419Log: Anton #336 result, wake checkmre
- 919a18aalog: scratchmre
- 6b504440status tidymre
- 9332bd10log: DP70 livemre
- be11daa0DP70 brief fixmre
- 886a7028DP70 brief, HM67 mergedmre
- b41cdd6dMerge hm67-searchids: packed search IDsmre
- 385904eaReport HM67 matched heap measurements and gate proofmre
- e5c9b659Pack retained search IDs into UTF-8 bytesmre
- 62a5f6c7HM67 brief, HM66 mergedmre
- b32b8440Merge hm66-catalogindex: packed catalog indexmre
- 2db0f7adReport HM66 heap measurements and validationmre
- 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
- 71134e21HM66 briefmre