# Shell config for bullpen — `source` this. Same resolution as bullpen_config.py:
#   env override  >  config file  >  built-in default (= origin fleet value).
# Sourcing the config file first lets it set any BULLPEN_* var; the `:=` lines
# then fill in only the ones still unset, so absent config == no behavior change.

for _bp_conf in "${BULLPEN_CONF:-}" /etc/bullpen/bullpen.conf "$HOME/.config/bullpen/config"; do
    if [ -n "$_bp_conf" ] && [ -r "$_bp_conf" ]; then
        . "$_bp_conf"
        break
    fi
done
unset _bp_conf

: "${BULLPEN_ROOM_HOST:=hertz}"
: "${BULLPEN_GRIND_HOST:=boltzmann}"
: "${BULLPEN_PROXY:=http://hossenfelder.fritz.box:8082/v1/chat/completions}"
: "${BULLPEN_MODEL:=nvidia/nemotron-3-ultra-550b-a55b}"
: "${BULLPEN_OC_MODEL:=hossenfelder-proxy/nvidia/nemotron-3-ultra-550b-a55b}"
: "${BULLPEN_OC_URL:=http://orca.fritz.box:4096}"
: "${BULLPEN_STATE_DIR:=/var/lib/bullpen}"
: "${BULLPEN_SECRET_FILE:=/etc/bullpen/post-secret}"
: "${BULLPEN_ROOM_LOG:=${BULLPEN_STATE_DIR}/room.jsonl}"
: "${BULLPEN_COORD_HOST:=noether}"
: "${BULLPEN_TRUST:=markus noether pica pipi orca herder reviewer dispatcher testdesigner py godev jsdev coder callboy librarian researcher foreman triage}"
: "${BULLPEN_CLAUDE_BIN:=claude}"
: "${BULLPEN_CALLBOY_MODEL:=qwen3.6-coding}"
: "${BULLPEN_USER:=markus}"
# Room NICK automation posts as - NOT a hostname (see bullpen_config.py).
: "${BULLPEN_POST_NICK:=noether}"
