Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/docs/NETWORK_POLICY.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / docs / NETWORK_POLICY.md` 50 lines ยท 2425 bytes Raw Blame History Source # AIEN Network Policy & Egress Governance This document defines the normative network architecture, egress classification, and offline operation contracts for AIEN core services. ## 1. Explicit Network Purpose Classification Every outbound network socket or HTTP request initiated by AIEN components must declare an explicit `NetworkPurpose`: ``` pub enum NetworkPurpose { /// Outbound call to a user-configured model inference API or proxy. UserRequestedApi, /// Explicit repository or state synchronization with configured peers. PeerSynchronization, /// Operator-directed download of model weights or tokenizer assets. ModelDownload, /// Optional check for signed software release updates. UpdateCheck, /// Unsolicited usage metrics, analytics, or behavioral tracking. Telemetry, } ``` ## 2. Policy Enforcement & Deny Rules AIEN network gateways and transport layers enforce strict destination and purpose checking: Network Purpose Default Policy Condition `UserRequestedApi` Allow Target matches operator-configured endpoint whitelist. `PeerSynchronization` Allow Explicitly configured peer identity or Radicle URI. `ModelDownload` Allow Operator-initiated CLI command with verified hash. `UpdateCheck` Operator Controlled Disabled by default in offline profiles. `Telemetry` Deny (Hard Block) Unsolicited outbound telemetry is rejected at the transport layer. Any network connection attempting transmission under `NetworkPurpose::Telemetry` results in an immediate connection failure and security audit alert. ## 3. Air-Gap-Capable Deployment Profile AIEN is engineered for deployment in high-security, sovereign, and disconnected environments: - 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. - Local Model Provisioning: All required model architectures, safetensors weights, and tokenizers are resolved from local filesystem paths or hardware-attached storage. - 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.