Daily writeup — 2026-05-13

Wednesday · Generated by nightly-project-manager · ← All Todos · ← May 12
0
Shipped
0
Moved Forward
0
Blocked

Big build day. Regime classifier v2 closes the band-slope unit divergence that blocked TREND classification, Daily Stop Intel ships the post-trade → daily-stop feedback loop, and the MGP independent morning pipeline drops in as a Vital Knowledge replacement (verified by 4 successful regens between 17:34 and 19:44 ET).

What shipped

regime_classifier_v2.py replaces v1's SLOPE_TREND_THRESHOLD = 3.0 (degrees) with slope_unit = sigma_per_bar and threshold 0.05, matching the canonical TraderDale_VWAP.pine. Companion doc page at /system/classifier-divergence.html. Closes fix-regime-classifier-0-trades-tagged-trend-in-467 — the audit that showed 0 of 452 trades classified TREND in the 4/21 sample. Unblocks every regime_check { regime: "trend" } validation rule.

daily_stop_intel.py reads personal_stats.json + positions_snapshot.json + strategies.json and emits /system/daily-stop-intel.json + /system/daily-stop-intel.html. Answers (1) which DML tier to pick tomorrow (tight / normal / relaxed), (2) why each tier, (3) which playbooks are costing money.

modules catalysts.py (yfinance earnings + headlines, compliance-clean: headline + publisher + link only), morning_tickers.py (pre-market gapper scan against universe.json, no Vital Knowledge call), and morning_data.py (drop-in replacement for vital_dawn_parser.parse_email().to_json() — matches dict shape so gen_mgp.py consumes unchanged). Adapter chain in stocks_in_play.py, convergence.py, gen_mgp.py, gen_mgp_intraday.py, mgp_template/mgp_template.html re-wired. 4 successful MGP-triple regens 17:34 → 19:44 ET prove the pipeline runs clean.

registry / classifier / evaluator wiring published under the system hub.

+ first subdir for acct-v2-bug-ticket-meter-ignores-date-range). Lets us accumulate repro notes / queries / screenshots per bug without cluttering todos.json.

Correction (added 2026-05-14)

The original scan above missed work outside the nightly routine's scan roots — the accountability-v2 tree isn't scanned at all, and /z/trading is only covered for its ddl subdir. Backfilled from a wider scan:

on hud/js/main.js, hud/js/api.js, hud/js/drill.js, hud/index.html (11:32–11:35 ET); two API endpoints api/cto-clear.php + api/daily-settings.php (09:13); scripts/sync-realized-slow.js realized-P&L sync (11:03); afternoon KTI investigation via new scripts/kti-wait-probe.js (14:39) + probe outputs (16:04). Prod tree untouched — consistent with read-only prod.

trading/dev/a1p_journal/scripts/etrade-positions-to-portfolio-src.gs (13:18 ET).

trading/indicators/src/indicators/TraderDale_VWAP.pine (13:44 ET), same afternoon as regime_classifier_v2.py; the two are connected work.

Process note: the nightly scan roots should be extended to cover the accountability-v2 tree and /z/trading/dev so weekday HUD work isn't invisible to future writeups. hud/js/render.js was not edited in the 5/13 HUD session, so the ticket-meter and risk-bump date-range bugs remain open — the ticket-meter task note is now pinned to render.js:590–597.

What moved forward

but kept in_progress until James signs off on the cutover. Today's evening iteration cycle shows the new pipeline running end-to-end.

flag today.

+ TOD heatmaps refreshed on the standard 16:30 auto-pipeline.

What's blocked

Risk Manager HUD wiring, scientific-layer migrations awaiting psql tunnel).

Tomorrow's priorities

  1. Run the live regime classifier on a real journal sample with v2 and re-measure TREND tag rate. If it now fires, light up the dependent regime_check { regime: "trend" } validation rules in classify_v2.py.
  2. Decide whether mgp-drop-vital-independent-source is ready to close — pick one morning to ship the independent pipeline as the live MGP source and leave Vital Knowledge as fallback only.
  3. Cron /system/update_freshness.py so the freshness strip stays fresh without manual touches (cron-update-freshness pending).

Files touched