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

Read the architecture guide →

External Presidio system that detects and anonymizes personally identifiable information in the Reviews feedback-summarization and Chat agent pipelines.

External

System Purpose & Boundary

The Data Privacy system provides external personally identifiable information (PII) detection and anonymization for BookWorm’s AI agent pipelines using Microsoft Presidio. It serves internal AI-hosting systems—Chat SystemSystemv1.0.0Chat SystemInternal system that hosts BookWorm's conversational workflow and specialist AI agents for customer support and catalog-...Ownerai-capabilities-teamDiagramRepositoryOpen docs and 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—by screening prompts and model responses before they reach foundation models or end users. Owning customer feedback, storing conversation transcripts, and modifying persisted domain records are explicitly out of scope.

Warning

BookWorm’s PII middleware executes fail-closed: any timeout, connection error, or non-success response from Presidio aborts the AI turn rather than sending unscreened text to foundation models or customers.

Contained Capabilities

Service / AgentRole in SystemPrimary Data StoreInteraction Style (Sync / Async)
Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docsExternal HTTP sidecar boundary exposing PII entity detection and text anonymizationNone (Stateless)Sync (Internal HTTP)

External Interactions & Trust Boundaries

System Visualizations

System Context

Component Topology

Architecture Decisions

Architecture Decision Records (4)

Decisions that apply to this Data Privacy. Search, filter by status, or sort by clicking a column.
Summary
ADR-BW-021: Enforce fail-closed PII redaction via Presidio sidecarAcceptedNov 28, 2026Route AI prompts, responses, and review summaries through the Presidio API sidecar to scrub PII fail-closed.
ADR-002: Apply PII filtering to agent input and outputAcceptedNov 4, 2026Chat agents use Presidio middleware to analyze and anonymize sensitive text, and privacy-processing failures are not bypassed.
ADR-001: Use Presidio Analyze for PII detectionAcceptedNov 2, 2026Presidio's Analyze API identifies email addresses, phone numbers, and credit-card information in feedback before it reaches the model.
ADR-002: Anonymize detected PII before model processingAcceptedNov 2, 2026Detected PII is anonymized through Presidio before feedback is sent to the model or returned, without changing persisted feedback.