tracker
All repositories: gitoria
14.7 KB
# HM66: packed catalog indexBranch `hm66-catalogindex`, based on main `71134e211cde194a325cfeaf81b2c37cea9abcef`. Implementation commit `6ce1562388e7a1a8cba2c55721e289cb73bb0388`. No merge, push or deployment was performed.The catalog keeps persistent IDs and ordering keys in UTF-8 Bytes with numeric boundaries. The release/latest/upcoming and genre-membership maps use open addressing with u32 hash/offset/length words and UTF-8 JSON values. No per-title String map remains in the finished catalog. The genre-name map still has one packed list per genre. Temporary boot maps are packed and released before readiness. IDs, unusual release text, stable sorting, duplicate membership, refresh placement after ties, counts and paging retain their previous semantics. No storage schema or migration changes.The map grows above half occupancy. Updates append replacement values; stale payload is compacted after exceeding 1 MiB and half the buffer. Removed list entries use the same compaction threshold. Map offsets and lengths support payloads below 4 GiB. Reading an entry decodes text, so object savings trade some decoding work for fewer persistent objects. Real-copy refresh latency was not measured.## Copy and matched measurementsThe supplied `tracker.worldapi.org-20261107-0814.tgz` was restored only under HM66 scratch, excluding posters/profiles, sessions and .env. Extraction ran 09:33:09–09:34:15 UTC, producing 6,827,275,165 bytes including directories. The worktree has a real copied bin directory. The binary SHA256 is `660a9524ce21bf3e3d4d6d7693252392d2e3a362780c382239b718ece2fc6cd0`; MPackDB SHA256 is `1f81d90e95b3462c31128c7bca4d591c8241e90de4b6276ee8f9dd943a724595`. The heap plugin was temporarily extracted from Hybriel `b6a8f429` for measurement and removed before commit and gates. It is not committed.Both runs used the same restored copy at 127.0.0.1:8713, all eleven job switches zero, watching off, no supplied TMDB token, synchronous warm-up 600000 ms, and scratch-local sessions/cache/temp. Each answered the same 50 pages before three streamed person passes totaling 4,322,649 rows. Only census-marker-delimited GC observations count; compiler, boot, HTTP and shutdown collections are excluded. The table uses the last ten observations. The same named shared snapshot seeds follow the census in the same order.| Metric | Before | After ||---|---:|---:|| Median marked objects, last ten | 8467356.0 | 6181755.0 || Median live bytes, last ten | 800055482.0 | 782716760.0 || Median mark milliseconds, last ten | 845.296 | 622.1545 || Median pause milliseconds, last ten | 1620.678 | 1265.624 || Snapshot reachable objects | 8467336 | 6181735 || Snapshot reachable bytes | 799345420 | 781999974 || Warmed GC samples | 33 | 45 || Process start to warmed HTTP 200, seconds | 253.207919344306 | 226.16796414135024 || RSS after census/snapshot, bytes | 4108132352 | 4928565248 |The median decrease is 2285601.0 objects (26.993%). GC live bytes exclude opaque native indexes and allocator/collector retention; RSS includes them. Timing and RSS observations share a busy host and do not establish an isolated speedup or production latency guarantee.Boot logs:```textBEFOREboot scan: 330297 titles in 42813 msboot scan: 3038801 episodes in 13007 msboot scan: 1440883 people in 102142 msboot scan: done in 157962 msAFTERboot scan: 330297 titles in 38735 msboot scan: 3038801 episodes in 10204 msboot scan: 1440883 people in 106891 msboot scan: done in 155830 ms```The catalog root loses 2,942,199 objects, while search.entId gains 652,505 objects and 13,049,936 bytes because those shared title IDs are now first reached there. This is the HM61 sharing effect, measured explicitly. The net snapshot decrease is 2,285,601 objects and 17,345,446 bytes. RSS rises from 4,108,132,352 to 4,928,565,248 bytes, so this pair establishes no RSS improvement.## Root attributionRoot counts are first-reach attribution, not dominator retained sizes. Shared strings move to the next seed that reaches them; the total matched snapshot, rather than the catalog row alone, measures the net saving. Every root is shown to make that shift reviewable.| Root | Objects before | Objects after | Bytes before | Bytes after ||---|---:|---:|---:|---:|| catalog.index | 2942332 | 133 | 140947726 | 110268914 || search.buckets | 65485 | 65485 | 104329818 | 104329818 || search.entId | 2889672 | 3542177 | 74570864 | 87620800 || search.entText | 3 | 3 | 46137736 | 46137736 || people.castProfiles | 1134973 | 1134973 | 52394627 | 52394627 || people.view | 4 | 4 | 28818248 | 28818248 || shows.slugIds | 330287 | 330291 | 31256564 | 31256636 || shows.slugRank | 1 | 1 | 25165912 | 25165912 || shortids.owners | 7 | 7 | 100664016 | 100664016 || globals | 46841 | 47083 | 4796739 | 4831410 || statics | 550062 | 550672 | 158120695 | 158130831 || plugin/runtime | 507626 | 510863 | 32139086 | 32377637 || stack | 43 | 43 | 3389 | 3389 |## ProofAll 50/50 sampled paths have matching statuses and canonical full HTML. Canonicalization replaces only exact framework build tokens `1db46ae6ec5592a3` / `ec5cd0314594ea7a` and the framework offline metadata's 13-digit `at` timestamp. It preserves IDs, dates, counts, order and page contents. The exact paths and hashes are in summary.json; raw responses are before-http.json/after-http.json. The list covers home/settings/franchises; movie/series/show/people pages 1, 2, 3, 10, 100 and oversized boundaries; Drama/Action/Comedy/Action-Adventure pages 1/2/10; and ten searches.CSS equality: True; 55297 / 55297 bytes; SHA256 e10f4c056dab38482bf8a326587848059aeb7b566dd7d9d3a01621f53ad515e4 / e10f4c056dab38482bf8a326587848059aeb7b566dd7d9d3a01621f53ad515e4.The scratch .hl probes passed the ten existing catalog assertions with packed representation access: stable ties, missing releases, public/adult filtering, mixed genre dates, counts, refresh after equal keys, insertion/removal, day rollover and future episode retention, invalid/oversized pages. The packed map probe checked 5,000 entries through growth, misses, empty keys/null values, overwrite, enumeration and compaction; the list probe checked UTF-8, empty text, insertion/removal and compaction. Original gate sources were not changed. The old standalone tests/catalog-entries.hl fixture directly inspects the old internal representation; its packed-access adaptation is retained as hm66-probe.hl in scratch rather than editing gate/test sources under the mission prohibition. No handwritten JavaScript or Hybriel workaround was introduced.One run on initially empty storage with fresh cache/temp reached first HTTP 200 in 59.47250235127285 seconds (PID 3056774, exit 143). It remained up at least 120 seconds before stopping.All deploy.sh GATES commands ran with LC_ALL=C under the exclusive `/media/STORAGE/claude-scratch/tracker/gates.lock`. The HM65 driver was adapted only for paths, the allowed app/ident/TMDB ports 8713/8714/8715 and Chrome 8716–8719, and the prescribed browser hour-boundary retry. Ports were checked before every gate. No assertion or startup deadline was changed.| Gate | PID | Exit | Final output ||---|---:|---:|---|| node tests/browser.mjs | 3073800 | 0 | ok no console errors/warnings; ; 389 passed, 0 failed || node tests/security.mjs | 3126849 | 0 | ok the server did not crash or panic through all of it; ; 56 passed, 0 failed || node tests/kinds.mjs | 3131122 | 0 | ok browser: no console errors / failed requests; ; 32 passed, 0 failed || node tests/franchises.mjs | 3138373 | 0 | ok no console errors/warnings; ; 53 passed, 0 failed || node tests/pager.mjs | 3144614 | 0 | ok 1280px script: no console errors/warnings; ; 229 passed, 0 failed || node tests/franchiseseed.mjs | 3167989 | 0 | ok no error in the server log (absorbed errors included); ; 26 passed, 0 failed || node tests/signin-return.mjs | 3176101 | 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 . | 3180463 | 0 | check-theme: 125 files, 0 problems || node tests/person-lookup.mjs | 3180678 | 0 | ok people.hl personBySlug; ok components/person.hl; person-lookup: passed || node tests/mobile.mjs | 3180827 | 0 | ok browser: no console errors / failed requests; ; 45 passed, 0 failed || node tests/warmstart.mjs | 3184557 | 0 | ok after: an unknown short id is a 404 again; ; 12 passed, 0 failed |All eleven commands passed on their first run. No full-hour browser fixture failure occurred and no retry was needed. No Lisbeth Chrome was accessed, as prohibited by this mission. Automated headless gates supply their own browser checks.## Cleanup and deliveryThe restored copy and worktree remain for HM67. The snapshot plugin, project wiring and temporary .hl tools were removed before the implementation commit, cold start and gates. No live data, byrodin, deployment, push, merge, LOG, STATUS or tickets were touched. All long jobs used setsid nohup with a log; only saved numeric process IDs were used for stopping.All saved long-running processes have exited. The final cwd audit found no surviving HM66 process, and ss showed no listener on ports 8713–8719. The one-second observer can miss short-lived compiler/helper children; validation-pids.json preserves the recorded name/PID/start-time evidence rather than claiming exhaustive capture.Saved process IDs and final audit:```json{"saved": [{"record": "after-runner.pid","pid": 3010432,"present": false},{"record": "after.pid","pid": 3010433,"present": false},{"record": "before-runner.pid","pid": 2952734,"present": false},{"record": "before.pid","pid": 2961750,"present": false},{"record": "cold/app.pid","pid": 3056774,"present": false},{"record": "extract-launch.pid","pid": 2952733,"present": false},{"record": "extract-tar.pid","pid": 2952736,"present": false},{"record": "extract.pid","pid": 2952733,"present": false},{"record": "finish-measure.pid","pid": 2997081,"present": false},{"record": "packed-probe.pid","pid": 2975244,"present": false},{"record": "pair.pid","pid": 2975242,"present": false},{"record": "probe.pid","pid": 2970316,"present": false},{"record": "validation.pid","pid": 3056773,"present": false}],"validation_children_by_name": {"hybriel": [3056774,3073809,3079051,3079104,3090892,3095784,3100965,3105064,3105611,3105676,3106930,3109998,3115226,3115498,3115766,3116513,3116884,3126857,3131132,3138382,3167997,3176109],"node-MainThread": [3073800,3126849,3131122,3138373,3144614,3167989,3176101,3180463,3180678,3180827,3184557],"chrome": [3087380,3087390,3087391,3087394,3087415,3087417,3087452,3087475,3087485,3087497,3087512,3087525,3087554,3087826,3090874,3090879,3092778,3092784,3094078,3094084,3094983,3094989,3095766,3095772,3096165,3096171,3100680,3100685,3101381,3101386,3104809,3104824,3105420,3105426,3106181,3106187,3106532,3106537,3107332,3107338,3107739,3107741,3108570,3108576,3109077,3109980,3109986,3112962,3112968,3115097,3115103,3116463,3116469,3117386,3117392,3126273,3126279,3137392,3137438,3137439,3137443,3137463,3137465,3137499,3137524,3137542,3137550,3137554,3137579,3137599,3143548,3143558,3143559,3143562,3143584,3143586,3143621,3143644,3143662,3143664,3143670,3143696,3143721,3144944,3144968,3144969,3144971,3144993,3144995,3145030,3145052,3145062,3145077,3145081,3145106,3145122,3152971,3161139,3174907,3174917,3174918,3174921,3174944,3174946,3174981,3175002,3175012,3175030,3175031,3175057,3175076,3175389,3175394,3180078,3180088,3180089,3180092,3180112,3180114,3180150,3180173,3180183,3180202,3180203,3180232,3180255,3181045,3181056,3181058,3181061,3181084,3181086,3181123,3181143,3181161,3181168,3181169,3181194,3181278],"331eff4b4f6dd1c": [3091845,3094096,3094450,3095008],"bddefc18051ba14": [3092238,3092797,3094731,3095315,3095838,3096183,3097058,3098055,3100747,3101153,3101427,3101792,3104890,3105164,3105438,3105899,3106217,3106551,3107375,3107759,3108004,3108264,3108591,3108823,3109595,3110429,3113018,3113992,3114904,3116051,3117135,3117430,3126292,3130577,3135105,3135313,3136416,3136825,3137148,3142401,3142915,3143305,3144676,3172308,3173697,3174584,3175449,3179850,3180888,3184566]},"surviving_saved_children": [],"other_scratch_processes": []}```DOCS: Read the complete mission, archived WORKER-RULES and RULINGS, HL-PRIMER and CODE-ORDER, HM65/HM64/HM60/HM63/HM61 reports, complete catalog/entry/short-ID packed helpers and project map, HM65 measurement/instrumentation/validation scripts and deploy.sh. Used SPEC Bytes and References for UTF-8 decoding, copy/reference semantics and mutation, and the primer heap diagnostics shape for shared root seeds. No component/style code changed. No unresolved language/framework question or Hybriel gap was encountered.Request accounting: approximately 55 interactions: about 12 for inspection/setup, 8 for implementation/probes, 16 for measurement and 19 for validation/reporting. Work was kept within the approximately 60-request mission cap. Exact API USD billing is not exposed. No subagent was spawned.
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