Skip to content

v1.1.1 — Showcase Website, Codacy Security CI, SARIF Remediation & Core Hotfixes

Choose a tag to compare

@qrak qrak released this 31 Jul 06:32
· 284 commits to master since this release

Release v1.1.1 — Showcase Website, Codacy Security CI, SARIF Remediation & Core Hotfixes

This release applies major documentation consolidation, introduces the project showcase website, configures Codacy Security CI with full SARIF remediation, refactors regime risk profiles, and rolls out critical core trading & risk system fixes.


🌐 Project Showcase & Documentation

  • Showcase Website (website/):
    • Built Astro static site showcase with interactive landing and project story pages (src/pages/index.astro, src/pages/story.astro, src/layouts/Layout.astro).
  • AGENTS.md Single Source of Truth:
    • Consolidated all 8 subsystem-specific AGENTS.md files into the single master AGENTS.md in root directory.
    • Added structural documentation for workspace customizations and multi-agent workflows.

🛡️ Codacy Security CI & SARIF Remediation

  • Codacy CI Workflow (.github/workflows/codacy.yml):
    • Configured automated security scanning and SARIF report upload using github/codeql-action/upload-sarif@v4.
  • SARIF Remediation Engine & Test Suite (scripts/fix_sarif.py, tests/test_fix_sarif.py):
    • Resolved GitHub Code Scanning upload failures by fixing null tool.driver.rules arrays and normalizing non-standard result level enums ("info", "critical", "high") to SARIF standard enums ("none", "note", "warning", "error").
    • Ensured in-place SARIF processing for seamless GitHub Code Scanning integration.

⚙️ Core Trading & Risk Architecture

  1. Regime Risk Profile Refactor:
    • Replaced risk_profile_selector.py with regime_risk_profile.py for regime-aware profile selection integrated into RiskManager, BrainContext, and MarketConditions.
  2. WebSocket DI Compliance:
    • Enforced dependency injection for ConnectionManager instantiated at composition root in start.py and passed down to DashboardServer.
  3. R/R Gate Contradiction (1.2 vs 1.5):
    • Fixed discrepancy by enforcing a strict minimum default threshold of 1.5 dynamically derived from learned Brain performance parameters.
  4. ATR-Based SL Distance & 0.0% Wiring Fix:
    • Refactored stop loss distance to scale dynamically with profile-driven ATR multiples (1.5x aggressive, 2.0x neutral, 2.5x conservative) and patched initialization bug in brain.py and analysis_engine.py.
  5. HOLD JSON Schema Fix:
    • Resolved JSON parsing errors for HOLD signals by ensuring response schema contains correct semantics and null fields where attributes are omitted.
  6. EV-Over-Bias Priority:
    • Re-aligned decision weighting in ev_formatter.py so that Expected Value (EV) calculation takes priority over raw direction biases.
  7. News Double-Ingestion Guard:
    • Implemented title-based deduplication in rss_primitives.py and rss_provider.py to prevent duplicate articles in RAG context.
  8. Dependency Upgrades & Deprecations:
    • Updated beautifulsoup4 (>=4.15.0) and crawl4ai (>=0.9.2).
    • Removed deprecated NitterSentimentAnalyst module and associated tests.