tracker
All repositories: gitoria
14.6 KB
# HM65: episode field projection; no retained-heap reductionBranch `hm65-fields` starts at main `89606a5c4c62ee7b802ddf143aef1ed86720ce58`. Commit `0eab858` changes only the catalog's episode boot cursor in `lib/bootscan.hl`: it selects `show`, `mergedInto` and `release`, the exact fields consumed by `noteIndexEpisode`. The same rows, merged-row exclusion, dates and ordering remain. No storage schema, native index, stored record or UI/style change is introduced.The measurement does **not** achieve fewer live heap objects. Both snapshots contain exactly **8,467,336 reachable objects and 799,345,420 bytes**. The episode projection therefore saves zero measurable retained objects, below the mission's one-percent threshold; I stopped adding structures as instructed. It avoids decoding unused episode fields, but should not be presented as a live-heap or RSS optimization.## Setup and measurementThe supplied 20261107-0814 backup was restored only into HM65 scratch, excluding posters, profiles, sessions and .env. Extraction ran detached from 08:59:32 to 09:00:54 UTC; the extracted copy totaled 6,827,275,165 bytes including directories. Both runs used that disposable copy on 127.0.0.1:8713. All HM1 job switches were zero (SYNC, BACKFILL, REPAIR, KINDS, CREDITS, MERGE, SHORTIDS, COLLECTIONS, FRANCHISE_SEED, ART, PHOTOS), no TMDB token was supplied, watching was off, and synchronous warm-up was 600000 ms. Cache/temp/session paths were inside HM65. Main was not modified.Main's real bin directory was copied. The binary SHA256 remained `660a9524ce21bf3e3d4d6d7693252392d2e3a362780c382239b718ece2fc6cd0`; the MPackDB .so SHA256 remained `1f81d90e95b3462c31128c7bca4d591c8241e90de4b6276ee8f9dd943a724595`. Tracker authorized extracting the previously unvendored `plugins/heap` from source `b6a8f429`. Inspection found only README.md, plugin.json, server.hl and the two JavaScript refusal wrappers; no .so was required. Its documented import/snapshot probe succeeded. This was a vendoring omission, not a framework gap. That temporary package and all snapshot instrumentation were removed from the worktree before the implementation commit, cold start and gates. Neither is committed.Both versions finished boot scanning, answered the same 50 pages, and then streamed exactly three complete person passes (4,322,649 rows) without retaining the rows. Only collections between `[hm65] census start` and `[hm65] census end` count. Each census supplied 33 / 33 samples; the table uses the **last ten** on each side. Snapshot followed the census with shared named seeds passed by reference. Startup/compiler/shutdown collections are excluded.| Measurement | Before | After ||---|---:|---:|| Median marked objects, final ten | 8467355.5 | 8467356.0 || Median live bytes, final ten | 800055551 | 800055442 || Median mark ms, final ten | 804.548 | 688.791 || Median pause ms, final ten | 1536.848 | 1388.045 || Snapshot reachable objects | 8467336 | 8467336 || Snapshot reachable bytes | 799345420 | 799345420 || Process start to warmed HTTP 200, seconds | 537.435885 | 195.160236 || RSS bytes after census/snapshot | 3964489728 | 5562757120 |The half-object median is from an even sample count. Median live bytes changed by only -109 bytes, while snapshot totals and every attributed root are identical. RSS increased by 1,598,267,392 bytes; this run establishes no RSS improvement. RSS also includes native indexes, collector tables, allocator retention and other memory outside the snapshot. The timing reductions cannot be isolated from host contention or cache history: the unchanged title and person passes also sped up substantially.Boot phase logs were:```textBEFOREboot scan: 330297 titles in 78836 msboot scan: 3038801 episodes in 49572 msboot scan: 1440883 people in 242677 msboot scan: done in 371085 msAFTERboot scan: 330297 titles in 35561 msboot scan: 3038801 episodes in 10048 msboot scan: 1440883 people in 91728 msboot scan: done in 137337 ms```## Named roots and what fields can changeThese are **first-reach attribution**, with seeds in the table's order, followed by runtime roots. They partition the snapshot; they are not dominator retained sizes or additive predictions of savings. Shared strings belong to the first seed reaching them. Opaque native plugin storage is excluded. MB is decimal bytes / 1,000,000.| Root | Objects before | Objects after | MB before | MB after ||---|---:|---:|---:|---:|| catalog.index | 2,942,332 | 2,942,332 | 140.947726 | 140.947726 || search.buckets | 65,485 | 65,485 | 104.329818 | 104.329818 || search.entId | 2,889,672 | 2,889,672 | 74.570864 | 74.570864 || search.entText | 3 | 3 | 46.137736 | 46.137736 || people.castProfiles | 1,134,973 | 1,134,973 | 52.394627 | 52.394627 || people.view | 4 | 4 | 28.818248 | 28.818248 || shows.slugIds | 330,287 | 330,287 | 31.256564 | 31.256564 || shows.slugRank | 1 | 1 | 25.165912 | 25.165912 || shortids.owners | 7 | 7 | 100.664016 | 100.664016 || globals | 46,841 | 46,841 | 4.796739 | 4.796739 || statics | 550,062 | 550,062 | 158.120695 | 158.120695 || plugin/runtime | 507,626 | 507,626 | 32.139086 | 32.139086 || stack | 43 | 43 | 0.003389 | 0.003389 |The catalog's episode scan was the only applied structure change. Its retained index is already flat after HM64 and stores selected IDs/date strings rather than episode records, explaining the zero steady-state delta. A top-level field list cannot remove the IDs, date strings or nested arrays that the catalog must retain.`shortids.owners` already uses packed Bytes (7 attributed objects, 100.664016 MB). `search.entText` is also packed (3 objects, 46.137736 MB). `search.entId` keeps the ID strings it needs (2,889,672 objects, 74.570864 MB attributed after earlier seeds). `search.buckets` holds candidate-number lists, not database records (65,485 objects, 104.329818 MB). `castProfiles` is a map from person IDs to profile strings (1,134,973 objects, 52.394627 MB). Selecting top-level fields when reading a title still decodes selected cast/crew values in full and retains those same strings. None of those roots was changed after the first experiment fell below one percent. Further savings require representation work rather than simply omitting unused record fields; no claim that a particular native index or store rebuild is the only fix was established, and none was started.## Page, search and CSS proofAll **50** sampled paths had matching statuses and identical full HTML after replacing only each exact framework build token (`8abaf1e80a0f7f90` / `00712e390adf4b75`) and the framework service-worker metadata's 13-digit `at` timestamp. No title IDs, ordering, results, counts, paging, content or arbitrary dates were normalized. Paths include home/settings/franchises, movies/series/shows/people at pages 1, 2, 3, 10, 100 and oversized boundaries, four genre variants at pages 1/2/10, and ten searches: th, the, Doctor Who 2005, Foundation, a, zzzxqnohit123, Amélie, 東京 John and Star Trek. (The exact ten queries are preserved in the HTTP artifacts.) The ten search pages matched exactly under that same canonicalization. Raw bodies are in before-http.json/after-http.json; per-page hashes are in summary.json.Both actual CSS responses contain 55,297 bytes, SHA256 `e10f4c056dab38482bf8a326587848059aeb7b566dd7d9d3a01621f53ad515e4`. To retrieve baseline CSS after its census app stopped, the saved baseline executable was briefly started with progressive scanning held for 600000 ms; it served only the CSS request and was stopped. It did not contribute any heap or ready-time sample. No Lisbeth Chrome or manual browser proof was requested or performed under this mission's explicit prohibition.## Cold start and gatesOne run on initially empty storage and sessions, with fresh HL_CACHE_DIR/TMPDIR, reached first HTTP 200 in **53.2503883424215 seconds** (app PID 2845023, exit 143). It was retained for at least 120 seconds before SIGTERM. This is below RV48's 105–120 seconds and shows no cold-start jump in this observation. Evidence is cold/result.json, cold/server.log and cold/response.html.All 11 gate commands completed; exits were [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]. Final count details are below.| Gate | Saved node PID | Exit | Final output ||---|---:|---:|---|| `node tests/browser.mjs` | 2857996 | 0 | ok no console errors/warnings; ; 389 passed, 0 failed || `node tests/security.mjs` | 2895161 | 0 | ok the server did not crash or panic through all of it; ; 56 passed, 0 failed || `node tests/kinds.mjs` | 2898258 | 0 | ok browser: no console errors / failed requests; ; 32 passed, 0 failed || `node tests/franchises.mjs` | 2903528 | 0 | ok no console errors/warnings; ; 53 passed, 0 failed || `node tests/pager.mjs` | 2908113 | 0 | ok 1280px script: no console errors/warnings; ; 229 passed, 0 failed || `node tests/franchiseseed.mjs` | 2922630 | 0 | ok no error in the server log (absorbed errors included); ; 26 passed, 0 failed || `node tests/signin-return.mjs` | 2928453 | 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 .` | 2932210 | 0 | check-theme: 122 files, 0 problems || `node tests/person-lookup.mjs` | 2932313 | 0 | ok people.hl personBySlug; ok components/person.hl; person-lookup: passed || `node tests/mobile.mjs` | 2932426 | 0 | ok browser: no console errors / failed requests; ; 45 passed, 0 failed || `node tests/warmstart.mjs` | 2935734 | 0 | ok after: an unknown short id is a 404 again; ; 12 passed, 0 failed |The detached Python driver holds `/media/STORAGE/claude-scratch/tracker/gates.lock`, reads the eleven commands directly from deploy.sh GATES, sets LC_ALL=C and scratch cache/temp paths, and uses RV48's port arrangement: app/signin 8712, ident 8713, TMDB 8714, Chrome 8715–8719. It checks those ports with ss before every gate. TRACKER_COLD_MS=180000 uses the existing signin gate option. No gate assertion, source or startup deadline was edited. Raw logs are gate-*.log and exact command/PID/exit/timing results are in gates-results.json. Every command passed on its first run; no retry or hour-boundary fixture failure occurred.## Cleanup and continuationAll saved app processes and coordinators have exited, including cold/gate children observed by the driver. The final audit found zero surviving owned child processes and no listeners on 8712–8719. Restored copy storage, generated sessions, cold storage and gate .scratch fixtures/profiles were deleted. Raw evidence, caches, scripts and the worktree remain.Saved coordinator/app PIDs: Extraction coordinator 2733465; Extraction tar 2733468; Baseline coordinator 2740143; Baseline app 2742664; Changed coordinator 2810248; Changed app 2810250; CSS coordinator 2831187; Baseline CSS app 2839089; Cold/gate coordinator 2749028; Replaced idle validation coordinator 2747304 (SIGTERM before any validation began). Cold app PID is recorded in cold/app.pid. The complete observed gate/compiler/Chrome child name+PID list is validation-pids.json; every gate's own node PID is also in gates-results.json. Short-lived children can escape one-second observation; no invented PID accounting is claimed. All long jobs used setsid nohup with logs. No process was killed by name or pattern.The retained worktree is `/media/STORAGE/claude-scratch/tracker/HM65/wt`. No deployment, push, merge, live access, byrodin, port-8700 traffic, Lisbeth access, LOG/STATUS/ticket write or hand-written JavaScript occurred. Any later deployment belongs to Tracker. There is no data migration.DOCS: Mission and follow-up authorization; complete archived WORKER-RULES and RULINGS; HL-PRIMER and CODE-ORDER; MPackDB README “Read selected fields (mission 600)”, heap README and SPEC “Heap diagnostics”; HM1/HM63/HM64/RV48 reports; complete project/bootscan/catalog/shortids/search/people code; deploy.sh and CB's gate runner. Used the documented field-list cursor, shared snapshot seeds and native heap API. No unresolved language/framework question remains. The initial missing heap package was resolved only after explicit Tracker authorization.Request accounting is approximate: initial inspection and vendoring diagnosis about 18 interactions; continuation setup and measurement about 25; cold/gates/reporting/cleanup about 15–20. Most continuation waits were bounded passive monitoring of detached jobs. Exact API billing/USD is not exposed. No subagent or external paid service was used.Saved observed validation children (all exited):- 546274f589dcb17: 2870526, 2870989, 2872613, 2873083, 2873531, 2873747, 2874444, 2875247, 2877372, 2877560, 2877759, 2877910, 2878273, 2880604, 2880737, 2880971, 2881414, 2881674, 2881928, 2882067, 2882414, 2882713, 2882820, 2883087, 2883376, 2883575, 2883888, 2884300, 2885731, 2886436, 2887148, 2888008, 2888927, 2889168, 2894909, 2897942, 2901044, 2901216, 2902042, 2902331, 2902578, 2906308, 2906589, 2906921, 2908124, 2925480, 2926545, 2927235, 2927926, 2931702, 2932482, 2935742.- chrome: 2866817, 2866827, 2866828, 2866831, 2866850, 2866853, 2866864, 2866913, 2866923, 2866941, 2866942, 2866968, 2866997, 2867226, 2868375, 2869390, 2869395, 2870970, 2870971, 2872011, 2872016, 2872810, 2872816, 2873440, 2873446, 2873728, 2873732, 2877273, 2877278, 2877892, 2877898, 2880586, 2880592, 2880953, 2880957, 2881656, 2881661, 2881903, 2881909, 2882396, 2882402, 2882695, 2882700, 2883356, 2883362, 2883691, 2884075, 2884081, 2885710, 2885715, 2887335, 2887337, 2888366, 2888372, 2889066, 2889072, 2894818, 2894889, 2902788, 2902798, 2902799, 2902802, 2902826, 2902828, 2902862, 2902882, 2902892, 2902912, 2902918, 2902934, 2902962, 2907068, 2907078, 2907079, 2907082, 2907106, 2907108, 2907143, 2907163, 2907182, 2907183, 2907190, 2907214, 2907240, 2908305, 2908315, 2908316, 2908318, 2908338, 2908340, 2908375, 2908415, 2908426, 2908445, 2908446, 2908469, 2908489, 2913278, 2917909, 2927553, 2927563, 2927564, 2927567, 2927591, 2927598, 2927638, 2927661, 2927671, 2927687, 2927690, 2927723, 2927736, 2927889, 2927894, 2931814, 2931824, 2931825, 2931829, 2931851, 2931853, 2931895, 2931917, 2931928, 2931946, 2931948, 2931977, 2932004, 2932705, 2932715, 2932716, 2932719, 2932739, 2932741, 2932778, 2932802, 2932827, 2932834, 2932835, 2932861, 2932877.- e23f55561b00a24: 2870178, 2872029, 2872308, 2872829.- hybriel: 2845023, 2858006, 2861107, 2869408, 2870404, 2873528, 2877292, 2880720, 2881205, 2882033, 2884094, 2887353, 2887398, 2887603, 2887783, 2888386, 2888394, 2888617, 2895169, 2897860, 2898266, 2903536, 2906226, 2922638, 2925404, 2928460.- node: 2857996.- node-MainThread: 2895161, 2898258, 2903528, 2908113, 2922630, 2928453, 2932210, 2932313, 2932426, 2935734.The detached report finalizer PID is 2887934; it ends after writing the final commit. Earlier foreground probes exited 1 (before package extraction) and 0 (after extraction). Their short-lived numeric PIDs were not captured.
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