gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6d05fa376d05fa37Log: HM50 Part A mergedmre6d05fa37/missions/CB69-import-graph.md

3.7 KB

  1. # CB69: bring cold compile back after tracker#59
  2. Task: 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.
  3. 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.
  4. Tracker's reading (unconfirmed), in this order, measuring after each step:
  5. 1. Move `appTitle` to a small dependency-free topic and import it from there everywhere. Also any other component import of ../project.hl.
  6. 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.
  7. 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.
  8. 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.
  9. ## Rules
  10. - 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.
  11. - 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.
  12. - 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.
  13. - 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.
  14. - 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.
  15. - 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.
  16. - 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.
  17. - 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

  • 6d05fa37Log: HM50 Part A mergedmre
  • 1c7dab74HM50: the shell reads the framework's online state, netProbe removed (tracker#55)mre
  • e8b91697HM50: search address follows the text via navigate(path, replace = true) (tracker#52)mre
  • 6fe1896cHM50: re-vendor Hybriel set day50 (source 0ae38232, bin d3ef9d16)mre
  • 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