gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd049b8b8d049b8b8Log: HM50 live, #52 donemred049b8b8/missions/HM61-peopleorder.md

3.8 KB

  1. # HM61 — tracker#61 people order without 2.4 M heap objects
  2. Task (ticket tracker#61, created by Tracker on Apollo's order 2026-11-04; Apollo verbatim: "start … 4 (people order packed) on Sol, each on a copy with gates + an [hl-gc] before/after"). Ticket text: "Goal: the same order and paging from a packed representation, with the finished startup buffers released."
  3. Tracker's reading (unconfirmed): HM1 measured the peopleView ordering at up to ~2.44 M objects (1,220,682 IDs, ~2 objects each; part of that are ID strings shared with other maps, so the standalone cut may be smaller — measure it). Pack the order into a compact form (e.g. record offsets or ints in one buffer) and decode only the 24 IDs a /people page shows; release the null-filled startup arrays. Keep: the same order including ties on equal time, recent updates reordering, paging and counts on /people.
  4. ## Rules (both HM workers)
  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. Measurement basis: reports/HM1-heap-objects.md and its evidence in /media/STORAGE/claude-scratch/tracker/HM1/ (start.sh, instrumentation.patch, server4.log, heap-deltas.json) — reuse its start recipe, do not redo HM1.
  6. - Fixed tracker rules: no hand-written JavaScript; .hl only. mpackdb UUID @id. Hybriel gap: STOP with a repro for Anton, never a workaround (no `import c`, no runtime patch).
  7. - Behaviour must stay identical (same pages, same order, same redirects, same uniqueness). One ticket = one step: build only this option, nothing from the others (search text, person maps, catalog are later tickets).
  8. - Branch `hm61-peopleorder` from main 2e7d625 in a worktree at /media/STORAGE/claude-scratch/tracker/HM61/wt. Commit on that branch only; never touch main, never push, never deploy, never touch byrodin.
  9. - Data: unpack /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261104-0940.tgz into /media/STORAGE/claude-scratch/tracker/HM61/copy (storage only, no posters/profiles, no sessions, no .env; check disk first, another worker unpacks one too). All jobs off as in HM1/start.sh. Delete the copy at the end. Set HL_CACHE_DIR inside your scratch dir (HM1 found the compile cache otherwise lands in home).
  10. - Port for your copy app: 8712 only (HL_HOST=127.0.0.1). If the change touches stored data or indexes (a migration), run it on the copy only and describe it exactly for the live step.
  11. - GATES: the gate suite uses ports 8701-8709, 8711, 8713-8719, and the other HM worker runs it too. Run it ONLY under the shared lock: `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <your gates.sh>` with a copy of /media/STORAGE/claude-scratch/tracker/CB/gates.sh (cd to your worktree, logs into your scratch dir). Each gate start waits ≥120 s (cold compile). All 11 must pass with 0 failed. Stop your copy app while you hold nothing else on those ports.
  12. - Proof required: [hl-gc] (HL_GC_STATS=1) on the warmed copy BEFORE (main 2e7d625) and AFTER (your branch): marked objects, live_bytes, median mark_ms and pause_ms over ≥10 GCs each, same load (HM1's census-streaming method or a fixed request loop). Plus a functional check against the real copy of every behaviour you touched (e.g. sample URLs before/after give the same status/Location/HTML).
  13. - Budget: maxUsd 6, ~60 requests/150k context, then commit, report, stop. Stop everything you started (servers, chromes, loops); list them with pids in the report; `ss -ltnp` your port free at the end.
  14. - Report: /media/STORAGE/projects/WorldAPI/tracker.worldapi.org/reports/HM61.md (only that file in the main repo; no LOG/STATUS edits), plus a short final message: branch + commit, objects before/after, mark/pause before/after, gates result, any live migration step.

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