Alchemy adds Decision primitive: atomic commands across aggregates, formally verified
samgoodwin89 · x · 2026-11-21
The next version of Alchemy introduces a new domain primitive, Decision (inspired by but not quite DCB), allowing atomic Commands to span 1..N Aggregates.
Key points from the thread:
- What used to require a Saga is now a single atomic step, e.g. enrolling a student acting on both Student and Course aggregates
- Decisions are implemented in Durable Objects using two-phase commit
- Decisions are formally verified too: you declare the invariants a Command must keep across instances (e.g. "a name is only claimed while free", "the name goes to whoever registered"), and Alchemy proves them for every state and every input
- Even if the caller hangs up, an Alarm or subsequent request recovers and commits the Command
More from coding & agent
- Claude builds Miami-style town with 2,538 Blender assets, rendered in Unreal in 74 minutes — piotrbinkowski · 2026-11-21
- Antigravity harness restrictions spark ban-risk concerns for Gemini subscribers — jeremyphoward · 2026-11-21
- Hamel Husain and sh_reya launch O'Reilly book 'Evals for AI Engineers' — sh_reya · 2026-11-21
- End-to-end walkthrough: fine-tuning adapters for Qwen3-27B with coding harnesses like pi and opencode — mrdbourke · 2026-11-21
- Ex-games founder prototyping an elemental-bending sports anime game with AI as collaborator — trq212 · 2026-11-21
- Redditor turns Claude Code into a voice assistant that runs their mornings — SilverEvening4150 · 2026-11-21