Expand description
§OMWEI 32B Semantic Atom
Hardware-native integrity for Agentic AI and Industrial IoT. The L0 layer defining the next decade of Silicon Sincerity through mathematical certainty and zero-latency trust determination.
§Mission
The OMWEI 32-bit Semantic Atom (32BSA) standard provides the universal grammar for Agentic AI systems, establishing hardware-enforced trust hierarchies through single-bit operations. This is not a utility library—it is the foundational protocol for silicon-level data integrity.
§Performance Metrics
Zero-Latency Trust Determination:
- Latency:
8.86 nanosecondsper operation - Throughput:
113 million operations/second - Memory: Zero allocation, stack-only execution
- Hardware: Single bit-mask operation (
id & 0x80000000)
§Quick Start
use omwei_atom::trust_hierarchy::{get_trust_level, validate_atom, Atom, TrustLevel, ValidationResult};
fn process_sensor_data(global_id: u32, payload: [u8; 28]) {
let atom = Atom::new(global_id, payload);
// Zero-latency trust determination
let trust_level = get_trust_level(global_id);
match trust_level {
TrustLevel::Managed => {
// Production-grade processing with PQC verification
match validate_atom(&atom) {
ValidationResult::Trusted => {
println!("Trusted atom stored");
}
ValidationResult::InvalidSignature => {
println!("Security alert: Invalid signature");
}
_ => unreachable!(),
}
}
TrustLevel::Community => {
println!("Community atom: No global trust");
}
}
}§Features
- Zero-Cost Abstractions: All operations compile to optimal machine code
- Hardware Efficiency: Single bit-mask trust determination
- Post-Quantum Ready: Built-in PQC signature verification framework
- Embedded Friendly:
no_stdcompatible with minimal dependencies - WebAssembly Support: Same guarantees in browser environments
§Trust Hierarchy
| Space | Bit 31 | Range | Trust Level | Verification |
|---|---|---|---|---|
| Managed | 0 | 0x00000000 - 0x7FFFFFFF | Sincere | PQC Signature Required |
| Community | 1 | 0x80000000 - 0xFFFFFFFF | Unverified | None |
§Modules
trust_hierarchy- Core trust hierarchy implementation with zero-latency determination
§Configuration
§Feature Flags
std: Standard library support (default)serde: Serialization/deserialization supportpqc: Post-quantum cryptography primitives
§Embedded Targets
[dependencies.omwei-atom]
version = "0.1.2"
default-features = false
features = ["pqc"] # For bare-metal environmentsModules§
- trust_
hierarchy - OMWEI 32BSA Trust Hierarchy Implementation
Structs§
- Config
serde - Entity
serde - Predicate
serde - Semantic
Atom
Enums§
Constants§
- HEADER_
ENCRYPTED - HEADER_
RAW_ DATA - HEADER_
SIGNED - HEADER_
VERIFIED - PREDICATE_
ANOMALY - PREDICATE_
API_ DATA_ INCONSISTENCY - PREDICATE_
CONSISTENCY - PREDICATE_
CRITICAL - PREDICATE_
NORMAL - PREDICATE_
POTENTIAL_ DATA_ ANOMALY - PREDICATE_
SENSOR_ STUCK_ WARNING - PREDICATE_
TREND_ RISING_ FAST - PREDICATE_
TREND_ STABLE - PREDICATE_
TRIANGULATED - PREDICATE_
WARNING - TAG_
HYDROLOGICAL - TAG_
METEOROLOGICAL - TELEMETRY_
HUMIDITY_ PERCENT - TELEMETRY_
PRECIPITATION_ MM - TELEMETRY_
PRESSURE_ PA - TELEMETRY_
TEMPERATURE_ C - TELEMETRY_
WATER_ LEVEL_ MM - TRUST_
ANOMALY - TRUST_
ENTERPRISE - TRUST_
RAW - TRUST_
VERIFIED