LØRDAG
2026-12-05

Too many projects, too many ideas, too few hours — one learning a day anyway

Dev diary — 2026-11-15

A Wine App ate the day. Twenty-four commits and over four thousand lines added, mostly to get SwiftUI previews working in a headless environment. The core problem was that previews don’t run StoreKit, so price data was missing. I spent the morning trying to bundle .storekit files, then killed that approach by noon. The final solution embeds JSON in DEBUG-only code and uses a custom preview container. It was a messy build, but the paywall now renders correctly in tests. The rest of the work was smaller: one list of supported countries, a share card for Danish ratings, and soft budget penalties for the recommendation engine.

ACS saw a heavy rework with eleven commits. The main change was a lineage switch to shrink_perturb birth from generation 180. Lamarck birth was saturating the actor generation, so I moved to a blank start reference. This included new metrics for poison bites and hunger signals, plus a learner update that reads memory at the decision point. The goal is to measure brain quality more accurately by comparing alive days and founder ratios against a scrambled control.

Plus small passes on documentation and test isolation for both projects.

Tonight the wine app previews are stable, and the ACS lineage is running on the new birth model.