#!/bin/sh
# Operator CLI for ai-code-council. Reads the same environment file the
# service does, so it talks to the same database with the same secrets.
set -eu
ENVFILE=/etc/ai-code-council/ai-code-council.env
[ -r "$ENVFILE" ] && set -a && . "$ENVFILE" && set +a
exec /usr/bin/node /usr/lib/ai-code-council/src/runner/cli.ts "$@"
