Repository navigation
v0.2.0 — Drift alerts
Needs prism-mcp 0.4.0+ and FolioPrism 1.4.0+ for drift; without them everything else keeps working.
- Drift alerts in the daily watchdog: reads
folioprism_driftand pushes once when a portfolio rule goes in range to breached (one push for all new breaches) and once when it is back in range. Normal priority; no repeats while breached.unknownrules (stale prices, low coverage, no data) never push and never change the last-seen status. The first run pushes current breaches and baselines the rest. Text followspushover.detail. Last-seen status is kept indrift-status.jsonin the state folder. - If the drift tool itself fails, that is a system failure (high priority, repeats every 24 hours), apart from breaches.
- New "Your rules" section in the weekly brief, after "How your exposure moved": breached rules with days breached, over-limit tickers and "recovering", unknown rules with their reason, and "N of M rules in range". If drift is not available the section says so and the brief still renders.
folioprism_driftis not a required tool, so an older prism-mcp does not stop the run.
Co-authored with Claude