#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DEPLOY_ROOT="$(cd "$SCRIPT_DIR/../../.." && pwd)"
CANONICAL="$DEPLOY_ROOT/modules/workstation/claude/skills/north-orchestrator/na.sh"

[[ -x "$CANONICAL" ]] || {
  printf '{"ok":false,"detail":"canonical North wrapper missing or not executable: %s"}\n' "$CANONICAL" >&2
  exit 3
}
exec "$CANONICAL" "$@"
