fastpath_route
Screens requests and shell/SQL commands before any LLM call, returning a route, allow/deny decision, denial reason, and exact answers for math and cache hits in under 10 ms with no tokens spent.
Instructions
Route one request/command through the deterministic 0-LLM gate: returns route block|math|math_pdv|cache|time|llm, the decision (deny|answer|pass), the denial code and reason when blocked, and the computed answer when the gate can answer without a model. Under 10 ms, no token spent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | No | tenant/session id used to scope the cache | |
| command | No | alias for request (a concrete command to check) | |
| request | No | the user request or shell/SQL command to route |