Chapters

Domain Service

Service

Domain Service

Server-owned commands and queries for a bounded domain.

CanonicalImplemented locally

See this concept connect visually →

Why it exists

UI state should not decide privileged transitions or storage authority.

Example

A production command validates context before committing work.

Connects to

Implementation notes

Commands own transitions; queries return bounded authorized projections.

Public evidence: Cloudflare edge and Google Cloud application workloads have separate roles.

Related workflows

No curated journey in this edition.

Related decisions

See the system-wide decisions.

Technical details

Commands own transitions; queries return bounded authorized projections.

Conceptual explanation; private implementation details are omitted.