Ten layers.
Fully documented.
Complete technical documentation for all Intelligence OS layers. Each layer is independently auditable, WORM-sealed, and constitutionally constrained. The constitutional layer (L828) executes below all others.
Layer status
Inference Arbitrage Router
The IAR maintains a provider state matrix P of dimensions n×4, where n is the number of registered providers. The four columns represent cost-per-token, observed latency (EWMA α=0.3), quality score (WORM-derived), and availability (binary, 200ms refresh). At dispatch time the router solves a lightweight Pareto optimisation over P conditioned on the selected priority mode.
Semantic Token-Compression Matrix
Two-phase pipeline. Compression phase: embedding-aligned salience scorer assigns priority weights to token subsequences using dot product of subsequence embedding with task representation. Reconstruction phase: decompression kernel R in O(n log n) time with Float32Array backing, enabling SIMD-vectorisable execution. WORM-sealed write semantics on every context frame.
Binary-Serialized RPC Protocol
Fixed-schema binary encoding with variable-length integer compression. Header block (32 bytes): protocol version (2B), message type (2B), payload length (4B), WORM header (16B), routing directive (8B). Payload uses schema registry — no schema transmission overhead. WORM header is mandatory on every message; an invalid WORM header is rejected before deserialisation.
Nash-Equilibrium Compute Broker
Models compute resource allocation as a non-cooperative game G = (N, A, u). Theorem 1 (proven): G has a Nash equilibrium in mixed strategies under ForceDream priority mode structure. Convergence in at most O(n²) steps. Production: convergence observed in 2-4 steps for 10-50 concurrent agents. Compute Brokerage Efficiency Index: 0.94.
WORM Audit Ledger
SHA-256 applied to (event_payload, timestamp_ms, prev_seal, event_type). Stored in append-only ledger before response is returned. Linked chain from genesis hash. Any modification produces a chain break detectable by any verifier. Published endpoints: verify any seal, export full audit log, retrieve genesis hash.
Atlas Knowledge Engine
Sovereign WORM-indexed knowledge graph. Supports semantic reasoning, entity resolution, and fact grounding. Used by L9 adversarial mode to detect hallucinations by grounding outputs against Atlas records. Knowledge graph updates are WORM-sealed. The jurisdiction graph for L7 is maintained as an Atlas subgraph updated within 48 hours of regulatory change events.
Sovereign Memory Harvester
Three-tier residency model. Tier 1 (Primary Sovereign): all writes land in-region before any replication — SGP1, SYD1, NRT1, ICN1. Tier 2 (Secondary Verified): cross-region replication gated by jurisdiction approval graph from Atlas. Tier 3 (WORM Archive): long-term SHA-256 sealed storage, jurisdiction-stamped, retained per applicable statute of limitations.
Spot-Instance Eviction Safeguard
Predictive Eviction Monitor (PEM): consumes four cloud metadata signals at 5-second intervals. Gradient boosting classifier achieving 91.4% TPR and 3.2% FPR at 30-second horizon. Atomic State Checkpoint Daemon (ASCD): four-step atomic checkpoint — freeze state, write snapshot with CHECKPOINT_PENDING seal, seal billing record with DEGRADED_EVICTION_SEAL, emit resumption task. Completes under 300ms in 99.7% of cases.
Cross-Model Cognitive Task Combiner
Three operating modes. Hard-majority: highest confidence-weighted vote count, used for classification. Soft-weighted: confidence-weighted combination, used for generation and synthesis. Adversarial: contradiction detection against WORM-sealed Atlas records, triggers re-query with explicit contradiction context, used for factual recall where hallucination is a regulatory risk.
Constitutional Layer — BCR-001 through BCR-005
Encodes platform-wide invariants as multi-signature constitutional rules. BCR modifications require k-of-n threshold attestation (k = ceiling(2n/3)) from independent verification nodes using ECDSA signatures. A proposed modification rejected if threshold not met within 24 hours. The BCR set is stored as a WORM chain from the genesis hash. Executes below all business logic, routing logic, and provider selection.