feat: load k8s news prompts from env/files, not Python

Bundled MAP_PROMPT/SUMMARY_PROMPT from the customer1 deepseek
configmap. Env wins over prompt files; blank compose injection
is treated as unset. Parser maps market_overview JSON onto the
dashboard ticker/map contract.
This commit is contained in:
Sirius DevOps 2026-08-28 20:04:47 -04:00
commit 1c47ecbc5a
11 changed files with 444 additions and 73 deletions

View file

@ -85,6 +85,11 @@ SUMMARY_WINDOW_HOURS=1
# Futures/markets coupling from the upstream pipeline is OFF by default
# (irrelevant to OSINT). Set INCLUDE_FUTURES=1 + install yfinance to enable.
INCLUDE_FUTURES=0
# Prompts: bundled from k8s deepseek-configmap (prompt_files/).
# Set MAP_PROMPT / SUMMARY_PROMPT in this file to override without rebuilding.
# Blank is treated as unset (compose injects ${MAP_PROMPT:-}).
# MAP_PROMPT=
# SUMMARY_PROMPT=
# Wall-clock scheduling (k8s CronJob replacement): scrape minute, summarize minute
NEWS_SCRAPE_MINUTE=0
NEWS_SUMMARIZE_MINUTE=5