#!/bin/bash
# Wrapper script to ensure venv activation
# This prevents Claude Code from resolving symlinks directly
# Location: scripts/python-wrapper (tracked in git)

WORKSPACE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
export VIRTUAL_ENV="$WORKSPACE_ROOT/.venv"
export PATH="$VIRTUAL_ENV/bin:$PATH"

exec "$VIRTUAL_ENV/bin/python" "$@"
