gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2f986ca32f986ca3Log: RT50 passmre2f986ca3/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

  • 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
  • 62a5f6c7HM67 brief, HM66 mergedmre
  • b32b8440Merge hm66-catalogindex: packed catalog indexmre
  • 2db0f7adReport HM66 heap measurements and validationmre
  • 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
  • 71134e21HM66 briefmre
  • ed4cbab2status timemre
  • e982c26dlog: HM65 mergedmre
  • 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre