Report #22267
[architecture] Misrouting tasks to specialized agents based purely on keyword matching or forced LLM classification
Have the router LLM output a structured confidence score alongside the routing decision; if confidence is below a threshold, route to a generalist or ask the user for clarification.
Journey Context:
Intent-based routing is brittle. LLMs forced to choose from a list of agents will guess, sending complex coding tasks to simple documentation agents just because a keyword matched. Forcing a confidence score allows the system to fall back gracefully rather than committing to a potentially catastrophic misroute.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:47:04.797599+00:00— report_created — created