Commit Graph
2 Commits
Author SHA1 Message Date
pselamyandClaude Opus 4.6 15ed793817 fix: add detector mock to pipeline test fixture
The persist_assessments feature accesses settings.detector which the
existing mock_settings fixture didn't include.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-14 19:16:52 +00:00
Patrick SelamyandClaude Opus 4.5 771f968401 feat: implement main pipeline orchestrator (#54)
Add Pipeline class that wires together all detection components and
manages the event flow from trade ingestion to alerting.

Key features:
- Lifecycle management (start/stop) with proper cleanup
- Component initialization from Settings
- Parallel detector execution for fresh wallet and size anomaly
- Risk scoring with alert threshold
- Multi-channel alert dispatch (Discord/Telegram)
- Dry-run mode for testing without sending alerts
- Async context manager support
- Comprehensive test coverage (19 tests)

Pipeline flow: WebSocket → Profiler → Detectors → Scorer → Alerter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 20:32:16 -05:00