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

Read the architecture guide →

Unexpected request routing or rejection

Diagnose whether an unexpected outcome came from validation, Decision Router classification, or specialist handoffs.

Runbook

Trigger / Symptom & Blast Radius

A Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs request is rejected, receives an English-only or out-of-scope reply, pauses with a disambiguation prompt, reaches the wrong specialist, or only partially answers a mixed request. Blast radius is limited to conversational routing quality; transactional services remain unaffected.

Warning

Prompts exceeding 2,000 characters are truncated to the first 1,900 characters before routing. A book UUID or primary question at the end of a long prompt may be clipped, causing misrouting.

Pre-Flight Check

Stream recent Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs logs in <ENV> to inspect routing and guardrail decisions:

Terminal window
az containerapp logs show --name <SERVICE_NAME> --resource-group <RESOURCE_GROUP> --tail 300

Quick Recovery Procedure

  1. Match the customer reply to the gate that fired

    Reply textGateCause
    Your message appears to be empty.Input validationPrompt empty after trimming
    I can't process that request...Safety guardrailMatched suspicious pattern, governance safety policy, or P(is_safe) < 0.5
    BookWorm Chat currently supports English only...Language guardrailP(is_english) < 0.5
    I can only help with BookWorm bookstore topics...Scope guardrailP(is_in_scope) < 0.5
    Which area best fits your request?Disambiguation portRoute confidence below 0.6

  2. Inspect Decision Router logs

    Filter Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs logs around the request timestamp for Decision router entries (P(is_safe), P(is_english), P(is_in_scope), and selected target Book, QA, or Rating with confidence score). Compare against expected routing:

    Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs: Book search, recommendations, catalog details, or review questions without a book ID.

    QA AgentAgentv1.0.0QA AgentRead-only customer support and store-policy specialist that answers operational, shipping, returns, account, and billing...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs: Store policies, shipping, returns, accounts, orders, or billing.

    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: Review summaries or rating analysis when a book catalog ID is already present.

  3. Check disambiguation resume and mixed-intent handoffs

    If paused for disambiguation, confirm the follow-up turn sent a tool result or recognized plain-text choice (1/book, 2/qa/policy, 3/rating/review). For mixed requests, confirm the trace shows handoff_to_book, handoff_to_qa, or handoff_to_rating.

Verification

Replay a sanitized equivalent prompt and confirm the trace logs the expected specialist selection (confidence >= 0.6) and handoff completion:

Decision router selected <Book|QA|Rating> (confidence >= 0.600)

Rollback / Escalation

  • Rollback: If a recent Microsoft-Decision-1 configuration or prompt-policy update caused false rejections, revert the policy/revision in <RESOURCE_GROUP>.
  • Escalation: Log false-positive regex/guardrail rejections (without raw PII) and escalate to AI Capabilities TeamTeamAI Capabilities TeamComplicated-Subsystem team owning BookWorm's multi-agent conversational discovery, MCP/A2A protocols, vector ingestion, ...Open docs.