gen_mgp_intraday.py (~30K bytes) ships the Mid-Day and Recap editions documented in the MGP pipeline memory. Pulls the Vital Mid-Day (11:30 ET cutoff) or Vital Market Recap (16:00 ET full-RTH) email, loads the morning's persisted Stocks-In-Play picks from DB, walks 5-min RTH bars up to the cutoff, classifies each morning pick (target hit / stop hit / open / no-data), identifies new tickers in the intraday vs the morning, and emits a per-edition HTML page + emails recipients. Today's
2026-04-27-midday.html
and
2026-04-27-recap.html
rendered at 19:17 ET.
/_shared/mgp_cal.js) — created 16:25. Reads /mgp/manifest.json, parses both URL forms (/mgp/<date>.html and /mgp/<date>-<edition>.html), and rebuilds the Prev / Cur / Next / Jump / Latest block on every dated page + the latest banner + archive list on /mgp/index.html. Old reports auto-learn about new ones — no per-edition page rewrites needed.
/_shared/nav.js extended — auto-loads mgp_cal.js on any /mgp/* page (08:43). Single inclusion of nav.js now wires up: cross-property top nav + multi-TF chart viewer + the new MGP calendar.
/mgp/manifest.json schema bumped to per-edition entries — each row is {date, edition: morning|midday|recap, file, day_of_week}. Today's manifest has 3 entries for 4/27 (morning + midday + recap).
vital_dawn_parser.py (16:17), vital_dawn_fetcher.py (16:15), stocks_in_play.py (16:11) all touched to feed the intraday-edition consumer. gen_mgp.py (11:59) and the morning template adjusted in lockstep.
playbooks/bella-fade-intern-template/examples.html refreshed 08:00 ET (build_examples.py touched 07:42).
_dump_email_html.py, _dump_intraday_body.py, _scan_vital.py, _send_html_test.py, _send_to_admin.py created throughout the morning (10:53–16:40) alongside an email_sample.html. mgp_email.py (11:55) + notify.py (09:06) + mailer.php (11:55) all bumped — consistent with the MGP Email Deliverability memory's note that subject MIME encoding is the actual blocker.mgp_email_simple.py.bak — old simple mailer archived as .bak, indicating the new mailer is the canonical path now.backup_pipeline.py refreshed 18:15 — rebundled with today's intraday additions so the self-contained restore now includes the three-edition pipeline.| Task | Owner | Blocker |
|---|---|---|
| run-scientific-layer-migrations 001–009 (P0) | user | Same #1 from last week. Now blocking 2 placeholders on Monthly v2 + alert pipeline. ~15 min via set_db.sh start tunnel |
| /api/pending_alerts live endpoint | claude | Migration 001 must run first (adds stop_price/tp1/tp2/grade) |
| p0-daily-summary-view (3/6) | user | Migration 004 staged but unrun |
| journal-user-steps (P0) | user | Run add_scorecard_columns.sql, confirm user_id=2, click Save |
| p0-indicator-alerts-ddl (P0) | user | psql -c '\d alerts_tradingview.indicator_alerts' dump needed |
| data-freshness-audit (P0) | claude | Needs DB access / SSH tunnel |
| risk-hud-api-wire (P1) | claude | Needs smb subdomain endpoint payload schema confirmed |
| pm-activity-scanner-deploy (P1) | user | Import task_scheduler_import.xml on DESKTOP-AKU8I62 (no per-host heartbeats yet for /activity/2026-04-27/) |
p0-freshness-dashboard) — fully Claude-owned: build /system/freshness.json + stale banner. Today's intraday MGP makes this more valuable: the spine now publishes 3x/day, so a freshness signal differentiates "morning ran but midday didn't" from "everything is current."gen_scorecard.py template to inject <script src="_scientific_overlay.js" defer></script> for all future scorecards. Today's 4/27 scorecard does NOT yet have the overlay — single-line edit. (Carried over from yesterday.)setup_daily_reporting/reports/gen_mgp_intraday.py CREATED ~30K-byte intraday MGP generator (mid-day + recap editions, 5-min bar walker, pick classification)public_html/_shared/mgp_cal.js CREATED dynamic MGP calendar (handles 3 editions per day from /mgp/manifest.json)public_html/_shared/nav.js EXTENDED auto-loads mgp_cal.js on /mgp/* pagespublic_html/mgp/2026-04-27-midday.html GENERATED 19:17 ET (mid-day edition)public_html/mgp/2026-04-27-recap.html GENERATED 19:17 ET (post-close recap)public_html/mgp/2026-04-27.html GENERATED 11:59 ET (morning, regenerated after email/template work)public_html/mgp/manifest.json + index.html UPDATED schema bumped to per-edition entriespublic_html/scorecards/trade_scorecard_2026-04-27.html + manifest.json GENERATED 16:30 auto-genpublic_html/backtests/walkforward/index.html REFRESHED 16:32public_html/playbooks/bella-fade-intern-template/examples.html REGENERATED 08:00public_html/_api/mailer.php TOUCHED 11:55 (deliverability pass)setup_daily_reporting/reports/gen_mgp.py UPDATED wired to support per-edition outputssetup_daily_reporting/reports/vital_dawn_parser.py + vital_dawn_fetcher.py + stocks_in_play.py UPDATED feed the intraday consumersetup_daily_reporting/reports/mgp_email.py + notify.py + mgp_secrets.json TOUCHED email layer in lockstep with mailer.phpsetup_daily_reporting/reports/_dump_email_html.py / _dump_intraday_body.py / _scan_vital.py / _send_html_test.py / _send_to_admin.py CREATED throwaway debug helpers (email deliverability + intraday body extraction)setup_daily_reporting/reports/email_sample.html + notify.log DEBUG-ARTIFACTSsetup_daily_reporting/reports/mgp_email_simple.py.bak ARCHIVED old simple mailer set asidesetup_daily_reporting/reports/backup_pipeline.py REFRESHED 18:15 — bundles new intraday pipelinesetup_daily_reporting/reports/bella_fade_examples/build_examples.py TOUCHED 07:42setup_daily_reporting/reports/{alpha_trend_cache,breadth_cache,commodities_cache}/... AUTOMATED caches refreshed for 4/27setup_daily_reporting/reports/mgp_fixtures/vital_midday_2026-04-27.txt + vital_recap_2026-04-27.txt CAPTURED fixtures for replay testing