YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

Alchemy adds Decision for cross-aggregate transactions

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

Alchemy adds Decision for cross-aggregate transactions
OPEN LINK ↗
// 37m agoPRODUCT UPDATE

Alchemy adds Decision for cross-aggregate transactions

Alchemy introduced Domain.Decision, a new domain-driven design primitive that enables atomic commands across multiple aggregate instances. Inspired by dynamic consistency boundaries, the mechanism coordinates two-phase commits across distributed runtimes like Cloudflare Durable Objects and Effect Cluster so all affected events commit together or fail cleanly.

// ANALYSIS

Traditional domain-driven design confines transactions strictly to individual aggregates, forcing engineers to manage complicated sagas or accept eventual consistency for routine multi-entity operations like balance transfers. Bringing dynamic consistency boundaries natively to TypeScript gives distributed systems builders true atomic multi-aggregate guarantees without operational sprawl.

  • –Atomic cross-aggregate execution: Commands can read and mutate multiple aggregate instances simultaneously, ensuring every event commits or the entire operation rolls back.
  • –Primary-driven two-phase commit: Distributed environments like Cloudflare and Rivet use an idempotent two-phase commit protocol where the primary instance drives consensus without timeout dependencies.
  • –Compile-time boundary validation: Static TypeScript types inspect aggregate dependencies via reads declarations, catching missing aggregates and conflicting command implementations at build time.
  • –Breaking command API overhaul: Commands eliminate the explicit target parameter in favor of an aggregate-level keyOf mapping, streamlining call sites and event scheduling.
// TAGS
alchemyalchemy-runframeworkdevtoolopen-sourcecloud

DISCOVERED

37m ago

2026-11-20

PUBLISHED

1h ago

2026-11-20

RELEVANCE

5/ 10

AUTHOR

samgoodwin89