RMA Nexus is the semantic state layer built on top of RMA's deterministic memory fabric.
It provides namespace resolution, structured query access, and alarm lifecycle management over raw memory --- without compromising real-time determinism.
RMA Nexus does not replace RMA.
It does not store live values in a database.
It does not act as a historian.
It is the convergence layer between memory, meaning, and human interaction.
RMA provides raw, determini 8000 stic memory banks.
RMA Nexus gives that memory structure, identity, and operational semantics.
It connects:
- Namespace ↔ Memory
- SQL ↔ RMA
- Alarms ↔ Tag state
- Humans ↔ Real-time truth
Nexus is the bridge.
RMA remains the single source of runtime truth.
All live values are read directly from memory.
No value persistence inside the registry.
SQLite is used strictly for:
- Tag namespace
- Memory allocation mapping
- Alarm definitions
- Configuration metadata
It never stores live values.
Layer Responsibility
RMA Physical memory truth RMA Nexus Semantic real-time truth InfluxDB Temporal numeric history Loki Event and transition history
Each layer has a single responsibility.
Alarm flags live in RMA:
activebitacknowledgedbit
Alarm lifecycle timestamps are managed in runtime memory.
Duration is derived:
If active: duration = now - activated_at
If cleared: duration = cleared_at - activated_at
No historian is required for duration.
SQL is used to select tags from the registry.
Example:
SELECT * FROM tags WHERE level1 = 'plant1';
Execution flow:
- Query metadata from SQLite
- Group allocations by memory bank
- Merge contiguous blocks
- Read from RMA
- Return enriched result
SQL never mutates runtime state.
RMA Nexus is not a bulk data dump engine.
It is designed for:
- Focused real-time inspection
- Operational clarity
- Controlled query limits
- Meaningful state visibility
If large historical pulls are required, use the historian layer.
RMA (Memory Fabric) ↓ RMA Nexus (Semantic Layer) ↓ API / Query Interface ↓ UI / AI / Automation
Supporting systems:
- InfluxDB → numeric history
- Loki → event transitions
- Not a time-series database
- Not a log aggregation system
- Not a PLC runtime
- Not a historian
- Not a replacement for RMA core
It is the semantic state layer.
Architecture defined.
Implementation pending.
The design is intentionally documented before code to preserve architectural clarity and prevent drift.
Apache License 2.0