# -*- coding: utf-8 -*- import os import sys # Repo root on sys.path so the app modules import directly. sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # Deterministic AI backend — tests never hit the network. os.environ["AI_BACKEND"] = "off"