OSSS.ai.orchestration.routing.apply¶
OSSS.ai.orchestration.routing.apply
¶
State mutation helpers (single source of truth for entry_ + legacy route_).
apply_db_query_routing(execution_state, user_text)
¶
Apply DB-query routing decision to execution_state.
Safe behavior: - If already route_locked, do nothing (honor existing lock). - If should_route_to_data_query(...) is false, do nothing.