Unexpected request routing or rejection
Diagnose whether an unexpected outcome came from validation, Decision Router classification, or specialist handoffs.
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.
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:
az containerapp logs show --name <SERVICE_NAME> --resource-group <RESOURCE_GROUP> --tail 300Quick Recovery Procedure
Match the customer reply to the gate that fired
Reply text Gate Cause Your message appears to be empty.Input validation Prompt empty after trimming I can't process that request...Safety guardrail Matched suspicious pattern, governance safety policy, or P(is_safe) < 0.5BookWorm Chat currently supports English only...Language guardrail P(is_english) < 0.5I can only help with BookWorm bookstore topics...Scope guardrail P(is_in_scope) < 0.5Which area best fits your request?Disambiguation port Route confidence below 0.6Inspect 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 routerentries (P(is_safe),P(is_english),P(is_in_scope), and selected targetBook,QA, orRatingwith 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.
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 showshandoff_to_book,handoff_to_qa, orhandoff_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-1configuration 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.
Related documentation
- Chat Agent OrchestrationFlowv1.0.0Chat Agent OrchestrationA customer submits a conversational request through Storefront; Chat API screens input, routes via a non-LLM classifier ...Ownerai-capabilities-teamView flowOpen docs — Routing thresholds and handoff rules.
- ADR-007: Use Microsoft Decision-1 for Chat routing, safety gating, and tool selectionDecision Recordv1.0.0ADR-007: Use Microsoft Decision-1 for Chat routing, safety gating, and tool selectionReplaces the generative router agent with a provider-agnostic IDecisionClient backed by Microsoft-Decision-1 for single-...Ownerai-capabilities-teamOpen docs — Decision model routing architecture.