gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit46a3703646a37036records: DP71 liveTracker46a37036/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

  • 46a37036records: DP71 liveTracker
  • 3bcb7039Status/log: DP71 in progressTracker
  • 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
  • 783957c2Merge branch 'sr1-search' into mainTracker
  • 792b9652README: search results come from the routeTracker
  • fd8570b1|||PR search: one server exchange per keystrokeTracker
  • e8f5cbcaLog: SR1 result, SR1bTracker
  • 8ad275a4Log/status: tracker 68, SR1Tracker
  • f5a06a0fLog: gitoria push setup, SR1Tracker
  • d6b109baMission SR1mre
  • 608b7558Log: FF1 merged via PR #1mre
  • 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker
  • c934361a|||PR tests: gates fail fast when the app exits during startmre
  • d714ae42Log/status: AP56 closed out, FF1mre
  • a429d088Mission FF1mre
  • 03bbfba3Log: AP56c causemre
  • 24845fe3Log: AP56b result, AP56cmre
  • 6a6d71eaLog: gitoria membershipmre
  • 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
  • 6bb7c20estatus: window 2026-11-09mre