compression-acceptance.json
docs/evidence/compression-acceptance.json
1{
2 "date": "2026-10-25",
3 "baseCommit": "fd9ae32d76033bf2082134e5cc7ea717a4657677",
4 "scope": "Lossless profile-4 texture transport; original source/model/image/world/checkpoint identities preserved. Expanded-byte accounting for manifest, residency, preloading and cooling. Earlier profiles retained.",
5 "environment": {
6 "node": "22.23.4",
7 "browser": "Playwright 1.56.1 / Chromium 141 / SwiftShader Vulkan WebGPU",
8 "isolation": "Short .data/ld-compress directories, fresh browser relay per spec, isolated PostgreSQL; interactive editor and beta left running"
9 },
10 "checks": {
11 "headless": {
12 "tests": 876,
13 "passed": 816,
14 "skipped": 60,
15 "failed": 0,
16 "concurrency": 4,
17 "report": "compression-headless.tap"
18 },
19 "focused": {
20 "passed": 48,
21 "report": "compression-focused.tap"
22 },
23 "postgres": {
24 "passed": 2,
25 "authority": [
26 "cooperative",
27 "trusted"
28 ],
29 "realCompressedTextures": true,
30 "report": "compression-persistent.log"
31 },
32 "build": {
33 "passed": true,
34 "packageFiles": 159,
35 "engine": "a156a66ea6920eb4075c5f80cfd83888da63a0f6c6b5d69375c4ec3e0c6484a1",
36 "report": "compression-build.log"
37 },
38 "finalTypesAndImports": {
39 "passed": true,
40 "report": "compression-check.log"
41 },
42 "browser": {
43 "passed": 4,
44 "reports": {
45 "textures": {
46 "report": "compression-textures.json",
47 "startTime": "2026-10-26T00:06:29.201Z",
48 "duration": 46431.030999999995,
49 "expected": 1,
50 "skipped": 0,
51 "unexpected": 0,
52 "flaky": 0
53 },
54 "published": {
55 "report": "compression-published.json",
56 "startTime": "2026-10-26T00:07:16.191Z",
57 "duration": 93040.17599999999,
58 "expected": 2,
59 "skipped": 0,
60 "unexpected": 0,
61 "flaky": 0
62 },
63 "revisions": {
64 "report": "compression-revisions.json",
65 "startTime": "2026-10-26T00:08:49.768Z",
66 "duration": 23174.585000000003,
67 "expected": 1,
68 "skipped": 0,
69 "unexpected": 0,
70 "flaky": 0
71 }
72 }
73 }
74 },
75 "verified": [
76 "Deterministic zlib level-6 compression, complete byte-for-byte expansion, exact canonical JSON and original image/model checksums; raw transfer retained when packing is not smaller.",
77 "Wire length and digest checked before expansion. Small input slices reject expansion overflow before consuming remaining compressed input; exact decoded length, Adler checksum, UTF-8 and canonical JSON checked afterward.",
78 "Malformed/missing codecs, illegal compression in old profiles or model/place units, conflicting aliases and aggregate expansion over-budget reject at manifest admission.",
79 "Real profile 1/2 embedded images and profile 3 independent raw image archives reconstruct unchanged models.",
80 "Place reservations, preloading, cooling, expiration and shared ownership include encoded plus declared expanded JSON bytes. Wire-only budgets cannot admit compressed images.",
81 "HTTP GET and HEAD return exact immutable binary payload lengths and hashes without Content-Encoding; real cooperative/trusted PostgreSQL admissions pin the same manifest and hydrate the same textured artifact.",
82 "Two shared players retain room identity across corrupt speculation, retry, travel, shared texture reuse and graphics recovery on main/Worker placements.",
83 "Published players recover graphics and simulation, reject a mismatched admission before model download, and preserve identity after travel. Shared Apply rejects corrupt candidates, waits for held downloads and restores older saves.",
84 "Main-thread arrival screenshot visually inspected; diagnostic texture and polished application frame render correctly. This is not a final environment/character art pass."
85 ],
86 "benchmark": {
87 "report": "compression-benchmark.json",
88 "command": "npm run bench:content-compression",
89 "largestFixtures": [
90 {
91 "size": 512,
92 "kind": "pattern",
93 "artifact": "6799e355019c00118267dd775eca58ac15d80181c477b67477c9087d8e923c1d",
94 "pixelBytes": 1398100,
95 "uncompressedBytes": 1864830,
96 "compressedBytes": 9655,
97 "reductionPercent": 99.48225843642584,
98 "decodeAndAdmissionMs": {
99 "plain": [
100 165.62112000000002,
101 169.19315899999992,
102 175.81104600000026
103 ],
104 "compressed": [
105 176.564161,
106 173.68335500000012,
107 185.06139099999973
108 ]
109 },
110 "medianMs": {
111 "plain": 169.19315899999992,
112 "compressed": 176.564161
113 }
114 },
115 {
116 "size": 512,
117 "kind": "noise",
118 "artifact": "700d8d703d5667205eb798439bda2867b1f6fe72661b49f0b75a8bbe9305f059",
119 "pixelBytes": 1398100,
120 "uncompressedBytes": 1864830,
121 "compressedBytes": 1355368,
122 "reductionPercent": 27.319487567231327,
123 "decodeAndAdmissionMs": {
124 "plain": [
125 176.99266499999976,
126 180.9308619999997,
127 180.77745700000014
128 ],
129 "compressed": [
130 254.77009399999997,
131 265.54111399999965,
132 256.02844300000015
133 ]
134 },
135 "medianMs": {
136 "plain": 180.77745700000014,
137 "compressed": 256.02844300000015
138 }
139 }
140 ],
141 "scope": "Six analytic RGBA fixtures, full mip chains, deterministic zlib level 6; one warmup and three alternating observations per mode, including transport and texture semantic validation. No network, GPU, FPS or physical-device claim."
142 },
143 "corrections": [
144 {
145 "issue": "Budget failure from the second image consumer was hidden by cancellation of the first consumer.",
146 "resolution": "Keep the first causal failure before cancelling siblings; exact budget assertion and focused/full/browser suites pass.",
147 "report": "compression-initial-failure.tap"
148 },
149 {
150 "issue": "Benchmark initially compared JSON.stringify output whose key order differs after canonical admission.",
151 "resolution": "Use structural deep equality, including every pixel and identity. All reported observations use the corrected comparator."
152 }
153 ],
154 "limitations": [
155 "Lossless transfer compression is not GPU block compression or progressive mip/detail delivery.",
156 "Inflation adds CPU cost: largest noisy fixture median about 181 to 256 ms including texture semantic admission. No network startup/FPS/p95 improvement is claimed.",
157 "Reservations measure encoded and expanded canonical payloads, not total JavaScript heap, parser/decoder copies or GPU allocations. Per-frame scheduling and long-session/physical-device qualification remain open.",
158 "Regional MIME handler updated; regional process-recovery browser, Docker and Coolify qualification were not rerun in this increment.",
159 "Independent detail streaming, progressive texture quality and final character/environment/arrival art remain open."
160 ],
161 "progress": {
162 "approximateFullPlanPercent": 79,
163 "numberedMilestonesClosed": [],
164 "goalComplete": false
165 },
166 "sourceSha256": {
167 "apps/player/main.ts": "470ac77ce6ba151e2f57ba20857d0128ea8878ce9d471d3299ca0143eb2c9222",
168 "package.json": "37d465457f1b894d0eecd6d223c57f4f89a48a8628938b64d324966697bc0c27",
169 "packages/assets/compression.ts": "d7772b47dc14685b37335968ee30e93c4cca529f11cc37c45c46939aef85672b",
170 "packages/world/content-build.ts": "a4943c9ec25acf0b9a0914091ff169aad1970d75f0acd9026d36f65f3951e3b7",
171 "packages/world/content-client.ts": "5b8724c33b58ef9da4482dd947749cc69c35d412f6ee609d4c51b98163434a5c",
172 "packages/world/content.ts": "9158c7aa370a3e3dcf24839554b5dba04b39fd56726e8646001d8989e7c328e7",
173 "packages/world/preload.ts": "545519706ff674d947f9a706ecf3e4befc2233943393969d25c11f06da60e5cf",
174 "services/content/http.ts": "bc8daff4fd0c5ea23d8853925c01ad29afd910f9db49eb56fc6fa66d850a96f8",
175 "services/routing/server.ts": "d1250df888e13ea42d2031d7164555ae36b716e5ca621c2cf1e2d3f21a2614e2",
176 "tests/browser/texture-streaming.spec.ts": "b22d5619f2c1876f1f72893f20f66d16d682750a60a20b94dbc37f6cfea1238b",
177 "tests/content-compression.test.ts": "bbd5d7594ac5a76b92deb3ed4fc77d656962367eaf2f5fcdbbc0a27aafdd9a4b",
178 "tests/content-persistent.test.ts": "f4a5a533a0fb5f292da624bca1b522d9bfa3f1bc9979c30ddb726031393b7c71",
179 "tests/content-textures.test.ts": "5c743b39d608dd7e420de453be1df4677cea4a8f8f3a185509882a926a07eab6",
180 "tools/cli/benchmark-content-compression.ts": "a32d67d6779d2741e45b6e4f1508fcfd9cf55fbfff7844562ff3c60f05d94403"
181 }
182}
183