#!/usr/bin/env bash
# Oracle daily brief — cron entry point (no_agent; stdout is delivered verbatim).
set -u

ORACLE_DIR="/home/vpsadmin/oracle"
cd "$ORACLE_DIR" || { echo "FATAL: cannot cd $ORACLE_DIR"; exit 1; }

echo "# Oracle AI Research Brief — $(date -u +%Y-%m-%d)"
echo ""
python3 -m oracle brief --max-items 10 --max-age-h 48 2>&1
echo ""
echo "---"
echo "Generated $(date -u) | Oracle pipeline"