Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

BookWorm

Core e-commerce domain for the BookWorm online bookstore, coordinating catalog discovery, customer baskets, order fulfillment, customer reviews, conversational guidance, and platform operations.

Core DomainBusiness Critical

Business Purpose & Boundary

BookWorm is the root business domain for an online bookstore marketplace, decomposed into six autonomous bounded contexts by Domain-Driven Design (DDD) strategic importance: four Core domains (CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs, ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs, OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs, ConversationalDomainv1.0.0ConversationalRoutes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only sto...Ownerai-capabilities-teamDiagramOpen docs), one Supporting domain (ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs), and one Generic domain (PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs). Each bounded context owns its authoritative business state and communicates across boundaries exclusively through explicit, versioned synchronous and asynchronous contracts. Explicitly out of scope for BookWorm are external payment-provider settlement, physical shipping carrier execution, external SMTP delivery internals, AI model hosting internals, and external identity provider infrastructure (Identity ProviderSystemv1.0.0Identity ProviderExternal identity infrastructure that authenticates BookWorm users and provides OAuth-compatible identity verification f...Ownerplatform-engineering-teamDiagramOpen docs).

Warning

Bounded contexts never share databases or reach directly into another context’s persistence store. Derived projections—such as catalog rating summaries, semantic search indexes, and order dashboard summaries—remain strictly rebuildable from their authoritative owning contexts.

Core Responsibilities & Capabilities

SubdomainDDD ClassificationCore CapabilityOwning Team
CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docsCoreCanonical book metadata, taxonomies, pricing, availability, and hybrid discoveryCatalog Experience TeamTeamCatalog Experience TeamStream-Aligned team owning BookWorm's product catalog, customer reviews, and storefront/backoffice discovery experience....Open docs
ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docsCoreAuthenticated customer baskets, pre-purchase intent, and checkout cleanupCommerce Fulfillment TeamTeamCommerce Fulfillment TeamStream-Aligned team owning customer shopping baskets, checkout coordination, order lifecycle, and financial saga orchest...Open docs
OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docsCoreAccepted purchase records, locked order pricing, lifecycle state, and post-checkout orchestrationCommerce Fulfillment TeamTeamCommerce Fulfillment TeamStream-Aligned team owning customer shopping baskets, checkout coordination, order lifecycle, and financial saga orchest...Open docs
ConversationalDomainv1.0.0ConversationalRoutes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only sto...Ownerai-capabilities-teamDiagramOpen docsCorePrivacy-filtered multi-agent book discovery and read-only store-policy guidanceAI Capabilities TeamTeamAI Capabilities TeamComplicated-Subsystem team owning BookWorm's multi-agent conversational discovery, MCP/A2A protocols, vector ingestion, ...Open docs
ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docsSupportingIndividual customer feedback submissions, rating publication, and review summarizationCatalog Experience TeamTeamCatalog Experience TeamStream-Aligned team owning BookWorm's product catalog, customer reviews, and storefront/backoffice discovery experience....Open docs
PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docsGenericCross-cutting recurring job scheduling and transactional email deliveryPlatform Engineering TeamTeamPlatform Engineering TeamPlatform team providing BookWorm's thinnest viable platform—orchestration, messaging fabric, scheduling, notifications, ...Open docs

Cross-Domain Interactions (Context Map)

Neighboring Domain / SystemDirectionIntegration MechanismBusiness Data Exchanged
CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs ↔ ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docsUpstream (Catalog) → Downstream (Shopping)Sync (gRPC)Book titles, live prices, and availability for basket enrichment
ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs ↔ OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docsUpstream (Shopping) → Downstream (Ordering)Sync (gRPC) & Async (Events/Commands)Basket item quantities at checkout; post-checkout basket cleanup commands and outcomes
CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs ↔ OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docsUpstream (Catalog) → Downstream (Ordering)Sync (gRPC)Authoritative book pricing resolved and locked onto accepted orders
ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs ↔ CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docsBidirectional (Partnership / Compensation)Async (Events)Feedback created/deleted events for rating aggregation; missing-book compensation events
ConversationalDomainv1.0.0ConversationalRoutes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only sto...Ownerai-capabilities-teamDiagramOpen docs ↔ CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs / ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docsDownstream (Conversational) ← Upstream (Catalog, Reviews)Sync (MCP & A2A gRPC)Read-only book discovery lookups and AI-summarized customer feedback
PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs ↔ CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs / OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docsSupporting (Platform) ↔ Core (Catalog, Ordering)Async (Events/Commands)Scheduled vector batch triggers and transactional order email commands
Identity ProviderSystemv1.0.0Identity ProviderExternal identity infrastructure that authenticates BookWorm users and provides OAuth-compatible identity verification f...Ownerplatform-engineering-teamDiagramOpen docs & Data PrivacySystemv1.0.0Data PrivacyExternal Presidio system that detects and anonymizes personally identifiable information in the Reviews feedback-summari...Ownerplatform-engineering-teamDiagramOpen docsUpstream (External Systems) → Downstream (BookWorm)Sync (OIDC / HTTP)User and agent identity tokens; fail-closed PII detection and anonymization
Note

Domain Invariants: A basket cannot proceed to checkout without valid CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs book identities and current pricing. Every accepted checkout creates one authoritative Order in OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs with status New, and only explicit ordering commands transition it to Completed or Cancelled.

Ubiquitous Language Highlights

BookWorm’s shared domain vocabulary prevents ambiguity across bounded contexts (see GlossaryCustom DocGlossaryShared plain-language definitions for BookWorm domain concepts, architecture terms, and recurring acronyms.Ownerarchitecture-enabling-teamOpen doc and the BookWorm Ubiquitous Language dictionary):

  • Book: A canonical title owned by CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs; other contexts reference it strictly by identifier.
  • Basket: Mutable pre-purchase shopping intent owned by ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs—never an order or inventory reservation.
  • Order & Order Item: Durable purchase records owned by OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs with locked purchase-time pricing and lifecycle status.
  • Feedback: An individual customer rating and optional comment owned by ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs, distinct from CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs‘s aggregate rating summary.
  • Checkout: The cross-context process that transitions a checked-out basket into the ordering workflow.
  • Chat Request: A customer question routed by ConversationalDomainv1.0.0ConversationalRoutes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only sto...Ownerai-capabilities-teamDiagramOpen docs agents without taking ownership of referenced books or orders.

Architecture Visualizations

Enterprise Context Overview

Commerce Capabilities Overview

Conversational & Platform Capabilities Overview

Explore Domain Graph

Interactive view of BookWorm subdomains, services, and message flows.

Domain Glossary

Canonical vocabulary and ownership rules across all bounded contexts.

Architecture Decisions

Platform-wide ADRs governing service boundaries, messaging, and state.

BookWorm Event Storming

Domain events, commands, and bounded-context handoffs across the platform.