gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6d05fa376d05fa37Log: HM50 Part A mergedmre6d05fa37/missions/HM64-catalog.md

2.8 KB

  1. # HM64: tracker#64 catalog without its 2.67 M heap objects
  2. Task (ticket tracker#64, created by Tracker on Apollo's order). Ticket text: "Goal: the same catalog pages, order and paging from packed entries instead of one object per row."
  3. Tracker's reading (unconfirmed): HM1 option "Flatten catalog {id,key} records into parallel arrays or packed entries": catalog 2.67 M marginal objects, 294 MB; ~0.73 M row containers is the first target, larger cuts need more. Same pattern as lib/shortid-owners.hl, lib/search-text.hl. HM61 taught that an ordered marginal may not free objects while something else references them: check first and say so if the gain is small; stop early with the numbers then.
  4. ## Rules
  5. - 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; README.md relevant sections only. Basis: reports/HM1-heap-objects.md, reports/HM63.md (the method and recipes to reuse), reports/HM60.md.
  6. - Fixed tracker rules: no hand-written JavaScript; .hl only. Hybriel gap: STOP with a repro for Anton, never a workaround.
  7. - Behaviour identical (same pages, order, paging, filters). One ticket = one step.
  8. - Branch hm64-catalog from main (current HEAD, includes #63) with main's bin/ copied in, worktree /media/STORAGE/claude-scratch/tracker/HM64/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. A deploy of main runs at the same time: do not use claude-scratch/tracker/deploy/ or the deploy-init lock.
  9. - Data: unpack /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261106-0116.tgz into /media/STORAGE/claude-scratch/tracker/HM64/copy (storage only, no posters/profiles, no sessions, no .env; check disk first). Jobs off as in HM1/start.sh. Delete the copy at the end. HL_CACHE_DIR inside your scratch dir, from the first run on. Nothing in /tmp or /home/mre.
  10. - Copy app port 8710 only, HL_HOST=127.0.0.1. No stored-data change expected; if there is one, copy only, and describe the live step.
  11. - 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 pass with 0 failed.
  12. - Proof: [hl-gc] (HL_GC_STATS=1) on the warmed copy BEFORE (main) and AFTER, same load: marked objects, live_bytes, median mark_ms, pause_ms over >=10 GCs each. Page timing and same HTML before/after for /shows, /movies, their paging, sorted and filtered views as the app has them.
  13. - Budget: maxUsd 6, ~60 requests/150k context, then commit, report, stop. Stop everything started, list pids, port free at the end.
  14. - Report: reports/HM64.md, committed on your branch (no LOG/STATUS edits), plus a short final message: branch + commit, objects, mark/pause, page timing, gates, any live step.

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