GAP-032: enforce session daily trade limit

- retain accepted-trade count after position-flat events
- reject same-session entries with explicit MaxDailyTrades logging
- verify next-session re-entry and update Gate 3 governance

Build: clean | Tests: 500 passing | Dual-deployed: yes
This commit is contained in:
2026-08-03 08:54:54 -04:00
parent 5844b2ce0b
commit e68b138fc6
9 changed files with 132 additions and 20 deletions

View File

@@ -57,3 +57,7 @@ Capture recurring implementation patterns that impact compile stability.
## 2026-08-03 [GAP-031] — Submission-sourced trade provenance
- **DO:** Serialize grade, score, ORB range, and resolved mode from the accepted intent and the exact submission decision.
- **DON'T:** Recompute trade facts later from configuration defaults or assumed quantities.
## 2026-08-03 [GAP-032] — Session-scoped daily trade limits
- **DO:** Increment on accepted intent and reset only when the trading session date changes.
- **DON'T:** Re-arm a daily trade allowance when a position returns flat.