You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Smell-audited: 2: the sources dual-mode (cache_gen raw / cljw compressed)
required a second options module + a stub import on its own WriteFiles —
the first wiring created a build dependency loop (cache_gen -> cache_wf ->
run cache_gen), probed and documented in the ADR revision.
cache_gen emits a second artifact (bootstrap_sources.bin: label +
uncompressed_len + flate bytes per file); bootstrap.sourceText
decompresses on demand into rt.load_arena; rt.source_resolver (new
runtime hook, lang-installed — zone-legal vtable direction) serves
error-render registry misses and memoizes. The eager ~450KB
registerSource gpa copy at startup is gone. Measured: 7,384,984 ->
7,073,080 B. Campaign total: 9,469,816 -> 7,073,080 (-25.3%).
Per the user directive, size awareness is now mechanized:
.claude/rules/binary_size.md (auto-loads on src/build edits; carries the
campaign's measured lessons — instantiation-count metric, comptime
cross-products, embed-compression pattern, safety-inviolable,
median-of-20 protocol) and binary_size_report.sh --check now fails the
gate when the binary exceeds the ADR-0172 derived ceiling
(BUDGET_CEILING_BYTES=8800000, re-derived post-L2). README 7.1MB;
ADR-0172 budget table refreshed (embedded data 0.76/1.0MB).
Copy file name to clipboardExpand all lines: .dev/debt.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -276,7 +276,7 @@ active:
276
276
findings fold into the D-175 floor.)
277
277
last_reviewed: "2026-06-24"
278
278
- id: "D-517"
279
-
status: "IN PROGRESS 2026-07-16 (ADR-0173): C1+C2'+C3'+C4'+C5'-a LANDED. Measured: blob 698->425KB; shipped binary at this point 7,384,984 B (campaign total from 9,469,816 = -22.0%); startup neutral-within-noise except C4' memoize -165us median. Remaining: C5'-b compressed .clj sources (registerSource lazy-handle surface + cache_gen second blob; est -326KB), C6' has_handlers consumer flip (own bench), then the user-directed FULL cross-language bench + record refresh (task #5). ORIGINAL: open (ADR-0162 step 3)."
279
+
status: "IN PROGRESS 2026-07-16 (ADR-0173): C1-C5' ALL LANDED (C5'-b: compressed .clj sources, binary 7,073,080 B — campaign -25.3% from 9,469,816; startup 450KB gpa source-copy also gone via rt.source_resolver lazy decompress). Remaining: C6' has_handlers consumer flip (own bench), then L6 sort-dedup, then the user-directed FULL cross-language bench + record refresh (task list). ORIGINAL: open (ADR-0162 step 3)."
280
280
category: "perf"
281
281
barrier: |-
282
282
ADR-0162 step 3. Sequenced AFTER D-516 (so it applies to both eager core + lazy
0 commit comments