diff --git a/.crumb b/.crumb index a3d38d9..d4f7b74 100644 --- a/.crumb +++ b/.crumb @@ -21,7 +21,7 @@ "generated": { "children": [ { - "digest": "071993a5efc66bc8d5f02f09bf820ad0930c609a896364645e6d04ca326d4fbd", + "digest": "2de808c11e5bd34a05621f76d29fdf43c8b237ccd53e50918e28c6ae613eb758", "last_commit": "4284e85", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." @@ -45,15 +45,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:00338bbcee73da197f956fde5d3b3ca998f876b5a6718447cbb9cfe384bbc70a", - "compiled_at": "2026-10-16T15:28:03Z", + "children_root": "sha256:4d3788a99576814e112dee6342cd302110aee6be6816f96612c325b437f9f258", + "compiled_at": "2026-10-18T04:46:05Z", "compiler": "crumb-compile/1", - "digest": "sha256:fac7a054bbf20b046d39569b25b3f8b7a62d510ba9e5a8ecd94f44c5b2f96241", + "digest": "sha256:b23989e5a4550e1a44182d00d5d2f7f11574069d67339898fa628a7c252d4e28", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 314, - "generated_at_commit": "4284e850fa160e1f37763c7cbf759c9f1b6051ad", - "source_tree": "sha256:ed98ac64dfb102f3ed9d382f1090344d4f9cb9e9c4fa77046cb14f22a7ba2842" + "generated_at_commit": "6142a352d3e6fe324ed757a44519e9b0142aa48d", + "source_tree": "sha256:6ec746ba6beab5bf4352d813eb6b6bca1bbdb637b68e6c4adbd2c53594e657ba" }, "owner_lane": "", "provenance": { diff --git a/README.md b/README.md index be2fe12..8eaf48e 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,13 @@ The authority for how the AIEN project fits together: whole-system architecture, AIEN is a sovereign computing stack being built in the open on an NVIDIA DGX Spark (Grace Blackwell GB10): its own operating system (AIENOS), 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. +Part of [Aienix](https://github.com/aien-dev/aienix), the core tree of AIEN. Aienix is the front door for newcomers; this repository is where the design decisions and the status of record are kept. + +**Status 2026-10-18: research-grade, pre-alpha.** Nothing in AIEN is described as qualified unless a receipt says so. Details follow. + ## Current state -Research-grade and pre-alpha. The AIENOS C kernel passes its emulator (QEMU) gates but is not physically qualified; it has never been booted on the real machine (only an earlier first-boot test of the previous Rust kernel has run natively). The Omega runtime's R1 to R16 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](qualification/candidates/CAND-3.gates.md), [exception 0002](qualification/exceptions/0002-r15-secure-boot-off.md)). CAND-3 as a whole is not claimed qualified, and CAND-4 and later candidates have no R15 or R16 rerun. The R15 and R16 rows in [doctrine/ROADMAP.md](doctrine/ROADMAP.md) still carry the earlier wording. ARGUS-0 (the defensive plane's event substrate) is complete under documented limits and ARGUS-1 containment is in progress ([ADR 0017](docs/adr/0017-argus-defensive-plane.md)). Several other programs (Physics Zero, DIRAC-0, the Evolution Arena) are specifications or plans with no qualified code. Nothing is described here as qualified unless a receipt says so. The live numbers are not repeated in this file because they change daily; read [CURRENT_EXECUTION_PLAN.md](CURRENT_EXECUTION_PLAN.md) and [doctrine/ROADMAP.md](doctrine/ROADMAP.md). +Research-grade and pre-alpha. The AIENOS 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). Its first runs on real hardware were on a Raspberry Pi 5 (2026-10-13), and an x86_64 build of it starts on a desktop test computer (2026-10-17); see the [aienos](https://github.com/aien-dev/aienos) README for what those runs did and did not show. The Omega runtime's R1 to R16 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](qualification/candidates/CAND-3.gates.md), [exception 0002](qualification/exceptions/0002-r15-secure-boot-off.md)). CAND-3 as a whole is not claimed qualified, and CAND-4 and later candidates have no R15 or R16 rerun. The R15 and R16 rows in [doctrine/ROADMAP.md](doctrine/ROADMAP.md) still carry the earlier wording. ARGUS-0 (the defensive plane's event substrate) is complete under documented limits and ARGUS-1 containment is in progress ([ADR 0017](docs/adr/0017-argus-defensive-plane.md)). Several other programs (Physics Zero, DIRAC-0, the Evolution Arena) are specifications or plans with no qualified code. Nothing is described here as qualified unless a receipt says so. The live numbers are not repeated in this file because they change daily; read [CURRENT_EXECUTION_PLAN.md](CURRENT_EXECUTION_PLAN.md) and [doctrine/ROADMAP.md](doctrine/ROADMAP.md). ## Start here @@ -31,13 +35,14 @@ AEGIS VERIFIES. HARDWARE ACTS. EVIDENCE TEACHES. | Repository | Role | | :--- | :--- | -| [aienos](https://github.com/aien-spark/aienos) | The trusted operating system: its own kernel replacing Linux on the DGX Spark | -| [omega](https://github.com/aien-spark/omega) | The C reaction runtime and compiler that defines computation | -| [physics](https://github.com/aien-spark/physics) | FORGE machine realization, plus historical Atlas/PHYSICS boot evidence | -| [aien-protocols](https://github.com/aien-spark/aien-protocols) | Versioned wire and state specifications | -| [aien-sovereign-core](https://github.com/aien-spark/aien-sovereign-core) | Earlier Linux-hosted Rust runtime, legacy and being migrated | +| [aienos](https://github.com/aien-dev/aienos) | The trusted operating system: its own kernel replacing Linux on the DGX Spark | +| [omega](https://github.com/aien-dev/omega) | The C reaction runtime and compiler that defines computation, and the native GB10 GPU engine | +| [physics](https://github.com/aien-dev/physics) | FORGE machine realization, plus historical Atlas/PHYSICS boot evidence | +| [aien-protocols](https://github.com/aien-dev/aien-protocols) | Versioned wire and state specifications | +| [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) | 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 (this repository) | Architecture, decision records, milestone status and the execution plan | -Historical `PHYSICS_*` milestone names stay unchanged in old milestones and evidence. +These six are the core of [Aienix](https://github.com/aien-dev/aienix). They still live in separate repositories and will move into the one Aienix tree one at a time; the research note on the layout is in [docs/research](docs/research/repo-topology-unix-vs-monorepo-vs-hybrid.md). Historical `PHYSICS_*` milestone names stay unchanged in old milestones and evidence. ## Standing rules @@ -51,11 +56,11 @@ The [Physics Zero Atlas](docs/plans/physics-zero/PHYSICS_ZERO_LAW_ATLAS_V1.md), ## Building -There is no product to build here. The one program is the crumb tool in `tools/crumb` (a C11 program that compiles and verifies the `.crumb` files); `make -C tools/crumb test` builds and tests it, and the shell scripts in `scripts/` have `test_*.sh` companions. On `main` (protected as of 2026-10-01) a CI check named `r16` verifies the R16 status wording against omega evidence and is the only check required on `main`; the `Crumb compiler` and `AIEN Verification` checks also run on pull requests. +There is no product to build here. The one program is the crumb tool in `tools/crumb` (a C11 program that compiles and verifies the `.crumb` files); `make -C tools/crumb test` builds and tests it, and the shell scripts in `scripts/` have `test_*.sh` companions. Since 2026-10-16 the DGX Spark is the only test judge for pull requests ([ADR 0033](docs/adr/0033-aien-verification-pipeline.md)). It runs the gate manifests in `tests/gates/` (the crumb check, the crumb tool tests, the script tests, the doctrine check and the R16 status-wording check) and signs the result. `main` is protected and requires only the `AIEN Verification` check, which confirms the signed bundle on GitHub. The verdict of record is the commit status "AIEN Verification (Spark)". [docs/PIPELINE.md](docs/PIPELINE.md) explains the flow. ## Contributing -Open a pull request against `main` with docs-only or doctrine changes, cite the receipt or code you are relying on, and state the external review you obtained. `main` is protected: no direct pushes. Questions and design ideas are welcome as issues. +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. `main` is protected: no direct pushes. A pull request merges only after the Spark judge passes it and a maintainer adds the `ready-to-merge` label. Questions and design ideas are welcome as issues. ## License diff --git a/docs/.crumb b/docs/.crumb index 14f8917..f15cf3a 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -37,7 +37,7 @@ "generated": { "children": [ { - "digest": "5aca52cd8998af58a4357fc4c9d2983a206be71f403dee735724d9077ff62da7", + "digest": "d0f8d946cb5bd875e5c60a9194c82e44cc1fdf8c60e6dec8368ca04ad35b6706", "last_commit": "29780e5", "name": "adr", "purpose": "Directory docs/adr. Purpose not yet described by a human." @@ -79,15 +79,15 @@ "purpose": "Directory docs/specs. Purpose not yet described by a human." } ], - "children_root": "sha256:ed55acf711a57373043684b19db8ebf22b54aefb7e4d7449034a891ff4da9aeb", - "compiled_at": "2026-10-16T15:28:03Z", + "children_root": "sha256:23bd88530011ce6f5fedaba7815175c62262582818040d77696fd36c9edc22f3", + "compiled_at": "2026-10-18T04:46:05Z", "compiler": "crumb-compile/1", - "digest": "sha256:071993a5efc66bc8d5f02f09bf820ad0930c609a896364645e6d04ca326d4fbd", + "digest": "sha256:2de808c11e5bd34a05621f76d29fdf43c8b237ccd53e50918e28c6ae613eb758", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 175, - "generated_at_commit": "4284e850fa160e1f37763c7cbf759c9f1b6051ad", - "source_tree": "sha256:561dad4e22d749c91ef214f4c2d25bb7b683a46d9ad5605c94ce234f2024de41" + "generated_at_commit": "6142a352d3e6fe324ed757a44519e9b0142aa48d", + "source_tree": "sha256:ba9fc51ceeb14f53ca4c3dd268fc1b794cb46da0fd8dcbc47c20810d58577d43" }, "owner_lane": "", "provenance": { diff --git a/docs/adr/.crumb b/docs/adr/.crumb index 2f9b395..22e645c 100644 --- a/docs/adr/.crumb +++ b/docs/adr/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-14T13:04:17Z", + "compiled_at": "2026-10-18T04:46:05Z", "compiler": "crumb-compile/1", - "digest": "sha256:5aca52cd8998af58a4357fc4c9d2983a206be71f403dee735724d9077ff62da7", + "digest": "sha256:d0f8d946cb5bd875e5c60a9194c82e44cc1fdf8c60e6dec8368ca04ad35b6706", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 38, - "generated_at_commit": "1d945b55f53ed4c8eb73b7a7555ea54a78bf518a", - "source_tree": "sha256:481f02760bf7ceaa588a692599f2cc168d3b14d4a317050978322674aad29b8f" + "generated_at_commit": "6142a352d3e6fe324ed757a44519e9b0142aa48d", + "source_tree": "sha256:7917ed2a5d5ecb44351809220dad2881fea0cae2636dcbfa098d1336b80111b2" }, "owner_lane": "", "provenance": { diff --git a/docs/adr/README.md b/docs/adr/README.md index aac412c..fcbe8b5 100644 --- a/docs/adr/README.md +++ b/docs/adr/README.md @@ -4,10 +4,10 @@ Resolved architectural decisions are recorded here so implementation agents do n ## Naming ADRs across repositories -`aien-architecture` and `aien-spark/aienos` number their ADRs independently, so the same number (for example 0012 or 0016) names two different decisions. In prose — docs, plans, issues, PRs, commit messages — cite an ADR with its repository prefix: +`aien-architecture` and `aien-dev/aienos` number their ADRs independently, so the same number (for example 0012 or 0016) names two different decisions. In prose (docs, plans, issues, PRs, commit messages), cite an ADR with its repository prefix: -- `ARCH-00nn` — an ADR in this repository (`aien-architecture/docs/adr/`), e.g. ARCH-0016 is the resident reaction architecture. -- `OS-00nn` — an ADR in `aien-spark/aienos` (`docs/adr/`), e.g. OS-0012 is self-construction, capability growth and generations. +- `ARCH-00nn`: an ADR in this repository (`aien-architecture/docs/adr/`), e.g. ARCH-0016 is the resident reaction architecture. +- `OS-00nn`: an ADR in `aien-dev/aienos` (`docs/adr/`), e.g. OS-0012 is self-construction, capability growth and generations. A bare "ADR 00nn" is acceptable only inside the repository that owns it. Files are not renamed: the prefix is a citation convention, and existing file names and historical references stay as they are. @@ -25,7 +25,7 @@ Current ADRs: - [0010 - Canary observations are measurements](0010-canary-observations-are-measurements.md) - [0011 - An inference context is model state](0011-inference-context-is-model-state.md) - [0012 - One shell dispatch, then a landing split](0012-shell-dispatch-then-landing.md) -- [0013 - Machine Physics Lowering and AEGIS Invariant Verification Chain](0013-machine-physics-lowering-and-aegis-invariant-checker.md) — naming superseded by ADR 0014 +- [0013 - Machine Physics Lowering and AEGIS Invariant Verification Chain](0013-machine-physics-lowering-and-aegis-invariant-checker.md) - naming superseded by ADR 0014 - [0014 - Rename Machine Physics to FORGE](0014-rename-machine-physics-to-forge.md) - [0015 - Resident Semantic Store Boundary, Object Identity, and Reconstruction Contract](0015-resident-semantic-store.md) - [0016 - AIEN, Omega, and AEGIS are faculties of one resident reaction system](0016-resident-reaction-architecture.md) - Amendment 1, 2026-10-02: FORGE is a realization policy, not a commit step @@ -35,7 +35,9 @@ Current ADRs: - [0020 - Belief / estimation layer](0020-belief-estimation-layer.md) - Accepted by operator Drake Stapleton, 2026-09-30 - [0021 - Four operating decisions of 2026-09-30: Physics pin, SSD block layout, admission receipts, R16 status](0021-four-operating-decisions-2026-09-30.md) - Recorded 2026-09-30 from the orchestrator brief - [0022 - The canonical Cortex owner is omega `rx_cortex`](0022-canonical-cortex-owner.md) - Accepted 2026-09-30 (orchestrator engineering call under the operator's standing rule) +- [0023 - DIRAC-0 Program (Integration Workstream)](0023-dirac-0-program.md) - PROPOSED 2026-10-01 - [0024 - Rust is scaffolding, Omega is destination, C where hardware-justified](0024-rust-scaffolding-omega-destination.md) - Accepted by operator Drake Stapleton, 2026-10-01 (supersedes the Rust-to-C migration plan) +- [0025 - One execution transcript, one causal id chain, one resource-contract vocabulary](0025-execution-transcript-causal-id-resource-contract.md) - PROPOSED 2026-10-01 - [0026 - Sealed Discovery Examinations](0026-sealed-discovery-examinations.md) - PROPOSED 2026-10-01 - [0027 - Formal verification uses Lean as a temporary oracle; Omega owns the invariants](0027-formal-oracle-lean-bootstrap.md) - Accepted by operator Drake Stapleton, 2026-10-01 (via his Formal Verification Bootstrap Plan) - [0028 - AIEN-TEST: manifest v1, EvidenceReceiptV1, verdict set, resource pools, incremental digests, Omega-native successor](0028-aien-test-runner-and-evidence-contract.md) - Accepted by operator Drake Stapleton, 2026-10-02 (via his approved `aien-test` spec) @@ -43,6 +45,7 @@ Current ADRs: - [0030 - Switchboard: one typed router over our own AI accounts](0030-switchboard-ai-account-router.md) - PROPOSED 2026-10-03 - [0031 - DUAL: constraint pricing for soft resource budgets; hard gates are never priced](0031-dual-constraint-pricing.md) - Accepted by operator Drake Stapleton, 2026-10-03 (via his "DUAL / Constraint Pricing" brief) - [0032 - Inertial Alignment (ANS): frozen reference, drift filter, three sensor classes, autonomy tiers, promotion gate; advisory only](0032-inertial-alignment.md) - Accepted by operator Drake Stapleton, 2026-10-03 (via his "fully implement this feature /goal Inertial Alignment" instruction on the pasted brief) +- [0033 - AIEN Verification: gate manifests, exactness classes, Spark verifier, signed verification bundles, GitHub thin gate](0033-aien-verification-pipeline.md) - Written 2026-10-04, amended 2026-10-11; by its own rule it became ACCEPTED when its PR (#126) merged. Phase 3 (the Spark is the only test judge) in effect since 2026-10-16 - [0034 - Physical-Form Realization IR: substrate-neutral realization form below Omega meaning and beside substrate lowering; LINEAR_OPERATOR first cut, ENERGY_FUNCTIONAL specified only](0034-physical-form-realization-ir.md) - Accepted by the orchestrator under operator delegation of 2026-10-04 (Drake: "make the calls yourself"); operator may revoke; extends ADR 0018 / 0019 - [0035 - Persistent Cognitive Entity Boundary (ALLEN): AIEN is the organism, ALLEN the durable subject it sustains; one continuity object kind (aienos ADR 0018), three bindings in omega, six host gates incl. negative control](0035-persistent-cognitive-entity-boundary-allen.md) - ACCEPTED 2026-10-06 by the operator; creed and ARCHITECTURE.md edits applied; aienos#259, omega#276; native genesis and QEMU cold restart TESTED (QEMU) in aienos#260, hardware NOT_RUN - [0036 - Release v1 memory owner (lane L3): aien-allen-memory under an engaged ALLEN identity; remember and recall refuse when not engaged; every declared E2E run engages a fixture subject](0036-release-v1-memory-owner.md) - ACCEPTED 2026-10-10 (engineering decision under Drake directive; aien-architecture#197, aien-sovereign-core#386)