gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd049b8b8d049b8b8Log: HM50 live, #52 donemred049b8b8/missions/HM66-catalogindex.md

3.1 KB

  1. # HM66: catalog index without its 2.94 M heap objects (then HM67: search IDs)
  2. Task (tracker#66; Apollo 2026-11-07): "GO catalog.index + search.entId packed (like #60/#63), one Sol worker at a time, ~$3 each, gates + GC measure on a copy." This worker does tracker#66 only. Tracker deploys.
  3. Tracker's reading (unconfirmed): same pages, order, paging and results; the catalog index (release/upcoming maps, genre membership maps, ID and key strings) kept in packed form (Bytes + offsets, numbers) instead of millions of small strings and maps.
  4. ## Read first
  5. - Worker rules: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (read fully). .hl: /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, docs/CODE-ORDER.md.
  6. - reports/HM65.md (snapshot method and roots table, its measuring helper), reports/HM64.md (flat catalog rows), reports/HM60.md and HM63.md (packing done right), reports/HM61.md (lesson: packing IDs gains nothing while another map still holds the same strings; HM65's roots are first-reach, so catalog.index may include ID strings that search.entId also holds. Say what the snapshot shows after your change, per root).
  7. - At a Hybriel gap: STOP with a repro, never a workaround. No hand-written JS. Never edit gates.
  8. ## Setup
  9. Worktree `git worktree add -b hm66-catalogindex /media/STORAGE/claude-scratch/tracker/HM66/wt main`; `cp -a` main's bin/ (day48). plugins/heap from `git -C /media/STORAGE/projects/hybriel archive b6a8f429 plugins/heap` for measuring only, never committed, like the snapshot calls. Copy: extract /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261107-0814.tgz into HM66/ (no posters/profiles, sessions, .env; all job switches 0), as HM65 did. Port 8713 (+ 8714-8719 for gates; 8700 never; `ss -ltnp` first).
  10. ## Steps
  11. 1. Baseline = main as is (HM65's numbers are the reference, rerun on your copy for a fair pair): census as HM65 (last 10 GC: objects, live bytes, mark, pause), snapshot per root, ready time, RSS.
  12. 2. Change the catalog index to packed form. Same output: catalog pages, order, paging, upcoming, genres.
  13. 3. After: same census and snapshot. Stop and report if the drop is under 1 % of objects, with the reason.
  14. 4. Proof: ~50 pages canonical HTML identical (HM65's list plus catalog paging and genre pages), CSS same; cold start one run on empty storage (HM65: 53 s); all 11 gates from deploy.sh GATES, LC_ALL=C, under flock /media/STORAGE/claude-scratch/tracker/gates.lock, runner as HM65's. Browser gate fails 8 when crossing a full UTC hour (known): rerun it once alone, report both.
  15. ## Limits
  16. Scratch only /media/STORAGE/claude-scratch/tracker/HM66/. Nothing in /tmp, /home/mre, projects/. No live, byrodin, deploy, push, lisbeth Chrome, LOG/STATUS/tickets. Do not merge. Stop all you started by saved PID, list them. Leave the worktree and the extracted copy (HM67 reuses it).
  17. ## Report
  18. HM66/REPORT.md, copy to reports/HM66.md, commit on the branch. Final message <=10 lines: commits, objects/live/mark/pause/ready/RSS before→after, per-root table for the changed roots, page proof, cold start, gates, stopped processes.
  19. Cap ~60 API requests / 150k context: if near, commit, stop, report exact next steps.

Branches

Latest commits

  • d049b8b8Log: HM50 live, #52 donemre
  • 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