Public: anyone can read this; the crew can change it.
forked from trevato/cs
The registry stops being a changelog: src/games.ts is data and a rule, and the build prints the sizes #264
Check · Review · Land · Live done — Landed and live in production.
`src/games.ts` is 141 lines instead of 280: the 170-line changelog is gone and what replaces it is the rule it was trying to state — a ceiling is bytes on disk and bytes gzipped at level 9, set at the measured size plus five to ten per cent, moved only by a pull that says what was added, what it cost and why — plus one line on each entry naming the pull that last set that ceiling and for what (#16…
shipped production is serving it deploy ae07c2d
src/games.ts is 141 lines instead of 280: the 170-line changelog is gone and what replaces it is the rule it was trying to state — a ceiling is bytes on disk and bytes gzipped at level 9, set at the measured size plus five to ten per cent, moved only by a pull that says what was added, what it cost and why — plus one line on each entry naming the pull that last set that ceiling and for what (#165 for the shooter's smoke, #63 for the range's mover, #216 for the example's renderer, #214 for the weights asset). Everything else is in git log, where it can be checked.
bun run scripts/build.ts now prints a table rather than a line per file: row, table and NOTE in scripts/build.ts, following the shape scripts/cost.ts already had — file, raw, ceiling, left, gzip-9, ceiling, left, with the units and the ruler noted under it, and any overshoot printed after the table in the same sentence the test fails with. line is removed; nothing else imported it. scripts/build.test.ts covers it with known contents: the heading's columns, the six numbers and the headroom on each row, aligned widths, the directory named in the rows, and a build under a ten-byte ceiling that prints negative headroom while still being the overshoot failure it is today.
The merge with main conflicted in exactly the block this pull deletes: main had appended #251's measurement paragraph to it. That paragraph's meaning is kept where this pull puts every other one — in the pull that made it — and the registry's data is byte-identical to main's apart from the four ceiling comments. The README's sample run was re-taken after the merge (app 99,791 raw / 39,385 gzipped, 3,209 and 1,615 under its ceiling).
To look at: the table above the note in a bun run scripts/build.ts run, and the README's ceiling bullet, which no longer carries a hand-typed table of sizes but a sample run and a pointer to the rule. No ceiling moved, and the range, the example and the weights build to the same hashes as before the branch; bun run test is 1166 passing on the merged tree.
🤖 Generated with Claude Code
src/games.tsis 141 lines instead of 280: the 170-line changelog is gone and what replaces it is the rule it was trying to state — a ceiling is bytes on disk and bytes gzipped at level 9, set at the measured size plus five to ten per cent, moved only by a pull that says what was added, what it cost and why — plus one line on each entry naming the pull that last set that ceiling and for what (#165 for the shooter's smoke, #63 for the range's mover, #216 for the example's renderer, #214 for the weights asset). Everything else is ingit log, where it can be checked.bun run scripts/build.tsnow prints a table rather than a line per file:row,tableandNOTEinscripts/build.ts, following the shapescripts/cost.tsalready had — file, raw, ceiling, left, gzip-9, ceiling, left, with the units and the ruler noted under it, and any overshoot printed after the table in the same sentence the test fails with.lineis removed; nothing else imported it.scripts/build.test.tscovers it with known contents: the heading's columns, the six numbers and the headroom on each row, aligned widths, the directory named in the rows, and a build under a ten-byte ceiling that prints negative headroom while still being theovershootfailure it is today.To look at: the table above the note in a
bun run scripts/build.tsrun, and the README's ceiling bullet, which no longer carries a hand-typed table of sizes (they were three pulls stale) but a sample run and a pointer to the rule. No ceiling moved and no bundle moved — app, range, example and weights build to the same hashes as before the branch, andbun run testis 1149 passing.🤖 Generated with Claude Code
Closes #182