"""pytest configuration — pin nanoclaude/ on sys.path so tests can use the same `services.x` imports the running app does. """ from __future__ import annotations import sys from pathlib import Path NANOCLAUDE_ROOT = Path(__file__).resolve().parent.parent if str(NANOCLAUDE_ROOT) not in sys.path: sys.path.insert(0, str(NANOCLAUDE_ROOT))