tracker
All repositories: gitoria
10.0 KB
# HM63: packed search textBranch `hm63-searchtext`, based on main `8dfe42c`. The code and all eleven gates are complete. Required creator-Chrome confirmation remains blocked; this is not full browser proof or deployment approval. No push, deployment, byrodin access, main-checkout change, LOG edit or STATUS edit was performed.The search's normalized strings now live in one growable UTF-8 Bytes buffer. A numeric offsets list stores the byte boundaries in insertion order. Each bucket candidate is decoded once for the unchanged matching, grapheme-length scoring and ranking. Rename checks read the same packed entry, and later imports/person additions append through the existing addEntry path. IDs, bucket membership, title visibility, stale-entry handling and top-list limits remain unchanged. The standalone tests/search-text.hl probe passed ASCII/year text, multibyte/combined graphemes, empty entries and appends across growth. The existing browser gate also covers imports, new people and renamed titles.## Copy and methodThe exact supplied backup `tracker.worldapi.org-20261104-2125.tgz` was restored into scratch after checking 175 GiB available. It yielded 72 storage files totaling 5,823,685,641 bytes in 74.491 seconds. Posters, profiles, sessions and .env were excluded. Only the disposable copy was used; all HM1 job switches were zero. Both apps listened only at 127.0.0.1:8710 with HL_CACHE_DIR and TMPDIR inside HM63. Main's complete bin directory was copied, never symlinked. Both runs used binary SHA256 `4f0f263ee2700cb74653172b6c490400db073adc6da92c3efff9e64439ac88dd` and the committed MPackDB plugin SHA256 `6c39ec8d4be88ed68f20db0ed3b641ac062504608c7cbb426496742a807deff7`. No runtime re-vendor or data/index migration was introduced.Each successful warmed run performed exactly three complete streaming passes over the same 1,306,310 person rows (3,918,930 rows total), keeping no rows. Only HL_GC_STATS=1 collections between census start/end markers count. Compiler/startup/shutdown collections are excluded. Temporary .hl instrumentation was identical on both sides and was removed before the gates. BEFORE is archived main 8dfe42c, AFTER is the branch. Boot observations were:```json{"before": ["boot scan: 289209 titles in 39009 ms","boot scan: 2748203 episodes in 19811 ms","search index: 289120 titles, 1306308 people, 28166 keys, 171452 ms","boot scan: 1306310 people in 112631 ms","boot scan: done in 171451 ms"],"after": ["boot scan: 289209 titles in 33235 ms","boot scan: 2748203 episodes in 20444 ms","search index: 289120 titles, 1306308 people, 28166 keys, 137928 ms","boot scan: 1306310 people in 84249 ms","boot scan: done in 137928 ms"]}```The first baseline attempt exceeded its 30-minute runner limit during a longer census and was stopped. Its log is excluded-before.log; it supplies no final comparison numbers. The repeated baseline used the shorter fixed load above, and AFTER used that identical load. Shared-machine contention and compilation mean boot wall times are not an isolated packing benchmark.## Warm GC measurementsAll values are medians of individual warmed collections; live bytes are GC-counted bytes, not RSS or native-index memory.| Version | GC samples | Marked objects | Live bytes | Mark ms | Pause ms ||---|---:|---:|---:|---:|---:|| before | 21 | 11581792.0 | 977136321.0 | 1306.403 | 2470.386 || after | 29 | 8391362.0 | 943834696.0 | 787.689 | 1523.924 |The reduction is 3,190,430 objects (27.547%) and 33,301,625 live bytes. Mark time fell 518.714 ms and pause time fell 946.462 ms. The object reduction is approximately two objects for each of 1,595,428 indexed texts (289,120 titles and 1,306,308 people). Thus other application roots did not keep a material population of these normalized text strings alive; the gain is substantial rather than the small shared-reference marginal HM61 warned about. This conclusion comes from the matched heap change, not a per-root heap attribution API.## Search timing and identical resultsTimes are warm end-to-end local HTTP response milliseconds, including HTML rendering and any naturally triggered GC. Each path had one unmeasured warm-up request and seven measured requests. These are sequential observations on a shared host, not a claim that CPU decoding itself became faster.| Query | Before p50 / max ms | After p50 / max ms ||---|---:|---:|| th | 134.142 / 2689.682 | 127.765 / 140.936 || the | 121.53 / 181.836 | 104.753 / 1581.139 || Doctor Who 2005 | 5.588 / 6.161 | 3.655 / 3.842 || Foundation | 5.798 / 7.685 | 4.338 / 4.9 || a | 2.627 / 9.079 | 1.635 / 1.753 || zzzxqnohit123 | 2.386 / 3.202 | 1.538 / 1.664 || Amélie | 8.349 / 10.894 | 5.096 / 5.263 || 東京 | 3.739 / 4.432 | 2.127 / 2.339 || John | 36.557 / 42.22 | 26.113 / 27.319 |All nine medians improved; the largest common-prefix median was 134.142 ms before and 127.765 ms after. Tail latency remains visible: `the` had a 1,581.139 ms AFTER maximum, while `th` had a 2,689.682 ms BEFORE maximum. These measurements show no median slowdown, but do not promise elimination of long allocation/GC pauses or prove a general tail-latency improvement.All 14 response statuses matched. The nine search pages and `/movies`, `/movies/page/2`, `/people`, `/people/page/2` had identical full HTML after replacing only the exact framework build token and offline timestamp. All result IDs, counts, order and page contents were preserved. Search has no page route; `/search/the/page/2` remained the same 404 response with byte-identical body. functional.json records normalized SHA256 hashes and exact statuses; raw bodies and all samples remain in before-http.json/after-http.json. The pager gate additionally passed 229 checks of navigation/reload/history behavior.## Gates and browser limitationThe runner was copied from CB/gates.sh, changed only for HM63 paths/cache/temp paths and a port-availability check. It ran only through `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM63/gates.sh`, after the copy app stopped, on the exact supplied shared gate ports. All eleven commands exited zero with zero failed checks:```text=== node tests/browser.mjs 01:42:38rc=0 ok no console errors/warnings 389 passed, 0 failed=== node tests/security.mjs 01:48:50rc=0 ok the server did not crash or panic through all of it 56 passed, 0 failed=== node tests/kinds.mjs 01:49:21rc=0 ok browser: no console errors / failed requests 32 passed, 0 failed=== node tests/franchises.mjs 01:50:08rc=0 ok no console errors/warnings 53 passed, 0 failed=== node tests/pager.mjs 01:50:49rc=0 ok 1280px script: no console errors/warnings 229 passed, 0 failed=== node tests/franchiseseed.mjs 01:53:12rc=0 ok no error in the server log (absorbed errors included) 26 passed, 0 failed=== node tests/signin-return.mjs 01:54:04rc=0 ok signed in: the selector says so and the one-time code is not left in the URL 3 passed, 0 failed=== node theme/check-theme.mjs . 01:54:35rc=0 check-theme: 115 files, 0 problems=== node tests/person-lookup.mjs 01:54:35rc=0 ok people.hl personBySlug ok components/person.hl person-lookup: passed=== node tests/mobile.mjs 01:54:35rc=0 ok browser: no console errors / failed requests 45 passed, 0 failed=== node tests/warmstart.mjs 01:55:02rc=0 ok after: an unknown short id is a 404 again 12 passed, 0 failedALLDONE 01:55:07```Lisbeth Chrome and ssh initially responded during setup, but the existing :9223 tunnel later disappeared and the own reverse tunnel reported `Timeout, server 100.109.3.10 not responding.` The confirmation script failed on its first json/list connection with ConnectionRefusedError before creating any target, on both versions. No confirmation tab or screenshot was created, no existing tab or session was touched, and no headless browser was substituted for confirmation. A final Chrome page list was unavailable; no empty list is claimed. The reproducible Python CDP script and after-chrome.log remain in scratch. Browser confirmation at 390×844, 800×1280, 1280×800 and desktop, including typing/reload, is the outstanding proof step.## Cleanup, delivery and docsThe excluded app PID 2878212 and successful app PIDs 570433 (BEFORE) and 832226 (AFTER) were stopped with SIGTERM by their recorded coordinators and waited for; both successful exits are 143. Coordinators 2877818, 570178, 832168 and 833793 ended; the gate coordinator PID 888415 completed with exit 0 and existing gate helpers cleaned up their server/Chrome children. Initial shell-background launches 2867415 and 2860220 ended before starting useful work. The extraction/setup PID 2814910 completed. The first own ssh tunnel PID 2877274 exited with the timeout above; replacement ssh PID 607411 was stopped by saved numeric PID after checking its scratch cwd. Some short inspection/compiler/early finish-coordinator child PIDs were not separately captured; process-final.json records the final audit rather than inventing their IDs.The restored copy and gate .scratch storage/profiles were deleted. The final port check is in cleanup-port.txt. Raw evidence, scripts and caches remain under `/media/STORAGE/claude-scratch/tracker/HM63/`. No stored-data change is required; a future authorized ordinary code deployment/restart is the only live step. No such step was performed.DOCS: Read the full brief, archived WORKER-RULES, MANUAL and RULINGS, HL-PRIMER, CODE-ORDER, project map, relevant README material and HM1/HM60/HM62b reports/recipes. The SPEC Bytes section supplied construction, append-by-reference and UTF-8 text-range decoding shapes. No component/style code changed. No language/framework gap or JavaScript workaround was encountered. The missing proof is Chrome reachability.Request accounting: approximately 70 model responses including setup, long waits, recovery, verification and reporting. The approximate 60-response target was exceeded by the failed long baseline and lost Chrome connection recovery. No extra ticket/feature or delegated worker was added. Exact billed USD is not exposed by these tools; the requested maxUsd 6 therefore cannot be independently verified here.
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