docs: Add verification status for Common Pitfall #53 fixes (Dec 3, 2025)
This commit is contained in:
6
.github/copilot-instructions.md
vendored
6
.github/copilot-instructions.md
vendored
@@ -3918,6 +3918,12 @@ trade.realizedPnL += actualRealizedPnL // NOT: result.realizedPnL from SDK
|
||||
```
|
||||
|
||||
- **Commit:** eccecf7 "critical: Fix container restart killing positions + phantom detection"
|
||||
- **Deployed:** November 19, 2025
|
||||
- **Verification (December 3, 2025):**
|
||||
* ✅ Bug 1 Fix Confirmed: `lib/startup/init-position-manager.ts` lines 197-202 use correct field names (tp1OrderTx, tp2OrderTx, slOrderTx)
|
||||
* ✅ Bug 2 Fix Confirmed: `lib/trading/position-manager.ts` line 872 includes `!trade.tp1Hit` check in phantom detection
|
||||
* ✅ Both fixes active in production (container running since Dec 3, 2025 19:38:14 UTC)
|
||||
* ✅ Git history shows commit eccecf7 in lineage of current deployment (aa61194)
|
||||
- **Prevention:**
|
||||
* Schema errors now fixed - orders restore correctly
|
||||
* Phantom detection only checks pre-TP1 positions
|
||||
|
||||
Reference in New Issue
Block a user