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-architecture-mv
# aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
Unfinished: not checked yet
There is no published receipt of a rebuild from its source yet. What a receipt is
Get this repository
Git over HTTPS
`git clone --no-checkout https://interplane.io/projects/aien-architecture-mv/repo.git aien-architecture-mv && git -C aien-architecture-mv checkout --detach a692b38a28d45dea15edd4efe5d8121a01b8206d`
Source archive of `a692b38a28d45dea15edd4efe5d8121a01b8206d`
Download ZIP · tar.gz
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
README.md
# AIEN Architecture
The authority for how the AIEN project fits together: whole-system architecture, milestone status and what to do next. It holds documents and a few small checking tools, not product code.
AIEN is a sovereign computing stack (one its owner builds, runs and controls end to end) being built in the open on an NVIDIA DGX Spark (Grace Blackwell GB10): its own operating system kernel (Aienux), its own reaction runtime and compiler (Omega), and its own machine realization layer (FORGE). Founding principle: closest to the metal, fastest wins. Build what is missing.
The whole system is Sovereign Intelligence (SI). AienOS is only the operating-system layer; Aienux is its kernel. aien-dev/aienix is retired. sovereign-intelligence is the integration, release and install center, and the place where the signed Spark test runs (ADR 0045 ). This repository is where the design decisions and the status of record are kept.
Status 2026-10-26: AienOS is in alpha testing; the rest of the stack is research-grade and pre-alpha. Alpha testers install one bundle: the Core engine built from aien-sovereign-core-mv `main`, the Omega install wizard and compiler (omc), and the CUDApp user-space replacement. Its GPU path runs only on the DGX Spark (GB10), and the three-run physical qualification has not been run. Everything outside that bundle, including the Aienux kernel, is pre-alpha. Nothing in AIEN is described as qualified unless a receipt says so. Details follow.
Note 2026-10-30: ADR 0045 names the whole system Sovereign Intelligence (SI); AienOS is now only the operating-system layer. In the 2026-10-26 status above, 'AienOS' meant the whole system.
## Human-Directed Agentic Engineering
Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria and stopping points; agents implement, execute checks, diagnose failures and revise within those boundaries. Human review retains responsibility for claims, acceptance and release decisions. The existing plan authority, milestone registry and qualification requirements remain unchanged.
For the documented method and systems-software case study, see Gregory M. Kurtzer, Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering (2026), doi:10.5281/zenodo.`23682548` . This is a description of the current development method, not a retrospective change to historical experiments or receipts.
## Current state
Alpha testing for the bundle above; research-grade and pre-alpha for everything else. The live numbers are not repeated in this file because they change daily; read CURRENT_EXECUTION_PLAN.md and doctrine/ROADMAP.md . What follows is a summary, with the source for each point.
- Aienux kernel. The C kernel passes its emulator (QEMU) gates but is not physically qualified, and it has not been booted on the DGX Spark. Only an earlier first-boot test of the previous Rust kernel ran there, on 2026-09-24 (see the Aienux README ). Its first runs on real hardware were on a Raspberry Pi 5 on 2026-10-13 (same README). An x86_64 build of it starts on a 2017 Intel iMac used as a test computer (aienux#405 , merged 2026-10-17, and the follow-up pull requests #406 to #408). The Aienux README does not yet describe the iMac runs.
- Omega runtime, R1 to R16 ladder. The ladder was first qualified on builds that predate the composition modules now in the living build. Requalification at omega `3108fc2` recorded R15 FAIL (14 of 16 gates) and R16 FAIL (omega `evidence/REQUAL-3108fc2/` ). The ladder was rerun on candidate CAND-3 (omega `f816473`): R16 gates G1 to G8 PASS, and R15 passed 16 of 16 gates as a conditional pass, because Secure Boot was off for that run (CAND-3 results , exception 0002 ). CAND-3 as a whole is not claimed qualified, and CAND-4 has no R15 or R16 rerun (CAND-4 results ). The R15 and R16 rows in doctrine/ROADMAP.md still carry the earlier wording (they stop at CAND-0 and CAND-1).
- ARGUS (the defensive plane, which watches for attacks and proposes responses but never authorizes them). ARGUS-0, its event substrate, is complete under documented limits and ARGUS-1 containment is in progress (ADR 0017 ).
- Specifications only. Physics Zero, DIRAC-0, the Evolution Arena and the necessary-work programme are documents or plans with no qualified code (see Specifications and plans below).
## Start here
Read in this order:
- Plan authority : which document wins
- Current execution plan : the one active cross-project plan, with receipts
- Canonical architecture : what the system is and who owns what
- Canonical milestone registry : milestone IDs and status
- Architecture decision records
- Implementation status snapshot and repository map
- Golden path
- Seed lineage : every running artifact, what builds it today, and which rung of the seed chain could birth it
Superseded plans are kept only under docs/archive/plans . If two documents disagree, do not write another master plan: record the discrepancy and fix the authority. Code and reproducible evidence beat any plan.
## What is in this repository
Path What it holds
`PLAN_AUTHORITY.md`, `CURRENT_EXECUTION_PLAN.md` Which plan wins, and the one active plan
`doctrine/` The canonical architecture and the milestone registry
`docs/adr/` Architecture decision records (45 on `main`, listed in the index )
`docs/plans/` Finite workstream plans (not master plans)
`docs/research/` Research notes, for example the repository layout note and the Hermes Agent note
Aienet collaborator directory Prospective academic and community contacts, sources, collaboration questions, and SI-agent outreach rules; not an affiliation or enrollment list
`docs/archive/` Superseded plans, kept for history only
`qualification/` Release candidates (`candidates/CAND-*.toml` and their gate results) and recorded exceptions
`formal/invariants/` Invariants written down for formal checking (ADR 0027 )
`docs/capability-register/` The org-wide CUDA capability register: register.tsv (source of truth; owner, commit, arch, level and evidence file for each of the 47 rows of the CUDA replacement map) and its generated view REGISTER.md
`tools/capreg/` The register checker and renderer in seeded `.om`, and its gate (step `capreg`)
`tools/crumb/` The crumb tool (C11), which compiles and checks the `.crumb` files
`tools/ops/` The Spark's shared measurement base: build once, one measurement window at a time, per-window calibration and 27B baseline (how to use it )
`scripts/` Small shell tools (doctrine check, candidate and pin checks, R16 status wording, the pull request gate, crumb rebase helper) and their `test_*.sh` tests
`tests/gates/` The gate manifests the Spark runs on every pull request
`AIEN_COMPLETE_SYSTEM_ARCHITECTURE.md` and `AIEN_MASTER_ARCHITECTURAL_PLAN.md` at the root are superseded pointers; the old versions are in `docs/archive/plans/`. The second one is stored in Git as a symbolic link whose target is the pointer text, so it does not open as a normal file; read docs/archive/plans instead.
## How the repositories fit together
```
ATLAS AWAKENS. ALLEN INTENDS. AIEN PROPOSES. OMEGA DEFINES. FORGE REALIZES.
AEGIS VERIFIES. HARDWARE ACTS. EVIDENCE TEACHES.
```
Repository Role
aienux Aienux, the kernel of AienOS, intended to replace the Linux kernel on the DGX Spark
omega-mv The C reaction runtime and compiler that defines computation, and the native GB10 GPU engine
physics-mv FORGE machine realization, plus historical Atlas/PHYSICS boot evidence
aien-protocols-mv Versioned wire and state specifications
aien-sovereign-core-mv The Rust host runtime on Linux (the `aien` command line, inference ABI, KV cache, scheduler) and the verification pipeline that judges every repository; Rust here is scaffolding that Omega replaces piece by piece (ADR 0024)
aien-architecture-mv (this repository) Architecture, decision records, milestone status and the execution plan
These six keep their own parts and still live in separate repositories. sovereign-intelligence is the integration, release and install center, and the place where the signed Spark test runs; aien-dev/aienix is retired (ADR 0045 ). The research note on the layout is in docs/research . Signed test results for all of them are published to aien-receipts . Historical `PHYSICS_*` milestone names stay unchanged in old milestones and evidence. Older documents link to `aien-spark/` or `aien-dev/`; those addresses are the same repositories under earlier names.
## Standing rules
- Language rule: Rust is scaffolding, Omega is the destination, C only where hardware-justified (ADR 0024 , which supersedes the old Rust-to-C plan ).
- No Python, no CUDA toolkit, no systemd, no outside dependencies in the trusted base, offline builds.
- Verdict words: PASS, FAIL, NOT_RUN, BLOCKED_HARDWARE, BLOCKED_OPERATOR, MISSING_IMPLEMENTATION. Emulator, host simulation and documents never count as hardware qualification.
## Specifications and plans (not qualified code)
The Physics Zero Atlas , DIRAC-0 and the Evolution Arena spec V1 are documents. Finite workstream plans under `docs/plans/` must be marked NOT A MASTER PLAN (PLAN_AUTHORITY.md ); most are, but the `physics-zero` and `adaptive-intelligence` folders do not carry the marker yet.
The necessary-work programme (2026-10-18, PROPOSED) asks which work is unnecessary before making the chip faster; its feasibility research is docs/research/necessary-work-program-feasibility.md . None of its experiments has run.
## Building and testing
There is no product to build here. The one program is the crumb tool in `tools/crumb`. It needs only a C11 compiler and `make`. Build it and run its tests:
```
make -C tools/crumb test
```
Crumbs are retired from the active workflow (DRA-97, 2026-11-07): no gate checks that the `.crumb` files are current, and they stay as history. `./tools/crumb/crumb verify .` still works if you want to look.
The Spark runs these gates on every pull request. Each manifest in `tests/gates/` calls `tests/gates/run.sh` with one step word, so you can run the same steps yourself (the script needs `bash`; plain `sh` stops at `set -o pipefail`):
```
bash tests/gates/run.sh crumb-tool-test # gate ARCH-CRUMB-TOOL-TEST: the crumb tool tests
bash tests/gates/run.sh script-tests # gate ARCH-SCRIPT-TESTS: tests of the four checked scripts
AIEN_OMC= bash tests/gates/run.sh doctrine # gate ARCH-DOCTRINE: doctrine consistency (tools/doctrine, seeded .om; NOT_RUN without the pinned compiler)
bash tests/gates/run.sh qualification-status # gate ARCH-QUALIFICATION-STATUS: R16 status wording
```
`qualification-status` reads omega evidence, so it needs an omega checkout beside this one at `../omega`.
For a Cargo repository, `CRUMB="$PWD/tools/crumb/crumb" bash scripts/pipeline-proofs/18-crumb-only-no-rebuild.sh ` checks that a `.crumb`-only commit does not rebuild crates. It uses a persistent target cache at `${XDG_CACHE_HOME:-$HOME/.cache}/aien/pipeline/target-cold`, outside the temporary clone; set `TARGET_DIR` to reuse a different cache. The proof never deletes that cache. `CARGO_ARGS` defaults to `--locked --offline`.
## How a pull request is judged
Since the 2026-10-24 merge-policy change, GitHub-hosted AIEN Checks on pull requests and `main` are advisory: for enrolled repositories they run portable smoke gates (their crumb verify step is retired, DRA-97). They do not download a signed Spark bundle or gate a merge. The AIEN Alpha job runs only on `alpha/*` tags, requiring a signed full Spark bundle for a tagged commit on `main`. See docs/PIPELINE.md for the current flow and the older process.
The crumb tool on `main` can now compute the generated part of each `.crumb` file on demand instead of storing it (RFC-0003 amendment 1, pull request #271, merged 2026-10-18; docs/CRUMB_PROTOCOL_RFC_0003.md ). This repository switched on 2026-10-19 (pull request #272): its `.crumb` files no longer store that data, and `crumb verify .` computes it when it checks.
## Where the evidence lives
- Release candidates and their gate results: qualification/candidates and qualification/exceptions .
- Receipts for runs: in the repository that ran them, mostly omega `evidence/` , cited from CURRENT_EXECUTION_PLAN.md and doctrine/ROADMAP.md .
- Signed Spark bundles, when produced: aien-receipts . Their absence on an ordinary PR is not a hosted-check failure.
## Contributing
Open a pull request against `main` with docs-only or doctrine changes, cite the receipt or code you are relying on, and state any outside review you obtained. Hosted PR checks are advisory, not a signed Spark qualification or permission to merge; do not add the `ready-to-merge` label without the maintainer's approval. Questions and design ideas are welcome as issues. See CONTRIBUTING.md .
## License
Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). See LICENSE and LICENSE-NOTICE.md . Contact: aien@aienos.com.
## For developers: proof and records
The full record of this project. Words that are used only here are explained once:
ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is `git:299fb38bf8c15fe5b0ebb4af16eb886353e862c300360fb928ba41c5db36e42e`. Its old id, kept only so that old links still work: `z37zcFYooiuCCZsf5L74eeFJYiwWM`.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is `SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs`.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes .
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts . This project has no receipt in that list yet.
Clones and fetches over HTTPS: 6 by visitors (git smart-HTTP `info/refs` requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured `git-upload-pack` requests from all clients (the source of this count is retired)
Downloads: 0 by visitors (0 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)
commit `a692b38a28d45dea15edd4efe5d8121a01b8206d` Branches Tags History
`a692b38` spark-cleanup: class 5 keeps a locked linked worktree in /tmp (class5 SKIP locked) Drake Stapleton committed 2026-11-17
```
.aien/
.github/
bootstrap/
docs/
doctrine/
evidence/
formal/
funding/
qualification/
scripts/
tests/
tools/
.crumb 22984
.gitignore 23
AGENTS.md 1438
AIEN_COMPLETE_SYSTEM_ARCHITECTURE.md 434
AIEN_MASTER_ARCHITECTURAL_PLAN.md 431
AUDIT_SCOPE.md 5950
CONTEXT.md 6336
CONTRIBUTING.md 2442
CONTRIBUTORS.md 1175
CURRENT_EXECUTION_PLAN.md 139630
LICENSE 34523
LICENSE-NOTICE.md 279
PLAN_AUTHORITY.md 3785
README.md 15701
REPOSITORY_TREE.txt 1298
SECURITY.md 2638
```
Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON