Devid HW and Claude Sonnet 4.6
4bc5ca22e9
fix: remove stale deals.csv references, add extract+store to launch_backtest
...
- FilePaths struct: remove deals_csv/deals_json fields (deals go to DB only)
- save_metadata: stop writing stale CSV/JSON paths to pipeline_metadata.json
- get_backtest_status: remove deals.csv artifact check (was unused in logic)
- get_backtest_crash_info: check DB deal count and metrics.json instead of deals.csv
- export_report: remove unused _deals_path variable
- launch_backtest: monitor_backtest_completion now calls extract_and_store when
report found — extracts metrics+deals, registers report in DB, deletes htm file
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-23 01:06:08 +07:00
Devid HW
e1adcad45c
Add 10 new debugging and diagnostic tools for Wine and MT5
2026-04-22 12:24:43 +07:00
Devid HW
0bc410f613
feat: add Wine/MT5 debugging tools and update release workflow
...
- Add 9 debugging/diagnostics tools for Wine/MT5 crash investigation
- Update server.json with v1.30.0 and MCP package config
- Update README.md with 85 tools count and debugging section
- Update docs/MCP_TOOLS.md documentation
- Enhance release workflow with MCP packaging job
- Clean up mcp-package directory (now built in CI)
2026-04-22 04:41:41 +07:00
Devid HW
13e821bc5d
Add report database and improve compile_ea tool
...
**Report Database (src/storage/):**
- New SQLite-based report registry for tracking backtest history
- ReportDb with methods: init, list, count, annotate, list_purgeable, delete_entry
- Charts relocation to temp directory with automatic cleanup
- Set file snapshotting alongside extracted data
- Database registration integrated into backtest pipeline
**compile_ea Tool Improvements:**
- Support both 'expert' (EA name) and 'expert_path' (full path) parameters
- Auto-discovery: searches MT5 Experts dir and current directory for .mq5 files
- Better error messages when EA not found
- Added files_synced and warning_list to response
- Updated tool definition to reflect new parameters
**Pipeline Updates:**
- Backtest pipeline now registers results in database after completion
- Equity charts moved to OS temp dir with unique report ID
- HTML reports cleaned up after extraction
- Set file snapshots preserved for reproducibility
**Dependencies:**
- Added rusqlite for SQLite database support
2026-04-19 01:36:07 +07:00
Devid HW
331b7fbb73
Complete migration to Rust implementation
...
- Migrate optimization from optimize.sh to src/optimization/
- Remove all Python files (analytics/, server/, hooks/, pyproject.toml)
- Add optimization module: optimizer.rs, parser.rs, mod.rs
- Implement all missing MCP tool handlers (35 total tools)
- Add handle_patch_set_file handler
- Clean up orphan files: .venv/, __pycache__, test files
- Move test_rcp_server.sh to tests/integration_test.sh
- Add Rust integration tests in tests/integration_tests.rs
- Fix all compiler warnings with #[allow(dead_code)]
- Update test fixtures and structure
2026-04-18 15:57:28 +07:00
Devid HW
a3b046c68f
feat: complete Rust migration with modular architecture
...
Major changes:
- Migrate Python/shell scripts to Rust modules:
- analytics/extract.py → src/analytics/extract.rs (ReportExtractor)
- analytics/analyze.py → src/analytics/analyze.rs (DealAnalyzer)
- scripts/mqlcompile.sh → src/compile/mql_compiler.rs (MqlCompiler)
- scripts/backtest_pipeline.sh → src/pipeline/backtest.rs (BacktestPipeline)
- New modular structure:
- src/models/ - Config, Deal, Metrics, Report structs
- src/analytics/ - Report parsing and deal analysis
- src/compile/ - MQL5 compilation via Wine
- src/pipeline/ - 5-stage backtest orchestration
- src/tools/ - 27 MCP tool definitions and handlers
- Remove PyInstaller setup (now pure Rust)
- Remove migrated shell scripts (backtest_pipeline.sh, mqlcompile.sh)
- Add GitHub Actions CI/CD for macOS & Linux releases
- Update all documentation for Rust architecture
Binary size: 4.3MB (no Python dependencies)
Tools: 27 MCP tools fully functional
2026-04-18 15:07:08 +07:00