How thenavya/sentineldecisionintelligence works
Sentinel is a hackathon prototype for detecting payment degradation, estimating its impact, simulating interventions, and controlling any resulting action with deterministic policy checks. Its NovaKart demo orchestrates analysis through verification and creates an audit summary. The graph separates API/request validation, decision stages, and the frontend boundary. The frontend is represented only at the directory level because no frontend source was excerpted; the documented capabilities are implemented in the sampled service module. No persistent store or live payment integration is shown.
Main entry points: main.py HTTP API · sentinel.py NovaKart demo · frontend Web frontend · models.py Request validation
Components 11
Client
- Web frontend
frontend
API and validation
- HTTP API
backend/app/main.py - Request validation
backend/app/models.py
Decision workflow
- Analyze signals
backend/app/services/sentinel.py - Simulate scenarios
backend/app/services/sentinel.py - Policy checks
backend/app/services/sentinel.py - Controlled execution
backend/app/services/sentinel.py - Verify outcome
backend/app/services/sentinel.py - NovaKart demo
backend/app/services/sentinel.py - Audit summary
backend/app/services/sentinel.py
Other components
- Merchant
Connections 16
- Web frontend → HTTP API: calls API
backend/app/main.py - Merchant → HTTP API: submits requests
backend/app/main.py - HTTP API → Request validation: validates with
backend/app/main.py - HTTP API → Analyze signals: calls analyze
backend/app/main.py - HTTP API → Simulate scenarios: calls simulate
backend/app/main.py - HTTP API → Policy checks: calls policy
backend/app/main.py - HTTP API → Controlled execution: calls execute
backend/app/main.py - HTTP API → Verify outcome: calls verify
backend/app/main.py - HTTP API → NovaKart demo: calls demo
backend/app/main.py - Simulate scenarios → Analyze signals: calls analyze
backend/app/services/sentinel.py - NovaKart demo → Analyze signals: calls analyze
backend/app/services/sentinel.py - NovaKart demo → Simulate scenarios: calls simulate
backend/app/services/sentinel.py - NovaKart demo → Policy checks: checks policy
backend/app/services/sentinel.py - NovaKart demo → Controlled execution: requests execution
backend/app/services/sentinel.py - NovaKart demo → Verify outcome: verifies result
backend/app/services/sentinel.py - NovaKart demo → Audit summary: creates audit
backend/app/services/sentinel.py