tracker
All repositories: gitoria
3.6 KB
# HM65: fewer live heap objects with mpackdb `fields` and hl:heap.snapshotTask (tracker#65; Apollo 2026-11-07): "GO fields + heap.snapshot, Sol $3 on a branch." Anton: GC incremental sweep is parked, fewer live objects is the lever.Tracker's reading (unconfirmed): measure with heap.snapshot what holds the live heap; where a boot map or scan reads whole records but keeps only some fields, use `fields`; prove the drop on a copy. No behaviour change. Tracker deploys.## Read first- Worker rules: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (read fully). .hl work: /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, docs/CODE-ORDER.md.- /media/STORAGE/projects/hybriel: plugins/mpackdb docs "Read selected fields (mission 600)"; SPEC.md near line 3303 (hl:heap, snapshot). main's bin is day48, it has both.- reports/HM1-heap-objects.md (method: copy, warm-up, [hl-gc]), reports/HM64.md, HM63.md (the last such steps and how they measured).- At a Hybriel gap: STOP with a repro, never a workaround. No hand-written JS. Never edit gates to make them pass.## SetupWorktree: `git worktree add -b hm65-fields /media/STORAGE/claude-scratch/tracker/HM65/wt main`, `cp -a` main's bin/ into it (git-ignored). Do not touch the main checkout. Copy data: extract /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261107-0814.tgz into HM65/ without posters/profiles, sessions or .env, jobs disabled (HM1 recipe). Port 8713 (slot 8701-8719 on loreana; 8700 never; `ss -ltnp` first).## Steps1. Baseline on the copy: warm up, then median of the final 10 [hl-gc] lines (marked objects, live bytes, mark, pause), ready time, RSS. heap.snapshot top roots: temporary instrumentation only, never committed unless behind nothing that runs on live.2. Apply `fields` where the snapshot and the code show whole records read to keep a part (Anton's list: catalog.index 294 MB, shortids.owners 101 MB, search.buckets 85 MB, search.entId/entText 76 MB each, castProfiles 50 MB; some may not profit: a map of strings stays a map of strings; say so). One commit per structure, each with its own measured before/after. Stop adding structures once one brings under 1 % of objects. A structure where the only real fix is a native index or a rebuilt store: name it with its number, do not start it.3. Same-page proof: canonical HTML of about 50 pages identical to baseline, search results identical, same CSS. Cold start to first 200 on empty storage, one run (RV48: 105-120 s): must not jump.4. All gates in deploy.sh GATES (11), LC_ALL=C, under `flock /media/STORAGE/claude-scratch/tracker/gates.lock`, runner as in RV48 (claude-scratch/tracker/RV48 or CB/gates.sh with your paths), detached with a log. Expected all 0 failed (browser 389, security 56, kinds 32, franchises 53, pager 229, franchiseseed 26, signin-return 3, theme 0, person-lookup ok, mobile 45, warmstart 12). Known: browser gate failed 8 once when a run crossed a full hour UTC (daily-sync fixture): if so, rerun that gate alone once, report both.## LimitsScratch only /media/STORAGE/claude-scratch/tracker/HM65/. Nothing in /tmp, /home/mre or projects/. No live access, no byrodin, no deploy, no push, no lisbeth Chrome, no LOG/STATUS/tickets. Do not merge. Stop everything you started by saved PID; list name+PID. Leave the worktree.## ReportHM65/REPORT.md, copy to reports/HM65.md, commit on the branch. Final message <=10 lines: commits, table per structure (objects and MB before/after), overall objects, mark, pause, ready, RSS before/after, cold start, page comparison, gates, stopped processes.Cap ~60 API requests / 150k context: if near, commit, stop what you started, report exact next steps.
Branches
Latest commits
- d2e6d26bMerge branch 'records-park55' into mainTracker
- f567f025|||PR records: park #55, no Claude workers ruleTracker
- c21aff6bMerge branch 'records-hm55c' into mainTracker
- 9ba258d3|||PR records: HM55b resultTracker
- 64f2d300Merge branch 'records-hm55b2' into mainTracker
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- a4d1a7d2|||PR records: later steps checked, branch auditTracker
- e070e16fMerge branch 'records-dp75' into mainTracker
- 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker