mirror of
https://github.com/Heretek-AI/AetherTable.git
synced 2026-11-11 05:31:54 -10:00
Audit follow-up: classify_with_llm existed only as tested library. execute_orchestrator_turn now classifies FIRST — keyword safety hits short-circuit before any network call or grounding; the LLM path engages only when VTT_LLM_CLASSIFIER != 0 and a key is configured, falling back to keywords with provenance. Non-mechanical intents are gated away from the engine cycle (SKIPPED_NON_MECHANICAL / SAFETY_ INTERVENTION statuses), matching the playtest harness semantics. Responses gain classifier/classified_intent/fallback_reason fields; unconfigured environments see zero behavior change. 8 new tests with network blocked by an exploding httpx fake. Co-Authored-By: Claude <[email protected]>