CONOPS
Concept of Operations (CONOPS)
Operational doctrine—how the platform runs in production, who performs which workflows, and how services degrade and recover—is maintained in:
- BOOK.md § CONOPS — canonical narrative
- WHITEPAPER.md §2 — executive summary
- conops.md — operator quick reference (checklists, service matrix, contingencies)
- glossary.md — patterns, entities, stores
- billing.md — Stripe Standard → Pro
- exports-rustfs.md — analytics export object store (RustFS) + download design
- DeepWiki — code-entity wiki
Product surfaces (deml.app)
| Route | Purpose |
|---|---|
/dashboard |
CES / KPI overview and performance telemetry |
/analytics |
Latency, geographic origins, threat charts, CES gauges |
/status, /explore |
Status directory and public discovery |
/status/:slug |
Isolated public status page (e.g. platform-status) |
/settings |
Sites, services, incidents, analytics IDs (MFA-verified session required for mutations) |
/account |
Profile, MFA enrollment, linked OAuth accounts, billing entry points |
/vulnerabilities |
SOC / vulnerability Kanban |
/success |
Post–Stripe Checkout re-sync |
/login |
Auth + SMS MFA challenge |
Core Features Outline
High-Throughput Asynchronous Telemetry Ingestion + Event Projections (Reliable)
- Client events: Firebase Cloud Functions (
ingestEventwithversion+idempotency_key) → Redpanda or Firestore fallback. - Django paths use Transactional Outbox (
OutboxEventmodel) +outbox_relaycommand for reliable publishing. telemetry_workerperforms idempotent projections (with DLQ tofrontend-events-dlq) and builds materialized read models in Firestore (demlDB).- Queries use direct Firestore real-time subscriptions. Redpanda + Polars for heavy batch work. Decouples from transactional DB while providing at-least-once + dedup semantics.
- Client events: Firebase Cloud Functions (
Account & Site Isolation (User + Sites)
- One Firebase login → one Django
User→UserProfile.account_id. Each account may own manyStatusPagesites. - No organization hierarchies or multiple logins per workspace. Telemetry, integrations, and widgets are scoped to
user/account_id; data cannot bleed across accounts.
- One Firebase login → one Django
Big Data Aggregate Threat Modeling ("Herd Immunity")
- The platform trains a global
platform_threat_model.ptthat aggregates anonymized, non-PII metrics across all accounts (e.g., global failure rates, average suspicious request ratios over the last 90 days).
- The platform trains a global
Account-Scoped Inference & Evaluation
- Individual threat reports evaluate isolated telemetry (location weights, failure rates) against the global aggregate model—training on big data, inferencing on the account's footprint only.
Predictive SLA Deep Learning
- Dedicated PyTorch models (
sla_models) forecast uptime SLAs per account. They ingest temporal vectors, endpoint latency, and variance, updating predictions without manual tuning.
- Dedicated PyTorch models (
Spiking Temporal Forecasting (Fourth Model)
- New SpikingTemporalForecaster (Dynamic Temporal Forecasting with Norse-backed or MLP fallback execution) for temporal/event-driven data. Processes sequences from telemetry streams (Redpanda events) to forecast spikes/anomalies. Trained with same teacher distillation. Exposed in status/analytics as "spiking_temporal_forecast". See models_inventory.md.
Next-Generation SIEM / SOAR Digest & Sharing
- Automated serialization of AI anomaly predictions into industry-standard STIX 2.1 JSON payloads. These indicators are shared natively via TAXII 2.1 to central hubs (like MS-ISAC).
Hugging Face Global Ecosystem Integration
- Native integration with Hugging Face automates the publication of PyTorch models to the Hub and continuously syncs public status pages and whitepapers via Spaces deployments.
platform-status, System Design, and Critical Path- The platform dogfoods itself via the public
platform-statuspage (user=null,is_platform=True)—an "Apex Sandbox" and "Public Sentinel" under real load. Background workers iterate over active accounts plus this platform scope so pipelines stay symmetrical. Pipeline: collect, enhance, aggregate, showcase. Results land in optimized tables for snappy UI access.
- The platform dogfoods itself via the public
Application-Level Zeek-Equivalent Middleware
- Passive interception of HTTP headers, source IPs, methods, and latency. Zero-latency cached mappings associate traffic with the target
account_idwithout blocking the request thread.
- Passive interception of HTTP headers, source IPs, methods, and latency. Zero-latency cached mappings associate traffic with the target
OSINT & Dark Web Threat Intel Integration
- Reconnaissance against Tor (Ahmia) and Certificate Transparency logs. Findings serialize into
ThreatIntelligenceandEndpointsfor dashboard visibility.
- Reconnaissance against Tor (Ahmia) and Certificate Transparency logs. Findings serialize into
Post-Quantum Cryptography (PQC) & Forward Secrecy
- Hybrid KEMs via
liboqson/api/v1/telemetry/pq-key-exchange. Ephemeral secret keys expire after five minutes.
- Hybrid KEMs via
Symmetrical Account Pipelines
- Background workers, ML training loops, and OSINT scanners iterate over provisioned users/accounts (and the
platformsentinel). No hardcoded single-customer exceptions.
- Background workers, ML training loops, and OSINT scanners iterate over provisioned users/accounts (and the
Enterprise Compliance & Security Standards
- Architected for SOC 2 Type II, CMMC 2.0, and NIST SP 800-171 Rev. 3 readiness.
RBAC & ABAC Access Control
- RBAC:
UserProfile.roleisViewer,Operator, orSecurity Admin(one role per login). Status page create/update/delete requiresOperatororSecurity Admin(@role_required). Settings UI disables mutations forViewer. - ABAC: Anonymous users read published pages and
platform-statusonly. Owners read unpublished pages when logged in.check_status_page_accessguards services, incidents, and stats APIs. Writes require ownership + an MFA-verified session (amr/firebase.sign_in_second_factor—see glossary.md). Enrolled MFA without re-auth after second factor leaves Settings locked.platform-statusis immutable for customers. - Public stats:
/status/:slugand/exploreexpose uptime and service health only whenis_published=Trueorslug=platform-status. - See WHITEPAPER.md §8 for the full access matrix.
- RBAC:
Billing (Stripe)
- Live Standard → Pro checkout, webhooks, success-page sync, and scheduled
sync_subscriptions. Operator detail: billing.md.
- Live Standard → Pro checkout, webhooks, success-page sync, and scheduled
Embeddable widgets
- Public status embeds via
widget.js(Viking-UI package / synced marketing assets) for customer sites without pulling the full Angular app.
- Public status embeds via