Repository navigation
v1.1.2 — 22 bug fixes + self-improving CI
🔧 Bug-Fix Release — 22 fixes from AI audit + full CI automation
🐛 Fixes (from the 3-agent audit of the trading path)
Critical
- CoinGecko: API failure no longer caches an EMPTY payload as fresh data for 24h (LLM market context poisoning); cache writes are now atomic
High
- Dead-letter replay keeps failed entries — a lost CLOSE order can no longer strand an unprotected position
leveragefrom LLM output sanitized —int(null)no longer aborts order forwardingreduce_onlyparsed correctly —bool("false") == Truebug eliminatedentry_priceNaN guard — NaN can no longer bypass<= 0checks and poison PnL/position sizing- Market overview
published_onnow reflects the REAL data age, not fetch time - Sync JSON writes moved off the asyncio event loop (persistence, dead-letter, news, SQLite export)
Medium
- 12
logger.exception("...%s")sites fixed — error text actually reaches the logs now asyncio.gatherisolation — one flaky subtask no longer kills the whole analysis cycle- "Error retrieving market context." no longer injected into the LLM prompt as market data
- Nested
trend.strength_4hNaN/None sanitized (was bypassing the parser sanitizers) current_priceNaN guard in trading strategy"Sortino: inf"never injected into prompts on winning streaks- Non-atomic cache writes →
os.replace(CoinGecko, DefiLlama) - Soft-exit skips logged loudly when ticker data is missing
"analysis": nullfrom LLM degrades to neutral instead of crashing the cycle
🤖 Self-Improving CI (the "code improves itself" claim, made real)
- auto-fix-pr.yml — ruff autofix runs on every push to master + weekly; produces an automatic PR
- agent-fix.yml — every new issue is automatically picked up by Hermes Agent (DeepSeek), fixed per
.ai/bugfixing.mdrules, and delivered as a PR for human approval - Agent docs (
.ai/supervisor.md,.ai/bugfixing.md) updated with the CI pipeline
📝 Other
- Landing page claims aligned with code: 1,270+ tests, 50-level order book, 10 dashboard tabs, 6 pipeline stages, Full HD charts
- New feature from v1.1.1 cycle: regime-based risk profile selector (choppiness + ATR)
✅ Quality
- Full test suite: 1297 passed, 17 skipped, 0 failed
- ruff clean
Human-in-the-loop: all PRs require human approval — nothing merges itself.