Reviews
Captures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-screened AI feedback summaries.
Business Purpose & Boundary
ReviewsDomainv1.0.0ReviewsCaptures individual customer feedback for books, publishes rating changes for
Catalog discovery, and provides privacy-sc...Ownercatalog-experience-teamDiagramOpen docs is BookWorm’s Supporting bounded context for individual customer book feedback, centered on the FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs entity (a book reference, integer rating from 0 to 5, reviewer name, and optional comment). It persists authoritative feedback records, publishes rating lifecycle events so CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and
consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs can project aggregate scores, compensates orphaned feedback when a referenced book does not exist, and hosts Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs to generate read-only AI review summaries. Explicitly out of scope are owning canonical book metadata (CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and
consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs), managing shopping baskets (ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books
through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs), and processing orders (OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing,
and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs).
Reviews references books strictly by identifier and never duplicates Catalog metadata. AI-generated feedback summaries are read-only derived insights—they never alter persisted FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs records or Catalog’s numeric rating summary.
Core Responsibilities & Capabilities
| Capability | Owning Service / Agent | Primary Entities |
|---|---|---|
| Customer Feedback Lifecycle | Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs | FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs |
| Rating Event Publication & Compensation | Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs | FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs |
| Privacy-Screened AI Review Summarization | Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs (via Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs) | FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs |
Cross-Domain Interactions (Context Map)
| Neighboring Domain / System | Direction | Integration Mechanism | Business Data Exchanged |
|---|---|---|---|
| CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs | Downstream (Reviews → Catalog) | Async (Events) | Feedback createdEventv1.0.0Feedback createdIndicates that a customer feedback rating was created for a book. Rating API publishes this event so Catalog can update ...Ownercatalog-experience-teamSchemaDiagramOpen docs and Feedback deletedEventv1.0.0Feedback deletedIndicates that a customer feedback rating was deleted for a book. Rating API publishes this event so Catalog can remove ...Ownercatalog-experience-teamSchemaDiagramOpen docs to update aggregate book ratings |
| CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs | Upstream (Catalog → Reviews) | Async (Compensation Event) | Book rating update failedEventv1.0.0Book rating update failedIndicates that Catalog could not apply a feedback-created event because the referenced book was not found. Ownercatalog-experience-teamSchemaDiagramOpen docs triggers idempotent deletion of orphaned feedback |
| ConversationalDomainv1.0.0ConversationalRoutes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only sto...Ownerai-capabilities-teamDiagramOpen docs | Downstream (Reviews → Conversational) | Sync (A2A gRPC) | Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs returns read-only sentiment and review summaries for a requested book |
| Data PrivacySystemv1.0.0Data PrivacyExternal Presidio system that detects and anonymizes personally identifiable information in the Reviews feedback-summari...Ownerplatform-engineering-teamDiagramOpen docs | Upstream (Data Privacy → Reviews) | Sync (HTTP) | Fail-closed PII detection and anonymization before AI summarization |
Decoupled Availability & Compensation: Storefront discovery in CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs never calls Reviews synchronously, so catalog browsing stays available even during Reviews maintenance. Eventual consistency between individual feedback writes and Catalog’s rating summary is maintained asynchronously, with explicit compensating deletion when feedback targets an invalid or deleted book.
Ubiquitous Language Highlights
- Feedback & Review: Synonyms for the same individual customer submission about a book (
Reviewin customer-facing experiences, FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs in the domain model). - Rating & Comment: An integer score from
0through5paired with an optional written customer comment. - Book Reference: The book identifier linking feedback to CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs without copying catalog attributes.
- Rating Summary: CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs‘s aggregated average rating and review count—explicitly distinct from individual feedback records.
Architecture Visualizations
Reviews Context Overview
Related Governance & Documentation
- Rating SystemSystemv1.0.0Rating SystemInternal Reviews system that owns customer feedback, publishes rating changes to Catalog, and provides read-time feedbac...Ownercatalog-experience-teamDiagramRepositoryOpen docs — System boundary, Cosmos DB persistence, and Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs.
- Customer Feedback Publication and ProjectionFlowv1.0.0Customer Feedback Publication and ProjectionRating API persists customer feedback in Cosmos DB and publishes an integration event; Catalog API updates the derived b...Ownercatalog-experience-teamView flowOpen docs — Feedback publication, Catalog projection, and compensation workflow.
- ADR-BW-007: Distinguish authoritative state from derived viewsDecision Recordv1.0.0ADR-BW-007: Distinguish authoritative state from derived viewsTreat search and rating projections as derived information with explicit consistency limits rather than alternative sour...Ownerarchitecture-enabling-teamOpen docs — Authoritative feedback vs. derived Catalog rating summaries.
- ADR-BW-014: Compose shared governance on each enabled AI pathDecision Recordv1.0.0ADR-BW-014: Compose shared governance on each enabled AI pathReuse privacy, guardrail, and policy mechanisms across Chat and Rating while verifying registration and permissions on e...Ownerai-capabilities-teamOpen docs — Fail-closed privacy and guardrail governance for Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs.
- GlossaryCustom DocGlossaryShared plain-language definitions for BookWorm domain concepts, architecture terms, and recurring acronyms.Ownerarchitecture-enabling-teamOpen doc — Shared feedback, rating, and summary terminology.