~/systems
system·project·render: lazy

SCOPE (Smart Contextual Opportunity & Priority Engine)

On-device intelligence 'AttentionOS' notification priority engine combining Ghost ML (quantized TFLite NLP model) & Android Kotlin NotificationListenerService.

status: activediagrams: mermaidgraphs: react-flowconsole: 3-panel
loading graph
less overview_&_attentionos_vision.md
md

SCOPE (Smart Contextual Opportunity & Priority Engine) is an on-device machine learning attention management system designed to act as a premium AttentionOS layer for Android.

The modern smartphone user receives hundreds of notifications daily, causing severe notification fatigue. Critical alerts—such as government notices, banking updates, and exam deadlines—are often buried under everyday promotional noise.

SCOPE solves this by intercepting notifications natively via Android's NotificationListenerService and scoring them 100% locally on-device using Ghost ML, a quantized TensorFlow Lite (LiteRT) neural network model combined with a deterministic rule engine.

Users can then process alerts through an immersive glassmorphic vertical swipe feed (Focus Mode) or review queue without sending a single byte of private data to cloud servers.

less ghost_ml_categorization_&_action_matrix.md
md

Ghost ML categorizes incoming notifications into 5 distinct semantic tiers and executes localized state actions:

Priority CategorySemantic Criteria & ScopeExample Notification PayloadsTriggered OS & UI Action
🚨 Critical EmergencyLife safety, campus security, natural disaster broadcasts."Gov S.O.S: Flash Flood Warning in District"Heads-Up Banner, Override DND / Silent, Push to Focus Session Queue.
💳 Financial & BankingOTP passcodes, high-value transfer alerts, fraud warnings."SBI: OTP 849201 for INR 4,500 at Amazon"Active Status Bar Pinning, Copy OTP Quick Button, Persist in Review Queue.
🎓 Academic & WorkExam deadlines, grade releases, Slack / Teams DMs."Canvas: Quiz 3 deadline extended to 11:59PM"Group by Thread, Add to Review Queue, Snooze until Study Window.
💬 Social MediaLikes, comments, new follower alerts, social tags."Instagram: user_x liked your photo"Mute Notification Sound, Suppress Icon, Auto-Archive to Evening Summary.
Promotional SpamE-commerce coupons, delivery ads, marketing spam."Swiggy: 50% OFF on your next order!"Suppress Status Bar Icon, Auto-Purge via 24h Drift SQLite Cleaner.
cat ghost_ml_multi-stage_triage_architecture
mermaid
Architectural pipeline showing Fast-Path Rule Engine, WordPiece Tokenizer, Quantized TFLite Model, Priority Evaluator, and Action Dispatcher.
loading diagram
cat scope_full_attentionos_system_architecture
mermaid
End-to-end system mapping Native Interception, Ghost ML Engine, Synthetic Dataset Pipeline, Drift SQLite Storage, and Flutter Focus Shell UI.
loading diagram