The Lab

Small, real experiments that reveal lifecycles, boundaries, and behavior in motion.

Lab Experiment

Editor Save Loop

A minimal system that keeps save state, async effects, and UI feedback deterministic without leaking across layers.

Demonstrates

  • Explicit lifecycle ownership
  • Functional core vs imperative shell
  • Side-effects containment (ports/adapters)
  • Deterministic projections for UI

How to use these experiments

  • Start with the related post, then open the repo.
  • Look for the core/shell boundary first.
  • Use the "demonstrates" list as a checklist while reading code.

Want the reasoning behind these experiments?

Each experiment maps to writing that explains the architecture, boundaries, and tradeoffs.