How asiedudevelopmenthub/sentracore works
SentraCore is a local system-behavior monitoring and intelligence platform. Its main workflow is continuous telemetry collection, normalization and behavioral analysis, with results exposed to a desktop dashboard through REST and WebSockets. The engine also provides historical monitoring, alerts and a read-only-preview-then-cleanup storage workflow. The README documents dashboard/API interaction and major intelligence capabilities; sampled source clarifies several engine and cleanup calls, but the Flutter application source and some runtime wiring are not present in the supplied tree or excerpts.
Main entry points: main.py Engine orchestrator · server.py REST and WebSocket API · flutter_window.cpp Flutter dashboard · system_collector.py Telemetry collector
Components 24
Desktop interface
- Flutter dashboard
dashboard/windows/runner/flutter_window.cpp
Monitoring runtime
- Engine orchestrator
engine/main.py - Telemetry collector
engine/collector/system_collector.py - Signal normalizer
engine/normalization/normalizer.py - Time-series buffer
engine/buffer/time_series_buffer.py - Process tracker
engine/process/process_tracker.py
Behavioral intelligence
- Adaptive baseline
engine/baseline/baseline_model.py - Anomaly detection
engine/intelligence/anomaly_detector.py - Stress scoring
engine/stress/stress_engine.py - Trend analysis
engine/intelligence/trend_analyzer.py - Pressure forecasting
engine/intelligence/prediction_engine.py - Root cause analysis
engine/intelligence/correlation_engine.py - Stability index
engine/intelligence/stability_index.py
API and services
- Event logbook
engine/events/event_logger.py - History archive
engine/history/history_store.py - Alert manager
engine/alerts/alert_manager.py - REST and WebSocket API
engine/api/server.py - Hardware diagnostics
engine/hardware/__init__.py - Cleanup endpoints
engine/api/server.py - Storage scanner
engine/storage_scan/scanner.py - Storage cleanup
engine/storage_scan/cleaner.py - Local datastore
engine/storage/paths.py
Other components
- Desktop user
- Host system
Connections 25
- Desktop user → Flutter dashboard: uses
README.md - Flutter dashboard → REST and WebSocket API: requests state
README.md - REST and WebSocket API → Flutter dashboard: streams updates
README.md - Engine orchestrator → Telemetry collector: collects telemetry
engine/main.py - Telemetry collector → Host system: reads metrics
engine/collector/system_collector.py - Engine orchestrator → Signal normalizer: normalizes snapshots
README.md - Engine orchestrator → Time-series buffer: buffers samples
README.md - Engine orchestrator → Adaptive baseline: learns behavior
README.md - Engine orchestrator → Anomaly detection: detects deviations
README.md - Engine orchestrator → Stress scoring: scores pressure
README.md - Engine orchestrator → Process tracker: tracks processes
engine/main.py - Engine orchestrator → Trend analysis: analyzes trends
README.md - Engine orchestrator → Pressure forecasting: estimates risk
README.md - Engine orchestrator → Root cause analysis: explains causes
README.md - Engine orchestrator → Stability index: computes stability
README.md - Engine orchestrator → Event logbook: records events
engine/main.py - Engine orchestrator → History archive: archives samples
engine/main.py - Engine orchestrator → Alert manager: generates alerts
engine/main.py - Engine orchestrator → REST and WebSocket API: starts API
engine/main.py - REST and WebSocket API → Hardware diagnostics: queries diagnostics
engine/api/server.py - REST and WebSocket API → Cleanup endpoints: serves cleanup
engine/api/server.py - Cleanup endpoints → Storage scanner: runs preview scan
engine/api/server.py - Cleanup endpoints → Storage cleanup: applies cleanup
engine/api/server.py - Engine orchestrator → Local datastore: initializes layout
engine/main.py - History archive → Local datastore: persists history