#!/bin/sh
set -eu

repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)

# The deterministic protocol E2E lane runs in the pinned toolchain container.
# A native Windows run is opt-in and is driven by the checked-in PowerShell
# host adapter; it must acquire its VM lease and reset the exact fixture before
# mutating it. No guest password is accepted on this command line.
cd "$repo_root"
exec docker compose -f deploy/compose.yaml run --rm toolchain \
  go run ./test/harness e2e "$@"
