diff --git a/.gitmodules b/.gitmodules index 1a2363e..9b475da 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ -[submodule "aienos"] - path = aienos - url = https://github.com/aien-dev/aienos.git +[submodule "aienux"] + path = aienux + url = https://github.com/aien-dev/aienux.git [submodule "omega"] path = omega url = https://github.com/aien-dev/omega.git diff --git a/README.md b/README.md index 8838bbf..85a4750 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@
- - Aienix: the core tree of AIEN + + AienOS: the core tree of AIEN **Persistent machine intelligence on a machine you own, built in the open.** -[What Aienix is](#what-aienix-is) · +[What AienOS is](#what-aienos-is) · [Status](#status) · [Get the whole tree](#get-the-whole-tree) · [The tree](#the-tree) · @@ -20,11 +20,11 @@ --- -## What Aienix is +## What AienOS is AIEN is a sovereign computing stack: an operating system, a language with its own GPU engine, a host runtime, and a verification pipeline, all written to run as close to the hardware as the hardware allows. The development machine is a single NVIDIA DGX Spark (Grace Blackwell GB10). Nothing in the trusted base depends on an outside service, and every claim the project makes resolves to a reproducible command and a signed evidence bundle. -**Aienix is the core tree of that stack.** It follows the Unix idea the way its authors meant it: small tools that each do one job and compose, kept together in one source tree so they move in step. Components that only consume the core (adapters, protocol bridges, experiments) are attachments. They live in their own repositories and plug in at a boundary with one recorded pin. +**AienOS is the core tree of that stack.** It follows the Unix idea the way its authors meant it: small tools that each do one job and compose, kept together in one source tree so they move in step. Components that only consume the core (adapters, protocol bridges, experiments) are attachments. They live in their own repositories and plug in at a boundary with one recorded pin. The project is led by one engineer, Drake Stapleton, working with AI agents as day-to-day collaborators. The agents write, test and review; the engineer decides. The architecture, the decision records and the execution plan are public and are the authority for what gets built. @@ -43,16 +43,16 @@ What this repository is not: a release, a finished system, or a claim of hardwar ```bash git clone --recurse-submodules --shallow-submodules https://github.com/aien-dev/aienix.git cd aienix -./aienix status # each component: the commit pinned here, and whether its main has moved on +./aienos status # each component: the commit pinned here, and whether its main has moved on ``` -Already cloned without the components? Run `./aienix get`. Each folder below is the component's own repository, checked out at the commit this tree pins; issues and pull requests belong in that repository. `./aienix bump` moves the pins forward to each component's newest main, and that change comes in through a pull request like any other, so the pins only ever point at merged, judged work. +Already cloned without the components? Run `./aienos get`. Each folder below is the component's own repository, checked out at the commit this tree pins; issues and pull requests belong in that repository. `./aienos bump` moves the pins forward to each component's newest main, and that change comes in through a pull request like any other, so the pins only ever point at merged, judged work. ## The tree ```text -aienix/ the front door: every folder is a component, pinned -├── aienos operating system +aienos/ the front door: every folder is a component, pinned +├── aienux kernel ├── omega language, semantic substrate, GPU engine ├── sovereign-core host runtime, inference ABI, the verification pipeline ├── architecture flows, boundaries, decision records, execution plan @@ -74,7 +74,7 @@ These six depend on each other in a loop and are the reason the tree exists. Eac | Component | Repository | What it is | | :-- | :-- | :-- | -| **AIENOS** | [aienos](https://github.com/aien-dev/aienos) | Agent-first sovereign operating system. The agent is the control plane; the model is never the kernel. | +| **Aienux** | [aienux](https://github.com/aien-dev/aienux) | Agent-first sovereign kernel. The agent is the control plane; the model is never the kernel. | | **Omega** | [omega](https://github.com/aien-dev/omega) | The canonical semantic substrate and the language the stack is being rewritten into, with its own GPU engine for the GB10. | | **Sovereign core** | [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) | Host runtime and verification tooling in Rust: the `aien` CLI and daemon, inference ABI, paged KV cache, scheduler, and the pipeline that judges every repository. | | **Architecture** | [aien-architecture](https://github.com/aien-dev/aien-architecture) | Canonical architecture: flows, boundaries, Architecture Decision Records, and the map from design to implementation. | @@ -134,7 +134,7 @@ The move into one tree is deliberately slow and reversible at every step. | Step | What happens | Where it is recorded | | :-- | :-- | :-- | -| 0. Front door (done 2026-10-18) | Every component linked here at a pinned commit, with `./aienix` to fetch, check and move the pins. Nothing moved out of its repository. | This repository: `.gitmodules` and the `aienix` script. | +| 0. Front door (done 2026-10-18) | Every component linked here at a pinned commit, with `./aienos` to fetch, check and move the pins. Nothing moved out of its repository. | This repository: `.gitmodules` and the `aienix` script. | | 1. Dry run | Build the combined tree from throwaway copies on the Spark, run the judge's planner against it, record what breaks. Nothing is pushed. | A research note in the architecture repository, [docs/research](https://github.com/aien-dev/aien-architecture/tree/main/docs/research). | | 2. Pin the seams | Every cross-repository link points at a fixed commit instead of a moving branch. | Each component's lock file. | | 3. Decide | A proposed Architecture Decision Record names the final layout and the import order. Accepted by the project lead. | [docs/adr](https://github.com/aien-dev/aien-architecture/tree/main/docs/adr). | @@ -151,4 +151,4 @@ The move into one tree is deliberately slow and reversible at every step. AGPL-3.0-or-later. See [LICENSE](LICENSE). -Aienix is not a UNIX and makes no such claim. UNIX is a registered trademark of The Open Group. NVIDIA, DGX and Grace Blackwell are trademarks of NVIDIA Corporation. +AienOS is not a UNIX and makes no such claim. UNIX is a registered trademark of The Open Group. NVIDIA, DGX and Grace Blackwell are trademarks of NVIDIA Corporation. diff --git a/aienix b/aienix deleted file mode 100755 index 0facd7a..0000000 --- a/aienix +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh -# aienix -- the front door to the AIEN tree. -# -# Every component is linked in as a git submodule pinned at one commit, so -# a checkout of this repository names exactly which version of each part -# belongs together. -# -# ./aienix get fetch every component at its pinned commit -# ./aienix status each component: pinned commit, its main, current or behind -# ./aienix bump [path...] move pins to each component's main (all if none named); -# stages the change for a pull request, commits nothing -# -# Needs: POSIX sh, git. Network only for get, status and bump. -set -eu -cd "$(dirname "$0")" - -paths() { git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | awk '{print $2}'; } -url_of() { git config -f .gitmodules --get "submodule.$1.url"; } -pin_of() { git ls-files -s -- "$1" | awk '{print $2}'; } -main_of() { git ls-remote "$(url_of "$1")" refs/heads/main | awk '{print $1}'; } -short() { printf '%.10s' "$1"; } - -cmd=${1:-help} -[ $# -gt 0 ] && shift -case "$cmd" in -get) - git submodule sync -q - git submodule update --init --depth 1 --recommend-shallow - echo "aienix: $(paths | wc -l | tr -d ' ') components at their pinned commits" - ;; -status) - behind=0 - for p in $(paths); do - pin=$(pin_of "$p") - main=$(main_of "$p") - if [ -z "$main" ]; then - printf '%-28s pinned %s main: unreachable\n' "$p" "$(short "$pin")" - behind=$((behind + 1)) - elif [ "$pin" = "$main" ]; then - printf '%-28s pinned %s current\n' "$p" "$(short "$pin")" - else - printf '%-28s pinned %s main %s behind\n' "$p" "$(short "$pin")" "$(short "$main")" - behind=$((behind + 1)) - fi - done - echo "aienix: $behind behind" - [ "$behind" -eq 0 ] - ;; -bump) - list=${*:-$(paths)} - moved=0 - for p in $list; do - paths | grep -qx "$p" || { echo "aienix: no component at $p" >&2; exit 2; } - main=$(main_of "$p") - [ -n "$main" ] || { echo "aienix: $p: main unreachable" >&2; exit 1; } - [ "$(pin_of "$p")" = "$main" ] && continue - git submodule update --init --depth 1 -- "$p" >/dev/null - git -C "$p" fetch -q --depth 1 origin "$main" - git -C "$p" checkout -q --detach "$main" - git add -- "$p" - echo "aienix: $p -> $(short "$main")" - moved=$((moved + 1)) - done - echo "aienix: $moved moved (staged; commit on a branch and open a pull request)" - ;; -*) - sed -n '2,15s/^# \{0,1\}//p' "$0" - ;; -esac diff --git a/aienos b/aienos deleted file mode 160000 index 17ad016..0000000 --- a/aienos +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 17ad0167eac91edc280472020679a11969a78609 diff --git a/aienos b/aienos new file mode 100755 index 0000000..215b398 --- /dev/null +++ b/aienos @@ -0,0 +1,69 @@ +#!/bin/sh +# aienos -- the front door to the AIEN tree. +# +# Every component is linked in as a git submodule pinned at one commit, so +# a checkout of this repository names exactly which version of each part +# belongs together. +# +# ./aienos get fetch every component at its pinned commit +# ./aienos status each component: pinned commit, its main, current or behind +# ./aienos bump [path...] move pins to each component's main (all if none named); +# stages the change for a pull request, commits nothing +# +# Needs: POSIX sh, git. Network only for get, status and bump. +set -eu +cd "$(dirname "$0")" + +paths() { git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | awk '{print $2}'; } +url_of() { git config -f .gitmodules --get "submodule.$1.url"; } +pin_of() { git ls-files -s -- "$1" | awk '{print $2}'; } +main_of() { git ls-remote "$(url_of "$1")" refs/heads/main | awk '{print $1}'; } +short() { printf '%.10s' "$1"; } + +cmd=${1:-help} +[ $# -gt 0 ] && shift +case "$cmd" in +get) + git submodule sync -q + git submodule update --init --depth 1 --recommend-shallow + echo "aienos: $(paths | wc -l | tr -d ' ') components at their pinned commits" + ;; +status) + behind=0 + for p in $(paths); do + pin=$(pin_of "$p") + main=$(main_of "$p") + if [ -z "$main" ]; then + printf '%-28s pinned %s main: unreachable\n' "$p" "$(short "$pin")" + behind=$((behind + 1)) + elif [ "$pin" = "$main" ]; then + printf '%-28s pinned %s current\n' "$p" "$(short "$pin")" + else + printf '%-28s pinned %s main %s behind\n' "$p" "$(short "$pin")" "$(short "$main")" + behind=$((behind + 1)) + fi + done + echo "aienos: $behind behind" + [ "$behind" -eq 0 ] + ;; +bump) + list=${*:-$(paths)} + moved=0 + for p in $list; do + paths | grep -qx "$p" || { echo "aienos: no component at $p" >&2; exit 2; } + main=$(main_of "$p") + [ -n "$main" ] || { echo "aienos: $p: main unreachable" >&2; exit 1; } + [ "$(pin_of "$p")" = "$main" ] && continue + git submodule update --init --depth 1 -- "$p" >/dev/null + git -C "$p" fetch -q --depth 1 origin "$main" + git -C "$p" checkout -q --detach "$main" + git add -- "$p" + echo "aienos: $p -> $(short "$main")" + moved=$((moved + 1)) + done + echo "aienos: $moved moved (staged; commit on a branch and open a pull request)" + ;; +*) + sed -n '2,15s/^# \{0,1\}//p' "$0" + ;; +esac diff --git a/aienux b/aienux new file mode 160000 index 0000000..17ad016 --- /dev/null +++ b/aienux @@ -0,0 +1 @@ +Subproject commit 17ad0167eac91edc280472020679a11969a78609 diff --git a/assets/aienix-wordmark-dark.svg b/assets/aienos-wordmark-dark.svg similarity index 88% rename from assets/aienix-wordmark-dark.svg rename to assets/aienos-wordmark-dark.svg index 0057698..4246dd1 100644 --- a/assets/aienix-wordmark-dark.svg +++ b/assets/aienos-wordmark-dark.svg @@ -1,5 +1,5 @@ - - Aienix + + AienOS @@ -10,6 +10,6 @@ - Aienix + AienOS THE CORE TREE OF AIEN diff --git a/assets/aienix-wordmark-light.svg b/assets/aienos-wordmark-light.svg similarity index 88% rename from assets/aienix-wordmark-light.svg rename to assets/aienos-wordmark-light.svg index 3e1bfdd..fe3e3f5 100644 --- a/assets/aienix-wordmark-light.svg +++ b/assets/aienos-wordmark-light.svg @@ -1,5 +1,5 @@ - - Aienix + + AienOS @@ -10,6 +10,6 @@ - Aienix + AienOS THE CORE TREE OF AIEN