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
- 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre
- 07a5c883HM65 report measured field projection and complete validationmre
- 0eab858fRead only catalog date fields during the episode boot scanmre
- d3179273log: HM65 hl:heap vendoringmre
- cb78a1a0HM65 report missing heap diagnostic package with repromre
- 89606a5cHM65 briefmre
- 096ce0d4log: DP69 live on day48mre
- b3d8a80bDP69 brief, RV48 mergedmre
- ce6d7d32Merge rv48: Hybriel day48mre
- 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
- 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
- 4a802ae7status: RV48 runningmre
- 0a5412b6RV48 brief, day48 outmre
- 56665efelog: CB69 mergedmre
- 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
- e55b379dKeep shared app title independent of the route import graphmre
- 9a99659blog: hybriel#334, batch waits for day48mre
- 85fa6c9blog: CB68 result, CB69 startedmre
- 2f07c1b7log: DP68 boot gate failed, CB68mre
- 9652782dlog: HM59 merged, DP68 startedmre