Expand description
§SAMS Industrial Ecosystem
Master wrapper for OMWEI 32BSA Trust Hierarchy. The unified entry point for Silicon Sincerity protocol, providing high-level orchestration of all SAMS components with hardware-enforced trust determination.
§Mission
The SAMS Industrial Ecosystem serves as the L0+ layer that orchestrates all OMWEI 32BSA compliant components through a unified SincereStack architecture. This ensures mathematical certainty and zero-latency trust determination across the entire stack.
§Architecture
SAMS INDUSTRIAL ECOSYSTEM
+-----------------------------------------------------------+
| SincereStack (Master Wrapper) |
| +--------------+--------------+--------------+ |
| | GhostNode | Blackbox | LogicGate | |
| | (PQC Store) | (Logger) | (Validator) | |
| +--------------+--------------+--------------+ |
| | |
| Hardware Trust Hierarchy |
| (omwei-atom v0.1.2) |
+-----------------------------------------------------------+§Quick Start
use sams_industrial_ecosystem::SincereStack;
use omwei_atom::{Atom, TrustLevel};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// Initialize the complete SAMS stack
let mut stack = SincereStack::new().await?;
// Process incoming atom through unified trust hierarchy
let atom = Atom::new(0x12345678, [0x42; 28]);
let result = stack.process_atom(atom).await?;
match result.trust_level {
TrustLevel::Managed => {
println!("✅ Sincere data: {}", result.status);
}
TrustLevel::Community => {
println!("⚠️ Community data: {}", result.status);
}
}
Ok(())
}§Features
- Unified Trust Hierarchy: Single entry point for all trust determination
- Hardware Acceleration: Direct integration with Silicon Catalyst
- Component Orchestration: Automatic initialization of GhostNode, Blackbox, LogicGate
- Zero-Cost Abstractions: Compile-time optimization to single instructions
- Post-Quantum Ready: Built-in PQC signature verification framework
§Sincerity Compliance
This crate ensures 100% compliance with OMWEI 32BSA v0.1.2 standard:
- Managed Space: Bit 31 = 0, PQC signature required
- Community Space: Bit 31 = 1, local verification only
- Zero Latency: Single bit-mask operation (
id & 0x80000000) - Hardware Efficiency: Stack-only execution, no allocation
§Components
- [
GhostNode] - PQC signature storage and verification - [
Blackbox] - Logging and telemetry with trust-based tagging - [
LogicGate] - Hardware-level validation and filtering SincereStack- Master orchestrator for all components
§Configuration
§Feature Flags
std: Standard library support (default)pqc: Post-quantum cryptography primitives
§Environment Variables
SAMS_LOG_LEVEL: Logging level (trace, debug, info, warn, error)SAMS_PQC_KEY_PATH: Path to PQC private key for Managed SpaceSAMS_TRUST_POLICY: Default trust policy (strict, permissive)
Modules§
- blackbox
- Blackbox - Logging and Telemetry with Trust-Based Tagging
- ghost_
node - GhostNode - PQC Signature Storage and Verification
- logic_
gate - LogicGate - Hardware-Level Validation and Filtering
Structs§
- Atom
- OMWEI 32BSA Atom structure
- Sincere
Result - Processing result from SAMS stack
- Sincere
Stack - Master wrapper for SAMS Industrial Ecosystem
Enums§
- Trust
Level - Trust Level enumeration for OMWEI 32BSA
- Validation
Result - Validation result for atom processing
Functions§
- get_
trust_ level - Get trust level from a 32-bit Global ID
- validate_
atom - Validate an atom according to the Trust Hierarchy rules