pub fn route(request: &RoutingRequest) -> Result<RoutingResponse, HookError>Expand description
Classifies one host event and applies session/repository TTL deduplication.
Only the top-level prompt and optional session_id fields are read. Prompt text is never
written to disk or included in the returned guidance.
ยงErrors
Returns HookError when the event has no textual prompt, the clock is invalid, or the
deduplication state cannot be read or atomically written.