Command Center & Operations Console
Relevant source files
The following files were used as context for generating this wiki page:
The Command Center (also referred to as Nodo Cero) serves as the primary orchestration and mission control layer for the RDM Digital / TAMV Online platform. It provides a centralized surface for real-time monitoring of territorial, economic, and technical pulse signals across the federated ecosystem of Real del Monte. Its scope encompasses system health, repository synchronization status, and the operational state of the various federations.
This module acts as the "Zero Layer" that integrates data from diverse domains including Territory, Economy, Identity, and Governance. It utilizes live telemetry and an "Ecosystem ECG" to ensure continuous observability of the heptafederated kernel (TAMV MD-X4).
Sources: src/app/pages/CommandCenter.tsx:49-55, README.md:4-10
Architecture and System Pulsos
The Command Center architecture is built on a "System Pulse" model, where various domain metrics are aggregated into visual status cards. These pulses represent the real-time health of specific platform modules.
Operational Pulse Components
The interface tracks eight primary pulses using a standardized Pulse data structure. Each pulse includes a label, current value, trend description, and a status level (ok, warn, or crit).
| Pulse Label | Source/Metric | Purpose |
|---|---|---|
| Territory Pulse | pois and routes tables | Monitors active routes and Points of Interest. |
| Economic Pulse | businesses table | Tracks the status of the Sovereign Market. |
| Repo Federation | repositories table | Ensures GitHub synchronization is nominal. |
| AI Pulse | Isabella (Gemini 2.5) | Monitors HITL (Human-In-The-Loop) streaming. |
| Federations | federations table | Verifies quorum across the 7 federations. |
| System Health | System Uptime % | Monitors Edge function and RPC reliability. |
| Ciudadanos | ID-NVIDA count | Tracks federated digital identity enrollment. |
| Telemetry ECG | analytics/logs | High-level status of the 24h operational signal. |
Sources: src/app/pages/CommandCenter.tsx:7-15, src/app/pages/CommandCenter.tsx:58-67
Data Flow for Pulse Aggregation
The Command Center fetches data through parallel asynchronous requests to Supabase tables.
The UI maintains a 1-second interval to update the territorial UTC clock, while data counts are retrieved on component mount.
Sources: src/app/pages/CommandCenter.tsx:43-57
Ecosystem ECG & Observability
A critical component of the Operations Console is the Ecosystem ECG (Electrocardiogram), a visual representation of system activity over the last 24 hours. This sub-system monitors signal rhythms and latencies.
Tamvcrums ECG
The TamvcrumsEcg component tracks operational "heartbeats" by aggregating logs.
- Logic: It queries the
tamvcrums_logstable, specifically looking atecg_rhythm,impact_score, andemotional_state. - Transformation: Rows are aggregated into
EcgPointdata structures over defined intervals (e.g., 60-second windows). - Visualization: Uses an
AreaChartto map therhythmagainst time, providing a visual "stable" vs "anomalous" signal.
Sources: src/components/tamv/tamvcrums-ecg.tsx:11-23, src/app/pages/CommandCenter.tsx:88-101
Backend Orchestration (Edge Functions)
The operational state displayed in the console is supported by dedicated Supabase Edge Functions that aggregate cross-table statistics.
Mission Control Modules
The Command Center provides rapid access to core operational modules, acting as the navigation hub for the TAMV OS shell.
| Module | Route | Functionality |
|---|---|---|
| Mapa Territorial | /app/territory | Interactive map with POIs, heatmaps, and forensic layers. |
| Plataforma Turística | /app/tourism | Management of routes, legends, and cultural catalogs. |
| Mercado Soberano | /app/economy | Commerce directory, payment activation, and MSR ledgers. |
| Isabella IA | /app/isabella | Multi-agent HITL orchestrator for crisis and governance. |
| DevOps | /app/devops | Evolutionary repository analysis and federation normalization. |
Sources: src/app/pages/CommandCenter.tsx:70-75, src/App.tsx:43-55
Operational Metadata
The console displays technical telemetry necessary for high-level decision-making:
- API Latency: Measured in milliseconds (e.g., 112ms nominal).
- Events per Minute: Total throughput of the system (e.g., 847 events/min).
- Uptime: 30-day percentage (Target: 99.97%).
- Kernel Version: TAMV/MD-X4.
Sources: src/app/pages/CommandCenter.tsx:103-111, supabase/functions/dashboard-summary/index.ts:31
Conclusion
The Command Center & Operations Console is the unified observability layer of RDM Digital. By consolidating real-time counts from Supabase and telemetry from Edge Functions into a "Pulse" and "ECG" visual metaphor, it allows operators to verify the integrity of the heptafederated system at a glance. It serves as both the starting point for user navigation and the primary monitoring tool for system health and territorial sovereignty.