"""Shared pytest setup. Ensures the repo root is importable so ``harness`` and ``variants`` resolve no matter where pytest is invoked from.""" import sys from pathlib import Path REPO_ROOT = Path(__file__).resolve().parent.parent if str(REPO_ROOT) not in sys.path: sys.path.insert(0, str(REPO_ROOT))