gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2c95ac462c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker2c95ac46/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

  • 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker
  • b9c7c3c8Merge branch 'records-dp74' into mainTracker
  • 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
  • b1496147Merge branch 'ap61' into mainTracker
  • 2047955bMerge branch 'u12-gateports' into mainTracker
  • c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker
  • 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
  • 0b86324aMerge branch 'records-dp73' into mainTracker
  • 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker