gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmaind2e6d26bMerge branch 'records-park55' into mainTrackermain/reports/HM60.md

9.1 KB

  1. # HM60: packed short-ID owners
  2. Branch: `hm60-shortids`, commit `3c79b576494c4739d22132f928227f123cbc340f`, based on main `2e7d625`. Code and gates are complete; required creator-Chrome confirmation remains blocked.
  3. The implementation replaces the String-keyed owner map with two Bytes values. It preserves the existing owner text encoding, scan order, global reservation point, old-ID maps, duplicate queue, backfill and redirect code. No stored schema or index changes are required. This branch has not been pushed, deployed or merged.
  4. The packed option uses open addressing rather than the brief's suggested sorted records. A five-character base-36 key is encoded injectively as an integer plus one; each hash slot contains three little-endian 32-bit words (key, owner offset, UTF-8 byte length). The payload holds the prefixed owner text. Empty key zero terminates misses. Capacity doubles above half occupancy. Growth rehashes existing slots, so claims remain available during and after boot without a separate String map or sorted-buffer insertion step. Owner IDs are variable-length UTF-8; no assumption about the UUID text width is introduced. The existing mpackdb @id declarations are unchanged.
  5. The choice is supported by the measured application heap and boot timings below. A native-index implementation was not built or benchmarked, so this report makes no comparative performance claim about it. The packed approach avoids a schema/index migration and retains immediate ownership even before a claimed record is stored, including the existing failed-write reservation behavior. Its tradeoff against sorted 22-byte records is additional hash capacity; lookup and insertion avoid sorting or shifting the full population.
  6. DOCS: Read the complete HM60 brief, archived WORKER-RULES, HL-PRIMER, CODE-ORDER, project.hl, HM1 report and complete GC evidence. Used README configuration, short-ID, storage and code-order sections; SPEC.md Bytes construction, index operations, text decoding, copying and explicit references; and the working Bytes fixtures. Read archived RULINGS because the current MANUAL path is absent. No Hybriel gap or runtime workaround was needed. The required Chrome proof is blocked by network reachability, not a language gap.
  7. The backup was extracted into scratch storage only after checking 186 GiB available. It yielded 72 files and 5,435,769,204 bytes in 45.572 seconds. No posters, profiles, sessions or .env were restored. All jobs were disabled using HM1's start recipe, adapted to 127.0.0.1:8710 and a scratch-local HL_CACHE_DIR. Measurements ran sequentially on the same copy, with identical diagnostic wiring and thirteen streamed passes over the persons table (15,868,866 rows), without retaining those rows. Only GC lines between the census markers count; compiler and startup GCs are excluded. The diagnostic helper and project wiring were removed before gates and commit. The timings include normal machine contention, so they are observations, not production latency guarantees.
  8. The dedicated .hl probe verifies all 5,000 deliberately colliding keys after growth, a miss, overwrite without count growth, variable-length UTF-8 IDs, and a new claim after growth. Existing gates exercise cross-table IDs, old reservations, duplicate reassignment, resume/backfill and progressive startup.
  9. Browser proof could not run: curl to local :9223 did not connect, and ssh to lisbeth returned “No route to host” for 192.168.178.50. No confirmation Chrome, tab or tunnel was started. Automated gate Chromes ran and were closed by the gate helpers. There is therefore no final Chrome page list or screenshot, and this work must not be described as fully browser-proven.
  10. ## Measurements
  11. | Warm census observation | Before 2e7d625 | After |
  12. |---|---:|---:|
  13. | GC samples | 57 | 75 |
  14. | Median marked objects | 17,988,044 | 13,488,361 |
  15. | Median live_bytes | 1,266,384,583 | 1,197,445,018 |
  16. | Median mark_ms | 1,761.157 | 1,396.083 |
  17. | Median pause_ms | 3,169.254 | 2,446.647 |
  18. The median reduction is 4,499,683 objects (25.015%), 68,939,565 counted heap bytes (5.444%), 365.074 ms mark time (20.729%) and 722.607 ms total pause (22.801%). The final GC observations were 17,988,047 objects / 1,266,385,095 bytes before and 13,488,363 objects / 1,197,445,627 bytes after. The GC object table capacity fell from 134,217,728 to 67,108,864 slots (nominal table allocation 2 GiB versus 1 GiB); that allocation is outside live_bytes. These are app-copy observations, not native-plugin heap attribution.
  19. The complete streamed boot scan took 121,422 ms before and 136,464 ms after, an increase of 15,042 ms (12.388%). Titles took 28,868 / 33,997 ms, episodes 20,273 / 19,891 ms, and people 72,281 / 82,576 ms. This startup penalty is the measured tradeoff for fewer retained objects and shorter steady-state GC pauses. Compile time is excluded from these boot-scan logs.
  20. ## Functional results and gates
  21. Both copy boots reported exactly 1,500,820 records, 1,500,318 owners, 502 queued records and 702 old reservations. All 502 duplicate diagnostics were identical and in identical order. No repair of the backup’s repeated physical records was attempted.
  22. Fourteen real-copy URL samples preserved status and Location. Eleven redirect/error bodies were byte-identical: `/100sp`, `/100jh`, `/100SP`, `/xxxxx`, `/abc`, `/a!aaa`, `/dg6wx`, `/iog4d`, `/9mc2d`, `/ujph9` and `/buujd`. They cover old IDs, uppercase, unknown/malformed input, movie, series, show, person and a tombstone redirect (`/ujph9` still leads to `/movies/Ecstasy-9`). `/movies`, `/people` and `/search/Foundation` had identical HTML after replacing only the framework build token and offline timestamp. Their raw byte lengths were unchanged at 20,151, 20,375 and 17,346 respectively. See functional.json and both response/HTML captures for exact hashes and replacements.
  23. The suite ran only under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/HM60/gates.sh`. Copy servers were stopped first, and all shared gate ports were verified free under the lock. The existing gate start waits allow at least 120 seconds for cold compilation. All 11 commands exited zero, with zero failed checks. Only the changed branch suite was run; before/after functional comparisons and GC runs used the real copy.
  24. | Gate | Result | Parent PID |
  25. |---|---|---:|
  26. | browser.mjs | 389 passed; exit 0 | 3326324 |
  27. | security.mjs | 56 passed; exit 0 | 3429256 |
  28. | kinds.mjs | 32 passed; exit 0 | 3437107 |
  29. | franchises.mjs | 53 passed; exit 0 | 3452177 |
  30. | pager.mjs | 229 passed; exit 0 | 3463750 |
  31. | franchiseseed.mjs | 26 passed; exit 0 | 3504440 |
  32. | signin-return.mjs | 3 passed; exit 0 | 3519463 |
  33. | check-theme.mjs | 110 files, 0 problems; exit 0 | 3527570 |
  34. | person-lookup.mjs | passed; exit 0 | 3527587 |
  35. | mobile.mjs | 45 passed; exit 0 | 3527653 |
  36. | warmstart.mjs | 12 passed; exit 0 | 3535887 |
  37. ## Cleanup and delivery
  38. Before-copy server PID 3026051 and after-copy server PID 3181627 were checked to have scratch working directories, terminated with SIGTERM by run-measure.py, and waited for. Both /proc entries are gone. The run-all coordinator PID 3024891 and finish-gates coordinator PID 3030168 exited normally. Gate parent PIDs listed above are all gone; the gates stopped their servers and browser children. A full /proc cwd scan found no remaining HM60 application, gate, Chrome or loop process; only the pre-existing Codex harness and the foreground inspection command used this cwd. No process owned by another worker was stopped.
  39. The initial background extraction PID 2995173 and unused launcher PID 3008101 exited before doing useful work. The successful extraction ran in foreground exec session 52858; its operating-system PID was not captured. Short foreground probes, census reader, report/cleanup scripts and the finite wait monitor completed normally; their PIDs and individual gate-child PIDs were not captured. This is a process-recording limitation, not an assertion that those IDs were measured. No own process remains from them.
  40. The real copy and gate scratch/profile directories were deleted. Final `ss -ltnp` for 8710 showed only the header and no listener; cleanup.txt records it. No own Chrome cwd remained. Other workers may use shared gate ports after releasing the lock. Raw GC logs, scripts, exact measurement instrumentation, response captures, functional.json, gate logs and stats remain in `/media/STORAGE/claude-scratch/tracker/HM60/` for review.
  41. No live data/index migration is required. The only operational step for a future authorized live change is the ordinary code deployment/restart; none was performed here. Main was not modified except this report, and there was no push, deploy, byrodin access, LOG or STATUS edit. The implementation is complete and gate-checked, with creator-Chrome confirmation still blocked by lisbeth being unreachable on both attempts.
  42. Work used roughly 15 inspection/preparation requests, 12 implementation/probe requests, 17 measurement/wait requests and 5 verification/report/cleanup requests (about 49 model requests in total). The long final measurement-and-gates wait used one orchestrated request with tool progress, rather than repeated model status requests. Exact billed USD is not exposed by this interface; no delegated workers or separately billed external services were used.

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