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
aien-sovereign-core-mv / docs / adr / 0001-trust-evidence-foundation.md
| 1 | # ADR 0001: Trust and Evidence Foundation |
| 2 | |
| 3 | - **Status**: Accepted |
| 4 | - **Date**: 2026-09-19 |
| 5 | - **Author**: Drake Stapleton <aien@aienos.com> |
| 6 | - **Milestone**: milestone/trust-evidence-foundation (Milestone 1) |
| 7 | |
| 8 | ## Context |
| 9 | |
| 10 | AIEN has matured into a native systems research project. Sustained adoption across research laboratories and enterprise deployments requires an unambiguous foundation of legal trust, empirical evidence, and security terminology. |
| 11 | |
| 12 | Prior repository iterations contained semantic tensions: |
| 13 | 1. Licensing terms combined software runtime rights with reciprocal weight transparency covenants. |
| 14 | 2. Performance claims were maintained manually across multiple documentation files, leading to divergent metrics. |
| 15 | 3. Security documentation employed absolute phrases like "zero telemetry" and "all secrets in TPM" that conflicted with local diagnostic observability and cross-platform hardware realities. |
| 16 | 4. Portability documentation asserted universal support across platforms without explicit verification evidence. |
| 17 | |
| 18 | ## Decisions |
| 19 | |
| 20 | ### 1. Separation of Software Licensing from Model and Research Covenants |
| 21 | Core software runtime crates are licensed under standard Apache License 2.0. Dynamic linking components requiring runtime exception use Apache-2.0 with LLVM Exception. Model weights, training datasets, and benchmarks are classified under distinct artifact licenses in `ARTIFACT_LICENSING.md`. Reciprocal weight sharing, distillation rights, and compute cooperation reside in an optional bilateral agreement (`OPEN_COOPERATION_COVENANT.md`). `CONSTITUTION.md` serves as an upstream architectural charter and does not bind downstream commercial software licensees. |
| 22 | |
| 23 | ### 2. Benchmark JSON as Canonical Performance Authority |
| 24 | The structured benchmark dataset (`benchmarks/data/benchmarks_latest.json`) is the sole authoritative record for all performance metrics. Numbers cannot be cited in public repositories without a corresponding measurement ID and cryptographic commit anchor in the canonical dataset. |
| 25 | |
| 26 | ### 3. Elimination of Manually Maintained Benchmark Claims |
| 27 | Documentation must not contain manually edited performance numbers. All performance summaries, tables, and comparative charts must be generated directly from `benchmarks_latest.json` through the `sync-docs` tool. Subsystem documentation must reference canonical benchmark IDs rather than floating figures. |
| 28 | |
| 29 | ### 4. Normative Security Definition: No Unsolicited Outbound Telemetry |
| 30 | The project standardizes on the technical specification: "No unsolicited outbound telemetry." Core daemons never transmit diagnostic, usage, or profiling data to remote endpoints. Local observability, operational metrics, and performance counters remain under operator control on local interfaces. |
| 31 | |
| 32 | ### 5. Hardware-Backed Secret Protection at Rest |
| 33 | The project standardizes on the contract: "No persistent plaintext secret storage, with platform-appropriate hardware-backed protection where available." Secrets resolve dynamically in memory via the `SecretProvider` abstraction, supporting TPM 2.0 on Linux, Secure Enclave / Keychain on Apple Silicon, and protected volatile memory. Decrypted credentials are never written to disk. |
| 34 | |
| 35 | ### 6. Evidence-Based Portability and Verification Levels |
| 36 | Portability claims must cite explicit verification levels defined in `docs/PLATFORM_MATRIX.md`: |
| 37 | - `Architected`: Platform abstraction designed in code. |
| 38 | - `Build Verified`: Compiles cleanly for target triple. |
| 39 | - `Test Verified`: Test suite passes on hardware. |
| 40 | - `Runtime Verified`: Daemons execute sustained workloads on hardware. |
| 41 | - `Benchmark Verified`: Telemetry recorded in canonical benchmark dataset. |
| 42 | - `CI Protected`: Automated regression testing active in CI. |
| 43 | Claims of universal support are replaced with the verified status for each specific target. |
| 44 | |
| 45 | ## Deliberate Non-Goals (Scope Fence) |
| 46 | |
| 47 | To maintain focus and auditable milestones, the following activities are excluded from this milestone: |
| 48 | 1. No new inference kernels or GPU mathematical routines. |
| 49 | 2. No new scheduler algorithms or KV cache allocation features. |
| 50 | 3. No AIEN, MAX, and vLLM comparative benchmark sweeps. |
| 51 | 4. No performance optimization work. |
| 52 | |
| 53 | ## Consequences |
| 54 | |
| 55 | - Licensing is standardized and machine-verifiable across package registries. |
| 56 | - Documentation drift is prevented by deterministic generation from benchmark data. |
| 57 | - Security and hardware assertions reflect empirical systems reality. |
| 58 | - Contribution gating enforces verified standards without imposing ideological hurdles. |