interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / docs / NETWORK_POLICY.md

50 lines · 2425 bytes Raw Blame History Rendered
1# AIEN Network Policy & Egress Governance
2
3This document defines the normative network architecture, egress classification, and offline operation contracts for AIEN core services.
4
5---
6
7## 1. Explicit Network Purpose Classification
8
9Every outbound network socket or HTTP request initiated by AIEN components must declare an explicit `NetworkPurpose`:
10
11```rust
12pub enum NetworkPurpose {
13 /// Outbound call to a user-configured model inference API or proxy.
14 UserRequestedApi,
15 /// Explicit repository or state synchronization with configured peers.
16 PeerSynchronization,
17 /// Operator-directed download of model weights or tokenizer assets.
18 ModelDownload,
19 /// Optional check for signed software release updates.
20 UpdateCheck,
21 /// Unsolicited usage metrics, analytics, or behavioral tracking.
22 Telemetry,
23}
24```
25
26---
27
28## 2. Policy Enforcement & Deny Rules
29
30AIEN network gateways and transport layers enforce strict destination and purpose checking:
31
32| Network Purpose | Default Policy | Condition |
33| :--- | :--- | :--- |
34| `UserRequestedApi` | **Allow** | Target matches operator-configured endpoint whitelist. |
35| `PeerSynchronization` | **Allow** | Explicitly configured peer identity or Radicle URI. |
36| `ModelDownload` | **Allow** | Operator-initiated CLI command with verified hash. |
37| `UpdateCheck` | **Operator Controlled** | Disabled by default in offline profiles. |
38| `Telemetry` | **Deny (Hard Block)** | Unsolicited outbound telemetry is rejected at the transport layer. |
39
40Any network connection attempting transmission under `NetworkPurpose::Telemetry` results in an immediate connection failure and security audit alert.
41
42---
43
44## 3. Air-Gap-Capable Deployment Profile
45
46AIEN is engineered for deployment in high-security, sovereign, and disconnected environments:
47
481. **Zero External Service Dependencies**: Core runtime execution, physical KV cache allocation, sequence batching, Cortex epistemic storage, and hardware secret resolution function fully without active internet connectivity.
492. **Local Model Provisioning**: All required model architectures, safetensors weights, and tokenizers are resolved from local filesystem paths or hardware-attached storage.
503. **Egress-Disabled Testing**: Integration test suites are validated inside network namespaces with default-route egress disabled to verify that no code path panics or deadlocks in the absence of internet access.