gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitbfc4ea4dbfc4ea4dMerge branch 'ap62' into mainTrackerbfc4ea4d/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

  • bfc4ea4dMerge branch 'ap62' into mainTracker
  • 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