A keyword-weighted routing classifier with code-signal fallback that dispatches prompts across 8 agent profiles — without an LLM in the routing loop, without a vector database, zero dependencies beyond the Python standard library. And four bugs that almost shipped.