Files
trading_bot_v4/.github
mindesbunister 919e54d448 docs: Add Common Pitfall #79 - Smart Validation Queue in-memory loss
Details Smart Validation Queue bug where marginal quality signals (50-89)
were blocked and saved to database, but validation queue never monitored
them after container restarts.

Root causes:
1. Queue used Map (in-memory only), lost on container restart
2. logger.log() silenced in production, making debug impossible

Financial impact: Missed +$18.56 manual entry opportunity (quality 85 signal
that moved +1.21% in 1 minute = 4× confirmation threshold).

Fix deployed Dec 9, 2025: Database restoration on startup + console.log()
for production visibility.

Related commits:
- 2a1badf: Smart Validation Queue database restoration fix
- 1ecef77: Health monitor TypeScript fix (getAllPositions)

User quote: 'the smart validation system should have entered the trade
as it shot up shouldnt it?'

This was part of the $1,000+ losses investigation - multiple critical bugs
discovered and fixed in same session.
2025-12-09 17:44:34 +01:00
..