You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Weeks 1-8: IBKR connection, market data, storage, orders, income sleeve, option chains, IV rank, screening, Polygon.io calendar, multi-leg orders, options lifecycle, execution service, orchestration wiring, pre-market tests
336
336
- Week 9: Concrete `RiskManager` with per-trade checks, stop-halt, position/cap enforcement, no-trade windows; snapshot-backed drawdown tracking; Discord stop alerts via `IRiskAlertService`; Azure.Identity upgraded to 1.17.1
337
337
- 2026-04-07: OptiTrade consolidated (ADR-026). Backtest pipeline migrated to `tools/backtest/`. Iron condor findings recorded (ADR-028).
338
+
- Completed through S5 (2026-06-10): sprints S1–S5 merged and archived — see the sprint archive in SPRINT.md for the detailed per-sprint record (this snapshot does not duplicate it).
338
339
339
-
### Blockers (as of 2026-04-07)
340
-
- Discord webhook: server/channel not yet created — needed for stop alerts
341
-
- Claude API key: needed for regime service integration (Week 10)
340
+
### Blockers (as of 2026-06-10)
341
+
None — both 2026-04-07 blockers cleared: Discord webhook resolved (day-0 wiring, test alert delivered — see KD-001); Claude API key resolved by re-scoping (gateway key provisioned, metered key not required while `DirectApiFallbackEnabled=false` — see KD-002).
3. Gate evaluation on/after 2026-09-03 — PDR-005 then becomes the live-transition decision
348
347
349
348
## Known Debt
350
349
@@ -356,6 +355,7 @@ Select which sleeve(s) activate first and final initial capital split/account ma
356
355
| KD-004 | ✅ RESOLVED 2026-05-29 (S3-001, PR #70). ~~CachingMarketDataService.cs ~360 lines, exceeds 300-line architecture-fitness threshold (grew across S2-001/003/005/006)~~ — decomposed into a 125-line facade + new 280-line MarketRegimeProvider (internal composition, no DI change, zero behavior change) per ADR-017 | Maintainability — closed | 2026-05-29 |
357
356
| KD-005 |**ApplicationInsights 2.x→3.x upgrade gate (S5-004r).**`Microsoft.ApplicationInsights.WorkerService` is pinned to the classic 2.x line (2.23.0): AI 3.x is OTel-based and removed classic API types (`ITelemetryInitializer`) that `Microsoft.Azure.Functions.Worker.ApplicationInsights` 2.50.0 is compiled against — pairing them crashes the isolated worker at DI bootstrap with `TypeLoadException`. Upgrade is BLOCKED until the Functions Worker AI package ships a 3.x-compatible release; when unblocking, re-evaluate the OpenTelemetry.Api pin removed in S5-004r (see comment in `TradingSystem.Functions.csproj`) and clear KD-006 in the same change | Stuck on classic 2.x telemetry SDK; no OTel-native pipeline. Boot-blocking if upgraded prematurely | 2026-06-10 |
358
357
| KD-006 |**discord.com URI-redaction gate before enabling App Insights (S5-004r).** AI 2.x *dependency* telemetry records the full request URL of outbound HTTP calls — for the Discord named clients that URL IS the token-bearing webhook URL. This path bypasses the `System.Net.Http.HttpClient` ILogger filter in `Program.cs` (that filter only covers log telemetry) and is dormant solely because `APPLICATIONINSIGHTS_CONNECTION_STRING` is unset everywhere. Do NOT set that variable until a telemetry processor/initializer that redacts or drops discord.com dependency URLs is in place (or AI 3.x with OTel redaction supersedes it — KD-005) | Secret-leak risk into App Insights if telemetry is ever enabled without redaction | 2026-06-10 |
358
+
| KD-007 |**Optional-null ctor dependency pattern — undecided (S6-001 judge deferral).** Recurring shape across S5-001/S5-003/S6-001: optional constructor dependencies accepted as null with a logged null-skip, vs required dependencies failing at boot — decide once, portfolio-wide; S6-002's host-boot CI gate partially mitigates accidental de-registration | A de-registered dependency degrades to a logged skip instead of failing loudly; pattern decision pending | 2026-06-10 |
| Monitoring | Application Insights | Built-in Azure integration. Not enabled during paper validation — gated behind the KD-006 discord.com URI-redaction requirement (see DECISIONS.md Known Debt)|
@@ -448,6 +455,7 @@ The following actions **REQUIRE explicit human approval:**
448
455
449
456
### Phase 3: Validation & Go-Live (Weeks 15-28+)
450
457
**Duration:** 14+ weeks
458
+
**Status (2026-06-10):** In progress — paper trading runs since 2026-06-11 on the locally hosted worker per ADR-031; earliest gate evaluation on/after 2026-09-03.
451
459
452
460
| Week | Focus | Deliverables |
453
461
|------|-------|--------------|
@@ -558,4 +566,4 @@ Unknowns should not block ongoing development. Instead, Claude must prompt the o
0 commit comments