"""Path bootstrap shared by the CLI scripts. Ensures ``src/`` is importable even when the package was not installed via ``pip install -e .``. Import this first in every script. """ import sys from pathlib import Path _SRC = Path(__file__).resolve().parents[1] / "src" if str(_SRC) not in sys.path: sys.path.insert(0, str(_SRC))