Architectural Decision Records (ADRs) & Specifications
This directory documents the key architectural decisions and formal technical specifications for AIENOS. Each record captures the context, decision, invariants, consequences, and operator approval.
1. Master Index of Architectural Decision Records
| ADR | Title | Status | Date | Primary Cross-References |
|---|---|---|---|---|
| ADR 0001 | Native boot with CPU inference stays the next milestone; minimal Linux is only Benchmark Config B | Accepted | 2026-09-23 | ARCHITECTURE.md §3, §7; BLUEPRINT.md §8, §15, §16, §19, §31; MILESTONES.md Phase 1, 2, 5 |
| ADR 0002 | Incumbent operating systems are bootstrap and migration environments | Accepted | 2026-09-23 | ARCHITECTURE.md §3; BLUEPRINT.md §20, §21, §22, §23, §34; MILESTONES.md Phase 1, 6 |
| ADR 0003 | Bootstrap Firmware Handoff and Minimal Persistent Object Store | Accepted | 2026-09-23 | ARCHITECTURE.md §3; BLUEPRINT.md §5, §15, §17; MILESTONES.md Phase 2, 3; PHASE_3_TO_5_SPECIFICATION.md §2; ADR 0001 |
| ADR 0004 | Reversibility Definition and Network Effect Boundary | Accepted | 2026-09-23 | ARCHITECTURE.md §5; BLUEPRINT.md §5, §12, §13; MILESTONES.md Phase 4; PHASE_3_TO_5_SPECIFICATION.md §3 |
| ADR 0005 | Unified Memory C1 Copy-On-Write and Reservation Accounting | Accepted | 2026-09-23 | ARCHITECTURE.md §2, §7; BLUEPRINT.md §9, §10, §28; MILESTONES.md Phase 4, 5; PHASE_3_TO_5_SPECIFICATION.md §4 |
| ADR 0006 | Deterministic Recovery Core and Offline Operator Authority | Accepted | 2026-09-23 | ARCHITECTURE.md §1, §4, §6; BLUEPRINT.md §5, §6, §33; MILESTONES.md Phase 2, 6; SYSTEMS_INTEGRATION_SEQUENCE.md §2.5 |
| ADR 0007 | Continuous Existence and Provisioning-Once | Accepted | 2026-09-23 | CONTINUOUS_EXISTENCE_AMENDMENT.md; ARCHITECTURE.md §1, §10; SYSTEMS_INTEGRATION_SEQUENCE.md Steps 1 to 10; MILESTONES.md Phase 3, 6, 8; ADR 0005; ADR 0006 |
| ADR 0008 | Temporary bring-up exception: post-handoff firmware report (trigger 11) | Accepted (temporary) | 2026-09-24 | ADR 0003; MILESTONES.md section 0; NATIVE_BOOT_ONE_TIME.md |
| ADR 0009 | Two-Stage Exception Level Architecture (EL2 Bootstrap to EL1h Kernel) | Accepted | 2026-09-24 | ARCHITECTURE.md §3, §6; BLUEPRINT.md §8, §15; MILESTONES.md Phase 2, 3 |
| ADR 0010 | Fabric Machine Identity and Capability Advertisement | Proposed (post-M6) | 2026-09-24 | ARCHITECTURE.md §2; BLUEPRINT.md §21, §25, §26; MILESTONES.md Phase 8; ADR 0004; ADR 0007; issue #37 |
| ADR 0011 | Machine 1 Hardware Test Rig (Power, Capture, Input) | Proposed | 2026-09-24 | MILESTONES.md section 0, gate M2C; HARDWARE_TEST_RIG.md; NATIVE_BOOT_ONE_TIME.md |
| ADR 0012 | Self-Construction, Capability Growth, and Reversible System Generations | Accepted | 2026-09-24 | ADR 0002; ADR 0006; ADR 0007; ROADMAP.md (SEED-0A, SEED-0B) |
| ADR 0013 | AIENOS ABI v1 | Proposed | 2026-09-24 | ADR 0012; ADR 0004; issue #30; PR #106; abi.rs |
| ADR 0014 | Binary Artifact v0 and Native Admission | Proposed | 2026-09-25 | ADR 0012; ADR 0013; SEED-0B qualification |
| ADR 0015 | AIENOS System Store v1 Format | Accepted for P3-1 format freeze | 2026-09-25 | ADR 0003; P3 Native Persistence & Continuity |
| ADR 0016 | Continuity objects over System Store v1 | Proposed (format freeze needs operator approval) | 2026-09-25 | ADR 0007, ADR 0015; M4 continuity |
| ADR 0017 | M5 Key Hierarchy, Encrypted Envelopes, and Storage Security Roots | Proposed | 2026-09-25 | ADR 0006; ADR 0015; ADR 0016; Milestone M5 (Encryption and Identity) |
| ADR 0018 | ALLEN Subject State Object (continuity kind 24) | Proposed (companion to ARCH-0035; format freeze needs operator approval) | 2026-10-04 | ADR 0016; omega ARCH-0022 Cortex; R16 |
| ADR 0019 | Per-resource capability generation (OSC unit required_generation, domain 1) | Accepted (Option 3; counter tracked in aienos#285) | 2026-10-08 | ADR 0013; ADR 0014 amendment point 5; aien-protocols specs/osc-unit-artifact section 15.3 C1 |
| ADR 0020 | Pi 5 software-only DMA confinement (Pi-only exception to ADR 0012 rule 5) | Accepted (operator D3, 2026-10-13) | 2026-10-13 | ADR 0012 rule 5; native/kernel/core/smmu.c (Spark) |
2. Architectural Specifications & Integration Frameworks
In addition to discrete decision records, AIENOS maintains formal technical specifications and execution sequences that govern phased implementation:
| Document | Scope | Status | Authority | Target Phases |
|---|---|---|---|---|
| AIENOS Technical Specification & Contracts (Phases 3 to 5) | Agent State ABI, Model ABI, Cortex Epistemic Store, AEGIS Effect Intent Pipeline, J-Space Worlds, and C1 CoW Prefix Tree | Confirmed Specification | Blueprint §§ 9 to 14, 17 to 19, 28 | Phases 3, 4, 5 |
| AIENOS Systems Integration Sequence & Epistemic Calibration | 10-step empirical hardware integration sequence, epistemic claim precision, and host-tested vs. native-qualified gates | Governing Framework | Operator Directive (2026-09-23) | Phases 1 to 8 |
| AIENOS Continuous-Existence Amendment | Provisioning-once lifecycle, power states, state classes A/B/C, continuous-existence acceptance criteria for Gates 1 to 10 | Operator-Approved Governing Amendment | Operator Directive (2026-09-23); ADR 0007 | All Phases |
| AIENOS Final Architectural Blueprint | Complete 37-section architectural foundation, core principles, and final success definitions | Immutable Foundation | Operator Directive | All Phases |
| AIENOS Architectural Milestones Matrix | 8-phase execution roadmap, deliverables, invariant contracts, and escalation triggers | Confirmed Specification | Blueprint §36 | Phases 1 to 8 |
| AIENOS Governing Architecture | High-level system overview, stack, trusted base, agent authority, security, and roadmap | Confirmed Architecture | Operator Directive | All Phases |
3. Operator Invariant Freeze Summary (2026-09-23)
The operator confirmed immutable architectural invariants in ADRs 0003 to 0007:
- ADR 0003 (Firmware Handoff & AIEN System Store): Firmware loads the immutable boot bundle only. Firmware services are bootstrap machinery, never a runtime dependency. Phase 3 introduces a minimal native AIEN System Store (immutable content-addressed extents
model/<hash>, Cortex WAL + checkpoints, agent branches) rather than a general-purpose POSIX filesystem. - ADR 0004 (Reversibility & AEGIS Egress Boundary): Reversibility requires that all observable state changes remain under AIENOS transactional control. Outbound network packets, telemetry, and external device state are external effects (
EffectIntent) crossing into AEGIS even when read-only. Reversibility and authorization are decoupled via Standing Capabilities; network access never bypasses AEGIS under the guise of "reversible research." - ADR 0005 (Unified Memory & C1 Block Accounting): Unified memory (NVLink-C2C) requires explicit block ownership across System, Model, KV Pool, Agent State, and Cortex budgets. C1 CoW prefix tree uses shared immutable blocks (
refcount > 1) and private blocks (refcount == 1). Multi-branch divergence mandates transactional KV reservations prior to step admission to prevent mid-step OOM corruption. Logical identity survives; physical state is expendable. - ADR 0006 (Recovery Core & Offline Authority): Recovery Core is an autonomous, deterministic subsystem operating completely outside the model, neural runtime, and network stack. Root authority and authentication are strictly local (offline physical credentials/passphrase). System updates use transactional A/B slot switching with deterministic kernel health milestone verification. Kernel panics write deterministic crash records to raw storage, and Cortex corruption is resolved via WAL truncation without semantic AI dependencies.
- ADR 0007 (Continuous Existence & Provisioning-Once): AIEN is provisioned once. Boot, reboot, sleep, model reload, kernel restart, hardware failure, and migration are execution-state transitions, not agent creation events. Cold boot initializes hardware and never silently mints a replacement
LogicalAgentId. Uncertain identity fails toward Recovery Core and operator decision, never toward false continuity. Gate order (1 to 10) is unchanged; continuous-existence acceptance criteria bind every gate.
4. Governance
ADRs reflect decisions confirmed by the operator. Changes to the core decisions, invariants, or specifications documented here require operator escalation and approval per docs/ARCHITECTURE.md §9.