gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc98e2043c98e2043log: T36A rollbackmrec98e2043/missions/HM63-searchtext.md

3.2 KB

  1. # HM63: tracker#63 search text without 3 M heap objects
  2. Task (ticket tracker#63, created by Tracker on Apollo's order). Ticket text: "Goal: the same search results from a packed text buffer with numeric offsets."
  3. Tracker's reading (unconfirmed): HM1 measured the search text arrays at ~3.00 M objects (ordered marginal), option "Store search text in a shared packed buffer with numeric offsets; decode candidates on demand". Same pattern as lib/shortid-owners.hl (tracker#60): Bytes buffers. Search must not get noticeably slower; measure it. HM61 taught that an ordered marginal may not free objects if something else still references them: check that first and say so if the gain is small.
  4. ## Rules
  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. Basis: reports/HM1-heap-objects.md, reports/HM60.md, reports/HM62b.md; evidence in /media/STORAGE/claude-scratch/tracker/HM1/ and HM62b/ (start and measure recipes): reuse them, do not redo HM1.
  6. - Fixed tracker rules: no hand-written JavaScript; .hl only. Hybriel gap: STOP with a repro for Anton, never a workaround.
  7. - Behaviour identical (same results, same order, same paging). One ticket = one step: nothing from catalog or other options.
  8. - Branch hm63-searchtext from main 8dfe42c (copy main's bin/ into your worktree: it is the gated day44) in worktree /media/STORAGE/claude-scratch/tracker/HM63/wt. Commit on that branch only; never touch main or its checkout, never push, deploy or touch byrodin. A deploy of main is running at the same time: do not use /media/STORAGE/claude-scratch/tracker/deploy/ or the deploy-init lock.
  9. - Data: unpack /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-20261104-2125.tgz into /media/STORAGE/claude-scratch/tracker/HM63/copy (storage only, no posters/profiles, no sessions, no .env; check disk first). Jobs off as in HM1/start.sh. Delete the copy at the end. HL_CACHE_DIR inside your scratch dir (XDG_CACHE_HOME does not control it). Nothing in /tmp or /home/mre.
  10. - Copy app port: 8710 only, HL_HOST=127.0.0.1. No stored-data change expected; if there is one, copy only, and describe the live step.
  11. - Gates: suite on ports 8701-8709, 8711, 8713-8719, ONLY under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <your gates.sh>`, a copy of /media/STORAGE/claude-scratch/tracker/CB/gates.sh with your paths, plus HL_CACHE_DIR. All 11 pass with 0 failed. Stop the copy app before that if it conflicts.
  12. - Proof: [hl-gc] (HL_GC_STATS=1) on the warmed copy BEFORE (main 8dfe42c) and AFTER, same load: marked objects, live_bytes, median mark_ms, pause_ms over >=10 GCs each. Search timing before/after for at least 8 queries (short, long, one-letter, no hit, non-Latin), warm, p50/max. Same HTML for those queries and paging before/after.
  13. - Budget: maxUsd 6, ~60 requests/150k context, then commit, report, stop. Stop everything started, list pids, port free at the end.
  14. - Report: reports/HM63.md, committed on your branch (no LOG/STATUS edits), plus a short final message: branch + commit, objects, mark/pause, search timing, gates, any live step.

Branches

Latest commits

  • c98e2043log: T36A rollbackmre
  • ae905f15Merge t36a: tracker#36 apply rechecks, reportmre
  • 796bfaceT36A: report validated fixes, failed live SSH check and verified rollbackmre
  • 55257852log: #53 live, #56 mergedmre
  • 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
  • 7aea52batmdb fix: protect owners without slugs and record passing gatesmre
  • 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre
  • 6da612fclog: T36A tool defectmre
  • d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
  • 08e55255log: HM56 done, T36A startedmre
  • 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
  • 5fd2ac75status: #36 GOmre
  • 0d253b45mission: T36Amre
  • 2aa22d23log: #36 GOmre
  • 833aee2flog: #50 closed, HM56 startedmre
  • ac58c1e5mission: HM56mre
  • 58979c0clog: HM54 held for decision, DP65 startedmre
  • bb2ebc67log: #64 live, #53 mergedmre
  • 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
  • 2156cc7flog: HM54 reviewmre