# BookWorm EventCatalog Documentation > This internal platform provides a comprehensive view of our event-driven architecture across all systems. Use this portal to discover existing domains, explore services and their dependencies, and understand the message contracts that connect our infrastructure ## Events - [Basket deletion completed - BasketDeletedCompleteIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/BasketDeletedCompleteIntegrationEvent/1.0.0.mdx) - Indicates that Basket successfully deleted the submitted basket during checkout cleanup. - [Basket deletion failed - BasketDeletedFailedIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/BasketDeletedFailedIntegrationEvent/1.0.0.mdx) - Indicates that Basket could not delete the submitted basket during checkout cleanup. - [Book rating update failed - BookUpdatedRatingFailedIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/BookUpdatedRatingFailedIntegrationEvent/1.0.0.mdx) - Indicates that Catalog could not apply a feedback-created event because the referenced book was not found. - [Feedback created - FeedbackCreatedIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/FeedbackCreatedIntegrationEvent/1.0.0.mdx) - Indicates that a customer feedback rating was created for a book. Rating API publishes this event so Catalog can update its denormalized rating summary. - [Feedback deleted - FeedbackDeletedIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/FeedbackDeletedIntegrationEvent/1.0.0.mdx) - Indicates that a customer feedback rating was deleted for a book. Rating API publishes this event so Catalog can remove it from its denormalized summary. - [Order cancelled - OrderStatusChangedToCancelIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/OrderStatusChangedToCancelIntegrationEvent/1.0.0.mdx) - Reports that an Order transitioned from New to Cancelled. - [Order completed - OrderStatusChangedToCompleteIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/OrderStatusChangedToCompleteIntegrationEvent/1.0.0.mdx) - Reports that an Order transitioned from New to Completed. - [Process vector batch - ProcessVectorBatchIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/ProcessVectorBatchIntegrationEvent/1.0.0.mdx) - Integration event published by Scheduler every five minutes to trigger Catalog Ingestion vector batch processing over Kafka. - [User checked out - UserCheckedOutIntegrationEvent - 1.0.0 ](https://foxminchan.github.io/docs/events/UserCheckedOutIntegrationEvent/1.0.0.mdx) - Reports that an Order was placed and its checkout details are ready for Finance coordination. ## Commands - [Analyze text - AnalyzeText - 1.0.0 ](https://foxminchan.github.io/docs/commands/AnalyzeText/1.0.0.mdx) - Detects PII entities in one text string or a batch, returning entity types, text offsets, confidence scores, and optional analysis explanations. - [Anonymize text - AnonymizeText - 1.0.0 ](https://foxminchan.github.io/docs/commands/AnonymizeText/1.0.0.mdx) - Replaces or transforms detected PII in text using the supplied analysis results and configured anonymization operators. - [Cancel order - CancelOrder - 1.0.0 ](https://foxminchan.github.io/docs/commands/CancelOrder/1.0.0.mdx) - Marks an existing Order as Cancelled when its current status is New. - [Send order cancelled notification - CancelOrderCommand - 1.0.0 ](https://foxminchan.github.io/docs/commands/CancelOrderCommand/1.0.0.mdx) - Shared Finance cancellation command consumed by Notification to render and submit a canceled-order email. - [Complete order - CompleteOrder - 1.0.0 ](https://foxminchan.github.io/docs/commands/CompleteOrder/1.0.0.mdx) - Marks an existing Order as Completed when its current status is New. - [Send order completed notification - CompleteOrderCommand - 1.0.0 ](https://foxminchan.github.io/docs/commands/CompleteOrderCommand/1.0.0.mdx) - Shared Finance completion command consumed by Notification to render and submit a completed-order email. - [Create author - CreateAuthor - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateAuthor/1.0.0.mdx) - Creates an author in the Catalog. - [Create basket - CreateBasket - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateBasket/1.0.0.mdx) - Creates a basket containing the supplied item identifiers and quantities. - [Create book - CreateBook - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateBook/1.0.0.mdx) - Creates a book listing and returns its generated UUID. - [Create buyer - CreateBuyer - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateBuyer/1.0.0.mdx) - Creates a Buyer profile for the authenticated customer from the supplied address. - [Create category - CreateCategory - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateCategory/1.0.0.mdx) - Creates a category in the Catalog. - [Create feedback - CreateFeedback - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateFeedback/1.0.0.mdx) - Creates a feedback rating for a Catalog book and returns its generated UUID. - [Create order - CreateOrder - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreateOrder/1.0.0.mdx) - Creates an Order for the authenticated Buyer using the current basket and Catalog pricing. - [Create publisher - CreatePublisher - 1.0.0 ](https://foxminchan.github.io/docs/commands/CreatePublisher/1.0.0.mdx) - Creates a publisher in the Catalog. - [Delete author - DeleteAuthor - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteAuthor/1.0.0.mdx) - Deletes an existing author from the Catalog. - [Delete basket - DeleteBasket - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteBasket/1.0.0.mdx) - Deletes the current basket. - [Acknowledge basket deletion completed - DeleteBasketCompleteCommand - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteBasketCompleteCommand/1.0.0.mdx) - Reports Finance's successful basket-cleanup outcome to Order API without changing the Order's business status. - [Handle basket deletion failed - DeleteBasketFailedCommand - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteBasketFailedCommand/1.0.0.mdx) - Reports Finance's failed basket-cleanup outcome so Order API can soft-delete the affected Order. - [Delete book - DeleteBook - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteBook/1.0.0.mdx) - Deletes an existing book from the Catalog. - [Delete buyer - DeleteBuyer - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteBuyer/1.0.0.mdx) - Deletes a Buyer profile by identifier; the operation is restricted to administrators. - [Delete category - DeleteCategory - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteCategory/1.0.0.mdx) - Deletes an existing category from the Catalog. - [Delete feedback - DeleteFeedback - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteFeedback/1.0.0.mdx) - Deletes an existing feedback record by its UUID. - [Delete order - DeleteOrder - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeleteOrder/1.0.0.mdx) - Soft-deletes an Order by its identifier without changing its business status. - [Delete publisher - DeletePublisher - 1.0.0 ](https://foxminchan.github.io/docs/commands/DeletePublisher/1.0.0.mdx) - Deletes an existing publisher from the Catalog. - [Place order - PlaceOrderCommand - 1.0.0 ](https://foxminchan.github.io/docs/commands/PlaceOrderCommand/1.0.0.mdx) - Shared Finance order-placement command consumed by Notification to render and submit a new-order email. - [Update buyer address - UpdateAddress - 1.0.0 ](https://foxminchan.github.io/docs/commands/UpdateAddress/1.0.0.mdx) - Updates the authenticated Buyer's address using the supplied street, city, and province. - [Update author - UpdateAuthor - 1.0.0 ](https://foxminchan.github.io/docs/commands/UpdateAuthor/1.0.0.mdx) - Updates an existing author in the Catalog. - [Update basket - UpdateBasket - 1.0.0 ](https://foxminchan.github.io/docs/commands/UpdateBasket/1.0.0.mdx) - Replaces a basket's item collection with the supplied items. - [Update book - UpdateBook - 1.0.0 ](https://foxminchan.github.io/docs/commands/UpdateBook/1.0.0.mdx) - Updates an existing book listing, including optional image and catalog relationships. - [Update category - UpdateCategory - 1.0.0 ](https://foxminchan.github.io/docs/commands/UpdateCategory/1.0.0.mdx) - Updates an existing category in the Catalog. - [Update publisher - UpdatePublisher - 1.0.0 ](https://foxminchan.github.io/docs/commands/UpdatePublisher/1.0.0.mdx) - Updates an existing publisher in the Catalog. ## Queries - [Get anonymizers - GetAnonymizers - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetAnonymizers/1.0.0.mdx) - Returns the names of the built-in anonymization operators supported by Presidio Anonymizer. - [Get basket - GetBasket - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBasket/1.0.0.mdx) - Returns the current basket and its item details. - [Get basket over gRPC - GetBasketGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBasketGrpc/1.0.0.mdx) - Returns the current basket through the basket.v1 gRPC contract. - [Get book - GetBook - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBook/1.0.0.mdx) - Returns one book and its catalog relationships by identifier. - [Get book details over gRPC - GetBookDetailsGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBookDetailsGrpc/1.0.0.mdx) - Returns full Catalog book details by identifier through the book.v1 gRPC contract. - [Get book over gRPC - GetBookGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBookGrpc/1.0.0.mdx) - Returns one Catalog book by identifier through the book.v1 gRPC contract. - [Get books over gRPC - GetBooksGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBooksGrpc/1.0.0.mdx) - Returns multiple Catalog books by identifier through the book.v1 gRPC contract. - [Get buyer - GetBuyer - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetBuyer/1.0.0.mdx) - Returns the Buyer profile selected by identifier, subject to the caller's authorization. - [Get catalog dashboard over gRPC - GetDashboardGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetDashboardGrpc/1.0.0.mdx) - Returns Catalog totals and category counts through the admin-protected book.v1 gRPC contract. - [Get order - GetOrder - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetOrder/1.0.0.mdx) - Returns Order details, including the recorded item quantities and prices. - [Get recognizers - GetRecognizers - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetRecognizers/1.0.0.mdx) - Returns the names of PII recognizers available for the requested language. - [Get supported entities - GetSupportedEntities - 1.0.0 ](https://foxminchan.github.io/docs/queries/GetSupportedEntities/1.0.0.mdx) - Returns the PII entity types Presidio Analyzer can detect for the requested language. - [List authors - ListAuthors - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListAuthors/1.0.0.mdx) - Returns all authors known to the Catalog. - [List authors over gRPC - ListAuthorsGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListAuthorsGrpc/1.0.0.mdx) - Returns all Catalog authors through the book.v1 gRPC contract. - [List books - ListBooks - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListBooks/1.0.0.mdx) - Returns a filterable collection of books with pricing, availability, relationships, and rating summaries. - [List books over gRPC - ListBooksGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListBooksGrpc/1.0.0.mdx) - Searches and lists Catalog books with full metadata through the book.v1 gRPC contract. - [List buyers - ListBuyers - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListBuyers/1.0.0.mdx) - Returns Buyer profiles with pagination. - [List categories - ListCategories - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListCategories/1.0.0.mdx) - Returns all categories known to the Catalog. - [List categories over gRPC - ListCategoriesGrpc - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListCategoriesGrpc/1.0.0.mdx) - Returns all Catalog categories through the book.v1 gRPC contract. - [List feedbacks - ListFeedbacks - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListFeedbacks/1.0.0.mdx) - Returns feedback for a book with pagination, sorting, and validation responses. - [List orders - ListOrders - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListOrders/1.0.0.mdx) - Returns Orders with pagination and optional status and Buyer filters. - [List publishers - ListPublishers - 1.0.0 ](https://foxminchan.github.io/docs/queries/ListPublishers/1.0.0.mdx) - Returns all publishers known to the Catalog. - [Summarize feedback - SummarizeFeedback - 1.0.0 ](https://foxminchan.github.io/docs/queries/SummarizeFeedback/1.0.0.mdx) - Returns a generated feedback summary, classification, rating metrics, evidence, and confidence for a book. ## Agents - [Book Agent - book-agent - 1.0.0 ](https://foxminchan.github.io/docs/agents/book-agent/1.0.0.mdx) - Primary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookups and delegated research while never mutating orders, baskets, or reviews. - [Book Catalog Researcher - book-catalog-researcher - 1.0.0 ](https://foxminchan.github.io/docs/agents/book-catalog-researcher/1.0.0.mdx) - Internal delegated subagent that performs low-temperature factual catalog lookups for the Book Agent and never communicates directly with customers or mutates state. - [Book Recommendation Researcher - book-recommendation-researcher - 1.0.0 ](https://foxminchan.github.io/docs/agents/book-recommendation-researcher/1.0.0.mdx) - Internal delegated subagent that curates catalog-verified book shortlists matching customer preferences for the Book Agent without inferring demographics or inventing facts. - [QA Agent - qa-agent - 1.0.0 ](https://foxminchan.github.io/docs/agents/qa-agent/1.0.0.mdx) - Read-only customer support and store-policy specialist that answers operational, shipping, returns, account, and billing questions without accessing live order data or mutating records. - [Rating Agent - rating-agent - 1.0.0 ](https://foxminchan.github.io/docs/agents/rating-agent/1.0.0.mdx) - Read-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while leaving final quality tier classification to deterministic service logic. ## Services - [Basket API - basket-api - 1.0.0 ](https://foxminchan.github.io/docs/services/basket-api/1.0.0.mdx) - Internal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkout cleanup. - [Catalog API - catalog-api - 1.0.0 ](https://foxminchan.github.io/docs/services/catalog-api/1.0.0.mdx) - Internal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. - [Catalog Ingestion - catalog-ingestion - 1.0.0 ](https://foxminchan.github.io/docs/services/catalog-ingestion/1.0.0.mdx) - Internal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. - [Chat API - chat-api - 1.0.0 ](https://foxminchan.github.io/docs/services/chat-api/1.0.0.mdx) - Internal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. - [MCP Server - mcp-server - 1.0.0 ](https://foxminchan.github.io/docs/services/mcp-server/1.0.0.mdx) - Internal stateless Streamable HTTP MCP service that exposes read-only Catalog lookup tools and reusable AI prompts. - [Notification API - notification-api - 1.0.0 ](https://foxminchan.github.io/docs/services/notification-api/1.0.0.mdx) - Internal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over SMTP via MailKit. - [OAuth API - oauth-api - 1.0.0 ](https://foxminchan.github.io/docs/services/oauth-api/1.0.0.mdx) - External OAuth 2.0 and OIDC identity provider API used by BookWorm clients and services to authenticate users, issue tokens, and delegate agent access. - [Order API - order-api - 1.0.0 ](https://foxminchan.github.io/docs/services/order-api/1.0.0.mdx) - Authenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting prices, and coordinating status events. - [Order Orchestration - order-orchestration - 1.0.0 ](https://foxminchan.github.io/docs/services/order-orchestration/1.0.0.mdx) - Message-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Durable Task Scheduler and Kafka. - [Presidio API - presidio-api - 1.0.0 ](https://foxminchan.github.io/docs/services/presidio-api/1.0.0.mdx) - External HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pipelines. - [Rating API - rating-api - 1.0.0 ](https://foxminchan.github.io/docs/services/rating-api/1.0.0.mdx) - Internal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog books. - [Scheduler Service - scheduler-service - 1.0.0 ](https://foxminchan.github.io/docs/services/scheduler-service/1.0.0.mdx) - Single-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and inspecting execution history. - [SendGrid API - sendgrid-api - 1.0.0 ](https://foxminchan.github.io/docs/services/sendgrid-api/1.0.0.mdx) - External SMTP email delivery provider used by BookWorm to submit rendered order notification emails over authenticated SMTP. ## Data Products ## Domains - [BookWorm - bookworm - 1.0.0 ](https://foxminchan.github.io/docs/domains/bookworm/1.0.0.mdx) - Core e-commerce domain for the BookWorm online bookstore, coordinating catalog discovery, customer baskets, order fulfillment, customer reviews, conversational guidance, and platform operations. - [Catalog - catalog - 1.0.0 ](https://foxminchan.github.io/docs/domains/catalog/1.0.0.mdx) - Core BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journey. - [Conversational - conversational - 1.0.0 ](https://foxminchan.github.io/docs/domains/conversational/1.0.0.mdx) - Routes BookWorm customer requests through privacy-filtered AI agents for catalog-backed book discovery and read-only store-policy guidance. - [Ordering - ordering - 1.0.0 ](https://foxminchan.github.io/docs/domains/ordering/1.0.0.mdx) - Creates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions from New to Completed or Cancelled. - [Platform - platform - 1.0.0 ](https://foxminchan.github.io/docs/domains/platform/1.0.0.mdx) - Provides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notification delivery across BookWorm. - [Reviews - reviews - 1.0.0 ](https://foxminchan.github.io/docs/domains/reviews/1.0.0.mdx) - Captures individual customer feedback for books, publishes rating changes for Catalog discovery, and provides privacy-screened AI feedback summaries. - [Shopping - shopping - 1.0.0 ](https://foxminchan.github.io/docs/domains/shopping/1.0.0.mdx) - Coordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purchase to Ordering. ## Flows - [Chat Agent Orchestration - agent-orchestration - 1.0.0 ](https://foxminchan.github.io/docs/flows/agent-orchestration/1.0.0.mdx) - A customer submits a conversational request through Storefront; Chat API screens input, routes via a non-LLM classifier with optional human disambiguation, delegates to specialist agents, and formats the response. - [Customer Feedback Publication and Projection - feedback-publication - 1.0.0 ](https://foxminchan.github.io/docs/flows/feedback-publication/1.0.0.mdx) - Rating API persists customer feedback in Cosmos DB and publishes an integration event; Catalog API updates the derived book rating summary or emits a compensating failure event to delete orphaned feedback. - [Notification Delivery - notification-delivery - 1.0.0 ](https://foxminchan.github.io/docs/flows/notification-delivery/1.0.0.mdx) - Finance emits order-notification commands over Kafka; Notification API applies Redis idempotency, renders MJML email templates, and submits MIME messages over SMTP with bounded retries and dead-lettering. - [Order Lifecycle and Status Transitions - order-lifecycle - 1.0.0 ](https://foxminchan.github.io/docs/flows/order-lifecycle/1.0.0.mdx) - Checkout creates a New Order owned by Ordering API, Finance coordinates post-order cleanup and notifications, and explicit business operations move the Order to Completed or Cancelled. - [Product Ingestion - product-ingestion - 1.0.0 ](https://foxminchan.github.io/docs/flows/product-ingestion/1.0.0.mdx) - Catalog API persists product changes in PostgreSQL; Scheduler triggers Catalog Ingestion over Kafka every five minutes to refresh or remove Qdrant vectors and acknowledge unchanged revisions. - [User Checkout - user-checkout - 1.0.0 ](https://foxminchan.github.io/docs/flows/user-checkout/1.0.0.mdx) - An authenticated customer checks out a persisted basket through Ordering API; Finance coordinates asynchronous basket cleanup and Notification submits the order email over SMTP with independent outcomes and bounded retries. ## Channels - [Basket Dead Letter Queue - bookworm.{env}.basket.dead-letter-queue - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.basket.dead-letter-queue/1.0.0.mdx) - Kafka dead-letter topic owned by the platform team that captures Basket API messages after retry exhaustion or deserialization failure. - [Basket Delete Complete - bookworm.{env}.basket.delete-complete - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.basket.delete-complete/1.0.0.mdx) - Kafka topic owned by the contributor team carrying Basket API's successful checkout cleanup confirmation for Finance order orchestration. - [Basket Delete Failed - bookworm.{env}.basket.delete-failed - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.basket.delete-failed/1.0.0.mdx) - Kafka topic owned by the contributor team carrying Basket API's explicit checkout cleanup failure outcome for Finance compensation. - [Book Rating Update Failed Channel - bookworm.{env}.catalog.book-update-rating-failed - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.catalog.book-update-rating-failed/1.0.0.mdx) - Kafka compensation topic owned by the contributor team used by Catalog API when a feedback-created event references a missing book. - [Catalog Dead Letter Queue - bookworm.{env}.catalog.dead-letter-queue - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.catalog.dead-letter-queue/1.0.0.mdx) - Kafka dead-letter topic owned by the platform team that captures Rating feedback events that Catalog API could not process. - [Order Cancellation Command Channel - bookworm.{env}.finance.cancel-order - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.finance.cancel-order/1.0.0.mdx) - Kafka topic owned by the contributor team carrying Finance order-cancellation commands consumed by Notification API to send cancellation emails. - [Order Completion Command Channel - bookworm.{env}.finance.complete-order - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.finance.complete-order/1.0.0.mdx) - Kafka topic owned by the contributor team carrying Finance order-completion commands consumed by Notification API to send completion emails. - [Successful Basket Cleanup Command Channel - bookworm.{env}.finance.delete-basket-complete - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.finance.delete-basket-complete/1.0.0.mdx) - Kafka topic owned by the commerce-fulfillment-team carrying Finance's successful basket-cleanup command consumed by Order API for operational tracking. - [Failed Basket Cleanup Command Channel - bookworm.{env}.finance.delete-basket-failed - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.finance.delete-basket-failed/1.0.0.mdx) - Kafka topic owned by the commerce-fulfillment-team carrying Finance's failed basket-cleanup compensation command consumed by Order API. - [Order Placement Command Channel - bookworm.{env}.finance.place-order - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.finance.place-order/1.0.0.mdx) - Shared Kafka topic owned by the contributor team carrying Finance order placement commands to Basket API for cleanup and Notification API for email. - [Notification Dead Letter Queue - bookworm.{env}.notification.dead-letter-queue - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.notification.dead-letter-queue/1.0.0.mdx) - Kafka dead-letter topic owned by the platform team that captures order notification commands that Notification API could not deliver. - [Ordering Dead Letter Queue - bookworm.{env}.ordering.dead-letter-queue - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.ordering.dead-letter-queue/1.0.0.mdx) - Kafka dead-letter topic owned by the platform-engineering-team that captures basket-cleanup outcome commands that Order API could not process. - [Order Cancellation Event Channel - bookworm.{env}.ordering.order-status-change-to-cancel - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.ordering.order-status-change-to-cancel/1.0.0.mdx) - Kafka topic owned by the commerce-fulfillment-team carrying Order API events when an order transitions from New to Cancelled. - [Order Completion Event Channel - bookworm.{env}.ordering.order-status-change-to-complete - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.ordering.order-status-change-to-complete/1.0.0.mdx) - Kafka topic owned by the commerce-fulfillment-team carrying Order API events when an order transitions from New to Completed. - [User Checkout Event Channel - bookworm.{env}.ordering.user-checked-out - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.ordering.user-checked-out/1.0.0.mdx) - Kafka topic owned by the commerce-fulfillment-team carrying Order API checkout events that initiate Finance post-checkout saga coordination. - [Rating Dead Letter Queue - bookworm.{env}.rating.dead-letter-queue - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.rating.dead-letter-queue/1.0.0.mdx) - Kafka dead-letter topic owned by the platform team that captures Catalog compensation events that Rating API could not process. - [Feedback Created Channel - bookworm.{env}.rating.feedback-create - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.rating.feedback-create/1.0.0.mdx) - Kafka topic owned by the contributor team carrying Rating API feedback-created events consumed by Catalog API to update book rating summaries. - [Feedback Deleted Channel - bookworm.{env}.rating.feedback-delete - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/bookworm.{env}.rating.feedback-delete/1.0.0.mdx) - Kafka topic owned by the contributor team carrying Rating API feedback-deleted events consumed by Catalog API to update book rating summaries. - [Process Vector Batch Channel - scheduler.process-vector-batch - 1.0.0 - protocol - kafka](https://foxminchan.github.io/docs/channels/scheduler.process-vector-batch/1.0.0.mdx) - Unprefixed Kafka trigger topic owned by the platform team used by Scheduler Service every five minutes to initiate Catalog Ingestion vector indexing. ## Ubiquitous Language The whole glossary, with terms defined in more than one domain listed together: https://foxminchan.github.io/docs/llm/ubiquitous-language.txt - BookWorm Domain - [Book: - A title represented in the bookstore catalog.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Basket: - A customer's changeable collection of books before purchase.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Buyer: - The person associated with an Order in Ordering.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Order: - The durable purchase record managed by Ordering.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Order Item: - One book, quantity, and price recorded on an Order.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Feedback: - A customer's rating and optional comment about a Book.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Checkout: - The cross-context process that starts order placement.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Chat Request: - A customer question handled by Conversational agents.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Idempotency Guard: - Time-bounded deduplication guard for incoming notification commands.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Dead-Letter Queue: - Message channel holding commands that exhausted delivery retries.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Email Template: - Responsive email markup compiled to HTML at runtime for order emails.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - [Vector Batch Job: - Scheduled work that asks Catalog ingestion to refresh vector search data.](https://foxminchan.github.io/docs/domains/bookworm/language.mdx) - Catalog Domain - [Book: - A listed title available for discovery.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - [Author: - A named contributor associated with one or more Books.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - [Publisher: - The publishing organization associated with a Book.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - [Category: - A classification used to group Books.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - [Price: - A Book's original price and optional discount price.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - [Availability: - Whether a Book is in stock or out of stock.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - [Rating Summary: - The average rating and review count shown for a Book.](https://foxminchan.github.io/docs/domains/catalog/language.mdx) - Conversational Domain - [Customer Request: - A BookWorm-related message being handled by the agents.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [Decision Router: - Evaluates safety, language, scope, and target specialist for a customer request.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [Book Agent: - Helps customers search for books and receive recommendations.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [Book Catalog Researcher: - Sub-agent that performs deep catalog lookups for the Book Agent.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [Book Recommendation Researcher: - Sub-agent that generates tailored book recommendations for the Book Agent.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [QA Agent: - Answers general questions about bookstore policies and services.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [Rating Agent: - Summarizes customer book ratings and feedback in Reviews.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - [Handoff: - Transfer of a request between specialist agents.](https://foxminchan.github.io/docs/domains/conversational/language.mdx) - Ordering Domain - [Buyer: - The named person associated with Orders.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [Address: - A Buyer's street, city, and province information.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [Order: - A purchase record containing one or more Order items.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [Order Item: - A book identifier, quantity, and price on an Order.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [Order Total: - The sum of all Order item line totals.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [New: - The initial status of an Order.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [Completed: - A terminal status for a successfully completed Order.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - [Cancelled: - A terminal status for an Order that will not complete.](https://foxminchan.github.io/docs/domains/ordering/language.mdx) - Platform Domain - [Idempotency Guard: - Time-bounded deduplication guard for incoming notification commands.](https://foxminchan.github.io/docs/domains/platform/language.mdx) - [Dead-Letter Queue: - Message channel holding commands that exhausted delivery retries.](https://foxminchan.github.io/docs/domains/platform/language.mdx) - [Email Template: - Responsive email markup compiled to HTML at runtime for order emails.](https://foxminchan.github.io/docs/domains/platform/language.mdx) - [Vector Batch Job: - Scheduled work that asks Catalog ingestion to refresh vector search data.](https://foxminchan.github.io/docs/domains/platform/language.mdx) - Reviews Domain - [Feedback: - A customer's rating and optional comment about a Book.](https://foxminchan.github.io/docs/domains/reviews/language.mdx) - [Review: - The customer-facing name for a Feedback submission.](https://foxminchan.github.io/docs/domains/reviews/language.mdx) - [Rating: - An integer score from 0 through 5 on a Feedback submission.](https://foxminchan.github.io/docs/domains/reviews/language.mdx) - [Comment: - Optional written text supplied with Feedback.](https://foxminchan.github.io/docs/domains/reviews/language.mdx) - [Book Reference: - The identifier of the Book that Feedback concerns.](https://foxminchan.github.io/docs/domains/reviews/language.mdx) - [Rating Summary: - Catalog's aggregate average and review count for a Book.](https://foxminchan.github.io/docs/domains/reviews/language.mdx) - Shopping Domain - [Basket: - A customer's current collection of items before purchase.](https://foxminchan.github.io/docs/domains/shopping/language.mdx) - [Basket Item: - A book identifier and positive quantity in a Basket.](https://foxminchan.github.io/docs/domains/shopping/language.mdx) - [Customer Identifier: - The identifier used to address a customer's Basket.](https://foxminchan.github.io/docs/domains/shopping/language.mdx) - [Checkout: - The action that starts order placement for a Basket.](https://foxminchan.github.io/docs/domains/shopping/language.mdx) - [Checked-out Event: - An integration message that coordinates checkout.](https://foxminchan.github.io/docs/domains/shopping/language.mdx) ## Containers (Databases, External Systems) - [Basket Database - basket-database - 1.0.0 ](https://foxminchan.github.io/docs/containers/basket-database/1.0.0.mdx) - Authoritative Redis key-value store owned by the Shopping bounded context for customer-scoped pre-checkout shopping baskets. - [Catalog Blob Storage - catalog-blob - 1.0.0 ](https://foxminchan.github.io/docs/containers/catalog-blob/1.0.0.mdx) - Authoritative Azure Blob Storage container owned by the Catalog bounded context for binary book cover images and media assets. - [Catalog Cache - catalog-cache - 1.0.0 ](https://foxminchan.github.io/docs/containers/catalog-cache/1.0.0.mdx) - Non-authoritative FusionCache and Redis caching layer owned by the Catalog bounded context for fast book detail lookups and dashboard summaries. - [Catalog Database - catalog-database - 1.0.0 ](https://foxminchan.github.io/docs/containers/catalog-database/1.0.0.mdx) - Authoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publishers, and vector-indexing coordination. - [Catalog Vector - catalog-vector - 1.0.0 ](https://foxminchan.github.io/docs/containers/catalog-vector/1.0.0.mdx) - Non-authoritative Qdrant vector search index owned by the Catalog bounded context for hybrid semantic and keyword book discovery. - [Chat Session Blob Storage - chat-session-blob - 1.0.0 ](https://foxminchan.github.io/docs/containers/chat-session-blob/1.0.0.mdx) - Authoritative Azure Blob Storage container owned by the Conversational bounded context for durable AG-UI multi-turn chat session state. - [Order Cache and Distributed Locks - order-cache - 1.0.0 ](https://foxminchan.github.io/docs/containers/order-cache/1.0.0.mdx) - Redis-backed coordination and caching slice owned by the Ordering bounded context for buyer-scoped creation locks, HTTP idempotency markers, and cached order summaries. - [Order Database - order-database - 1.0.0 ](https://foxminchan.github.io/docs/containers/order-database/1.0.0.mdx) - Authoritative PostgreSQL system of record owned by the Ordering bounded context for buyers, accepted orders, purchase-time line items, and order lifecycle event streams. - [Rating Cache - rating-cache - 1.0.0 ](https://foxminchan.github.io/docs/containers/rating-cache/1.0.0.mdx) - Non-authoritative FusionCache and Redis caching layer owned by the Reviews bounded context for AI-generated book feedback summaries and review lists. - [Rating Database - rating-database - 1.0.0 ](https://foxminchan.github.io/docs/containers/rating-database/1.0.0.mdx) - Authoritative Azure Cosmos DB system of record owned by the Reviews bounded context for customer feedback documents partitioned by book ID. - [Scheduler Database - scheduler-database - 1.0.0 ](https://foxminchan.github.io/docs/containers/scheduler-database/1.0.0.mdx) - Authoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, execution history, and outbox envelopes. ## Entities - Catalog Domain - [Book](https://foxminchan.github.io/docs/entities/book/1.0.0.mdx) - Canonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxonomy links, and derived rating summaries. - [Author](https://foxminchan.github.io/docs/entities/author/1.0.0.mdx) - Represents a credited author of one or more books in the product catalog, enforcing display-name validity and referential integrity against linked titles. - [Category](https://foxminchan.github.io/docs/entities/category/1.0.0.mdx) - Single-level taxonomy classification grouping books by subject or genre within the product catalog. - [Publisher](https://foxminchan.github.io/docs/entities/publisher/1.0.0.mdx) - Represents a publishing house or imprint associated with books in the product catalog. - Ordering Domain - [Order](https://foxminchan.github.io/docs/entities/order/1.0.0.mdx) - Durable purchase record owned by a Buyer, capturing immutable purchase-time line items and governing order lifecycle transitions. - [Buyer](https://foxminchan.github.io/docs/entities/buyer/1.0.0.mdx) - Represents a customer's ordering profile and delivery address within the Ordering bounded context. - [Order Item](https://foxminchan.github.io/docs/entities/order-item/1.0.0.mdx) - Child entity within an Order capturing a purchased book identifier, positive quantity, and locked checkout-time unit price. - Reviews Domain - [Feedback](https://foxminchan.github.io/docs/entities/feedback/1.0.0.mdx) - Represents an individual customer's rating and optional written review for a Catalog book. - Shopping Domain - [Basket](https://foxminchan.github.io/docs/entities/basket/1.0.0.mdx) - Customer-scoped, mutable pre-order collection of requested books and quantities managed prior to checkout. - [Basket Item](https://foxminchan.github.io/docs/entities/basket-item/1.0.0.mdx) - Child entry within a Basket pairing a Catalog book identifier with a positive requested quantity. ## Teams - [ai-capabilities-team](https://foxminchan.github.io/docs/teams/ai-capabilities-team.mdx) - AI Capabilities Team - [architecture-enabling-team](https://foxminchan.github.io/docs/teams/architecture-enabling-team.mdx) - Architecture Enabling Team - [catalog-experience-team](https://foxminchan.github.io/docs/teams/catalog-experience-team.mdx) - Catalog Experience Team - [commerce-fulfillment-team](https://foxminchan.github.io/docs/teams/commerce-fulfillment-team.mdx) - Commerce Fulfillment Team - [platform-engineering-team](https://foxminchan.github.io/docs/teams/platform-engineering-team.mdx) - Platform Engineering Team ## Users - [nxnhan](https://foxminchan.github.io/docs/users/nxnhan.mdx) - Nhan Nguyen ## Custom Docs - [BookWorm documentation](https://foxminchan.github.io/docs/custom/docs.mdx) - Navigate BookWorm tutorials, how-to guides, technical references, and architecture docs by role across .NET 11, Aspire 17, and Next.js 16. - [arc42 Architecture Overview](https://foxminchan.github.io/docs/custom/arc42.mdx) - Entry point to BookWorm's architecture, key boundaries, and supporting documentation. - [Architecture overview](https://foxminchan.github.io/docs/custom/arc42/00-c4-overview.mdx) - System context, container structure, and capability ownership for the BookWorm platform. - [Introduction and Goals](https://foxminchan.github.io/docs/custom/arc42/01-introduction-and-goals.mdx) - BookWorm's business purpose, essential requirements, priority quality scenarios, and stakeholder concerns. - [Introduction](https://foxminchan.github.io/docs/custom/arc42/01-introduction-and-goals/001-introduction.mdx) - BookWorm's business purpose, architectural scope, and intended audience. - [Requirements Overview](https://foxminchan.github.io/docs/custom/arc42/01-introduction-and-goals/002-requirements-overview.mdx) - Essential BookWorm capabilities and architectural requirements synthesized from the current catalog. - [Quality Goals](https://foxminchan.github.io/docs/custom/arc42/01-introduction-and-goals/003-quality-goals.mdx) - Prioritized, scenario-based quality goals for BookWorm and the current status of their acceptance targets. - [Stakeholders](https://foxminchan.github.io/docs/custom/arc42/01-introduction-and-goals/004-stakeholders.mdx) - Roles affected by BookWorm's architecture, what they expect from it, and how this documentation supports them. - [Architecture Constraints](https://foxminchan.github.io/docs/custom/arc42/02-architecture-constraints.mdx) - Mandatory technical, organizational, and engineering guardrails for BookWorm. - [Context and Scope](https://foxminchan.github.io/docs/custom/arc42/03-context-and-scope.mdx) - Business and technical boundary of the complete BookWorm platform. - [Context and Scope Overview](https://foxminchan.github.io/docs/custom/arc42/03-context-and-scope/001-overview.mdx) - High-level system boundary for the BookWorm online bookstore. - [Business Context](https://foxminchan.github.io/docs/custom/arc42/03-context-and-scope/002-business-context.mdx) - Domain actors and information exchanged across the BookWorm system boundary. - [Technical Context](https://foxminchan.github.io/docs/custom/arc42/03-context-and-scope/003-technical-context.mdx) - External-facing channels and protocols that realize the BookWorm business context. - [Solution Strategy](https://foxminchan.github.io/docs/custom/arc42/04-solution-strategy.mdx) - Executive summary of the architectural decisions that satisfy BookWorm's quality goals and constraints. - [Building Block View](https://foxminchan.github.io/docs/custom/arc42/05-building-block-view.mdx) - Static decomposition of BookWorm into owned business capabilities, services, and shared foundations. - [Whitebox Overall System](https://foxminchan.github.io/docs/custom/arc42/05-building-block-view/001-whitebox-overall-system.mdx) - Level-1 decomposition of BookWorm into its top-level business capabilities and shared foundation. - [Building Block View Level 2](https://foxminchan.github.io/docs/custom/arc42/05-building-block-view/002-level-2.mdx) - Static responsibilities, interfaces, and data ownership within BookWorm's major capabilities. - [Building Block View Level 3](https://foxminchan.github.io/docs/custom/arc42/05-building-block-view/003-level-3.mdx) - Level-3 view of Finance workflow coordination. - [Runtime View](https://foxminchan.github.io/docs/custom/arc42/06-runtime-view.mdx) - Representative BookWorm runtime scenarios across commerce, discovery, customer feedback, and platform operations. - [Checkout and Order Coordination](https://foxminchan.github.io/docs/custom/arc42/06-runtime-view/001-checkout-and-order-coordination.mdx) - Checkout creation and asynchronous basket and email coordination. - [Catalog Search Index Maintenance](https://foxminchan.github.io/docs/custom/arc42/06-runtime-view/002-catalog-search-index-maintenance.mdx) - Maintaining the derived semantic search index after catalog changes. - [Feedback and Rating Projection](https://foxminchan.github.io/docs/custom/arc42/06-runtime-view/003-feedback-and-rating-projection.mdx) - Propagating review changes to catalog ratings and compensating invalid references. - [Conversational Book Discovery](https://foxminchan.github.io/docs/custom/arc42/06-runtime-view/004-conversational-book-discovery.mdx) - Routing, grounding, privacy, and response generation for a chat turn. - [Notification Delivery and Maintenance](https://foxminchan.github.io/docs/custom/arc42/06-runtime-view/005-notification-delivery-and-maintenance.mdx) - Email delivery attempts and scheduled platform maintenance. - [Deployment View](https://foxminchan.github.io/docs/custom/arc42/07-deployment-view.mdx) - Hosting environments, infrastructure boundaries, and workload placement. - [Infrastructure Level 1](https://foxminchan.github.io/docs/custom/arc42/07-deployment-view/001-infrastructure-level-1.mdx) - Cloud environments, trust boundaries, and building-block placement. - [Infrastructure Level 2](https://foxminchan.github.io/docs/custom/arc42/07-deployment-view/002-infrastructure-level-2.mdx) - Selective detail of application hosting, ingress, and operational boundaries. - [Crosscutting Concepts](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts.mdx) - Shared security, integration, resilience, observability, AI governance, and verification practices across BookWorm. - [Security and Privacy](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts/001-security-and-privacy.mdx) - Identity, authorization, and sensitive-data protections at BookWorm's API, AI, and logging boundaries. - [Contracts and Messaging](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts/002-contracts-and-messaging.mdx) - Owned APIs and events connect independently maintained BookWorm capabilities without sharing business state. - [Validation, Errors, and Resilience](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts/003-validation-errors-and-resilience.mdx) - Shared request validation, HTTP error mapping, and capability-specific retry and duplicate-request behavior. - [Observability](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts/004-observability.mdx) - Shared structured logging, OpenTelemetry signals, and health checks support diagnosis across BookWorm services. - [AI Governance](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts/005-ai-governance.mdx) - Input screening, privacy middleware, policy enforcement, and tool boundaries for BookWorm's AI workflows. - [Testing and Change Safety](https://foxminchan.github.io/docs/custom/arc42/08-crosscutting-concepts/006-testing-and-change-safety.mdx) - Layered tests and schema checks protect BookWorm behavior, service boundaries, and contract compatibility. - [Architecture Decisions](https://foxminchan.github.io/docs/custom/arc42/09-architecture-decisions.mdx) - Navigable register of whole-system and capability-specific architecture decisions. - [Quality Requirements](https://foxminchan.github.io/docs/custom/arc42/10-quality-requirements.mdx) - Chapter guide to BookWorm's quality attributes, priorities, and measurable scenarios. - [Quality Requirements Overview](https://foxminchan.github.io/docs/custom/arc42/10-quality-requirements/001-quality-requirements-overview.mdx) - Prioritized quality attributes and their traceability to BookWorm's measurable scenarios. - [Quality Scenarios](https://foxminchan.github.io/docs/custom/arc42/10-quality-requirements/002-quality-scenarios.mdx) - Measurable runtime and change scenarios for BookWorm's quality requirements. - [Risks and Technical Debt](https://foxminchan.github.io/docs/custom/arc42/11-risks-and-technical-debt.mdx) - Prioritized architectural exposures and known compromises with actionable treatment and closure evidence. - [Glossary](https://foxminchan.github.io/docs/custom/arc42/12-glossary.mdx) - Shared plain-language definitions for BookWorm domain concepts, architecture terms, and recurring acronyms. - [Run BookWorm locally](https://foxminchan.github.io/docs/custom/development/000-local-quickstart.mdx) - The shortest path from a prepared machine to a responding local BookWorm application. - [Developer Onboarding](https://foxminchan.github.io/docs/custom/development/001-developer-onboarding.mdx) - A Day 1 and Week 1 roadmap for understanding BookWorm, verifying a workspace, and making a first contribution. - [Getting Started](https://foxminchan.github.io/docs/custom/development/002-getting-started.mdx) - Tool requirements, editor options, local configuration, and common commands for contributing to BookWorm. - [Development Workflow](https://foxminchan.github.io/docs/custom/development/003-development-workflow.mdx) - The daily branch, implementation, verification, formatting, and synchronization loop for BookWorm changes. - [Engineering Standards](https://foxminchan.github.io/docs/custom/development/004-engineering-standards.mdx) - Practical coding, API, contract, naming, formatting, and analysis rules and how automated checks enforce them. - [Testing Execution](https://foxminchan.github.io/docs/custom/development/005-testing.mdx) - How to run backend, frontend, contract, browser, and documentation checks locally and interpret their results. - [Pull Request Process](https://foxminchan.github.io/docs/custom/development/006-pull-request-process.mdx) - Prepare a focused draft, satisfy automated checks and review, and merge a contribution safely. - [How to troubleshoot local development](https://foxminchan.github.io/docs/custom/development/007-troubleshoot-local-dev.mdx) - Symptom-first fixes for local container, port, HTTPS, toolchain, and authentication failures. - [Testing Matrix](https://foxminchan.github.io/docs/custom/development/008-testing-matrix.mdx) - Reference tables for test scope, dependencies, local and CI execution triggers, and passing criteria. - [Frontend Reference](https://foxminchan.github.io/docs/custom/frontend.mdx) - Architectural reference for BookWorm's multi-zone web platform, rendering and caching boundaries, authentication, client state, design governance, and observability. - [Workspace & Dependency Tiers](https://foxminchan.github.io/docs/custom/frontend/001-monorepo-architecture.mdx) - Four-tier dependency model separating application surfaces, domain capabilities, shared foundations, and tooling presets across the frontend workspace. - [Applications & Zone Routing](https://foxminchan.github.io/docs/custom/frontend/002-applications-and-routing.mdx) - Surface boundaries across Storefront, Commerce, and Backoffice, reverse-proxy gateway precedence, and search indexing scope. - [Data Flow & Gateway Integration](https://foxminchan.github.io/docs/custom/frontend/003-data-fetching-and-state.mdx) - Typed transport contracts, retry and idempotency rules, optimistic concurrency with ETags, and real-time streaming channels. - [Quality Gates & Verification](https://foxminchan.github.io/docs/custom/frontend/004-testing-and-quality-gates.mdx) - Static boundary enforcement, isolated component testing, end-to-end journey validation, and production build gates across all frontend surfaces. - [Design System & UI Governance](https://foxminchan.github.io/docs/custom/frontend/005-accessibility.mdx) - Shared accessible UI primitives, design tokens, responsive standards, and internationalization readiness across all frontend surfaces. - [Multi-Zone Composition](https://foxminchan.github.io/docs/custom/frontend/006-microfrontend-architecture.mdx) - Why BookWorm splits customer discovery and authenticated checkout into two zones behind one gateway origin, and how cross-zone navigation works. - [Client State & Feature Slices](https://foxminchan.github.io/docs/custom/frontend/007-architecture-and-state-design.mdx) - Separation of server cache from ephemeral UI state, thin route entrypoints, vertical feature slices, and client error boundaries. - [Accessibility & Inclusive UX](https://foxminchan.github.io/docs/custom/frontend/008-accessibility-principles.mdx) - WCAG 2.1 Level AA target, four-layer accessibility defense, streaming AI chat announcements, and barrier reporting governance. - [Customer Surface Onboarding](https://foxminchan.github.io/docs/custom/frontend/009-add-customer-page.mdx) - Architectural decision flow for placing, registering, protecting, and verifying new customer-facing routes across Storefront and Commerce. - [Rendering & Caching Strategy](https://foxminchan.github.io/docs/custom/frontend/010-rendering-and-caching-strategy.mdx) - Server versus client rendering boundaries, streaming SSR, component caching profiles, cache invalidation, and gateway interaction patterns. - [Authentication & Session Boundaries](https://foxminchan.github.io/docs/custom/frontend/011-authentication-and-session-boundaries.mdx) - Identity provider handoff, origin-scoped session cookies, edge route protection, and role-based UI gating across customer and staff surfaces. - [Performance & Observability](https://foxminchan.github.io/docs/custom/frontend/012-performance-and-observability.mdx) - Core Web Vitals targets, bundle discipline, OpenTelemetry distributed tracing, and graceful degradation across all frontend surfaces. - [MS Decisions Model Use Case & Lessons Learned](https://foxminchan.github.io/docs/custom/misc/001-ms-decisions-model-use-case-and-lessons-learned.mdx) - How BookWorm applies Microsoft-Decision-1 (System 1) for single-pass chat routing, safety gating, and dynamic tool selection, and the engineering lessons learned. - [Operational Guides](https://foxminchan.github.io/docs/custom/operational.mdx) - Operator-first runbooks, quick triage commands, deployment and rollback procedures, observability playbooks, disaster recovery, and SecOps rotation guides for BookWorm. - [Deployment & Rollback Runbook](https://foxminchan.github.io/docs/custom/operational/001-azure-deployment-guide.mdx) - Operator runbook for deploying BookWorm releases, shifting Container App revision traffic, and executing instant rollbacks. - [Observability & Alert Response](https://foxminchan.github.io/docs/custom/operational/002-observability-and-diagnostics.mdx) - Operator playbook for inspecting live Aspire Dashboard telemetry, running Log Analytics KQL queries, checking resource saturation, and responding to alerts. - [Incident Triage & Health Check Runbook](https://foxminchan.github.io/docs/custom/operational/003-incident-response-and-runbooks.mdx) - First-5-minutes triage commands and symptom-first recovery playbooks for Container Apps, passwordless RBAC, order orchestration, vector ingestion, and AI pipelines. - [Production Hardening & Compliance Checklist](https://foxminchan.github.io/docs/custom/operational/004-security-hardening-checklist.mdx) - Pre-production SecOps and reliability checklist for locking down network perimeters, scaling limits, backup drills, and alerting before serving live traffic. - [Backup, Restore & Disaster Recovery (DR)](https://foxminchan.github.io/docs/custom/operational/005-backup-restore-and-dr.mdx) - Operator runbook for PostgreSQL point-in-time restore, Cosmos DB failover verification, Blob Storage recovery, and Qdrant vector index rebuilds. - [Secrets, Certificates & SecOps Rotation](https://foxminchan.github.io/docs/custom/operational/006-secrets-certificates-and-secops-rotation.mdx) - SecOps runbook for verifying Managed Identities, inspecting TLS certificates, revoking compromised credentials, rotating secrets, and querying audit logs. - [Scaling & Cost Guardrails](https://foxminchan.github.io/docs/custom/operational/007-scaling-and-cost-guardrails.mdx) - Cloud/DevOps runbook for manual Container App replica overrides, concurrency and KEDA scaling limits, and pausing non-production environments to control spend. - [Platform Reference](https://foxminchan.github.io/docs/custom/platform.mdx) - Technical reference for BookWorm's Azure hosting topology, compute inventory, stateful data and AI infrastructure, identity and RBAC matrix, scheduler schema, and service contracts. - [Azure Platform & Topology Overview](https://foxminchan.github.io/docs/custom/platform/001-platform-overview.mdx) - Reference architecture for BookWorm's subscription-scoped Azure deployment, shared platform services, and network ingress boundaries. - [Container Apps & Compute Inventory](https://foxminchan.github.io/docs/custom/platform/002-compute-and-container-apps.mdx) - Reference inventory of all 16 Azure Container Apps, ingress ports, revision modes, and platform-owned runtime services. - [Stateful Data, AI & Messaging Infrastructure](https://foxminchan.github.io/docs/custom/platform/003-data-ai-and-messaging-resources.mdx) - Technical reference for Azure-managed databases, caches, storage, Durable Task Scheduler, Microsoft Foundry, and external dependencies. - [Identity, Entra Agent Identities & RBAC Matrix](https://foxminchan.github.io/docs/custom/platform/004-identity-and-rbac-matrix.mdx) - Reference for Microsoft Entra ID app registrations, Agent Identities for OBO token exchange, and per-service Managed Identity RBAC assignments. - [Quartz scheduler schema reference](https://foxminchan.github.io/docs/custom/platform/005-quartz-schema.mdx) - PostgreSQL schema, keys, retention limits, and BookWorm job configuration for all 15 Quartz.NET 4.8.1 tables in schedulerdb. - [API and contracts index](https://foxminchan.github.io/docs/custom/platform/006-api-and-contracts.mdx) - Consolidated index of BookWorm HTTP v1, gRPC, AG-UI, MCP, A2A, and Kafka/Wolverine contracts grouped by service with auth, gateway routes, and error rules. ## Resource Docs ### [bookworm](https://foxminchan.github.io/docs/domains/bookworm/1.0.0.mdx) (domains) - [Business capabilities and journey map](https://foxminchan.github.io/docs/domains/bookworm/1.0.0/guides/business-capabilities.mdx) - The core capabilities BookWorm delivers and how customer journeys cross the catalog, shopping, ordering, reviews, and platform domains. - [Domain principles and boundaries](https://foxminchan.github.io/docs/domains/bookworm/1.0.0/guides/domain-principles-and-boundaries.mdx) - The guiding principles BookWorm uses to keep ownership, contracts, and change propagation consistent across its bounded contexts. - [Start here: BookWorm project guide](https://foxminchan.github.io/docs/domains/bookworm/1.0.0/guides/getting-started.mdx) - A newcomer's guide to BookWorm's business scope, subdomain topology, team ownership, and where to go next. ### [catalog](https://foxminchan.github.io/docs/domains/catalog/1.0.0.mdx) (domains) - [Change checklist](https://foxminchan.github.io/docs/domains/catalog/1.0.0/engineering/change-checklist.mdx) - Pre-merge engineering checklist for Catalog API, schema, caching, search, and integration contract changes. - [Consistency and data ownership](https://foxminchan.github.io/docs/domains/catalog/1.0.0/engineering/consistency-and-data-ownership.mdx) - Authoritative stores, derived projections, transactional boundaries, and propagation guarantees in Catalog. - [Managing catalog data](https://foxminchan.github.io/docs/domains/catalog/1.0.0/guides/managing-catalog-data.mdx) - How catalog administrators and integrators create and maintain books, authors, categories, and publishers. - [Search and discovery](https://foxminchan.github.io/docs/domains/catalog/1.0.0/guides/search-and-discovery.mdx) - How book search works, what consistency to expect, and how to use filters. - [Missing or broken book images](https://foxminchan.github.io/docs/domains/catalog/1.0.0/runbooks/broken-book-images.mdx) - Resolve book images that fail to load or whose blob is missing. - [Rating summary mismatch](https://foxminchan.github.io/docs/domains/catalog/1.0.0/runbooks/rating-summary-mismatch.mdx) - Investigate when a book's average rating or review count disagrees with Reviews. - [Stale cache or Redis outage](https://foxminchan.github.io/docs/domains/catalog/1.0.0/runbooks/stale-cache-or-redis-outage.mdx) - Handle stale book data and Redis unavailability affecting Catalog reads. - [Vector index lag](https://foxminchan.github.io/docs/domains/catalog/1.0.0/runbooks/vector-index-lag.mdx) - Diagnose and recover when new or edited books do not appear in text search. ### [conversational](https://foxminchan.github.io/docs/domains/conversational/1.0.0.mdx) (domains) - [Agent and workflow change checklist](https://foxminchan.github.io/docs/domains/conversational/1.0.0/engineering/agent-change-checklist.mdx) - Pre-merge engineering checklist for Conversational agents, routing guardrails, governance policies, and MCP/A2A contracts. - [Conversation architecture and boundaries](https://foxminchan.github.io/docs/domains/conversational/1.0.0/engineering/conversation-architecture.mdx) - Workflow layers, session persistence tiers, governance controls, and domain boundaries for Chat API and MCP Tools. - [Answer store and customer-support questions](https://foxminchan.github.io/docs/domains/conversational/1.0.0/guides/answer-store-questions.mdx) - How the QA Agent responds to store questions using supplied policy context and clear limits. - [Handle book discovery requests](https://foxminchan.github.io/docs/domains/conversational/1.0.0/guides/handle-book-discovery.mdx) - Guidance for direct book answers, recommendations, and delegated research. - [Handle book feedback in conversation](https://foxminchan.github.io/docs/domains/conversational/1.0.0/guides/handle-book-feedback.mdx) - Set expectations when a customer shares an opinion or feedback about a book with an agent. - [Route customer requests](https://foxminchan.github.io/docs/domains/conversational/1.0.0/guides/route-customer-requests.mdx) - How the Chat workflow validates requests and chooses a BookWorm specialist. - [Book research is incomplete or inconsistent](https://foxminchan.github.io/docs/domains/conversational/1.0.0/runbooks/incomplete-book-research.mdx) - Triage incomplete or conflicting findings from direct book handling or delegated research. - [Chat request does not return a usable response](https://foxminchan.github.io/docs/domains/conversational/1.0.0/runbooks/chat-request-not-returning-response.mdx) - Triage an interactive request that fails to return a useful assistant response. - [Unexpected request routing or rejection](https://foxminchan.github.io/docs/domains/conversational/1.0.0/runbooks/unexpected-routing-or-rejection.mdx) - Diagnose whether an unexpected outcome came from validation, Decision Router classification, or specialist handoffs. ### [ordering](https://foxminchan.github.io/docs/domains/ordering/1.0.0.mdx) (domains) - [Order change checklist](https://foxminchan.github.io/docs/domains/ordering/1.0.0/engineering/order-change-checklist.mdx) - Pre-merge engineering checklist for Ordering API, Finance orchestration, persistence, and contract changes. - [Order consistency and data ownership](https://foxminchan.github.io/docs/domains/ordering/1.0.0/engineering/order-consistency-and-data-ownership.mdx) - Authoritative stores, checkout price snapshotting, Redis coordination, and Ordering vs. Finance boundaries. - [Create and manage Orders](https://foxminchan.github.io/docs/domains/ordering/1.0.0/guides/create-and-manage-orders.mdx) - Create an Order from the current basket, retrieve it, and request a valid lifecycle transition. - [Understand Order and Finance status](https://foxminchan.github.io/docs/domains/ordering/1.0.0/guides/understand-order-and-finance-status.mdx) - Distinguish the Order's business status from Finance's checkout saga, basket cleanup, and notification outcomes. - [Checkout basket cleanup stalled or failed](https://foxminchan.github.io/docs/domains/ordering/1.0.0/runbooks/checkout-basket-cleanup-stalled-or-failed.mdx) - Investigate Finance basket-cleanup retries without confusing saga progress with Order status. - [Order creation conflict or failure](https://foxminchan.github.io/docs/domains/ordering/1.0.0/runbooks/order-creation-conflict-or-failure.mdx) - Safely investigate failed or repeated Order creation requests and Redis coordination issues. ### [platform](https://foxminchan.github.io/docs/domains/platform/1.0.0.mdx) (domains) - [Platform integration boundaries](https://foxminchan.github.io/docs/domains/platform/1.0.0/engineering/platform-integration-boundaries.mdx) - Scheduling, outbox durability, idempotent notification delivery, and failure boundaries across Platform services. - [Scheduled work and email notifications](https://foxminchan.github.io/docs/domains/platform/1.0.0/guides/scheduled-work-and-email-notifications.mdx) - A practical guide to Platform schedules, target-system ownership, and the durable email workflow. - [Notification delivery backlog](https://foxminchan.github.io/docs/domains/platform/1.0.0/runbooks/notification-delivery-backlog.mdx) - Diagnose and safely recover when unsent email records accumulate or stop progressing. - [Scheduled job failure](https://foxminchan.github.io/docs/domains/platform/1.0.0/runbooks/scheduled-job-failure.mdx) - Investigate missed, failing, or apparently successful jobs in the Platform Scheduler. ### [reviews](https://foxminchan.github.io/docs/domains/reviews/1.0.0.mdx) (domains) - [Feedback ownership, concurrency, and compensation](https://foxminchan.github.io/docs/domains/reviews/1.0.0/engineering/feedback-contracts-and-integration.mdx) - Domain invariants, Cosmos DB concurrency, caching, and cross-domain compensation rules for Rating API. - [Feedback lifecycle](https://foxminchan.github.io/docs/domains/reviews/1.0.0/guides/feedback-lifecycle.mdx) - How customers submit feedback and how Reviews publishes rating changes to Catalog. - [Recover a failed Catalog rating projection](https://foxminchan.github.io/docs/domains/reviews/1.0.0/runbooks/catalog-rating-projection-failure.mdx) - Investigate and compensate when Catalog cannot apply a feedback rating change because the Book is missing. ### [shopping](https://foxminchan.github.io/docs/domains/shopping/1.0.0.mdx) (domains) - [Basket consistency, enrichment, and cleanup](https://foxminchan.github.io/docs/domains/shopping/1.0.0/engineering/basket-api-contracts.mdx) - Engineering invariants, Redis ownership, Catalog enrichment purity, and checkout cleanup idempotency for Basket API. - [Checkout lifecycle](https://foxminchan.github.io/docs/domains/shopping/1.0.0/guides/checkout-lifecycle.mdx) - Guide to the Shopping checkout handoff and basket cleanup outcomes. - [Recover a failed basket cleanup](https://foxminchan.github.io/docs/domains/shopping/1.0.0/runbooks/basket-cleanup-failure.mdx) - Operational procedure for investigating and recovering a failed basket deletion after checkout. ### [basket-api](https://foxminchan.github.io/docs/services/basket-api/1.0.0.mdx) (services) - [Engineering Invariants and Quirks](https://foxminchan.github.io/docs/services/basket-api/1.0.0/engineers/invariants-and-quirks.mdx) - Redis-only authoritative storage, OBO gRPC authentication, idempotent checkout cleanup, and empty-basket behavior for Basket API. - [Basket DLQ Inspection and Replay](https://foxminchan.github.io/docs/services/basket-api/1.0.0/runbooks/dlq-inspection-and-replay.mdx) - CLI-first procedure to inspect and safely replay failed checkout cleanup messages from the Basket dead-letter queue. ### [catalog-api](https://foxminchan.github.io/docs/services/catalog-api/1.0.0.mdx) (services) - [Apply feedback-created integration event](https://foxminchan.github.io/docs/services/catalog-api/1.0.0/contracts/feedback-created-integration-event.mdx) - Catalog handler for the shared feedback-created integration event. - [Apply feedback-deleted integration event](https://foxminchan.github.io/docs/services/catalog-api/1.0.0/contracts/feedback-deleted-integration-event.mdx) - Catalog handler for the shared feedback-deleted integration event. - [Engineering Invariants and Quirks](https://foxminchan.github.io/docs/services/catalog-api/1.0.0/engineers/invariants-and-quirks.mdx) - Hybrid cache invalidation, rating projection concurrency, image pre-processing, and known validation quirks for Catalog API. - [Catalog DLQ Inspection and Replay](https://foxminchan.github.io/docs/services/catalog-api/1.0.0/runbooks/dlq-inspection-and-replay.mdx) - CLI-first procedure to inspect and safely replay failed rating projection events from the Catalog dead-letter queue. ### [catalog-ingestion](https://foxminchan.github.io/docs/services/catalog-ingestion/1.0.0.mdx) (services) - [Engineering Invariants and Quirks](https://foxminchan.github.io/docs/services/catalog-ingestion/1.0.0/engineers/invariants-and-quirks.mdx) - Unprefixed Kafka batch trigger, Qdrant upsert idempotency, and PostgreSQL pending-queue semantics for Catalog Ingestion. - [Vector Re-Index and Lag Recovery](https://foxminchan.github.io/docs/services/catalog-ingestion/1.0.0/runbooks/vector-reindex-and-lag.mdx) - CLI-first runbook to verify pending embedding backlog in PostgreSQL and Qdrant collection health. ### [notification-api](https://foxminchan.github.io/docs/services/notification-api/1.0.0.mdx) (services) - [Notification DLQ Inspection and Replay](https://foxminchan.github.io/docs/services/notification-api/1.0.0/runbooks/dlq-inspection-and-replay.mdx) - CLI-first procedure to inspect and safely replay failed email delivery commands from the Notification dead-letter queue. ### [order-api](https://foxminchan.github.io/docs/services/order-api/1.0.0.mdx) (services) - [Engineering Invariants and Quirks](https://foxminchan.github.io/docs/services/order-api/1.0.0/engineers/invariants-and-quirks.mdx) - Transactional outbox guarantees, idempotency locks, Marten event-store rules, and known runtime contract quirks for Order API. - [Ordering DLQ Inspection and Replay](https://foxminchan.github.io/docs/services/order-api/1.0.0/runbooks/dlq-inspection-and-replay.mdx) - CLI-first procedure to inspect and safely replay failed messages from the Ordering dead-letter queue. ### [order-orchestration](https://foxminchan.github.io/docs/services/order-orchestration/1.0.0.mdx) (services) - [Engineering Invariants and Quirks](https://foxminchan.github.io/docs/services/order-orchestration/1.0.0/engineers/invariants-and-quirks.mdx) - Durable Functions saga keying, LIFO compensation semantics, and Kafka trigger error handling for Order Orchestration. - [Durable Orchestration Inspection and Termination](https://foxminchan.github.io/docs/services/order-orchestration/1.0.0/runbooks/orchestration-inspection.mdx) - CLI-first runbook to inspect, diagnose, or terminate stuck checkout saga instances in Order Orchestration. ### [rating-api](https://foxminchan.github.io/docs/services/rating-api/1.0.0.mdx) (services) - [Engineering Invariants and Quirks](https://foxminchan.github.io/docs/services/rating-api/1.0.0/engineers/invariants-and-quirks.mdx) - Cosmos DB partitioning, ETag concurrency, Presidio PII redaction, AI summary caching, and compensating rollback for Rating API. ### [scheduler-service](https://foxminchan.github.io/docs/services/scheduler-service/1.0.0.mdx) (services) - [Manual Vector Batch Trigger and Quartz Inspection](https://foxminchan.github.io/docs/services/scheduler-service/1.0.0/runbooks/manual-batch-trigger.mdx) - CLI-first runbook to inspect Quartz scheduler state and manually trigger a vector batch event.