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/patches/ea82b6007bc6f5b3 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## Names: Aienux is the kernel, AienOS is the operating system, Aienix retired (ADR 0038) merged `ea82b6007bc6f5b3` #287 · opened 2026-10-20 14:59 UTC · closed 2026-10-20 15:13 UTC · merged 2026-10-20 15:13 UTC Imported from GitHub aien-dev/aien-architecture-mv#287, by drakestapleton Base `134920d2ee7850f7a32edab142ea395769ced999` · Head `7f3f523938e826d522c0bb3c16215b08aebba5a6` Merged on GitHub as `835477b5bf7ad7e83f01597a36982eaa9dc91c47`; reachable from main `bccab5ea7a17be6c9ab30b1bd05db4898a4601be` (observed 2026-11-18T16:37:31Z) drakestapleton wrote on 2026-10-20 14:59 UTC ## What this does Records Drake's 2026-10-20 naming decision as ADR 0038: Aienux is the kernel, AienOS is the whole operating system, and Aienix is retired. It also adds a "Names" section to CONTEXT.md and updates the wording in the plan, doctrine and qualification documents to match. ## Why it matters Every other repository's naming branch follows the rule written here, so this one lands first. ## What changed - New ADR 0038 and its index line. - CONTEXT.md "Names" section. - Prose-only wording changes in 27 other Markdown files. No code, no gates, no `.crumb` files. History and evidence paths keep their old words on purpose (ADR rule 2), and lowercase code names and key-derivation labels are untouched (rule 3). ## Tests Worker report: ARCH-DOCTRINE, ARCH-QUALIFICATION-STATUS and CRUMB-VERIFY pass. The Spark judge verdict on this head is the merge gate. Not tested: nothing outside this repository (renames of the GitHub repositories are a separate request in the ADR). Refs ledger L180. 🤖 Generated with Claude Code ### Apply it ``` git checkout -b patch-ea82b6007bc6f5b3 134920d2ee7850f7a32edab142ea395769ced999 curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/ea82b6007bc6f5b3.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aien-architecture-mv 287 7f3f523938e826d522c0bb3c16215b08aebba5a6 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":287,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/287","export_sha256":"e0ab76730762f7bd707f3b0c07e133f83d4287854fada828261004f8d4bcaa1a","imported_utc":"2026-11-18T16:37:31Z"} ``` ### Changes ``` diff --git a/CONTEXT.md b/CONTEXT.md index 9638edc..1b68f95 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -1,9 +1,22 @@ -# AIENOS +# AienOS -AIENOS is becoming a native AI runtime architecture centered on managed model contexts, shared physical KV memory, an effect boundary, typed subsystem protocols, native inference execution, and persistent state. It is not yet an operating system. +AienOS is becoming a native AI runtime architecture centered on managed model contexts, shared physical KV memory, an effect boundary, typed subsystem protocols, native inference execution, and persistent state. It is not yet an operating system. ## Language +### Names (ADR 0038) + +**AienOS**: +The whole operating system: Aienux plus Omega plus the runtime (sovereign core) plus Allen. The site www.aienos.com shows this name. +_Avoid_: Aienix (retired: another company uses it), AIENOS, Aienos + +**Aienux**: +The kernel: it boots the machine and drives the hardware (today the repository aienos-mv). +_Avoid_: AIENOS, Aienos, "the OS" when only the kernel is meant + +**AIEN**: +The project and the agent. Unchanged. + ### Runtime **Inference context**: @@ -28,7 +41,7 @@ _Avoid_: cortex_recall, vector database **AEGIS**: The cross-cutting invariant and contract verifier. It checks admissibility and compliance; it does not mint capabilities or execute actions. -_Avoid_: AIENOS, OpenClaw, inference runtime, Effect Broker +_Avoid_: Aienux, OpenClaw, inference runtime, Effect Broker **Effect Broker**: The executor for an effect that leaves the machine. diff --git a/CURRENT_EXECUTION_PLAN.md b/CURRENT_EXECUTION_PLAN.md index 474414f..5f7b88d 100644 --- a/CURRENT_EXECUTION_PLAN.md +++ b/CURRENT_EXECUTION_PLAN.md @@ -25,14 +25,14 @@ HARDWARE ACTS. EVIDENCE TEACHES. ``` -AIENOS owns the trusted operating substrate beneath this loop. +Aienux owns the trusted operating substrate beneath this loop. ## 2. Current baseline As of 2026-09-27: - Atlas M1 is qualified in QEMU with historical bootstrap evidence preserved. -- AIENOS has two pieces of physical DGX Spark evidence: the M2 first native boot of 2026-09-24 (early boot code at EL2, report read back by Linux; [evidence](https://github.com/aien-spark/aienos/blob/c63d6db8/evidence/m2_first_boot_2026-09-24.md), GB10 identity merged in aienos PR #11) and the recovery USB attended boot ([evidence](https://github.com/aien-spark/aienos/blob/c63d6db8/evidence/recovery_boot_machine1.md)). Everything else is QEMU or host only: the C kernel has never booted physically, and boot rollback, storage, input, isolation and network are not physically qualified ([aienos ROADMAP status](https://github.com/aien-spark/aienos/blob/c63d6db8/ROADMAP.md): "Nothing in AIENOS is physically qualified"). Store/continuity/recovery work is QEMU-qualified, and AIENOS M5 encryption/identity implementation is active (this is AIENOS M5, not the Omega M5 in the roadmap). Correction 2026-10-08; see the addendum at the end of this file. +- Aienux has two pieces of physical DGX Spark evidence: the M2 first native boot of 2026-09-24 (early boot code at EL2, report read back by Linux; [evidence](https://github.com/aien-spark/aienos/blob/c63d6db8/evidence/m2_first_boot_2026-09-24.md), GB10 identity merged in aienos PR #11) and the recovery USB attended boot ([evidence](https://github.com/aien-spark/aienos/blob/c63d6db8/evidence/recovery_boot_machine1.md)). Everything else is QEMU or host only: the C kernel has never booted physically, and boot rollback, storage, input, isolation and network are not physically qualified ([aienos ROADMAP status](https://github.com/aien-spark/aienos/blob/c63d6db8/ROADMAP.md): "Nothing in AIENOS is physically qualified"). Store/continuity/recovery work is QEMU-qualified, and Aienux M5 encryption/identity implementation is active (this is Aienux M5, not the Omega M5 in the roadmap). Correction 2026-10-08; see the addendum at the end of this file. - Omega has completed the semantic/synthesis line through M18 and has a merged M19 resident-accelerator implementation with a 175-gate qualification run. - An independent M19 review found evidence-integrity and runtime-correctness issues that require corrective qualification before M20 is trusted. - The old PHYSICS architectural role has been superseded by FORGE: machine realization/lowering, not a security gatekeeper. @@ -63,7 +63,7 @@ Addendum, 2026-09-30 (reconciliation of docs against code): Addendum, 2026-09-30 (composition merges; merge times below are UTC and fall on 2026-10-01): - Naming: the 8-agent runtime composition program that produced these merges is **COMPOSITION-1 (formerly misnamed 'M20 program' in agent briefs, 2026-09-30)**. Omega PR titles and branches `m20/identity-convergence`, `m20/cortex-canonical`, `m20-capgraph` and `m20-jspace` belong to COMPOSITION-1, not to roadmap M20. Roadmap M20 remains `OMEGA_TENSOR` (`doctrine/ROADMAP.md`, unchanged). COMPOSITION-1 is Lane 4 work (§16) against Phase F (§9). -- `aien-spark/omega#113` "M20: canonical AIEN machine identity (AienMachineId)", merge `16f8518` (01:33Z). Canonical `AienMachineId` in `src/runtime/aien_machine_id.{c,h}`, byte-identical to AIENOS ADR 0014 `machine_id_digest`; `rx_argus` stamps it when configured. Satisfies the F5 "stable Machine identities" bullet only. Test `test-machine-identity` in rx-host CI. +- `aien-spark/omega#113` "M20: canonical AIEN machine identity (AienMachineId)", merge `16f8518` (01:33Z). Canonical `AienMachineId` in `src/runtime/aien_machine_id.{c,h}`, byte-identical to Aienux ADR 0014 `machine_id_digest`; `rx_argus` stamps it when configured. Satisfies the F5 "stable Machine identities" bullet only. Test `test-machine-identity` in rx-host CI. - `aien-spark/omega#114` "M20 A7: canonical Cortex, World execution recording", merge `43dcb04` (01:37Z). omega `rx_cortex` gains an append-only journal with verified replay, a single writer and typed recall; `rx_cortex_record` records every World crumb through one optional recorder hook in `rx_world.c`. Advances F3 and H2. The PR declares `rx_cortex` canonical and documents sovereign-core `cortex-rs` and `aienos-cortex` as non-authoritative; under `doctrine/ARCHITECTURE.md` §2.8 an ownership move still needs an accepted ADR or R16 gate result, so the Cortex owner remains formally unrecorded. - `aien-spark/omega#115` "M20: canonical Capability Graph and Skill Router", merge `135d1c2` (01:52Z). `rx_capq` promoted to the canonical runtime Capability Graph (stable keys, upsert, availability/withdraw, 188-byte wire record, machines keyed by `AienMachineId`); new `rx_skillroute` binds one real `AG_SKILL` node. Advances F1 and F2 at host level (F1 credentials/references and Fabric-fed availability not implemented). Entries marked FABRIC-sourced are a record type only; no Fabric feeds them. - `aien-spark/omega#116` "M20 production J-Space: stable ids, limits, durable checkpoints, World-safe staging", merge `529ebfa` (02:04Z). Generation-checked ids, limits, durable checkpoint, staged branches. Advances F4 as a local branch store only; World-level candidate forking and selected-branch externalization are not wired. Machine placement `JsHome` is a 32-byte placeholder, every remote operation returns `JS_ERR_REMOTE`, and there is no remote transport. World commit does not yet call `js_branch_seal` / `js_space_reclaim_staged` (open interface request from the PR; the test drives it from outside World code). @@ -78,17 +78,17 @@ Addendum, 2026-10-01 push (merge times UTC; each merge checked with `gh pr view` - Fabric F5-0 interface: `aien-spark/omega#123` merge `a18ec6b`; spec `aien-spark/aien-architecture#78` merge `40c17de` (`docs/plans/fabric/F5_0_FABRIC_INTERFACE.md`, not a master plan). Verdict: PASS, host-only loopback (`make test-fabric` 318 checks, 0 failures; receipt omega `evidence/F5-0/e419a00b54d52b7307cada39d29e501d8a776a100471e0c2a2c41dfd84753858.json`). Not in omega `all`/`test`/R13 and not yet in the living system; no network transport, no AEGIS send gate, HMAC stand-in for the TRUST-1 owner-key signature. BLOCKED_OPERATOR: aienos ADR 0010 (Fabric identity/advertisement) is still Proposed. - M23 G1 search-trace corpus + G3 sealed-holdout format: `aien-spark/omega#122` merge `ce7821d`. G1 corpus capture PASS (12 tasks, 3072 steps, corpus digest `c2700f22...`; receipt omega `evidence/M23/receipts/m23-corpus-ee4982119af7244086187c9b643cb9c1823c6b0a2b796f861d2d4077edb5256d.json`, commit `12b4d6e`). G3 commitment format PASS (format, tests and spec only; nothing sealed). M23 training NOT_RUN (waits on M22). G3 sealing BLOCKED_OPERATOR (secret salt, storage place for the sealed set, owner-key signature of the public commitment). - E1 WP-A scalar contract, CPU tier: `aien-spark/omega#124` merge `d3194f6`. 23 E1 scalar ops (predicates/select, F2I/F2U, I2FP_U32, F16 and BF16 conversions, FFMA_V) with reference, CPU-tier and second-oracle derivations; `make test-numeric-cpu` PASS_EXCEPT_DECLARED_CHIP_ONLY; exhaustive 2^32 sweep of 9 unary ops, 0 mismatches. GB10 tier: the 23 ops are not encoded and are refused before submission; GB10 gate NOT_RUN. E1 stays not closed; roadmap M20 `OMEGA_TENSOR` remains PLANNED. -- AIENOS TRUST-1 Phase B + M5: `aien-spark/aienos#182` merge `2d9a368` (one qualification entrypoint), `#183` merge `84de088` (native C AES-256-GCM-SIV/POLYVAL/HMAC), `#185` merge `513d653` (Gate 5 swTPM policy simulation; simulation PASS, gate BLOCKED_OPERATOR), `#186` merge `4492ca9` (native C envelope, anchors, identity separation, recovery), `#187` merge `929a720` (gate matrix + first receipt). Receipt aienos `evidence/trust1_m5_qualification_5a5de9c1b256ea54f35c78697ae3b88c010729eca7ca7ac2ac622820184e5efd.json` (recorded at commit `ddf549f`): verdict NOT_QUALIFIED, pass 10 / blocked 10 / missing 6 / not_run 2 / fail 0 of 28. TRUST-1 and M5 are NOT_QUALIFIED. Operator steps are listed in aienos `docs/TRUST-1-OPERATOR-STEPS.md`. +- Aienux TRUST-1 Phase B + M5: `aien-spark/aienos#182` merge `2d9a368` (one qualification entrypoint), `#183` merge `84de088` (native C AES-256-GCM-SIV/POLYVAL/HMAC), `#185` merge `513d653` (Gate 5 swTPM policy simulation; simulation PASS, gate BLOCKED_OPERATOR), `#186` merge `4492ca9` (native C envelope, anchors, identity separation, recovery), `#187` merge `929a720` (gate matrix + first receipt). Receipt aienos `evidence/trust1_m5_qualification_5a5de9c1b256ea54f35c78697ae3b88c010729eca7ca7ac2ac622820184e5efd.json` (recorded at commit `ddf549f`): verdict NOT_QUALIFIED, pass 10 / blocked 10 / missing 6 / not_run 2 / fail 0 of 28. TRUST-1 and M5 are NOT_QUALIFIED. Operator steps are listed in aienos `docs/TRUST-1-OPERATOR-STEPS.md`. - Ed25519 in C: `aien-spark/aienos#188` merge `913b962` (`native/sig/`, RFC 8032 vectors, own SHA-512). PASS as a host-tested software primitive; not yet wired into M5 migration authorization or M23 G3 records, so the receipt row `m5_migration_owner_signature` stays MISSING_IMPLEMENTATION until it is. -- AIENOS M6-A hosted C network stack: `aien-spark/aienos#184` merge `999b5aa`. M6A_NET_HOST: PASS (host only; no QEMU, no hardware, TEST identity only); receipt aienos `native/net/receipts/m6a_net_host_30de56f02d33bc346309173c67638a581c6cf1442a121f6f0f47fa42027de14d.txt`. Native NIC binding, production identity/secure transport and physical NIC qualification are not done. +- Aienux M6-A hosted C network stack: `aien-spark/aienos#184` merge `999b5aa`. M6A_NET_HOST: PASS (host only; no QEMU, no hardware, TEST identity only); receipt aienos `native/net/receipts/m6a_net_host_30de56f02d33bc346309173c67638a581c6cf1442a121f6f0f47fa42027de14d.txt`. Native NIC binding, production identity/secure transport and physical NIC qualification are not done. - Roadmap: `aien-spark/aien-architecture#77` merge `68b3dbb` aligned the `doctrine/ROADMAP.md` §3 M19 note with the table (COMPLETE / CORRECTIVELY REQUALIFIED). -- Not changed by these merges: no roadmap milestone row changes; AIENOS M5 and M6 and roadmap M20 and M23 are not closed; nothing is qualified on silicon or Machine 1. +- Not changed by these merges: no roadmap milestone row changes; Aienux M5 and M6 and roadmap M20 and M23 are not closed; nothing is qualified on silicon or Machine 1. Addendum, 2026-10-01 push, later merges (Lane 23 reconciliation; every PR checked MERGED or OPEN with `gh pr view`, every in-repo receipt path checked on main with `gh api .../contents`; status words are the lanes' and receipts' own): -- AIENOS M5 owner-signed migration record: `aien-spark/aienos#189` merge `6bcef8a` (native C Ed25519 from `#188`). AIENOS_M5_MIGRATION_SIG: PASS with TEST keys only; the real-owner row is BLOCKED_OPERATOR (offline key ceremony). Receipt aienos `evidence/trust1_m5_qualification_f21f2c038946093a01f3d6553b5bc1a82d8e6ac0bfbb6b36ed4e7a932a9df709.json` (commit `93614ba`, QEMU checks ran): NOT_QUALIFIED, pass 15 / fail 0 / not_run 0 / blocked 11 / missing 5 (31 rows). -- AIENOS C disk layer and C Store engine: `aien-spark/aienos#190` merge `811bbc0` (C block layer + freestanding NVMe driver; AIENOS_DISK_NATIVE and AIENOS_STORE_NVME_QEMU PASS), `#191` merge `697391f` (C twin of System Store v1 + sealed Store; AIENOS_STORE_NATIVE PASS, Rust-compatible bytes). Receipt aienos `evidence/trust1_m5_qualification_6fd36c3012ad792862e6098492ae78d7b091c5fada8af73c7c60e6a8f544a650.json` (commit `c89e68c`, QEMU off): NOT_QUALIFIED, pass 15 / fail 0 / not_run 3 / blocked 11 / missing 5 (34 rows). Both receipts are kept. The production 512-byte Store row stays MISSING_IMPLEMENTATION: no kernel wiring, no physical SSD run, no Gate 6 anchor, no key rotation. Owner steps are listed in aienos `docs/TRUST-1-OPERATOR-STEPS.md`. -- AIENOS M6-B secure transport (hosted): `aien-spark/aienos#192` merge `08cb905`, AIENOS_NET_SECURE: PASS (hosted only, TEST keys plus seeded entropy; X25519 + Ed25519 handshake, AES-GCM-SIV records); receipt aienos `native/net/receipts/m6a_net_host_83748f32165c969f2b903eefb4f975a2f4900035cc234a2b31ddfe04941166d6.txt` (commit `4017b8e`). Resend jitter in the M6-A control channel: `#193` merge `8d511d6`, PASS (hosted); receipt `native/net/receipts/m6a_net_host_b266e16da256456c91dae44ede2c47cbd7cbd830473cf9bc56f9541d0d876007.txt` (commit `d4bd682`). No native binding, no real keys, no timing measurement, no physical NIC qualification. +- Aienux M5 owner-signed migration record: `aien-spark/aienos#189` merge `6bcef8a` (native C Ed25519 from `#188`). AIENOS_M5_MIGRATION_SIG: PASS with TEST keys only; the real-owner row is BLOCKED_OPERATOR (offline key ceremony). Receipt aienos `evidence/trust1_m5_qualification_f21f2c038946093a01f3d6553b5bc1a82d8e6ac0bfbb6b36ed4e7a932a9df709.json` (commit `93614ba`, QEMU checks ran): NOT_QUALIFIED, pass 15 / fail 0 / not_run 0 / blocked 11 / missing 5 (31 rows). +- Aienux C disk layer and C Store engine: `aien-spark/aienos#190` merge `811bbc0` (C block layer + freestanding NVMe driver; AIENOS_DISK_NATIVE and AIENOS_STORE_NVME_QEMU PASS), `#191` merge `697391f` (C twin of System Store v1 + sealed Store; AIENOS_STORE_NATIVE PASS, Rust-compatible bytes). Receipt aienos `evidence/trust1_m5_qualification_6fd36c3012ad792862e6098492ae78d7b091c5fada8af73c7c60e6a8f544a650.json` (commit `c89e68c`, QEMU off): NOT_QUALIFIED, pass 15 / fail 0 / not_run 3 / blocked 11 / missing 5 (34 rows). Both receipts are kept. The production 512-byte Store row stays MISSING_IMPLEMENTATION: no kernel wiring, no physical SSD run, no Gate 6 anchor, no key rotation. Owner steps are listed in aienos `docs/TRUST-1-OPERATOR-STEPS.md`. +- Aienux M6-B secure transport (hosted): `aien-spark/aienos#192` merge `08cb905`, AIENOS_NET_SECURE: PASS (hosted only, TEST keys plus seeded entropy; X25519 + Ed25519 handshake, AES-GCM-SIV records); receipt aienos `native/net/receipts/m6a_net_host_83748f32165c969f2b903eefb4f975a2f4900035cc234a2b31ddfe04941166d6.txt` (commit `4017b8e`). Resend jitter in the M6-A control channel: `#193` merge `8d511d6`, PASS (hosted); receipt `native/net/receipts/m6a_net_host_b266e16da256456c91dae44ede2c47cbd7cbd830473cf9bc56f9541d0d876007.txt` (commit `d4bd682`). No native binding, no real keys, no timing measurement, no physical NIC qualification. - Fabric format v2 (64-byte, Ed25519-sized signature field): `aien-spark/omega#137` merge `1299b19`; receipt omega `evidence/F5-0/4cf465c70b477759c85c330db75066af8feab80585c7688f03004a20722557d8.json`, F5_0_FABRIC_LOOPBACK PASS (host). Signatures are still the HMAC stand-in until TRUST-1. - COMPOSITION-2, continued: `aien-spark/omega#132` merge `ff2af05` (a simulated second machine's Skill used through Fabric F5-0 inside the living World), `#131` merge `f7b22f1` (GPU tier of the 14-step gate, 14/14 x2 on the GB10, no CUDA; receipt omega `evidence/COMPOSITION-2/b6d6eed1b92fda28226e0bd21c8ad5d598e6f85a89c7a80748e28c00f8542686.json`), `#133` merge `c6cf052` (close waits for its own steps), `#139` merge `4aa71bf` (close reclaims everything; up to two isolated compositions per World, isolation, not a queue), `#135` merge `80da85c` (Fabric phase in the R13 silicon build), `#142` merge `18226b2` (receipts and `evidence/COMPOSITION-2/INDEX.md`). Authoritative host gate receipt omega `evidence/COMPOSITION-2/3f43152b2da43bd1b16349bd60aec2f99eb8eab241378ec11e4a1f76747d56aa.json` (PASS 14/14 x2, commit `4aa71bf`; supersedes `ca74b119...`, which is kept). R13 silicon receipt `evidence/COMPOSITION-2/4957ef16e1e53543c8b74ef297d7129cd238e4459c8c84f27c3a6719ac08c0bc.json`: R13_LIVING_SYSTEM SILICON_PASS_UNBOUND, Fabric phase PASS; the second machine is an in-process loopback stand-in, not a network or TRUST-1 qualification. - M23 G3 commitment signing: `aien-spark/omega#130` merge `7fb59d3` (vendored native Ed25519; PASS with TEST keys; unsigned bytes unchanged). Owner signing and sealing stay BLOCKED_OPERATOR. @@ -96,17 +96,17 @@ Addendum, 2026-10-01 push, later merges (Lane 23 reconciliation; every PR checke - M22 substrate and E5 provenance: `aien-spark/omega#140` merge `54826a3`; receipt omega `evidence/M22/receipts/eaa0cdeae9f348b19b80377baaeb5e5dea6a6577e9385e7a2a3c15caab24c5c8.json`: substrate tests PASS; "M22 NOT QUALIFIED: optimizer substrate + SGD path only; no tensor/autodiff integration (waits M20/M21)". - Estimation v3: `aien-spark/omega#129` merge `d78fd11`, `ESTIMATION_CALIBRATION (v3) = FAIL` at Phase A, sealed run NOT_RUN (omega `docs/estimation/receipts/est3c-v3/RESULT.md`; params sha256 `6be9c829...`); recorded in `aien-spark/aien-architecture#80` merge `ac83f0d`. v4: INCONCLUSIVE (omega#153 merged 2026-10-01); v5 in progress (omega#170, open). Attempts 1, 2 and 3 were VOID (foreign host builds/tests inside the quiet windows), no verdict. EST-3 stays FAILED on main (v1, v2, v3). EST-4 and EST-5 stay blocked. - Omega CI coverage: `aien-spark/omega#138` merge `d6837d4` and `#145` merge `4c8ca18` (host-suites-2). Corrected 2026-10-01 (Lane 33): host suites run on pull requests against the PR head commit, not the merge result; `host-suites.yml` (searchtrace, estimation, numeric-cpu, train, compiler) and `rx-host.yml` do not run on pushes to main, so a green main covers only host-suites-2 and turing-yield. No CI job runs `test-numeric-transc` (the `#127` transcendentals), `test-divsqrt-*`, `test-language`, `test-m6` to `test-m17` or `test-tensor`. No branch protection on omega, aienos, aien-architecture or physics main; physics has no workflows. Test-only fix of the flaky `test-empirical` check: `#128` merge `ee89461`. -- Not changed by these merges: no roadmap milestone row changes; TRUST-1, AIENOS M5 and M6, roadmap M20, M22 and M23 are not closed; nothing here is qualified on Machine 1. +- Not changed by these merges: no roadmap milestone row changes; TRUST-1, Aienux M5 and M6, roadmap M20, M22 and M23 are not closed; nothing here is qualified on Machine 1. Addendum, 2026-10-01 push, Lane 33 reconciliation (live main checked about 12:30Z to 13:30Z: omega `07004a8`, aienos `c3878bb`; every PR checked with `gh pr view`, every receipt read on main; status words are the receipts' own; no status is raised by this addendum): - E1 numerical closure, continued: `aien-spark/omega#143` merge `0580ef8` (E1 chip receipts into `evidence/`), `#147` merge `2d8cd68` (WP-C batch 1: GB10 encodings for the 23 WP-A scalar ops; Gate 5 chip PASS receipt omega `evidence/OMEGA-NUMERIC-0/f4f6d362...json`; an earlier Gate 5 chip FAIL, receipt `d40f37f9...`, was fixed by `a21eeae`), `#152` merge `07004a8` (GB10 DIV and SQRT on the main numeric path; chip receipt `evidence/OMEGA-NUMERIC-0/dafb645a...json`, PASS, run on PR candidate `7852570`, not re-run on the merge commit; also fixes a stack overflow in the Gate 5 test introduced by `#147`). Against the six E1 exit requirements in §8: requirement 2 (comparison/select/conversion, scalar) is met; requirement 4 (defined division/sqrt) is met on the GB10 main path at candidate `7852570`; requirements 1 (general load/store; only fixed forms exist), 3 (reductions; GB10 MAX/MIN/MEAN exist only on an omega branch with no PR and no receipt) and 5 (transcendentals; `#127` is CPU only, bounded-ulp, not in the op table, no GB10 kernels, no receipt, and no CI runs its suites) are not met; requirement 6 (CPU/GB10 parity) is partial. At the 2026-10-01 review, before `#152`, 1 of 6 was met; now 2 of 6. **E1 stays PARTIAL, not closed.** The exact-vs-bounded wording of requirement 5 is an owner decision pending in `aien-spark/aien-architecture#76`; this plan does not resolve it. (Superseded 2026-10-01: decided, see E1 status below.) - Omega Systems Core compiler slice: OSC-1 `aien-spark/omega#144` merge `b81f850` (parse -> typed IR -> AArch64, host receipt) and OSC-2 `#148` `0abdb08` (checked requires/ensures contracts), `#149` `845dce4` (fixed-layout structs), `#150` `c773622` (arenas on the OSC-0B memory model), `#151` `7e713e3` (legacy AArch64 writer refuses out-of-range fields). State: IMPLEMENTED / NOT QUALIFIED, host receipts only. Not self-hosting; no general Omega compiler; no production code is compiled by it. OSC-2 delivered less than ADR OMEGA-SYSTEMS-CORE-0000 and audit III.7 assigned it: the aienos ADR 0013 u64-generation amendment, the II.6 identity break, generational handles (moved to OSC-3, not merged) and the Crumbline migration are not done. -- AIENOS C kernel (Rust-to-C port, D phase): `aien-spark/aienos#194` `34c6053` (core boots in QEMU via UEFI), `#195` `ba7b75d` (NVMe, capability + ARGUS, sealed C Store), `#196` `4d9bdb2` (CK gate runner, parity table), `#197` `e9f5b3a` (SMMUv3), `#198` `ff57d33` (NVMe shutdown), `#199` `470c160` (Store record v2 nonce/rollback fix), `#201` `0d0efa5` (M3 isolation), `#202` `60f3280` (ck-kernel CI on the GitHub ARM64 runner, still QEMU), `#203` `9807281` (virtio-net hook + CK NET gate), `#204` `c3878bb` (P2_ARTIFACT loader). Newest gate receipt aienos `evidence/ck_gates_bb4040322b026f5f561733fdcaf900770070f2281800b0e3603c2aa2c670b7ff.json` (commit `4f56a96`): NOT_ALL_GATES_PASS, 9 PASS / 0 FAIL / 5 NOT_RUN of 14; NOT_RUN: M0_ROLLBACK, M4_STORE_CRASH, M4_CONTINUITY, M4_RECOVERY, KEYBOARD (no C implementation yet; M0_ROLLBACK is missing despite the `#204` title). The receipt states "QEMU emulator runs only ... no physical qualification is claimed". State: IMPLEMENTED / NOT QUALIFIED, QEMU only, single core, TEST keys only. Rust-to-C port order (`docs/plans/RUST_TO_C_MIGRATION.md` §6 item 1, listed there as open): taken in practice as bottom-up, crypto -> store -> kernel, with no C-calls-Rust bridges (crypto `#183` `84de088`, Ed25519 `#188` `913b962`, disk + Store `#190` `811bbc0` / `#191` `697391f`, then the kernel series from `#194`); the C boot loader (signatures, A/B, rollback) is not started. Taken under Drake's standing "go with the recommendation" rule; no separate owner record exists. §6 item 2 (own Ed25519 in C) was likewise executed by `#188`. +- Aienux C kernel (Rust-to-C port, D phase): `aien-spark/aienos#194` `34c6053` (core boots in QEMU via UEFI), `#195` `ba7b75d` (NVMe, capability + ARGUS, sealed C Store), `#196` `4d9bdb2` (CK gate runner, parity table), `#197` `e9f5b3a` (SMMUv3), `#198` `ff57d33` (NVMe shutdown), `#199` `470c160` (Store record v2 nonce/rollback fix), `#201` `0d0efa5` (M3 isolation), `#202` `60f3280` (ck-kernel CI on the GitHub ARM64 runner, still QEMU), `#203` `9807281` (virtio-net hook + CK NET gate), `#204` `c3878bb` (P2_ARTIFACT loader). Newest gate receipt aienos `evidence/ck_gates_bb4040322b026f5f561733fdcaf900770070f2281800b0e3603c2aa2c670b7ff.json` (commit `4f56a96`): NOT_ALL_GATES_PASS, 9 PASS / 0 FAIL / 5 NOT_RUN of 14; NOT_RUN: M0_ROLLBACK, M4_STORE_CRASH, M4_CONTINUITY, M4_RECOVERY, KEYBOARD (no C implementation yet; M0_ROLLBACK is missing despite the `#204` title). The receipt states "QEMU emulator runs only ... no physical qualification is claimed". State: IMPLEMENTED / NOT QUALIFIED, QEMU only, single core, TEST keys only. Rust-to-C port order (`docs/plans/RUST_TO_C_MIGRATION.md` §6 item 1, listed there as open): taken in practice as bottom-up, crypto -> store -> kernel, with no C-calls-Rust bridges (crypto `#183` `84de088`, Ed25519 `#188` `913b962`, disk + Store `#190` `811bbc0` / `#191` `697391f`, then the kernel series from `#194`); the C boot loader (signatures, A/B, rollback) is not started. Taken under Drake's standing "go with the recommendation" rule; no separate owner record exists. §6 item 2 (own Ed25519 in C) was likewise executed by `#188`. - TRUST-1 / M5 newest receipt: aienos `evidence/trust1_m5_qualification_3358bc2585f0982e1dfbcd0f5ed2fe077847332591782edff8974f0da9caeded.json` (commit `5a3a05c`): NOT_QUALIFIED, 37 rows: pass 20 / fail 0 / not_run 1 / blocked 11 / missing 5. It is stale: it ran before `#197` (SMMU), `#199` (Store record v2), `#201`, `#203` and `#204`, and its Store-kernel row used the QEMU-only unsafe DMA bypass. No TRUST-1 receipt exists for current aienos main; a rerun (software + QEMU) is owed. - Roadmap M20, M22, M23: M20 `OMEGA_TENSOR` is an open draft (`aien-spark/omega#136`, not merged, no CI run, no receipt); M22 substrate (`#140`) is NOT QUALIFIED per its receipt; M23 corpus (`#122`) PASS, training NOT_RUN. Table rows stay PLANNED (see `doctrine/ROADMAP.md` notes). - Regression record: `aien-spark/omega#139` (`4aa71bf`, commit `d717af3`) made R16 negative mutant c7 stop matching (35/36 caught) for about 1.5 h; `#146` (`520c895`) retargeted it (36/36) and added the R16 mutants to host-suites-2 CI. The R16 guard code itself was intact. -- Not changed: no roadmap milestone row changes; E1, TRUST-1, AIENOS M5/M6, roadmap M20 to M24 are not closed; nothing is qualified on Machine 1. +- Not changed: no roadmap milestone row changes; E1, TRUST-1, Aienux M5/M6, roadmap M20 to M24 are not closed; nothing is qualified on Machine 1. ## 3. Program rule @@ -253,15 +253,15 @@ Order inside the existing sequence: V2 contract landed early in physics#16, but **Exit gate (AR4):** one matvec realized on a physical analog substrate satisfies the same SemanticResultContract as its digital oracle, with bounded error, repeatability, a fresh bound calibration, complete evidence, no authority bypass, no vendor identity in the semantic program, clean digital fallback, and no way for a faulted device to corrupt the World. -## 7. Phase D — AIENOS trusted substrate +## 7. Phase D — Aienux trusted substrate -Continue the AIENOS component roadmap without redefining this plan. +Continue the Aienux component roadmap without redefining this plan. **Order (decided by Drake 2026-10-08):** D1 to D4 below are requirement lists, not a sequence. The order in which they are closed is the NEXT-PHASE-3 order. The old sequence M5 -> M6 -> M7 -> M8 is SUPERSEDED. See the addendum "2026-10-08 (late): native work order decided" for the order, where each D item lands in it, and the authorization boundaries. ### D1. M5 encryption and identity -(Naming note 2026-10-08: this is AIENOS M5. The roadmap's M5 in `doctrine/ROADMAP.md` is Omega `OMEGA_AARCH64`, a different milestone. Say "AIENOS M5" or "Omega M5" when it is not clear from context.) +(Naming note 2026-10-08: this is Aienux M5. The roadmap's M5 in `doctrine/ROADMAP.md` is Omega `OMEGA_AARCH64`, a different milestone. Say "Aienux M5" or "Omega M5" when it is not clear from context.) Finish and qualify: @@ -303,7 +303,7 @@ Status 2026-10-01, Lane 33: native binding exists in QEMU only. `aien-spark/aien ### D3. M7 native CPU inference -- Move the stable inference contract behind an AIENOS platform boundary. +- Move the stable inference contract behind an Aienux platform boundary. - Run without Linux syscalls under the native configuration. - Bind model/tokenizer/weight identities. - Preserve sequence/KV/Cortex continuity contracts. @@ -314,7 +314,7 @@ Status 2026-10-01, Lane 33: native binding exists in QEMU only. `aien-spark/aien First public whole-system proof: 1. power on; -2. AIENOS boots without Linux underneath; +2. Aienux boots without Linux underneath; 3. local model and AIEN runtime start; 4. user interacts; 5. Cortex stores a meaningful fact; @@ -327,7 +327,7 @@ First public whole-system proof: ## 8. Phase E — Omega sovereign training substrate -This lane can proceed in parallel with AIENOS D1-D3 once M19R/Forge boundaries are stable. +This lane can proceed in parallel with Aienux D1-D3 once M19R/Forge boundaries are stable. ### E1. Numerical closure @@ -467,7 +467,7 @@ Start with coarse work units, not per-layer distributed inference. Status 2026-09-30: not started. Only stable Machine identities exist (`AienMachineId`, `aien-spark/omega#113`, `16f8518`). -Status 2026-10-01: F5-0 interface PASS, host-only loopback (`aien-spark/omega#123`, `a18ec6b`; spec `aien-spark/aien-architecture#78`, `40c17de`; receipt omega `evidence/F5-0/e419a00b54d52b7307cada39d29e501d8a776a100471e0c2a2c41dfd84753858.json`): authenticated membership, capability advertisement, leases and loss withdrawal across three loopback machines. Not yet in the living system; no network transport (needs AIENOS M6), no AEGIS send gate, HMAC stand-in for the owner-key signature, no topology measurement or placement. BLOCKED_OPERATOR: aienos ADR 0010 is still Proposed. +Status 2026-10-01: F5-0 interface PASS, host-only loopback (`aien-spark/omega#123`, `a18ec6b`; spec `aien-spark/aien-architecture#78`, `40c17de`; receipt omega `evidence/F5-0/e419a00b54d52b7307cada39d29e501d8a776a100471e0c2a2c41dfd84753858.json`): authenticated membership, capability advertisement, leases and loss withdrawal across three loopback machines. Not yet in the living system; no network transport (needs Aienux M6), no AEGIS send gate, HMAC stand-in for the owner-key signature, no topology measurement or placement. BLOCKED_OPERATOR: aienos ADR 0010 is still Proposed. Status 2026-10-01, later: format v2 with a 64-byte signature field (`aien-spark/omega#137`, `1299b19`); a simulated second machine joins the R13 living World (`#132`, `ff2af05`) and runs in the silicon build (`#135`, `80da85c`). Still in-process loopback only: no network transport, HMAC stand-in signature, aienos ADR 0010 still Proposed. @@ -579,7 +579,7 @@ RSI cannot directly modify or promote the live trusted path. - Demonstrate boot, recovery, core build/realization, and continued operation without them. - Keep Atlas as the founding bootstrap exception where explicitly defined. -Status 2026-10-01: started at slice level only. The Omega Systems Core compiler slice OSC-1 (`aien-spark/omega#144` `b81f850`) and OSC-2 (`#148` to `#151`, last `7e713e3`) are merged: IMPLEMENTED / NOT QUALIFIED, host receipts only, not self-hosting, no general Omega compiler, no production code compiled by it. The AIENOS C kernel runs in QEMU only. No exit-gate item is met. +Status 2026-10-01: started at slice level only. The Omega Systems Core compiler slice OSC-1 (`aien-spark/omega#144` `b81f850`) and OSC-2 (`#148` to `#151`, last `7e713e3`) are merged: IMPLEMENTED / NOT QUALIFIED, host receipts only, not self-hosting, no general Omega compiler, no production code compiled by it. The Aienux C kernel runs in QEMU only. No exit-gate item is met. **Exit gate:** the installed lineage can reconstruct and operate its required trusted stack without depending on an external vendor service or incumbent OS. @@ -655,7 +655,7 @@ The release campaign must include destructive/adversarial recovery tests: stale - Done: M19R Foundation Repair PASSED / CLOSED (`aien-spark/omega#111` `5517d22`); FORGE v1 realize/verify seam closed (`aien-spark/physics#13` `5969159`). See §2 addenda. -**Lane 2 (AIENOS):** the NEXT-PHASE-3 order (decided 2026-10-08): operator input + recovery -> boot selection + rollback -> PCI discovery + native storage -> physical memory, identity, trust -> native CPU inference -> native GB10 compute -> GPU inference. M6 networking runs beside it in host and QEMU and is not in the chain to first native inference. The old order (M5 trust -> M6 network -> M7 inference -> M8) is SUPERSEDED; its items are mapped in the addendum "2026-10-08 (late): native work order decided". +**Lane 2 (Aienux):** the NEXT-PHASE-3 order (decided 2026-10-08): operator input + recovery -> boot selection + rollback -> PCI discovery + native storage -> physical memory, identity, trust -> native CPU inference -> native GB10 compute -> GPU inference. M6 networking runs beside it in host and QEMU and is not in the chain to first native inference. The old order (M5 trust -> M6 network -> M7 inference -> M8) is SUPERSEDED; its items are mapped in the addendum "2026-10-08 (late): native work order decided". **Lane 3 — Omega training:** FP32 numerics -> M20 tensor -> M21 autodiff -> M22 optimizer. @@ -709,9 +709,9 @@ Do not start another master plan. Execute these: 1. Merge plan-authority consolidation and Forge naming ADR. Done: `PLAN_AUTHORITY.md` (`38c7cc2`) and ADR 0014 FORGE rename (accepted 2026-09-27). 2. Complete M19 corrective qualification. Done: M19R Foundation Repair PASSED / CLOSED (`aien-spark/omega#111` `5517d22`; roadmap M19 COMPLETE / CORRECTIVELY REQUALIFIED). 3. Establish the typed Omega/Forge boundary. -4. Close the native AIENOS path in the NEXT-PHASE-3 order (decided 2026-10-08, see the addendum "2026-10-08 (late): native work order decided"). AIENOS M5 trust/encryption is its step 4. +4. Close the native Aienux path in the NEXT-PHASE-3 order (decided 2026-10-08, see the addendum "2026-10-08 (late): native work order decided"). Aienux M5 trust/encryption is its step 4. 5. Finish Omega general FP32 numerical support. -6. Proceed with Omega M20 (`OMEGA_TENSOR`). AIENOS M6 networking continues in host and QEMU beside the native path; it is not a prerequisite for first native inference. +6. Proceed with Omega M20 (`OMEGA_TENSOR`). Aienux M6 networking continues in host and QEMU beside the native path; it is not a prerequisite for first native inference. The ADR 0018 workstream runs as Lane 6 and does not reorder these gates. @@ -721,7 +721,7 @@ The ADR 0031 workstream runs as Lane 8 and does not reorder these gates; its pro Resolved 2026-10-08 (late) by Drake: NEXT-PHASE-3 governs. The one native order, the mapping of the old M5 to M8 items and the authorization boundaries are in the addendum "2026-10-08 (late): native work order decided". The note below is kept as the record of the conflict. -Open conflict noted 2026-10-08 (no decision made here): two native AIENOS orders are recorded in this file. Section 16 Lane 2 and this section: AIENOS M5 trust -> M6 network -> M7 inference -> M8. NEXT-PHASE-3 (addendum 2026-10-06, newer): operator input -> boot selection and rollback -> PCI discovery -> real-device storage -> owner identity and trust (TRUST-1) -> native inference. Drake resolves which governs; until then neither is revised. Recommendation (not a decision): let NEXT-PHASE-3 govern. It is the newer record, the Campaign 3 brief of 2026-10-08 lists the same order (operator input and recovery, boot selection and rollback, PCI, NVMe, journal, physical memory authority, hardware identity and trust, native CPU inference, later GPU), and on the physical Spark trust, network and inference all depend on operator input, a tested rollback path and real-device storage (the kernel's only model source today is the QEMU fw_cfg channel, which the Spark does not have). Under this reading AIENOS M6 network moves after native inference. +Open conflict noted 2026-10-08 (no decision made here): two native Aienux orders are recorded in this file. Section 16 Lane 2 and this section: Aienux M5 trust -> M6 network -> M7 inference -> M8. NEXT-PHASE-3 (addendum 2026-10-06, newer): operator input -> boot selection and rollback -> PCI discovery -> real-device storage -> owner identity and trust (TRUST-1) -> native inference. Drake resolves which governs; until then neither is revised. Recommendation (not a decision): let NEXT-PHASE-3 govern. It is the newer record, the Campaign 3 brief of 2026-10-08 lists the same order (operator input and recovery, boot selection and rollback, PCI, NVMe, journal, physical memory authority, hardware identity and trust, native CPU inference, later GPU), and on the physical Spark trust, network and inference all depend on operator input, a tested rollback path and real-device storage (the kernel's only model source today is the QEMU fw_cfg channel, which the Spark does not have). Under this reading Aienux M6 network moves after native inference. ## Addendum 2026-10-01: language course correction (ADR 0024) @@ -745,16 +745,16 @@ This addendum orders the next implementation work. It adds no master plan (`PLAN ### Environments, kept separate - Linux-hosted execution: sovereign-core `aien-cli` with `OmegaGb10Backend` on the Spark, and the omega R13 production program on the host. These are results about Linux processes. -- Emulator results: every AIENOS gate is QEMU. `CAND-2.gates.md` section 4: "every AIENOS result is QEMU. Nothing here qualifies the Spark booting AIENOS." -- Native hardware qualification: none exists for AIENOS booting the Spark. GB10 chip receipts are hardware results for omega kernels, not for AIENOS. +- Emulator results: every Aienux gate is QEMU. `CAND-2.gates.md` section 4: "every AIENOS result is QEMU. Nothing here qualifies the Spark booting AIENOS." +- Native hardware qualification: none exists for Aienux booting the Spark. GB10 chip receipts are hardware results for omega kernels, not for Aienux. ### Limitations carried from CAND-2.gates.md section 4 - R16 G6: the operator emergency stop exists in the runtime (omega #300, host-tested) but the production program does not wire it and has no operator entry point; the item reads MISSING_IMPLEMENTATION. No silicon run exercises a stop. - R15 and R16 G7: the SPBM energy reader is not loaded (operator action), so R15 refuses to start (BLOCKED_INSTRUMENT) and G7 cannot pass. CAND-1's R15 FAIL (G15 residency 0.849, one stalled trial) is unexplained; a later 30-trial diagnostic is "a clue, not a verdict". -- AIENOS: no USB keyboard driver in the C kernel; C loader A/B and rollback are parked (MISSING_IMPLEMENTATION). +- Aienux: no USB keyboard driver in the C kernel; C loader A/B and rollback are parked (MISSING_IMPLEMENTATION). - TRUST-1 M5: attended hardware boots and owner-key ceremonies are blocked on the operator; Secure Boot is off. -- Physical machine: every AIENOS result is QEMU. +- Physical machine: every Aienux result is QEMU. - Toolchain: no rust-toolchain file pins the compiler (gap G4). ### Known architectural split (OBSERVED 2026-10-06, sovereign-core 286fa9b and omega main 21092e0; verified by a scout) @@ -792,7 +792,7 @@ Cases: kill before and after durable commit; interruption between an external ef *Status 2026-10-06 (evening).* NEXT-PHASE-2 v2, v3 and v4 are merged (sovereign-core #227, #228, #229); v4 PASS with stated limits. The scoring contract v5 enforces every declared case times repetitions (#231, merge `44b73d7`), closing the fail-open shape found in the v4 review. CAND-4 qualification (sovereign-core #234, merge `328a7e9`) Q2 (NEXT-PHASE-2 v4 cases, 3 reps, fixture F0 on the GB10) PASS with limits: 34 rows PASS, C6d NOT_APPLICABLE (no spilled data, so recovery case 4 is NOT COVERED). Cases 2 and 5 are covered only at the harness side (Q2w). See the CAND-4 addendum below. -**NEXT-PHASE-3: native AIENOS path.** IN PROGRESS in QEMU and on the host only; no step is physically qualified (header corrected 2026-10-08; the status lines below already recorded merged QEMU work). This order GOVERNS the native AIENOS work (Drake, 2026-10-08); the full seven-step order is in the addendum "2026-10-08 (late): native work order decided". +**NEXT-PHASE-3: native Aienux path.** IN PROGRESS in QEMU and on the host only; no step is physically qualified (header corrected 2026-10-08; the status lines below already recorded merged QEMU work). This order GOVERNS the native Aienux work (Drake, 2026-10-08); the full seven-step order is in the addendum "2026-10-08 (late): native work order decided". Close in this order (2026-10-06 wording, shorter than the governing seven-step order in the addendum "2026-10-08 (late): native work order decided"): operator input and recovery access (USB keyboard driver); boot selection and rollback (C loader A/B); real-device storage; owner identity and trust (TRUST-1 attended package, aienos #265, merged as "HOST VALIDATION ONLY"); native inference integration. Exit criteria: reproducible images, preflight checks, recovery procedures and explicit success criteria exist before any attended hardware work. Authorization boundaries for firmware, key ceremonies, destructive storage and reboots are respected. QEMU is never counted as physical. *Status 2026-10-06 (afternoon).* Merged in aienos, all QEMU or host only, none physical: #267 (`04cf78b`, operator keyboard input and recovery-access hook, cut 1), #268 (`6da9d58`, platform xHCI discovery from ACPI, cut 2), #269 (`2dffd97`, IORT stream ids per PCI segment, cut 3a), #270 (`3df181c`, two-level SMMU stream table, cut 3b). Remaining, in the order above: C loader boot selection and rollback, PCI discovery through to storage, real-device storage, the attended TRUST-1 hardware boots and key ceremonies, and native inference. @@ -891,7 +891,7 @@ A first public release additionally requires: (a) D1 dedicated offline signing k ## Addendum 2026-10-07 (overnight): status reconciliation -Append-only status snapshot as of 2026-10-07 ~04:30Z. Sources: the merged PRs named below (GitHub main). Evidence labels: CPU = host tests on the Spark CPU; GB10 = Linux-hosted GPU launches on the DGX Spark; QEMU = emulated. Nothing here is native-hardware (AIENOS on the Spark) evidence. +Append-only status snapshot as of 2026-10-07 ~04:30Z. Sources: the merged PRs named below (GitHub main). Evidence labels: CPU = host tests on the Spark CPU; GB10 = Linux-hosted GPU launches on the DGX Spark; QEMU = emulated. Nothing here is native-hardware (Aienux on the Spark) evidence. ### GPU reconvergence @@ -942,7 +942,7 @@ Corrections made in place today (evidence beats planning claims): - Section 2 claimed "native DGX Spark boot evidence" without limits. Physical evidence is only the M2 first boot (2026-09-24) and the recovery USB boot; all else is QEMU or host only (aienos ROADMAP at `c63d6db`). The 2026-10-06 line "Physical machine: every AIENOS result is QEMU" is recorded here as too broad (it omits the M2 first boot and the recovery USB boot) and is left unedited. - NEXT-PHASE-1 header said NOT STARTED while its status lines record campaigns v1 to v8. NEXT-PHASE-3 header also still reads NOT STARTED although its status lines record merged QEMU work (not physical); not edited here. -- Two native orders and the AIENOS M5 versus Omega M5 name collision are marked, not resolved. (The order was decided later the same day: see the addendum "2026-10-08 (late): native work order decided".) +- Two native orders and the Aienux M5 versus Omega M5 name collision are marked, not resolved. (The order was decided later the same day: see the addendum "2026-10-08 (late): native work order decided".) - The 2026-10-06 status of NEXT-PHASE-1 calls sovereign-core #223 open; it is MERGED (merge `96d97af`, 2026-10-06). Not edited in place. Open (proposed, NOT merged) as of 2026-10-08: @@ -959,22 +959,22 @@ Correction, checked on GitHub at 2026-10-08T03:40Z (the list above is kept as wr ## Addendum 2026-10-08 (late): native work order decided -Drake decided the conflict marked by arch #163 (decision (e) of 2026-10-08, recorded by the coordinator session): **NEXT-PHASE-3 governs the native AIENOS work.** This is the one order. The old sequence AIENOS M5 trust -> M6 network -> M7 inference -> M8 persistent agent is SUPERSEDED as a sequence; its items keep their requirements and are mapped below. +Drake decided the conflict marked by arch #163 (decision (e) of 2026-10-08, recorded by the coordinator session): **NEXT-PHASE-3 governs the native Aienux work.** This is the one order. The old sequence Aienux M5 trust -> M6 network -> M7 inference -> M8 persistent agent is SUPERSEDED as a sequence; its items keep their requirements and are mapped below. | Step | What closes | Old item mapped here | Where it stands 2026-10-08 (QEMU or host only) | |---|---|---|---| | 1 | Operator input and recovery access | D4 point 9 (recovery stays possible with the model unavailable) | Keyboard input and recovery-access hook merged in QEMU (aienos #267) | | 2 | Boot selection and rollback | (new; the physical rollback is also a public-release gate, addendum 2026-10-06 late, D2) | One-time BootNext rollback candidate, 8 QEMU cases PASS (aienos #273); physical NOT_RUN | | 3 | PCI discovery and native storage | From D2, only "device ownership and discovery" and "bounded driver authority" (they apply to every device, so they close here; the rest of D2 is outside the chain, below) | xHCI discovery, IORT, SMMU stream tables merged in QEMU (aienos #268, #269, #270); real-device storage not done | -| 4 | Physical memory, identity, trust | D1 (AIENOS M5) entirely: key hierarchy, sealed volume keys, envelopes, anti-rollback anchors, migration authorization, production/test separation, deterministic recovery, owner-signed trust chain | NOT_QUALIFIED; TRUST-1 package HOST VALIDATION ONLY (aienos #265) | -| 5 | Native CPU inference | D3 (AIENOS M7) entirely | QEMU only; the kernel's model source today is the QEMU fw_cfg channel, which the Spark does not have | +| 4 | Physical memory, identity, trust | D1 (Aienux M5) entirely: key hierarchy, sealed volume keys, envelopes, anti-rollback anchors, migration authorization, production/test separation, deterministic recovery, owner-signed trust chain | NOT_QUALIFIED; TRUST-1 package HOST VALIDATION ONLY (aienos #265) | +| 5 | Native CPU inference | D3 (Aienux M7) entirely | QEMU only; the kernel's model source today is the QEMU fw_cfg channel, which the Spark does not have | | 6 | Native GB10 compute | (new) | aienos #286 open, "Native GB10: replace Linux RM/UVM dependency with an AIENOS backend, through first compute" (title and state checked on GitHub 2026-10-08) | | 7 | GPU inference | (new) | No status recorded in this file | Outside the chain: -- **The rest of D2 (AIENOS M6) networking is OUT of the prerequisite chain for first native inference:** Ethernet/IP and routing, secure transport, service discovery, network failure and recovery. Host and QEMU network work continues. Physical NIC qualification and the two-machine Fabric slice (NEXT-PHASE-5) need it later. -- **D4 (AIENOS M8) persistent-agent proof** is not placed by the decision. Its own steps (section 7, D4: power on, AIENOS boots without Linux, the local model starts, ...) need native boot, storage, identity and native inference, so it cannot close before step 5. It is not a prerequisite for first native inference. +- **The rest of D2 (Aienux M6) networking is OUT of the prerequisite chain for first native inference:** Ethernet/IP and routing, secure transport, service discovery, network failure and recovery. Host and QEMU network work continues. Physical NIC qualification and the two-machine Fabric slice (NEXT-PHASE-5) need it later. +- **D4 (Aienux M8) persistent-agent proof** is not placed by the decision. Its own steps (section 7, D4: power on, Aienux boots without Linux, the local model starts, ...) need native boot, storage, identity and native inference, so it cannot close before step 5. It is not a prerequisite for first native inference. Rules that come with the order: @@ -999,7 +999,7 @@ The "Status 2026-10-10: NOT_RUN" line of the 2026-10-10 addendum above is supers ## Addendum 2026-10-12: AIEN native v1, frozen scope, candidate pins and the N1 to N7 ledger (P01) -Drake's goal set of 2026-10-12: **finish line: AIEN/ALLEN operates on the physical DGX Spark under AIENOS, with no Linux kernel, userspace service, NVIDIA Linux RM/UVM driver, or Linux recovery environment required for the delivered workflow.** Development hosts and reference measurements are separate from this runtime requirement. This addendum records the grounded delivery plan he handed over (twelve work packages P01 to P12, seven gates N1 to N7), freezes the candidate pins, and resolves four document conflicts. It does not raise any milestone status. The native order of the 2026-10-08 (late) addendum is unchanged; the gates below are that order, named. +Drake's goal set of 2026-10-12: **finish line: AIEN/ALLEN operates on the physical DGX Spark under Aienux, with no Linux kernel, userspace service, NVIDIA Linux RM/UVM driver, or Linux recovery environment required for the delivered workflow.** Development hosts and reference measurements are separate from this runtime requirement. This addendum records the grounded delivery plan he handed over (twelve work packages P01 to P12, seven gates N1 to N7), freezes the candidate pins, and resolves four document conflicts. It does not raise any milestone status. The native order of the 2026-10-08 (late) addendum is unchanged; the gates below are that order, named. ### Candidate pins (read from GitHub main on 2026-10-12 ~03:40Z; every N gate receipt names these or a later pinned successor) @@ -1025,10 +1025,10 @@ Status columns rewritten 2026-10-12 (late) as three columns: **implemented** (me | N1 | Real Spark boot is observable and recoverable; operator input and abort work; bounded B7b result and rollback evidence are recorded at exact pins. B7b's one-page SMMU probe is not GPU compute. | P02, P03, P04 | P03 resident lifecycle, aienos#308 `adb4dd0`. P02 B7b one-time staging variant, aienos#309 `6a1ec34` (probe image itself aienos#302 `863bef8`). P04 recovery keyslot unlock aienos#310 `1feaca1`, SecurityManifest aienos#316 `d86cfcf`, secret rotation aienos#317 `22eb360`. C kernel as the BootNext rollback candidate aienos#273 `61bd76a`. **Not implemented:** lifecycle operator input on the Spark's console (input is PL011 serial only, `GATES.md` row 167b; the Spark console is 16550-style, see Reconciliation item R6); no staging script for a service image. | LIFECYCLE rows 160 to 170 and 182 to 185: `AIENOS_CK_LIFECYCLE: PASS`, 183 rows, 0 FAIL (local QEMU run, aienos#317 body). M0_ROLLBACK rows 42 to 46 QEMU PASS, 37 checks (aienos#273 body; run log `evidence/ck_rollback_qemu_5deb3971...log`). B7b probe gate `AIENOS_CK_B7B_PROBE_SELF_TEST`, `_PROBE`, `_POSITIVE` PASS (aienos#302; also run by CI `ck-kernel.yml` lines 151 to 153). | NOT_RUN. (The B7b staging dry run was executed read-only on the Spark on 2026-10-12 and stopped on four preflight items; no boot.) Session plan: aienos `docs/ATTENDED_SESSION_N1.md` (PR aienos#323). | | N2 | Real owner/ALLEN state and committed Store objects survive physical cold starts and the declared fault cases. Corrupt or stale state is refused or recovered explicitly. | P05 (aienos#31, #35, #285) | P05 cut 1 production continuity, aienos#311 `a8bf02b`. Production Store through the recovery keyslot and its manifests: aienos#310, #316, #317 (above). Canonical Omega Cortex store over the sealed Store, aienos#313 `543c1fc` (omega#408 `362c9ab`). **Not implemented:** TPM Slot 0 unwrap (BLOCKED_HARDWARE, aienos#32); #285 incarnations not triggered (issue comment 2026-10-12). | LIFECYCLE rows 171 to 173 (continuity genesis, resume, shape) and 181, 183 to 185 (cold production boots of the same disk) in the 183-row PASS run (aienos#317). Host: `stage_test` 839 checks, plain and ASan/UBSan (aienos#317). Older Store/continuity gates M4_STORE, M4_STORE_CRASH, M4_CONTINUITY, M4_RECOVERY run in CI (`ck_gates.sh`) with TEST keys. | NOT_RUN. Physical prerequisite missing: the Spark's NVMe has no AIENOS-type partition and no free space (Reconciliation item R7). | | N3 | On the physical Spark the operator supplies a new prompt, sees bounded generated output, approves a useful local artifact, cancels another request, and cold-boots to recover the approved artifact and a memory-only fact. The fact must not be restated in the new prompt. | P06 (aienos#34) | P06 cut 1 session API aienos#312 `bf70027`; cut 2 `prompt`/`recall` aienos#314 `9b3b71b`; cut 3 Cortex store aienos#313 `543c1fc` with omega#408 `362c9ab`; cut 4 `remember`/`facts` aienos#315 `10c2ea7`. Boot-disk model source (`MODEL.MAP`, firmware Block I/O) aienos#254 `25836ba`. **Not implemented:** a hardware service image with inference: `native/kernel/Makefile` refuses `CK_INFER_LIB` with `CK_HARDWARE_STAGING` (lines 264 to 266). | INFER session rows 139a to 139f: `AIENOS_CK_INFER_SESSION: PASS`, 33 PASS lines, golden ids 791 6864 315 9822 374 12366 13 128009 (aienos#312). LIFECYCLE rows 174 to 176 (prompt, cancel, recall; TEST-key image, TEST-ONLY fw_cfg model) and 179 to 181 (remembered fact recovered on a cold production boot without being retyped) in the 183-row run (aienos#317). INFER disk mode (`MODEL.MAP`) kernel PASS, one-shot image only (aienos#254 body). **Never run together:** production service image plus model from the disk. | NOT_RUN. No physical C-kernel inference boot is recorded (aienos `evidence/`, listing 2026-10-12). | -| N4 | From a documented cold power state without prior Linux GPU initialization, AIENOS initializes GB10, runs verified computation and cleans up safely. A SMMU probe alone cannot close this gate. | P07, P08 (aienos#286) | B7a SMMUv3 routing aienos#299 `e90226b`; B7b probe image aienos#302 `863bef8`. P07 cut A freestanding GPU engine and platform contract omega#416 `d708443`. P08 cut C host tools: firmware inventory and GSP container inspector aienos#318 `fcb3113`; SEC2 COT encoder and GB10B bindata extractor aienos#319 `4448a50`; GSP-RM boot-argument and message-queue encoders aienos#320 `c30b15e`. **Not implemented:** firmware load, GSP handoff, first channel, any GB10 compute (host-only work for P08 cut C is exhausted; the rest are operator steps after N1). | B7b QEMU probe gate PASS (aienos#302). Host self-tests, not an emulator: `CK_GSP_FW_INSPECT_SELFTEST: PASS` (22 mutations, #318); `CK_GSP_COT_ENCODE_SELFTEST: PASS` 80 checks (#319); `CK_GSP_BOOT_ARGS_ENCODE_SELFTEST: PASS` 142 checks and `CK_GSP_RPC_ENCODE_SELFTEST: PASS` 116 checks (#320); omega GPU engine 49 host / 50 freestanding and platform 6 checks (omega#416). No GB10 emulator exists. | NOT_RUN. | +| N4 | From a documented cold power state without prior Linux GPU initialization, Aienux initializes GB10, runs verified computation and cleans up safely. A SMMU probe alone cannot close this gate. | P07, P08 (aienos#286) | B7a SMMUv3 routing aienos#299 `e90226b`; B7b probe image aienos#302 `863bef8`. P07 cut A freestanding GPU engine and platform contract omega#416 `d708443`. P08 cut C host tools: firmware inventory and GSP container inspector aienos#318 `fcb3113`; SEC2 COT encoder and GB10B bindata extractor aienos#319 `4448a50`; GSP-RM boot-argument and message-queue encoders aienos#320 `c30b15e`. **Not implemented:** firmware load, GSP handoff, first channel, any GB10 compute (host-only work for P08 cut C is exhausted; the rest are operator steps after N1). | B7b QEMU probe gate PASS (aienos#302). Host self-tests, not an emulator: `CK_GSP_FW_INSPECT_SELFTEST: PASS` (22 mutations, #318); `CK_GSP_COT_ENCODE_SELFTEST: PASS` 80 checks (#319); `CK_GSP_BOOT_ARGS_ENCODE_SELFTEST: PASS` 142 checks and `CK_GSP_RPC_ENCODE_SELFTEST: PASS` 116 checks (#320); omega GPU engine 49 host / 50 freestanding and platform 6 checks (omega#416). No GB10 emulator exists. | NOT_RUN. | | N5 | The P06 workflow runs through native GB10 within its frozen correctness, time and memory limits, with repeatable completion and backend evidence. | P09 | Nothing (P09 not started; needs N4 and P06). | None. | NOT_RUN. | | N6 | All required cases pass on the physical candidate; an independent verifier agrees; unresolved outcomes remain explicitly unresolved. | P10 | Nothing (P10 not started). | None. | NOT_RUN. | -| N7 | Install, update and recovery work with no Linux installation or recovery USB required for the supported procedure. A BootNext return to Linux is insufficient. | P11, P12 | P11 cut 1 slot format, selection rules and host tool, aienos#321 `6e3c492` (design PROPOSED; no loader change). P11 cut 1b reproducible native package: aienos#322 `4958cbd` (`scripts/native_package.sh`, `docs/NATIVE_PACKAGE.md`; host build, manifest and owner-signature verification tool). Slot loader (cut 2a) approved by Drake 2026-10-12, narrowly scoped; in progress, not merged. Known-good AIENOS recovery image (cut 4): not built. Today's rollback path is the one-time BootNext return to Linux (aienos#273), which is explicitly insufficient for N7. | Host only: `slot-test` 94 checks and `slot-free` PASS (aienos#321); `native_package_test.sh` 32 checks and the full image reproduced byte for byte across two clean builds at aienos `6e3c492` (sha256 `540b7f75fde9af1e0ac6dccead3a08e9eeb9083bb9088a3492f27b8112ac2303`, aienos#322 body). The four emulator tests Drake required before hardware (successful update, invalid signature, interrupted update, unsuccessful boot): NOT_RUN. | NOT_RUN. | +| N7 | Install, update and recovery work with no Linux installation or recovery USB required for the supported procedure. A BootNext return to Linux is insufficient. | P11, P12 | P11 cut 1 slot format, selection rules and host tool, aienos#321 `6e3c492` (design PROPOSED; no loader change). P11 cut 1b reproducible native package: aienos#322 `4958cbd` (`scripts/native_package.sh`, `docs/NATIVE_PACKAGE.md`; host build, manifest and owner-signature verification tool). Slot loader (cut 2a) approved by Drake 2026-10-12, narrowly scoped; in progress, not merged. Known-good Aienux recovery image (cut 4): not built. Today's rollback path is the one-time BootNext return to Linux (aienos#273), which is explicitly insufficient for N7. | Host only: `slot-test` 94 checks and `slot-free` PASS (aienos#321); `native_package_test.sh` 32 checks and the full image reproduced byte for byte across two clean builds at aienos `6e3c492` (sha256 `540b7f75fde9af1e0ac6dccead3a08e9eeb9083bb9088a3492f27b8112ac2303`, aienos#322 body). The four emulator tests Drake required before hardware (successful update, invalid signature, interrupted update, unsuccessful boot): NOT_RUN. | NOT_RUN. | Work packages, in dependency order: P01 scope and pins (this addendum); P02 recoverable native boot preparation and operator access; P03 resident lifecycle separated from the diagnostic boot; P04 real volume-key unlock and trust binding; P05 physical storage and production continuity; P06 CPU inference and memory as the first useful workflow; P07 freestanding GPU boundary and device ownership; P08 GB10 firmware lifecycle and first compute; P09 frozen model on native GB10; P10 whole-lifecycle qualification; P11 install, update and recovery without Linux; P12 freeze, demonstrate, stop adding scope. P01 to P12 are work packages, not PR numbers. P07 interface work and P06 emulator work may proceed while physical prerequisites are prepared; physical gate closure keeps the recorded order. @@ -1036,9 +1036,9 @@ Standing rules carried into every package: never compile the secret volume key i ### Four document conflicts, resolved for v1 -1. **Loader A/B versus one-time BootNext.** The 2026-10-06 limitation list says the C loader A/B and rollback are parked; aienos#273 made the C kernel the one-time BootNext rollback candidate. Resolution: v1 boot selection is the one-time BootNext candidate plus a known-good AIENOS image, because N7 forbids a Linux return as the recovery path. The A/B loader stays parked unless P11 finds it is the cheapest way to hold two native images; it is not a v1 gate on its own. *Update 2026-10-12 (Reconciliation R8):* P11 cut 1 found the two-slot loader to be the cheapest N7 path (aienos#321, `docs/NATIVE_IMAGE_SLOTS.md` section 1), and Drake approved it the same day, narrowly scoped: the frozen boot stub may change only for signed A/B image selection, boot-success tracking and rollback, and the emulator tests (successful update, invalid signature, interrupted update, unsuccessful boot) come before any hardware run. The known-good AIENOS recovery image is still required for the dual-invalid case. -2. **Secure Boot OFF versus the owner-signed trust chain.** Secure Boot is off on the Spark (2026-10-01) and the TRUST-1 real-owner rows are BLOCKED_OPERATOR, while D1 requires an offline owner signing key for any release. Resolution: the v1 trust target is AIENOS's own owner-signature verification (native C Ed25519, aienos#188/#189) of the image, the install package and the migration record, performed by AIENOS itself after firmware hands over. Implemented on aienos main as of 2026-10-12: the migration record (aienos#189) and owner-signed artifacts after handover (`native/kernel/core/artifact_loader.c`); the image signature check exists only in host-side slot code (aienos#321) and is not on the boot path; install-package signing is a host tool (aienos#322). (Corrected 2026-10-12, Reconciliation R9.) Firmware-level Secure Boot stays OFF and is recorded as a v1 limit, not a gate. The owner-key ceremony is part of P04 and needs an attended window. -3. **aienos#35 names `aienos-cortex`; ADR 0022 names omega `rx_cortex` the canonical Cortex owner.** Resolution: the native continuity record of N2/N3 is the sealed C Store, written and read through the Omega CxStore adapter for AIENOS (P06), so that its shape is the ADR 0022 canonical one. `aienos-cortex` (Rust) is not on the v1 path and is not promoted; aienos#35 is scoped to that reading by comment on the issue. +1. **Loader A/B versus one-time BootNext.** The 2026-10-06 limitation list says the C loader A/B and rollback are parked; aienos#273 made the C kernel the one-time BootNext rollback candidate. Resolution: v1 boot selection is the one-time BootNext candidate plus a known-good Aienux image, because N7 forbids a Linux return as the recovery path. The A/B loader stays parked unless P11 finds it is the cheapest way to hold two native images; it is not a v1 gate on its own. *Update 2026-10-12 (Reconciliation R8):* P11 cut 1 found the two-slot loader to be the cheapest N7 path (aienos#321, `docs/NATIVE_IMAGE_SLOTS.md` section 1), and Drake approved it the same day, narrowly scoped: the frozen boot stub may change only for signed A/B image selection, boot-success tracking and rollback, and the emulator tests (successful update, invalid signature, interrupted update, unsuccessful boot) come before any hardware run. The known-good Aienux recovery image is still required for the dual-invalid case. +2. **Secure Boot OFF versus the owner-signed trust chain.** Secure Boot is off on the Spark (2026-10-01) and the TRUST-1 real-owner rows are BLOCKED_OPERATOR, while D1 requires an offline owner signing key for any release. Resolution: the v1 trust target is Aienux's own owner-signature verification (native C Ed25519, aienos#188/#189) of the image, the install package and the migration record, performed by Aienux itself after firmware hands over. Implemented on aienos main as of 2026-10-12: the migration record (aienos#189) and owner-signed artifacts after handover (`native/kernel/core/artifact_loader.c`); the image signature check exists only in host-side slot code (aienos#321) and is not on the boot path; install-package signing is a host tool (aienos#322). (Corrected 2026-10-12, Reconciliation R9.) Firmware-level Secure Boot stays OFF and is recorded as a v1 limit, not a gate. The owner-key ceremony is part of P04 and needs an attended window. +3. **aienos#35 names `aienos-cortex`; ADR 0022 names omega `rx_cortex` the canonical Cortex owner.** Resolution: the native continuity record of N2/N3 is the sealed C Store, written and read through the Omega CxStore adapter for Aienux (P06), so that its shape is the ADR 0022 canonical one. `aienos-cortex` (Rust) is not on the v1 path and is not promoted; aienos#35 is scoped to that reading by comment on the issue. 4. **NOT_RUN rows versus receipts.** Several status lines in this file say PASS for QEMU or host work under headings that read like hardware milestones. Resolution: the ledger above is the only native v1 status; a gate moves off NOT_RUN only with a receipt that names the physical machine, the pinned commits and the verifier identity, and a QEMU or host PASS is recorded as such in the status column, never as the gate's verdict. Tracked on aien-spark/aien-architecture#190 (release-readiness program, lane L9 native) and on the aienos owner issues #31, #32, #34, #35, #285, #286. @@ -1063,7 +1063,7 @@ Every native v1 claim of this file (this addendum, and the native rows of the 20 | R6 | (not recorded) operator input on the Spark for the service image | input is PL011 serial only (`core/lifecycle.c` header; `GATES.md` row 167b); `core/console.c` lines 185 to 193 report no receiver for a 16550 UART, and the lifecycle then prints `REFUSED no operator input` and stops; the Spark console is 16550-style at `0x16A00000` (aienos `docs/MILESTONES.md` line 239; Linux boots with `earlycon=uart,mmio32,0x16A00000 console=ttyS0,921600`, aienos `evidence/trust1_gate0_capture_2026-09-30/eventlog_parsed.yaml` line 747). The SPCR interface type is UNVERIFIED (root-only table, not read) | gap, unmet N1 criterion ("operator input ... work") | recorded in N1 "not implemented" | | R7 | (not recorded) where the Store lives on the Spark | the kernel writes only inside one GPT partition of type `38DAAC89-5EAD-4B40-8B1E-3687A7418061` (aienos `native/kernel/README.md` lines 439 to 450); the Spark's only NVMe holds the ESP and the Linux root, which ends 33 sectors before the end of the disk (read-only `/sys/block/nvme0n1`, 2026-10-12) | gap, physical prerequisite for N2 and N3; needs an owner decision (it changes the Linux disk) | recorded in N2 | | R8 | "The A/B loader stays parked unless P11 finds it is the cheapest way to hold two native images" (conflict 1) | P11 cut 1 made that finding (aienos#321 `6e3c492`, `docs/NATIVE_IMAGE_SLOTS.md` section 1); Drake approved the slot loader on 2026-10-12, narrowly: the frozen stub may change only for signed A/B selection, boot-success tracking and rollback, with emulator tests first (successful update, invalid signature, interrupted update, unsuccessful boot) | superseded by the owner's decision | dated note added to conflict 1 | -| R9 | "v1 trust is AIENOS's own owner-signature verification ... of the image, the install package and the migration record, performed by AIENOS itself after firmware hands over" (conflict 2) | on main, AIENOS verifies owner-signed artifacts after handover (`native/kernel/core/artifact_loader.c` `cka_verify`) and the migration record (aienos#189); no image signature is verified on the boot path (`slot_select.c` is linked only into the host tool and the `slot-free` check, `native/kernel/Makefile` lines 1544 to 1562); the install package signing is aienos#322 (host tool) | overstated if read as current state | fixed in place: the sentence now says what is implemented and what is target | +| R9 | "v1 trust is AIENOS's own owner-signature verification ... of the image, the install package and the migration record, performed by AIENOS itself after firmware hands over" (conflict 2) | on main, Aienux verifies owner-signed artifacts after handover (`native/kernel/core/artifact_loader.c` `cka_verify`) and the migration record (aienos#189); no image signature is verified on the boot path (`slot_select.c` is linked only into the host tool and the `slot-free` check, `native/kernel/Makefile` lines 1544 to 1562); the install package signing is aienos#322 (host tool) | overstated if read as current state | fixed in place: the sentence now says what is implemented and what is target | | R10 | "the native continuity record of N2/N3 is the sealed C Store, written and read through the Omega CxStore adapter ... aienos#35 is scoped to that reading by comment" (conflict 3) | aienos#313 `543c1fc` (vendored omega `362c9ab`, `omega.lock`); comment on aienos#35 2026-10-12T04:10:45Z | matches | none | | R11 | "a gate moves off NOT_RUN only with a receipt ..." (conflict 4) | every N gate is NOT_RUN in the physical column; no physical receipt exists | matches | evidence-strength note added above the gate table (LIFECYCLE is not in `ck_gates.sh`; INFER not required in CI) | | R12 | candidate pins of 2026-10-12 ~03:40Z | historical; each commit is on its repository's default branch (GitHub compare, 2026-10-12; atlas's default branch is `master`) | matches (historical) | superseded by RC-1 for the attended session | diff --git a/PLAN_AUTHORITY.md b/PLAN_AUTHORITY.md index bb91673..d354595 100644 --- a/PLAN_AUTHORITY.md +++ b/PLAN_AUTHORITY.md @@ -24,7 +24,7 @@ Component repositories may keep local roadmaps and acceptance specifications for Examples: -- `aien-spark/aienos/ROADMAP.md` is the AIENOS component roadmap. +- `aien-spark/aienos/ROADMAP.md` is the Aienux component roadmap. - Omega milestone specifications define acceptance contracts for individual Omega milestones. - Historical Physics/Forge milestone specifications and receipts remain evidence records. - A finite workstream plan under `docs/plans/` is allowed only when its scope is explicit and it is marked **NOT A MASTER PLAN**. diff --git a/README.md b/README.md index 638bc0c..d24717e 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ 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 (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. +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. -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. +Part of [AienOS](https://github.com/aien-dev/aienix), the core tree of AIEN. AienOS is the front door for newcomers; this repository is where the design decisions and the status of record are kept. **Status 2026-10-19: research-grade, pre-alpha.** Nothing in AIEN is described as qualified unless a receipt says so. Details follow. @@ -12,7 +12,7 @@ Part of [Aienix](https://github.com/aien-dev/aienix), the core tree of AIEN. Aie Research-grade and pre-alpha. 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). What follows is a summary, with the source for each point. -- **AIENOS 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 [aienos README](https://github.com/aien-dev/aienos-mv#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 ([aienos-mv#405](https://github.com/aien-dev/aienos-mv/pull/405), merged 2026-10-17, and the follow-up pull requests #406 to #408). The aienos README does not yet describe the iMac runs. +- **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 [aienos README](https://github.com/aien-dev/aienos-mv#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 ([aienos-mv#405](https://github.com/aien-dev/aienos-mv/pull/405), merged 2026-10-17, and the follow-up pull requests #406 to #408). The aienos 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/`](https://github.com/aien-dev/omega-mv/tree/main/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 has no R15 or R16 rerun ([CAND-4 results](qualification/candidates/CAND-4.gates.md)). The R15 and R16 rows in [doctrine/ROADMAP.md](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](docs/adr/0017-argus-defensive-plane.md)). - **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](#specifications-and-plans-not-qualified-code) below). @@ -65,7 +65,7 @@ AEGIS VERIFIES. HARDWARE ACTS. EVIDENCE TEACHES. | [aien-sovereign-core-mv](https://github.com/aien-dev/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 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). Signed test results for all of them are published to [aien-receipts](https://github.com/aien-dev/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. +These six are the core of [AienOS](https://github.com/aien-dev/aienix). They still live in separate repositories and will move into the one AienOS 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). Signed test results for all of them are published to [aien-receipts](https://github.com/aien-dev/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 diff --git a/docs/01-github-repository-map.md b/docs/01-github-repository-map.md index 29442b2..292ab90 100644 --- a/docs/01-github-repository-map.md +++ b/docs/01-github-repository-map.md @@ -6,7 +6,7 @@ Snapshot-oriented map of the AIEN GitHub ecosystem, checked against `gh repo lis | Repository | Visibility | Role | |---|---|---| -| `aien-spark/aienos` | public | AIENOS, the sovereign operating system (pre-alpha). | +| `aien-spark/aienos` | public | AienOS, the sovereign operating system (pre-alpha). | | `aien-spark/omega` | public | Omega, the C reaction runtime and compiler. | | `aien-spark/physics` | public | FORGE machine realization plus historical Atlas/PHYSICS boot evidence. The subsystem was renamed FORGE by [ADR 0014](adr/0014-rename-machine-physics-to-forge.md), which keeps the existing `aien-spark/physics` repository name and history. The GitHub description is empty. | | `aien-dev/atlas` | public | Atlas, the bare-metal boot layer. The GitHub description is empty. | @@ -108,7 +108,7 @@ https://github.com/aien-spark/benchmarks Canonical performance/provenance benchmark work should be linked from this repo rather than copied into architecture docs. -Prime Drag Race suite: lives in `aien-spark/benchmarks` under `prime-drag-race/` (contract, runner, receipts). The native GB10 implementation is in `aien-spark/omega` under `bench/prime_race/` (PR #303). Speed is measured against the machine's physical limit, and correctness against our own reference; there is no outside entry. Environment measured so far: Linux-hosted GB10, not AIENOS. +Prime Drag Race suite: lives in `aien-spark/benchmarks` under `prime-drag-race/` (contract, runner, receipts). The native GB10 implementation is in `aien-spark/omega` under `bench/prime_race/` (PR #303). Speed is measured against the machine's physical limit, and correctness against our own reference; there is no outside entry. Environment measured so far: Linux-hosted GB10, not Aienux. ## Local composition diff --git a/docs/02-implementation-status.md b/docs/02-implementation-status.md index c0ee43d..2bd2ddc 100644 --- a/docs/02-implementation-status.md +++ b/docs/02-implementation-status.md @@ -3,7 +3,7 @@ **Snapshot date:** 2026-09-23. Cortex and Fabric rows updated 2026-10-01 (Lane 33). This is a review snapshot, not a permanent truth source. -**Read this first (2026-10-16, aien-spark/aien-architecture#198 D5).** Rows below were last checked between 2026-09-23 and 2026-10-01. Code moved after that (ALLEN demo, NEXT-PHASE-2, approval desk required by default, OSH, AIENOS native GB10 bring-up, removal of Modular MAX and Mojo on 2026-10-15). For current state per acceptance step read `docs/plans/release-readiness/GAP_ASSESSMENT.md` (mains read 2026-10-10, every claim tied to a commit, PR or receipt); where it and this table differ, the gap assessment wins. Rows touched on 2026-10-16 say so. +**Read this first (2026-10-16, aien-spark/aien-architecture#198 D5).** Rows below were last checked between 2026-09-23 and 2026-10-01. Code moved after that (ALLEN demo, NEXT-PHASE-2, approval desk required by default, OSH, Aienux native GB10 bring-up, removal of Modular MAX and Mojo on 2026-10-15). For current state per acceptance step read `docs/plans/release-readiness/GAP_ASSESSMENT.md` (mains read 2026-10-10, every claim tied to a commit, PR or receipt); where it and this table differ, the gap assessment wins. Rows touched on 2026-10-16 say so. **Cross-repo update, 2026-09-30.** The J-Space, Cortex and Capability Graph rows below were re-checked against `main` of `aien-spark/omega` (`6d1ff1d`), `aien-spark/aienos` (`f0facc7`), `aien-spark/physics` (`f63a6ef`) and `aien-sovereign-core` (`0df7c32`). The other rows keep their 2026-09-23 basis. "Host reference" below means C code that builds and runs on Linux inside a named test target and is not on the production runtime path. Which implementation owns each concept is recorded in `doctrine/ARCHITECTURE.md` §2.8. @@ -32,10 +32,10 @@ Legend: | Effect Broker | 🟡 | mail can check policy and record an allow in Cortex. There is still no single broker that every irreversible effect must pass through. 2026-10-16: the compose path requires the approval desk by default and refuses startup without a desk key (aien-sovereign-core#342); single-use grants with reserve, commit and release (`crates/aien-mcp/src/approval.rs`); grants live in memory only and a restart forgets them | | Signed World commits | 🟡 | provenance primitives exist; World commit is not yet universal signed envelope | | Portable accelerator ABI | 🟡 | multiple backends exist; core still contains hardware-specific history | -| Capability Graph | 🟡 | `ToolDescriptor`, `ToolEffects`, and `CapabilitySnapshot` exist in `aien-capability` / `aien-mcp` (#101). This is not yet the runtime graph of providers, machines, credentials, and policy. RSI's `CapabilityGraph` is a different type. 2026-09-30: the capability authority root is aienos `native/capability/aienos_capability.c` (C, built hosted as `libaienos_capability.a` and linked into omega test targets through `AIENOS_CAP_LIB`; it does not yet run inside a natively booted AIENOS kernel). omega `src/runtime/rx_capq.{c,h}` is a capability query IR only (the build refuses admin symbols); omega `src/runtime/rx_caproot.c` is a host reference root that does not claim R7. aienos `crates/aienos-capability` is the legacy Rust twin, still a dependency of `crates/aienos-kernel`. The canonical runtime Capability Graph (CEP F1) is missing. Update 2026-09-30: a host-level F1 graph now exists (credentials/references not yet modelled): `rx_capq` promoted to the canonical Capability Graph (`aien-spark/omega#115`, `135d1c2`; stable keys, availability/withdraw, 188-byte wire record, machines keyed by `AienMachineId`), tested in `test-capability-graph` (rx-host CI), not in the R13 living-system build | +| Capability Graph | 🟡 | `ToolDescriptor`, `ToolEffects`, and `CapabilitySnapshot` exist in `aien-capability` / `aien-mcp` (#101). This is not yet the runtime graph of providers, machines, credentials, and policy. RSI's `CapabilityGraph` is a different type. 2026-09-30: the capability authority root is aienos `native/capability/aienos_capability.c` (C, built hosted as `libaienos_capability.a` and linked into omega test targets through `AIENOS_CAP_LIB`; it does not yet run inside a natively booted Aienux kernel). omega `src/runtime/rx_capq.{c,h}` is a capability query IR only (the build refuses admin symbols); omega `src/runtime/rx_caproot.c` is a host reference root that does not claim R7. aienos `crates/aienos-capability` is the legacy Rust twin, still a dependency of `crates/aienos-kernel`. The canonical runtime Capability Graph (CEP F1) is missing. Update 2026-09-30: a host-level F1 graph now exists (credentials/references not yet modelled): `rx_capq` promoted to the canonical Capability Graph (`aien-spark/omega#115`, `135d1c2`; stable keys, availability/withdraw, 188-byte wire record, machines keyed by `AienMachineId`), tested in `test-capability-graph` (rx-host CI), not in the R13 living-system build | | Skill Router | 🟡 | 2026-09-30: omega `src/runtime/rx_skillroute.{c,h}` (`aien-spark/omega#115`, `135d1c2`) routes a requirement to a digest-pinned local skill or a remote provider record and binds one `AG_SKILL` action-graph node; tested in `test-capability-graph` (rx-host CI); not in the R13 living-system build; remote execution needs Fabric | | AIEN Fabric | ⬜ | target. 2026-09-30: still absent; the Capability Graph has a FABRIC-sourced record type but nothing feeds it. 2026-10-01: Fabric F5-0 host-only loopback slice merged (`aien-spark/omega#123` `a18ec6b`, format v2 `#137` `1299b19`, living-World phase `#132` `ff2af05`, R13 silicon build `#135` `80da85c`); one process, HMAC stand-in signatures, simulated second machine, no network transport, not qualified. aienos ADR 0010 (Fabric identity) is still Proposed | -| Machine identity / placement | 🟡 | 2026-09-30: identity done at host level: omega `src/runtime/aien_machine_id.{c,h}` canonical `AienMachineId` (`aien-spark/omega#113`, `16f8518`), byte-identical to AIENOS ADR 0014 `machine_id_digest`; `test-machine-identity` in rx-host CI. Placement: not implemented (J-Space `JsHome` is a placeholder) | +| Machine identity / placement | 🟡 | 2026-09-30: identity done at host level: omega `src/runtime/aien_machine_id.{c,h}` canonical `AienMachineId` (`aien-spark/omega#113`, `16f8518`), byte-identical to Aienux ADR 0014 `machine_id_digest`; `test-machine-identity` in rx-host CI. Placement: not implemented (J-Space `JsHome` is a placeholder) | | J-Space | 🟡 | 2026-09-30: host reference only. omega `src/runtime/rx_jspace.{c,h}` (semantic identity as a SHA-256 chain, realizations carry placement and cost) is built at the re-check only into the `rx_branch_reuse` test target, since omega#116 also in `test-jspace-prod`, evidence `evidence/BRANCH_REUSE`; it is not in the R13 living-system build. aienos `crates/aienos-aegis/src/world.rs` has a separate Rust `JSpaceWorld` sandbox that omega does not link (legacy). sovereign-core `aien-capability` has only `JNodeId` / `WorldId` identifiers. Missing: J-Space on the production reaction path (EST-7 planned). Update 2026-09-30: production J-Space for local branches merged (`aien-spark/omega#116`, `529ebfa`; generation-checked ids, limits, durable checkpoints, staged branches; `test-jspace-prod` in rx-host CI). Remote operations return `JS_ERR_REMOTE` (no transport); World commit does not yet call `js_branch_seal`; still not in the R13 living-system build | | Relational Path Engine | ⬜ | PEARL-inspired target. #102 adds an experimental harness only. The example fixture cannot produce a pass, and production recall is unchanged | | Content-addressed model distribution | ⬜ | target | diff --git a/docs/adr/0038-names-aienux-kernel-aienos-system.md b/docs/adr/0038-names-aienux-kernel-aienos-system.md new file mode 100644 index 0000000..0f5b619 --- /dev/null +++ b/docs/adr/0038-names-aienux-kernel-aienos-system.md @@ -0,0 +1,52 @@ +# ADR 0038: Names: Aienux is the kernel, AienOS is the operating system, Aienix is retired + +**Status:** ACCEPTED (2026-10-20). Decided by Drake Stapleton on 2026-10-20. Recorded by the naming worker (ledger L180, Claude). +**Supersedes:** the name "Aienix" for the core tree (aien-dev/aienix front page and the organisation profile) and "AIENOS" as the name of the kernel and of the whole system in prose. +**Related:** ledger L180; brief `~/handoffs/briefs/L180-naming.md`; `CONTEXT.md` section "Names"; `tools/name-check` (branch `naming/name-check-gate`). +**Evidence base:** GitHub default branches of the 29 own aien-dev repositories on 2026-10-20 (forks t3code, rpi5-uefi, edk2-non-osi and translate not counted). + +--- + +## Decision + +Drake's words, 2026-10-20: + +> "Aienux for the kernel" +> +> "we get rid of Aienix altogether since it's already being used" +> +> "or better AienOS" + +| Word | Means | Spelling | Today | +| :--- | :--- | :--- | :--- | +| **Aienux** | The kernel: boots the machine, drives the hardware. | Exactly `Aienux`. | Repository aien-dev/aienos-mv (C kernel, Rust crates, QEMU gates, Allen's window). | +| **AienOS** | The whole operating system: Aienux + Omega + runtime (sovereign core) + Allen. | Exactly `AienOS`. | The core tree repository aien-dev/aienix. | +| **AIEN** | The project and the agent. | Unchanged. | | +| **Omega** | The language, semantic substrate and GPU engine. | Unchanged. | aien-dev/omega-mv. | +| Aienix | Retired everywhere. Another company ("Aienix Technologies") uses it. | | | +| AIENOS, Aienos | Retired in prose. Write Aienux when the kernel is meant and AienOS when the whole system is meant. | | | + +The web address www.aienos.com stays (domain names ignore case); the site text says AienOS. + +## Rules + +1. **Prose** uses the new names from now on. Old prose was changed on branches `naming/aienux-aienos` in every affected repository. +2. **History is never rewritten.** Evidence, receipts, `docs/history`, changelogs, ledger text, commit messages, signed bundles, dated reports and results, and accepted ADRs keep the words they were written with. Read "AIENOS" there as "Aienux" when it names the kernel or its repository, and "Aienix" as "AienOS". +3. **Code names stay until their own change.** Lowercase names (paths, crate and binary names such as `aienos-kernel`, URLs, environment variables), identifiers that contain the old word (`AIENOS_DISK_NATIVE`, `AienosCapRef`) and string labels that feed cryptography (`AIENOS-PKV-ENVID-KEY-V1`) are not prose. Renaming them changes builds, gate names, receipts or derived keys, so each needs its own change with its own tests. Labels that feed key derivation are never renamed. +4. **Strings a test or a person matches** (boot banners, GRUB menu entries, serial log lines) keep their current text until the kernel changes them with their tests; docs quote them as they are. +5. **Check.** `tools/name-check/name-check.sh` fails a change that adds a retired word in prose outside the history paths. It ignores lowercase names and identifiers (rule 3). + +## Repository renames (requested, not done here) + +Renames are GitHub writes and go through the PR desk: + +- aien-dev/aienos-mv to aien-dev/aienux. +- aien-dev/aienix to aien-dev/aienos. + +Found on 2026-10-20: `aien-dev/aienos` and `aien-spark/aienos` are not separate repositories. Both are GitHub redirects to aien-dev/aienos-mv (one history, same first commit; the Rust crates and the C kernel live in that one repository). Renaming aienix to aienos takes the name `aienos` and ends that redirect: any clone or script that still uses `github.com/aien-dev/aienos` would then reach the AienOS tree instead of the kernel. Every such remote and reference must move to the kernel's new name first. The list is in the desk log entry for L180. + +## Consequences + +- The kernel docs say Aienux; the front page, profile and website say AienOS. +- Old ADRs and evidence still say AIENOS and Aienix; rule 2 tells a reader how to map them. +- Code identifiers and paths still carry `aienos` and `AIENOS_`; renaming them is follow-on work per repository, gated by that repository's own tests. diff --git a/docs/adr/README.md b/docs/adr/README.md index ac8dd08..7493547 100644 --- a/docs/adr/README.md +++ b/docs/adr/README.md @@ -50,3 +50,4 @@ Current ADRs: - [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) - [0037 - Who signs native slot images: Owner Root directly, or a Release Signer it delegates to](0037-native-image-slot-signing-roles.md) - ACCEPTED 2026-10-12: Option A for native v1, Option B follow-on (addendum to 0024 Q3; aienos#333, aien-architecture#190) +- [0038 - Names: Aienux is the kernel, AienOS is the operating system, the old names are retired](0038-names-aienux-kernel-aienos-system.md) - ACCEPTED 2026-10-20 (Drake; ledger L180) diff --git a/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md b/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md index d9a719a..badeca8 100644 --- a/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md +++ b/docs/plans/CURRENT_CODE_TO_R0_R16_MIGRATION.md @@ -32,7 +32,7 @@ Every runtime path today is shaped as orchestration: - M19 `omega_world_*` is a synchronous register → submit → ring → drain service. - `aien-sovereign-core` `aien-runtime/src/spine.rs:112` is `for 0..max_steps { step() }`, driven once per request. - `aegis-runtime` `agent.rs:130` is an LLM tool-turn loop. `heartbeat.rs:94` polls an SQLite task table. -- AIENOS boot runs a fixed demo sequence and halts: `aienos-boot/src/handoff.rs:1621`. +- Aienux boot runs a fixed demo sequence and halts: `aienos-boot/src/handoff.rs:1621`. Nothing in code drives AIEN → Omega → AEGIS. The word "omega" does not appear in aienos, sovereign-core, or aegis-runtime. @@ -70,7 +70,7 @@ The pieces worth keeping are primitives, not runtimes: | R15 quantitative performance | HISTORICAL PASS (16/16 at `3e9e53b`); requal FAIL 14/16 at `3108fc2` (omega `evidence/REQUAL-3108fc2/`); NOT requalified on CAND-0 | DGX Spark (#67, `bba3bd3`, 16/16 gates) | | R16 orchestrator retirement | HISTORICAL PASS at `850fc54`; receipt INVALID as a current claim; requal FAIL at `3108fc2`; NOT requalified on CAND-0 | DGX Spark (`aien-spark/omega#112` merged, `3dd5eaa`, receipt `evidence/R16/22d7a79a985514ac38139d39c71c9638d9b6b0a6e05425b6810bdb4833d1ea64.json`) | -The R3/R4 claims are scoped to the host reference runtime. They say nothing about GPU execution (R12) or about the native AIENOS capability root (R7). +The R3/R4 claims are scoped to the host reference runtime. They say nothing about GPU execution (R12) or about the native Aienux capability root (R7). --- @@ -91,7 +91,7 @@ Parallelization groups (§4) are marked **G0–G6**. |---|---|---|---|---|---|---|---|---| | `tools/omegatool.c` (3,962 lines) | CLI that hand-sequences every gate suite and demo | Legacy orchestrated runtime = reference oracle; later one launcher that seeds stimuli and observes | **Oracle** until R16 | everything | Low while untouched | `--run-*-gates` (M4–M14: 111/111 rerun 2026-09-27) | R15 compare, R16 retire | — | | `src/runtime/rx_world.{c,h}` (new) | Host reference reaction runtime: object pool (id, generation, per-field versions, persistence class, content digest), dependency index by field mask, ready set by priority class, explicit lifecycle, versioned snapshot + atomic publication, causal crumbs (SHA-256 DAG) | Seed of `runtime/{object,reaction,dependency,publication,causal}`; the object pool moves onto the shared-world region at R1/R2 | **Keep → Adapt** | `sha256.c`, `rx_caproot` | One world mutex (deliberately simple, ADR 0016 §56); not a performance claim | `make test-r3`: 15 tests, 8,129 checks, 0 fail; 4/4 engine and 4/4 root deliberate-break (mutation) checks detected | R3, R4 (done host); R1, R5, R6, R15 next | G1 | -| `src/runtime/rx_caproot.{c,h}` (new) | Host capability root: separate non-dumpable mint process; table in a sealed memfd, read-only to the runtime; mint / attenuate-only delegation / revoke (cascading via chain walk) / reclaim (generation++) / lease clock / epoch | Linux-host stand-in for the AIENOS kernel root; semantics must equal `aienos caps.rs` plus epoch/lease | **Keep (host)**; native root is aienos | Linux memfd seals (kernel ≥ 5.1; verified on 7.0) | Who may request a fresh mint is not yet authenticated (R7/R8) | Attack tests: forged, stale-generation replay, revoked, wrong subject, wrong resource, insufficient rights, lease expiry, epoch change, amplification, resource widening, non-delegable, cascading revoke, revoke mid-run, mprotect / mmap-write / pwrite / ftruncate / `/proc` reopen / direct-store SIGSEGV | R7 (host part) | G1 | +| `src/runtime/rx_caproot.{c,h}` (new) | Host capability root: separate non-dumpable mint process; table in a sealed memfd, read-only to the runtime; mint / attenuate-only delegation / revoke (cascading via chain walk) / reclaim (generation++) / lease clock / epoch | Linux-host stand-in for the Aienux kernel root; semantics must equal `aienos caps.rs` plus epoch/lease | **Keep (host)**; native root is aienos | Linux memfd seals (kernel ≥ 5.1; verified on 7.0) | Who may request a fresh mint is not yet authenticated (R7/R8) | Attack tests: forged, stale-generation replay, revoked, wrong subject, wrong resource, insufficient rights, lease expiry, epoch change, amplification, resource widening, non-delegable, cascading revoke, revoke mid-run, mprotect / mmap-write / pwrite / ftruncate / `/proc` reopen / direct-store SIGSEGV | R7 (host part) | G1 | | `src/omega_accelerator_world.{c,h}` (M19, 1,369 lines) | Synchronous GPU world: buffer/code registries with `OmegaHandle{epoch,id,gen,type,permissions}`; submit/ring/drain; exactly-once completion (M19R); rolling digest | GPU **realization backend** under R2/R12. `OmegaHandle.permissions` becomes a cached view; the right comes from a capability reference validated against the root (I3) | **Adapt** | physics `nvrm`, `m16` | M19R Lanes A/B are editing this file now | M19 gates (GPU); M19R lifecycle gates | R2, R12 | G2 (after M19R Gate 2) | | `src/omega_world_gates.c` | M19 qualification gates | Unchanged; becomes the regression oracle for R12 | **Keep** | M19 world | Shared with M19R Lanes A/B | `--run-m19-gates` (GPU) | R12, R14 | — | | `src/omega_evidence.{c,h}` | Run-scoped, non-clobbering evidence paths; run commit / dirty tree; observed hardware identity | Receipt plumbing for every R-gate | **Keep** (already reused by the R3 receipt) | — | `run_commit` is HEAD, so every R receipt must also bind `OMEGA_CANDIDATE_COMMIT` | used by all suites | all | — | @@ -113,11 +113,11 @@ Parallelization groups (§4) are marked **G0–G6**. | `m3/capability.s`, `m3/effect_broker.s`, `m3/receipt_ledger.s` | Bare-metal 32-slot capability ledger (slot + generation, attenuation, revoke), 10-stage effect broker, SHA-256 receipt chain | Assembly-level reference oracle for capability and effect semantics | **Keep** (historical, QEMU-qualified) | — | Python gate tooling at repo root violates the no-Python rule | `m3/tests/test_m3_authority.s` 21/21 | R7 oracle, R8 effects | — | | `m16/` native path | libcuda-free channel/GPFIFO | Unchanged | **Keep** | — | — | M16 requalification | R12 | — | -### 3.3 AIENOS (`aien-spark/aienos`, Rust; kernel files are under `crates/aienos-kernel/src/`) +### 3.3 Aienux (`aien-spark/aienos`, Rust; kernel files are under `crates/aienos-kernel/src/`) | Current module | Current responsibility | Target responsibility | Decision | Depends on | Risk | Tests | Milestone | Group | |---|---|---|---|---|---|---|---|---| -| `crates/aienos-kernel/src/caps.rs` (466 lines) | Kernel-owned `CapTable`; handles `{index, generation}`; `derive` enforces subset + DERIVE right; cascading `revoke`; tombstones | **The native capability root** (ADR 0014 gives capabilities to AIENOS). Add epoch and lease/expiry; expose a read-only authority view for resident readiness checks | **Adapt** | — | ABI frozen in `abi.rs` (generation-0 rejected); adding fields needs an ABI version | kernel unit tests, `ipc.rs:461`, `task_runtime.rs:664/813` | R7 (native) | G3 | +| `crates/aienos-kernel/src/caps.rs` (466 lines) | Kernel-owned `CapTable`; handles `{index, generation}`; `derive` enforces subset + DERIVE right; cascading `revoke`; tombstones | **The native capability root** (ADR 0014 gives capabilities to Aienux). Add epoch and lease/expiry; expose a read-only authority view for resident readiness checks | **Adapt** | — | ABI frozen in `abi.rs` (generation-0 rejected); adding fields needs an ABI version | kernel unit tests, `ipc.rs:461`, `task_runtime.rs:664/813` | R7 (native) | G3 | | `artifact_loader.rs:796`, `admission.rs:291` | Only mint path: admission grants → caps | AEGIS `PolicyDecision` → root mint (slow path); fast path = existing capability | **Adapt** | R7 | Minting remains centralized in the kernel (correct) | `artifact_loader_tests.rs`, H01–H29 corpus | R8 | G3 | | `kernel/src/scheduler.rs` (380 lines, host-tested) | Fixed-capacity run-queue policy | Native physical admission below semantic readiness (§8): schedules work, not faculties | **Adapt** | R5 host semantics | Not driven by a live loop yet | host tests | R5 (native) | G3 | | `store/engine.rs`, `checkpoint.rs`, `recovery.rs`, `recovery_core.rs` (Store v1) | A/B superblock atomic commit; crash recovery | Durable side of the generation barrier; commits go through the ADR 0015 ordered protocol | **Keep** | ADR 0015 (merged) | Store v1 catalog bound of 4,096 entries (ADR 0015 Builder 9) | Store golden/negative, `qemu_store_crash_test.sh` | R9 | G4 | diff --git a/docs/plans/RUST_TO_C_MIGRATION.md b/docs/plans/RUST_TO_C_MIGRATION.md index 0f708d0..9e3a420 100644 --- a/docs/plans/RUST_TO_C_MIGRATION.md +++ b/docs/plans/RUST_TO_C_MIGRATION.md @@ -8,7 +8,7 @@ **Written:** 2026-09-28. -**Why this exists.** On 2026-09-27 Drake decided: no Rust anywhere, AIENOS included. Everything comes from our own lineage, and existing Rust gets rewritten. On 2026-09-28 he agreed the target language is C, with hand-written assembly only where a measurement shows it is faster. This document proposes *how* to get there without breaking what already works. +**Why this exists.** On 2026-09-27 Drake decided: no Rust anywhere, Aienux included. Everything comes from our own lineage, and existing Rust gets rewritten. On 2026-09-28 he agreed the target language is C, with hand-written assembly only where a measurement shows it is faster. This document proposes *how* to get there without breaking what already works. **Words used below:** @@ -157,7 +157,7 @@ The rule for every step is the same. **Write the C twin, prove it passes the sam So the proposal is: **do not port it.** Keep it untouched as the reference oracle, the old system new results are compared against, through R15. At R16 archive the repository. The resident AEGIS work in R8 replaces its job. -Cost of this choice: 9,207 lines of Rust stay alive until R16. They are never linked into AIENOS or Omega. +Cost of this choice: 9,207 lines of Rust stay alive until R16. They are never linked into Aienux or Omega. ### Step 3: aienos, in the order boot → kernel → store → crypto diff --git a/docs/plans/adaptive-intelligence/inventory/authority-and-cortex.md b/docs/plans/adaptive-intelligence/inventory/authority-and-cortex.md index b03850f..f5d268b 100644 --- a/docs/plans/adaptive-intelligence/inventory/authority-and-cortex.md +++ b/docs/plans/adaptive-intelligence/inventory/authority-and-cortex.md @@ -12,7 +12,7 @@ Scout: read-only. Repos at pins in /home/drakestapleton/workspace/adaptive/PINS. | aienos-cortex Rust epistemic store | aienos/crates/aienos-cortex | Implemented, integrated into host-side aienos-aegis/aienos-explain only; declared non-authoritative (rx_cortex.h:18-20) | | Operator emergency stop (world level) | omega/src/runtime/rx_world.h:805-830 | Implemented and integrated (tests: omega/tests/r16_qualify/run.sh, tests/runtime/rx_operator_mutants.sh, rx_r12_resident.c) | | Capability authority, kernel-native | aienos/crates/aienos-capability/src/lib.rs | Implemented (7 unit tests), consumed by aienos-kernel caps.rs:9; not on Linux path | -| Resource admission + budgets, kernel | aienos/crates/aienos-kernel/src/{admission,budget}.rs | Implemented (native only; AIENOS is not what runs on this Spark today, per memory) | +| Resource admission + budgets, kernel | aienos/crates/aienos-kernel/src/{admission,budget}.rs | Implemented (native only; Aienux is not what runs on this Spark today, per memory) | | Priority classes (Background/Normal/Latency) | aienos/crates/aienos-kernel/src/scheduler.rs:8-12 | Implemented (native only) | | Host effect broker: intent, token, operator grant | aienos/crates/aienos-aegis/src/{effect,broker,capability,evaluator}.rs | Implemented but disconnected (only crate depending on it is itself; grep of crates/*/Cargo.toml) | | aegis-runtime ExecutionAuthority trait | aegis-runtime/src/execution/broker.rs:15-18 | Implemented but disconnected (zero `impl ExecutionAuthority` in src or tests) | @@ -74,7 +74,7 @@ Gap: the "grant, budget, emergency stop" the Adaptive Intelligence loop needs ex - aienos-aegis (host-side crate, std + serde, not no_std kernel code): `EffectIntent { id, agent_id, action, parameters, claimed_capability_id, is_reversible, world_id }` effect.rs:12-19; `OperatorGrant`; `AegisDecision { Approved, RequiresOperatorApproval, Rejected }` evaluator.rs:9-13; `EffectBroker::dispatch` broker.rs:114 with `EffectAuditRecord :12`; `CapabilityGraph` HMAC-signed tokens, issue_root_token :230, derive_child_token :265, validate_token :340. Test: tests/phase_3_to_5_integration.rs (one file) plus broker.rs unit tests (:211, :331, :386). Doc comment lib.rs:3-4 "intelligence proposes; deterministic authority disposes". Disconnected: no other crate depends on it. - aienos-cortex (src/store.rs `CortexStore` :19; record_observation :31, record_verified_fact :53, record_operator_decision :77): see section 2. -Relevance: this is the only place with unforgeable, revocable, leased capabilities plus resource envelopes, but it targets native AIENOS, not the Linux Spark path used today (memory note aienos-local-copy-stale does not apply; the repo is a fresh clone). UNVERIFIED whether any of it runs on this machine. +Relevance: this is the only place with unforgeable, revocable, leased capabilities plus resource envelopes, but it targets native Aienux, not the Linux Spark path used today (memory note aienos-local-copy-stale does not apply; the repo is a fresh clone). UNVERIFIED whether any of it runs on this machine. ## 5. aien-sovereign-core: Worlds, inference, spine, desk, entry point diff --git a/docs/plans/allen-personalization/CONTRACT-v1.md b/docs/plans/allen-personalization/CONTRACT-v1.md index 85ad280..63dcf33 100644 --- a/docs/plans/allen-personalization/CONTRACT-v1.md +++ b/docs/plans/allen-personalization/CONTRACT-v1.md @@ -6,12 +6,12 @@ Part of the finite workstream in `README.md` (not a master plan). Issue: aien-sp | Concept | Owner | Stored where | Never | |---|---|---|---| -| Identity | AIENOS provisions; host `aien-allen` resolves (read only) | SubjectState kind 24 in the AIENOS Store, host pin `.allen-binding` | Created or edited by host or frontend code. A display name is not identity. | +| Identity | Aienux provisions; host `aien-allen` resolves (read only) | SubjectState kind 24 in the Aienux Store, host pin `.allen-binding` | Created or edited by host or frontend code. A display name is not identity. | | Persona profile | New host crate `aien-allen-profile` is the only writer | `.allen-profile/` beside the binding file | A second copy that claims to be current. Caches carry the revision and refuse identity mismatch. | | Working preferences | Same profile record | Same store | Treated as permissions or as facts from model output. | -| Standing intent | AIENOS (SubjectState) | Subject intents (v0: `GOAL_LATENCY` only) | Written by the profile. Not covered by v1 (see AUDIT-v1). | +| Standing intent | Aienux (SubjectState) | Subject intents (v0: `GOAL_LATENCY` only) | Written by the profile. Not covered by v1 (see AUDIT-v1). | | Memory | Cortex (ARCH-0022) | Cortex journal | Duplicated into the profile. The profile holds no memory content. | -| Permissions | Approval desk and capability authority (S4 `authorize`, AIENOS) | Their own records | Granted by profile text. | +| Permissions | Approval desk and capability authority (S4 `authorize`, Aienux) | Their own records | Granted by profile text. | | User account/session | Not defined in v1 | n/a | Interchangeable with the logical agent id. One local operator per compose home. | One subject per configured root. Multi-subject, multi-device sync, clone and fork are out of scope and refused, not implied. @@ -79,7 +79,7 @@ A reader accepts exactly `aien.allen.profile/1`. Any other schema value is refus 3. **SubjectState independent of weights, KV, machine, queues.** SubjectState is untouched; the profile is a separate host record. 4. **ALLEN is not a planner, UI, scheduler or loop.** The profile is passive data read when a request is built. 5. **Cortex owns memory.** The profile has no memory fields and no journal copy. -6. **AIENOS is the provisioning and capability authority.** Host code only attaches to an existing subject; permissions stay with the approval desk. +6. **Aienux is the provisioning and capability authority.** Host code only attaches to an existing subject; permissions stay with the approval desk. 7. **Missing identity is not repaired by creating another.** Not engaged means profile commands refuse; nothing is minted. 8. **v0 has one subject per root and limited intent semantics.** v1 supports one subject per root and claims no general goals or multiple subjects. 9. **INTERPLANE is interface and transport.** v1 changes no INTERPLANE wire format; any presentation extension would be a separate, explicitly versioned contract. diff --git a/docs/plans/analog-realization/ANALOG_REALIZATION_TEST_PLAN.md b/docs/plans/analog-realization/ANALOG_REALIZATION_TEST_PLAN.md index 82bafaa..0d70837 100644 --- a/docs/plans/analog-realization/ANALOG_REALIZATION_TEST_PLAN.md +++ b/docs/plans/analog-realization/ANALOG_REALIZATION_TEST_PLAN.md @@ -64,7 +64,7 @@ Operation: matvec. Two realizations of **one** semantic program with **one** Sem | Bounded error | Measured error vs oracle within the contract bound at the declared confidence. | | Repeatability | Repeated runs within the declared spread. | | Calibration bound | Fresh calibration digest bound into the realization identity; a stale one is refused in a negative test. | -| No authority bypass | Device access only through an AIENOS capability with a 64-bit generation; a revoked or stale capability is refused. | +| No authority bypass | Device access only through an Aienux capability with a 64-bit generation; a revoked or stale capability is refused. | | Complete evidence | AR3 completeness check passes with `provenance_class` = `PHYSICAL`. | | No vendor identity in the semantic program | The program, contract and World objects are byte-identical between the digital and analog runs; vendor data appears only in the FORGE substrate record. | | Clean digital fallback | Disconnecting or refusing the device yields the digital result under the same contract. | diff --git a/docs/plans/belief-estimation/BELIEF_ESTIMATION_CURRENT_STATE.md b/docs/plans/belief-estimation/BELIEF_ESTIMATION_CURRENT_STATE.md index 03f6183..b00477c 100644 --- a/docs/plans/belief-estimation/BELIEF_ESTIMATION_CURRENT_STATE.md +++ b/docs/plans/belief-estimation/BELIEF_ESTIMATION_CURRENT_STATE.md @@ -49,7 +49,7 @@ Status words: IMPLEMENTED, PARTIAL, EXPERIMENTAL, PLANNED, MISSING, CONFLICTING, | Evolution Arena | PLANNED (spec only) | `docs/specs/EVOLUTION_ARENA_SPEC_V1.md` | No prediction or uncertainty dimensions; header still says PROPOSED and still calls omega #68 a draft (:8, :39). Stale. | | FORGE physical evidence | IMPLEMENTED v1 (duration + success only); EXPERIMENTAL v2 | physics `forge/forge_types.h:66-76`; `forge/v2/forge_substrate_v2.h:192-207` | v2 has temperature, energy with MEASURED / ESTIMATED source, confidence_ppm. No v2 records on disk. | | Effect Broker | IMPLEMENTED but CONFLICTING | aienos `crates/aienos-aegis/src/broker.rs:113-194` (Rust) | Conflicts with the recorded C-target decision; out of scope here. | -| AIENOS physical sensors | MISSING | | Thermal, power and clock sampling exists only as Omega test tooling. | +| Aienux physical sensors | MISSING | | Thermal, power and clock sampling exists only as Omega test tooling. | ## 3. Candidate real signals (EST-2) diff --git a/docs/plans/fabric/F5_0_FABRIC_INTERFACE.md b/docs/plans/fabric/F5_0_FABRIC_INTERFACE.md index 9d0db70..dd653b3 100644 --- a/docs/plans/fabric/F5_0_FABRIC_INTERFACE.md +++ b/docs/plans/fabric/F5_0_FABRIC_INTERFACE.md @@ -98,7 +98,7 @@ JsHome*)` (LOCAL for self, REMOTE_OWNED for a live member, refused otherwise); `fab_state_digest`. Rebuild of the capq index after an ingested record is done by the Fabric. -**AIENOS M6 transport (Lane 5).** Two vtables, nothing else: +**Aienux M6 transport (Lane 5).** Two vtables, nothing else: `FabTransport { send(from, to, bytes), recv(self, buf) }` (untrusted; the Fabric authenticates every message itself) and `FabAuth { sign(bytes) -> tag[32], verify(claimed AienMachineId, bytes, tag) }`. The real transport diff --git a/docs/plans/mixed-algebra/MIXED_ALGEBRA_CURRENT_STATE.md b/docs/plans/mixed-algebra/MIXED_ALGEBRA_CURRENT_STATE.md index 826f3f6..a07e5cf 100644 --- a/docs/plans/mixed-algebra/MIXED_ALGEBRA_CURRENT_STATE.md +++ b/docs/plans/mixed-algebra/MIXED_ALGEBRA_CURRENT_STATE.md @@ -194,7 +194,7 @@ ADR 0019 extends ARCH-0018; it must not re-decide these. 4. Four contract kinds; EXACT is default and never realized on a weaker substrate; undeclared uncertainty means EXACT only (§3.2, §3.3). 5. Calibration is FORGE-produced per substrate instance, content-addressed, bound into realization identity; stale means ineligible; recalibration never widens a contract (§4). 6. Evidence v2 is additive with `provenance_class`; no pointers across boundaries (§5). -7. Substrate access is an AIENOS capability with 64-bit generations; no new loop, scheduler or service (§6). +7. Substrate access is an Aienux capability with 64-bit generations; no new loop, scheduler or service (§6). 8. Fabric transport is cost metadata; remote substrates are capability providers (§7). 9. Digital fallback is the eligible-set rule on the same contract digest, on any Machine (§14 Q7). 10. Substrate classes and V2 wire encodings (AR1, physics#16). diff --git a/docs/plans/osh-r1/OSH-R1.md b/docs/plans/osh-r1/OSH-R1.md index 8351235..2c2cc30 100644 --- a/docs/plans/osh-r1/OSH-R1.md +++ b/docs/plans/osh-r1/OSH-R1.md @@ -29,7 +29,7 @@ R1 is what the Linux adapter must run. This section freezes the language so the | Release | Contents | Gate | |---|---|---| | R1 | Shared Omega core plus Linux adapter: interactive, `-c`, script modes. Interpreter and native ARM64 runs of the same core. | Section 3 | -| R1.1 | AIENOS native: real console input path, storage locations over the Store, artifact packaging and loading, task and IPC use, QEMU acceptance. Depends on the 13 native services in section 6. | QEMU acceptance from the issue, hosted simulation does not count | +| R1.1 | Aienux native: real console input path, storage locations over the Store, artifact packaging and loading, task and IPC use, QEMU acceptance. Depends on the 13 native services in section 6. | QEMU acceptance from the issue, hosted simulation does not count | | R1.2 | Additions in inventory order (unlock count over 326 scripts, recount 2026-10-08): `$( )`, `set -e/-u/-o pipefail`, `if`, `for` and `while`, `case`, `{ }`. | Each addition gets its own vectors and differential rows before it is accepted | | Later | Functions, globbing, here-documents, background jobs, hardware validation (separately authorized, attended). | Not scheduled here | @@ -56,7 +56,7 @@ These are proposals, not ownership decisions. Reconcile with each repo's owners | Compiler additions (OSC-EXT-BYTES, byte load and store, runtime bounds) | omega `src/compiler/` | extends the existing compiler; design merged as omega#169 | | Shell core `.osc` (lexer, parser, expander, session) | omega | split across units (32 function limit per unit) | | Linux host adapter | omega host scaffolding (ADR 0024), owner to confirm | ordinary C, no second parser | -| AIENOS native adapter (console, Store locations, artifact loading, tasks) | aienos | R1.1 | +| Aienux native adapter (console, Store locations, artifact loading, tasks) | aienos | R1.1 | | Platform ABI and conformance vectors | aien-protocols, `specs/osh-platform/` | draft in aien-protocols#16; "if consistent with current ownership" per the issue | | This record, compatibility matrix, status | aien-architecture | scoped, not a plan | | Visor views | omega `src/visor/`, reused through explicit interfaces | section 5 | @@ -74,7 +74,7 @@ The invariant, quoted: "Invariant: THE VISOR CAN ASK. THE VISOR CANNOT GRANT." ( ## 6. R1.1 dependencies: native services that do not exist -From the AIENOS readiness audit at `c63d6db` (read-only, no QEMU run; citations in the issue's audit are repo-relative). Each is an explicit dependency, to be implemented and reviewed, not assumed. +From the Aienux readiness audit at `c63d6db` (read-only, no QEMU run; citations in the issue's audit are repo-relative). Each is an explicit dependency, to be implemented and reviewed, not assumed. 1. Serial console input (`console.c` has output only; the USB keyboard is the only key input). 2. A keyboard session beyond the 60 s total and 15 s idle limits, surviving the recovery choice (`usb_kbd.h:37-41`, `devices.c:75-83`, `xhci_fence.c:101-135`). @@ -98,7 +98,7 @@ Original record pinned above. **Status update 2026-10-08** (GitHub, omega `main` | Item | Status | |---|---| -| Audit of compiler, Visor, AIENOS, scripts, parser design | DONE as read-only notes (not committed evidence) | +| Audit of compiler, Visor, Aienux, scripts, parser design | DONE as read-only notes (not committed evidence) | | OSC-EXT-BYTES design | DONE, merged [omega#169](https://github.com/aien-spark/omega/pull/169) (design only) | | OSC-EXT-BYTES implementation | DONE, merged [omega#335](https://github.com/aien-spark/omega/pull/335) `5227b88` (bytes and cells parameters) | | First-release acceptance frozen | This file; frozen when merged | @@ -108,8 +108,8 @@ Original record pinned above. **Status update 2026-10-08** (GitHub, omega `main` | Differential and hostile suite, pinned bash | IN PROGRESS: GNU bash 5.2.21 (locale not yet pinned); lexer expectations proved against real bash (`bash_verify.sh`); hostile bash differential review of omega#340 (about 1500 cases), fixed in #340 (merged; local evidence: expand 478,635 checks, parse 2,879,236, lex 2,928,338, host 1439, e2e 104 cases and 317 checks, all 0 failures), remaining differences listed in [omega#344](https://github.com/aien-spark/omega/issues/344) | | Interpreter versus native ARM64 run | IN PROGRESS: lexer, parser and expander tests compare interpreter, native ARM64 and C reference on the same inputs (merged); e2e runs every case native and interpreted | | Real script run (`run_builds.sh`) | NOT STARTED | -| Core-only step trace for AIENOS | Linux side merged [omega#343](https://github.com/aien-spark/omega/pull/343) `ed7cbf3` (20 fixtures, native == interpreter == committed trace); AIENOS side not merged | -| AIENOS native services (section 6) | NOT STARTED as merged code | +| Core-only step trace for Aienux | Linux side merged [omega#343](https://github.com/aien-spark/omega/pull/343) `ed7cbf3` (20 fixtures, native == interpreter == committed trace); Aienux side not merged | +| Aienux native services (section 6) | NOT STARTED as merged code | | Native QEMU acceptance | NOT STARTED | | Attended hardware validation | NOT STARTED; needs separate authorization | | Compatibility and limits matrix | NOT STARTED as a matrix; known differences tracked in omega#344 | diff --git a/docs/plans/release-readiness/ACCEPTANCE_E2E.md b/docs/plans/release-readiness/ACCEPTANCE_E2E.md index 64976fb..750f0ff 100644 --- a/docs/plans/release-readiness/ACCEPTANCE_E2E.md +++ b/docs/plans/release-readiness/ACCEPTANCE_E2E.md @@ -57,7 +57,7 @@ Output checks (used by the verifier, OBSERVED): `report.md` exists, UTF-8, first | second-machine verdict | MacBook, verifier built from a clean checkout with `rustc` directly | n/a (verifier only) | E5 cross-machine agreement | | RUN-3 | Spark, installed from the release artifact into a clean user | the qualified public model (Qwen3-4B-Instruct-2507 after a frozen qualification PASS, lane L10); a dry-run artifact with the internal model is RUN-3-internal and never a public-release claim | E1 plus the whole chain | -Native AIENOS is NOT_RUN in v1 and is not a row here; v2 of this file adds it when NEXT-PHASE-3 step 5 closes. +Native Aienux is NOT_RUN in v1 and is not a row here; v2 of this file adds it when NEXT-PHASE-3 step 5 closes. ## 5. Rules of the run @@ -71,7 +71,7 @@ Native AIENOS is NOT_RUN in v1 and is not a row here; v2 of this file adds it wh ## 6. What a PASS does not show -Not claimed by any PASS of this test: security against a hostile operator or model, behaviour under concurrent operators, long-running stability, correctness of the model's prose beyond the output checks, anything on the native AIENOS target, anything about the research programs. +Not claimed by any PASS of this test: security against a hostile operator or model, behaviour under concurrent operators, long-running stability, correctness of the model's prose beyond the output checks, anything on the native Aienux target, anything about the research programs. ## 7. Freeze procedure diff --git a/docs/plans/release-readiness/GAP_ASSESSMENT.md b/docs/plans/release-readiness/GAP_ASSESSMENT.md index aa7f6d6..dee811b 100644 --- a/docs/plans/release-readiness/GAP_ASSESSMENT.md +++ b/docs/plans/release-readiness/GAP_ASSESSMENT.md @@ -21,7 +21,7 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, | release workflow builds three targets, enforces the release gate (candidate named, `omega.lock` and `Cargo.lock` equal the candidate pins), reproducible tarball, dry-run signing with a throwaway key | `.github/workflows/release.yml` steps "Release gate", "Build the candidate way", "Dry run: sign with a throwaway key and verify" | | release candidate manifest | `release/candidate.toml`: CAND-4, omega `c0369e67`, sovereign-core `d5b78ff7`, aienos `b84c0a67`, physics `6d7cf0d4`, model `unsloth/Llama-3.2-1B-Instruct` with per-file sha256 | -**Gaps.** (a) No signed release exists for any current main: v0.1.0 carries only checksums, v0.1.1 is signed with the old key and both are internal test releases by Drake's decision of 2026-10-08 (`RELEASE_NOTES.md` status line). (b) The offline signing key is still open (aien-sovereign-core#118; memory "Public-release gates 2026-10-06": offline signing key and physical rollback mandatory). Drake's call. (c) CAND-4 pins are far behind every main (sovereign-core `d5b78ff7` vs `2d5f2093`, omega `c0369e67` vs `16e729b6`); no CAND-5 manifest exists under `qualification/candidates/`. A release today would ship code weeks older than what the demos below ran. (d) The candidate model is licence-restricted: "internal-only until an open-licence model passes" (`candidate.toml` `distribution`); SmolLM2 and Qwen3 qualification campaigns exist in `docs/campaigns/` but the Qwen3 v5 spec is a draft, not run (arch#164 open items). (e) No install path for the native AIENOS target; E1 as written is a Linux-host install. +**Gaps.** (a) No signed release exists for any current main: v0.1.0 carries only checksums, v0.1.1 is signed with the old key and both are internal test releases by Drake's decision of 2026-10-08 (`RELEASE_NOTES.md` status line). (b) The offline signing key is still open (aien-sovereign-core#118; memory "Public-release gates 2026-10-06": offline signing key and physical rollback mandatory). Drake's call. (c) CAND-4 pins are far behind every main (sovereign-core `d5b78ff7` vs `2d5f2093`, omega `c0369e67` vs `16e729b6`); no CAND-5 manifest exists under `qualification/candidates/`. A release today would ship code weeks older than what the demos below ran. (d) The candidate model is licence-restricted: "internal-only until an open-licence model passes" (`candidate.toml` `distribution`); SmolLM2 and Qwen3 qualification campaigns exist in `docs/campaigns/` but the Qwen3 v5 spec is a draft, not run (arch#164 open items). (e) No install path for the native Aienux target; E1 as written is a Linux-host install. ### E2 objective @@ -30,9 +30,9 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, | `aien` CLI: `daemon`, `start`, `stop`, `status`, `cockpit`, `allen `, `compose`, `goal `, `goal auto `, `auto `, `cortex`; daemon control over a UNIX socket `/tmp/aien-runtime.sock`, mode 0600 | `crates/aien-cli/src/main.rs:41-130`, `crates/aien-runtime/src/client.rs:22-28`, `server.rs:169-178` (scout reading, call sites UNVERIFIED by the author) | | the ALLEN end-to-end demo accepts a real objective (write a short document under stated requirements) under a resolved ALLEN identity, with a profile and a standing goal, and records it before work starts | `docs/campaigns/allen-e2e/DEMO-v2.md` steps S1 to S3; `RESULT-v3.md` PASS 10/10 real-CPU, `RESULT-v4-gb10.md` PASS 10/10 with S0 to S6 on the GB10 (native Omega engine, no CUDA), receipts `receipts-v3.jsonl`, `receipts-v4-gb10.jsonl` | | cockpit HTTP on `127.0.0.1:18095` with `/api/goals`, `/api/approvals/{id}`, `/api/chat/stream`, `/api/action` | `crates/spark-cockpit-rs/src/main.rs` route table (scout) | -| OSH, the Omega shell: `osh -c`, scripts, `--caps` policy, `--journal`; capability-authorized platform ops SPAWN, CHDIR, OPEN_WRITE, OPEN_READ through one request record on both the Linux host and the AIENOS test adapter | omega `src/osh/host/osh_main.c:4-12`, `osh_host.h:50,103-127`; aienos `native/kernel/core/osh_op.h:45-87` (omega#344 lane done, aienos#294) | +| OSH, the Omega shell: `osh -c`, scripts, `--caps` policy, `--journal`; capability-authorized platform ops SPAWN, CHDIR, OPEN_WRITE, OPEN_READ through one request record on both the Linux host and the Aienux test adapter | omega `src/osh/host/osh_main.c:4-12`, `osh_host.h:50,103-127`; aienos `native/kernel/core/osh_op.h:45-87` (omega#344 lane done, aienos#294) | -**Gaps.** (a) Three operator surfaces that do not meet: the cockpit's `/api/action` accepts only five fixed names and shells out to `aien`; its approvals are a hard-coded in-memory list (`spark-cockpit-rs/src/main.rs:924-935`, verified) that never reaches the real approval desk; OSH runs shell strings and scripts and has no objective or agent entry point (negative, UNVERIFIED exhaustively). (b) The objective in the demo is pre-declared in a spec; free-form objective entry exists only as `aien goal ` to the slash handler, whose execution path is not proven by any receipt found. (c) No operator interface exists on native AIENOS beyond the OSH test adapter. +**Gaps.** (a) Three operator surfaces that do not meet: the cockpit's `/api/action` accepts only five fixed names and shells out to `aien`; its approvals are a hard-coded in-memory list (`spark-cockpit-rs/src/main.rs:924-935`, verified) that never reaches the real approval desk; OSH runs shell strings and scripts and has no objective or agent entry point (negative, UNVERIFIED exhaustively). (b) The objective in the demo is pre-declared in a spec; free-form objective entry exists only as `aien goal ` to the slash handler, whose execution path is not proven by any receipt found. (c) No operator interface exists on native Aienux beyond the OSH test adapter. ### E3 execute @@ -46,7 +46,7 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, | provenance: a model commit names its generation record and the ALLEN agent; ledger links grant id, proposal sha256, content sha256, model digest and identity | #318; `RESULT-v4-gb10.md` S4 | | PREFILL-E2E-0/1/2 (real checkpoint, shared prefill, N-branch fork, append-only revisions) | aien-sovereign-core#154, #163, #165 | -**Gaps.** (a) Approval grants live in memory only: "A restart forgets every grant" (`approval.rs:16-17`, verified). The desk MAC for approved proposals (#262) is restart-safe; the grant broker is not. (b) Planning and capability routing: the Skill Router and World commit binder exist in omega (COMPOSITION-2, omega#121) and the compose path drives approved proposals through verify and World commit (#244), but no receipt found shows a multi-step plan chosen by the runtime for a free-form objective; the demo's objective is a single compose. (c) Inference on native AIENOS: NOT_RUN in every demo ("native-AIENOS: NOT_RUN" in all four RESULT files); aienos M7 native CPU inference is open (aienos#34) and the int8 kernel speed-up is a draft (aienos#300, kernel default stays f32 until Drake says go). +**Gaps.** (a) Approval grants live in memory only: "A restart forgets every grant" (`approval.rs:16-17`, verified). The desk MAC for approved proposals (#262) is restart-safe; the grant broker is not. (b) Planning and capability routing: the Skill Router and World commit binder exist in omega (COMPOSITION-2, omega#121) and the compose path drives approved proposals through verify and World commit (#244), but no receipt found shows a multi-step plan chosen by the runtime for a free-form objective; the demo's objective is a single compose. (c) Inference on native Aienux: NOT_RUN in every demo ("native-AIENOS: NOT_RUN" in all four RESULT files); aienos M7 native CPU inference is open (aienos#34) and the int8 kernel speed-up is a draft (aienos#300, kernel default stays f32 until Drake says go). ### E4 memory @@ -58,7 +58,7 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, | durable effect intents and acks in Cortex, reconcile at start | aien-sovereign-core#227 | | `cortex-rs` HTTP memory service (SQLite WAL, FTS5), used by the agents on the Spark today | `crates/cortex-rs/`; `AGENTS.md` (Cortex at `127.0.0.1:18080`) | -**Gaps.** (a) Four memory stores with one declared owner: ADR 0022 makes omega `rx_cortex` the canonical Cortex; `cortex-rs/README.md` still calls itself "the canonical memory engine"; `aien-allen-memory` is a third store; `aienos-cortex` a fourth (`aienos/crates/aienos-cortex`). The acceptance test needs one answer to "which store must the recall come from". (b) The restart in S5 is a graceful stop (exit 0); E4 after an unclean stop is covered only by the fault harness rows in E6, not by a recall assertion. (c) Cortex persistence on native AIENOS: aienos#35 open; QEMU store crash and reboot PASS (aienos#134, #136), native storage atomicity FAIL (`NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL`, `aienos/evidence/p3_nvme_atomicity_2026-09-25.md`), waits on TRUST-1 (aienos#32). +**Gaps.** (a) Four memory stores with one declared owner: ADR 0022 makes omega `rx_cortex` the canonical Cortex; `cortex-rs/README.md` still calls itself "the canonical memory engine"; `aien-allen-memory` is a third store; `aienos-cortex` a fourth (`aienos/crates/aienos-cortex`). The acceptance test needs one answer to "which store must the recall come from". (b) The restart in S5 is a graceful stop (exit 0); E4 after an unclean stop is covered only by the fault harness rows in E6, not by a recall assertion. (c) Cortex persistence on native Aienux: aienos#35 open; QEMU store crash and reboot PASS (aienos#134, #136), native storage atomicity FAIL (`NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL`, `aienos/evidence/p3_nvme_atomicity_2026-09-25.md`), waits on TRUST-1 (aienos#32). ### E5 verify @@ -79,9 +79,9 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, | durable effect intent before write, ack after; lost ack reported `UNRESOLVED` (exit 3); reconcile at start; grants refused with named reasons `Stopped`, `NotAuthorized`, `AlreadySpent`, `ReconciliationRequired`, `Revoked`, `Stale`; durable stop; damaged `processed_operations.json` refuses startup | aien-sovereign-core#227 | | fault harness against the real daemon (hold points behind a cargo feature; release binary carries 0 hold strings); ACCEPTANCE-v4 rows C7a PASS x3 (reconcile error: reads and controls served, every effect refused until an operator reconcile), C7c PASS x3 (reconcile panic: daemon stops before serving, nothing written, next start clears the socket), C6i PASS (`E_REPLAY` refused, `cortex.cx` byte-identical); every v2 and v3 row not replaced PASS | `docs/campaigns/next-phase-2/VERDICT-v4.md` sections 1 to 3 | | graceful stop and restart with unchanged ledger, record count, document inode and mtime; replay reconcile 0 claims | `RESULT-v4-gb10.md` S5 | -| AIENOS subject restart across two processes on a sealed Store image | `native/kernel: make test-continuity-subject-restart` PASS (`docs/plans/allen-continuity/CAMPAIGN-v0-PREREG.md` line 22) | +| Aienux subject restart across two processes on a sealed Store image | `native/kernel: make test-continuity-subject-restart` PASS (`docs/plans/allen-continuity/CAMPAIGN-v0-PREREG.md` line 22) | -**Gaps.** (a) The acceptance step is a SIGKILL mid-objective followed by completion of the same objective. What exists proves refusal and non-duplication after faults; no receipt shows an interrupted objective being finished after restart. (b) ALLEN is not bound into the compose path: "MISSING_IMPLEMENTATION" (`CAMPAIGN-v0-PREREG.md` status table), so identity continuity and effect continuity are proven separately, not together. (c) Native AIENOS recovery blocked on storage (E4 gap c). +**Gaps.** (a) The acceptance step is a SIGKILL mid-objective followed by completion of the same objective. What exists proves refusal and non-duplication after faults; no receipt shows an interrupted objective being finished after restart. (b) ALLEN is not bound into the compose path: "MISSING_IMPLEMENTATION" (`CAMPAIGN-v0-PREREG.md` status table), so identity continuity and effect continuity are proven separately, not together. (c) Native Aienux recovery blocked on storage (E4 gap c). ## 3. Component findings outside the six steps @@ -90,7 +90,7 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, - **FORGE (physics `8b23e5a2`).** The driver-layer lifecycle, submission and allocation API consumed by omega through `physics.lock`; host gates run six jobs, five chip jobs are SKIP-only in CI (chip time is local); evidence folders AR2, FORM0, M19R, PD0B, m15, m16; open issue physics#2 (physical frame authority, needs a boot). The GB10 out-of-memory root cause (forced-contiguous main context buffer, omega#327) is documented; the mitigation is the reservation path, not a driver fix. - **Protocols (aien-protocols `66610096`).** Nine crates; only `osc-unit-artifact` is FROZEN; `evidence-receipt` has a SUBSET only; OSH Platform ABI v1 is an open DRAFT PR (#16, checks green). The acceptance test's receipt and verdict shapes have no frozen home yet. - **INTERPLANE (interplane `f1cc43cd`).** 80 Python files and 74 Rust files in the tree; the AIEN adapter itself is Rust and pins aien-sovereign-core at `9b5e6e8` (scout); qualification runs on a self-hosted runner by hand. Drake's "no Python in any repo" rule and INTERPLANE's examples disagree; INTERPLANE is declared to belong to neither side. Recorded, not resolved. -- **AIENOS (aienos `e90226ba`).** All 24 QEMU CK gates PASS at `7f0de7e` (#295); native GB10 bring-up B4 to B7a merged 2026-10-10 (#296 to #299), B7b hardware boot needs a machine window; M4 storage native atomicity FAIL waits on TRUST-1 (#32); M5, M6, M7, M8 open (#32 to #35). Native AIENOS is NOT_RUN for every acceptance step. +- **Aienux (aienos `e90226ba`).** All 24 QEMU CK gates PASS at `7f0de7e` (#295); native GB10 bring-up B4 to B7a merged 2026-10-10 (#296 to #299), B7b hardware boot needs a machine window; M4 storage native atomicity FAIL waits on TRUST-1 (#32); M5, M6, M7, M8 open (#32 to #35). Native Aienux is NOT_RUN for every acceptance step. - **Omega (omega `16e729b6`).** Substrate, numerics, GPU engine, OSH, `rx_cortex`, the AT evaluators; 0 open PRs; open issues are research tracking (#358, #371), OSH follow-ups (#344) and two GB10 performance and memory items (#327, #328). ## 4. Discrepancy register (plan or document wording versus code) @@ -101,7 +101,7 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run, | D2 | `RELEASE_NOTES.md` and `TEST_READY.md` describe live Modular MAX inference (port 18006) and ONNX encoders as part of the release | decision "leave MAX, no CUDA" (2026-10-02); the qualified path is the native Omega engine; `spark-max-rs`, `spark-max-cabi` still in the workspace | aien-sovereign-core root docs and `crates/` | | D3 | `aegis-runtime/README.md`: in-process native inference, 30 s heartbeat, TPM vault | mock backend by default, 60 s, "not a TPM" in the same README | aegis-runtime `src/inference.rs:504-515`, `src/main.rs:181` | | D4 | `release/candidate.toml` CAND-4 is "the candidate this tree is allowed to be released as" | every main is weeks past the CAND-4 pins; the demos that PASS ran on code CAND-4 does not contain | `qualification/candidates/CAND-4.toml` vs mains above | -| D5 | `docs/02-implementation-status.md` snapshot 2026-09-23 (rows updated 2026-10-01); `docs/11-gap-analysis.md` undated | code moved through 2026-10-10 (ALLEN demo, NEXT-PHASE-2, approval desk default, OSH, AIENOS B7a) | aien-architecture `docs/` | +| D5 | `docs/02-implementation-status.md` snapshot 2026-09-23 (rows updated 2026-10-01); `docs/11-gap-analysis.md` undated | code moved through 2026-10-10 (ALLEN demo, NEXT-PHASE-2, approval desk default, OSH, Aienux B7a) | aien-architecture `docs/` | | D6 | `CURRENT_EXECUTION_PLAN.md` last addendum 2026-10-08 | merges of 2026-10-09 and 2026-10-10 in every repo are not reflected; the plan does not name the whole-system acceptance test | aien-architecture `CURRENT_EXECUTION_PLAN.md` (`60c92db`) | | D7 | spark-rsi README: standalone build; evidence receipt cites CI "Test & Invariant Verification" | needs `../aien-protocols` sibling; workflow is "Sovereign CI" | spark-rsi `Cargo.toml:43-45`, `.github/workflows/ci.yml` | | D8 | physics driver header: "shared by M16 qualification and M17" | no M17 directory | physics tree | @@ -118,7 +118,7 @@ Correction (2026-10-16, #198): the D9 row overstates the gap. In aien-sovereign- 4. **Independent verifier for whole-system runs.** Separate code from the executor, a frozen receipt and verdict identity (aien-protocols `evaluation` or `evidence-receipt`), and a second-machine run. The AT-1 evaluator is the pattern that already works. 5. **Release artifact for current mains.** A CAND-5 manifest, a signed release from it, and the offline signing key (Drake). Until then E1 can only be rehearsed with the throwaway-key dry run. 6. **Operator surface.** One entry point that takes a free-form objective and reaches the real approval desk; the cockpit's placeholder approvals either wired to the desk or removed. -7. **Native AIENOS.** Every step NOT_RUN; blocked on TRUST-1 and storage atomicity (aienos#32, #31), native inference (#34), Cortex persistence (#35), and a machine window for B7b. The acceptance test's first PASS will be on the Linux host; the native target is a second lane, not a reason to wait. +7. **Native Aienux.** Every step NOT_RUN; blocked on TRUST-1 and storage atomicity (aienos#32, #31), native inference (#34), Cortex persistence (#35), and a machine window for B7b. The acceptance test's first PASS will be on the Linux host; the native target is a second lane, not a reason to wait. 8. **Dead or stale components.** AEGIS runs a mock model and polls MAX; spark-rsi depends on MAX and Cortex HTTP; both need a decision: bring onto the native path, or declare out of the release and say so in the docs. ## 6. Drake's call (collected, non-blocking) @@ -126,7 +126,7 @@ Correction (2026-10-16, #198): the D9 row overstates the gap. In aien-sovereign- 1. Offline release-signing key (aien-sovereign-core#118). Without it there is no public release; with it the release lane can run. 2. Release model: stay internal-only on Llama 3.2, or run the SmolLM2 or Qwen3 qualification to the end for an open-licence release. 3. AEGIS and spark-rsi: in the release (then they move to the native inference path) or out (then the docs say so). -4. Machine window for AIENOS B7b hardware boot and the memory-map capture (physics#2 step 1). +4. Machine window for Aienux B7b hardware boot and the memory-map capture (physics#2 step 1). 5. The int8 kernel default (aienos#300, plan on aienos#34). ## 7. What this file does not claim diff --git a/docs/plans/release-readiness/INTEGRATION_PLAN.md b/docs/plans/release-readiness/INTEGRATION_PLAN.md index e9cef00..3b0b435 100644 --- a/docs/plans/release-readiness/INTEGRATION_PLAN.md +++ b/docs/plans/release-readiness/INTEGRATION_PLAN.md @@ -9,7 +9,7 @@ Written 2026-10-10 by the coordinating session (Claude Code 85679b2b). Status wo 1. **Pre-registered acceptance before code.** Each lane's acceptance rows are frozen in a document (with its commit) before the implementation PR opens, as NEXT-PHASE-2 did (`ACCEPTANCE-v2.md` frozen at `a564c61` before code). A row is PASS only if every repetition passes and its negative control fails as predicted; NOT_RUN is never PASS. 2. **Receipts chain to the objective.** Every receipt written during a run names the objective identity (lane L0 fixes the shape), so one run yields one chain, not six folders. 3. **No new store, no new daemon, no new language.** Shell plus `jq` for harnesses, Rust and C for code, no Python, no systemd, no network during a run, no CUDA (the native Omega engine is the GB10 path). -4. **Host rehearsal, native release.** The frozen WHOLE-SYSTEM-E2E v1 contract is a hosted rehearsal/reference. The release finish is the native AIENOS workflow and physical N1-N7, following the governing native order and its separately frozen E1-E6 adaptation. Updated by Drake's 2026-10-14 direction, recorded in the execution plan; a hosted PASS does not finish the native release. +4. **Host rehearsal, native release.** The frozen WHOLE-SYSTEM-E2E v1 contract is a hosted rehearsal/reference. The release finish is the native Aienux workflow and physical N1-N7, following the governing native order and its separately frozen E1-E6 adaptation. Updated by Drake's 2026-10-14 direction, recorded in the execution plan; a hosted PASS does not finish the native release. 5. **Issue-first.** Each lane has a component issue; milestones are comments on #190; merged PRs and receipts are the only status. 6. **Owner decisions have explicit boundaries.** Independent preparation continues while an owner decision is pending. The affected physical boot, disk/firmware change, signing ceremony or recovery experiment waits for its required decision and attended authorization. Section 6 records the earlier rulings; later accepted decisions and the execution plan govern. @@ -26,7 +26,7 @@ Written 2026-10-10 by the coordinating session (Claude Code 85679b2b). Status wo | L6 | One operator entry: `aien objective ""` (or the existing `goal ` made real) creates the objective record and routes it to compose proposals through the required approval desk; cockpit placeholder approvals wired to the desk or removed | E2 | L0 | aien-sovereign-core `crates/aien-cli`, `crates/aien-runtime`, `crates/spark-cockpit-rs` | free-form objective recorded with its identity before any work; forbidden effect refused before execution; cockpit no longer shows approvals that do not exist | | L7 | Documents tell the truth: D1 to D10 of the gap assessment fixed (release notes without MAX, AEGIS README, spark-rsi README and CI name, implementation-status refresh, physics header note, interplane README wording) | none directly; removes false status | none | each repo | every D row closed by a merged PR or by an explicit "kept, because" note | | L8 | Stale components: spark-rsi `judge`, `cycle`, `daemon` accept a policy file so v2 receipts are the default; AEGIS and spark-rsi marked "not part of WHOLE-SYSTEM-E2E v1" in their READMEs (Drake rulings 3 and 4, section 6) | E5 (RSI receipts) | none | spark-rsi, aegis-runtime | v2 receipt from the CLI path with a test; README status lines merged | -| L9 | Native AIENOS: unchanged NEXT-PHASE-3 order (operator input and recovery, boot selection and rollback, storage, trust and identity, native CPU inference, native GB10, GPU inference); the acceptance test's version 2 is written when step 5 closes | all, on the native target | machine window (Drake), TRUST-1 | aienos, physics | not in version 1; reported on #190 only when a step closes | +| L9 | Native Aienux: unchanged NEXT-PHASE-3 order (operator input and recovery, boot selection and rollback, storage, trust and identity, native CPU inference, native GB10, GPU inference); the acceptance test's version 2 is written when step 5 closes | all, on the native target | machine window (Drake), TRUST-1 | aienos, physics | not in version 1; reported on #190 only when a step closes | | L10 | Public model qualification: frozen qualification campaign for Qwen3-4B-Instruct-2507 (Apache-2.0) on the existing qualification harness; PASS or FAIL recorded; FAIL blocks the public bundle | E1, E3 (public bundle) | none (internal runs use CAND-4) | aien-sovereign-core, aien-architecture `qualification/` | frozen rows, receipts, verdict; CAND-5 names the model only after PASS | ## 3. Order @@ -61,7 +61,7 @@ Each milestone comment carries OBSERVED, INFERRED and NOT CLAIMED lines and a li ## 5. What is not in this plan -Research programs (AT-0, AT-1, Brownian, Physics Zero) are on record and closed or parked; they do not consume this program's lanes. Networking (AIENOS M6) stays outside the native prerequisite chain by the 2026-10-08 decision. Phone agent and voice stay PARKED. The public model qualification is lane L10 (Drake ruling 2, section 6). +Research programs (AT-0, AT-1, Brownian, Physics Zero) are on record and closed or parked; they do not consume this program's lanes. Networking (Aienux M6) stays outside the native prerequisite chain by the 2026-10-08 decision. Phone agent and voice stay PARKED. The public model qualification is lane L10 (Drake ruling 2, section 6). ## 6. Drake's rulings of 2026-10-10 (these replace the earlier default assumptions) @@ -73,7 +73,7 @@ Recorded on #190 (comment of 2026-10-10). Decisions, not claims that any has bee | 2. release model | Qwen3-4B-Instruct-2507 (Apache-2.0) is the selected public candidate, conditional on a frozen qualification PASS; Llama 3.2 (CAND-4) is internal-test only; a failed qualification blocks the public bundle, no silent substitution | new lane L10 (model qualification) ahead of the public bundle in L5; RUN-1 and RUN-2 may use the internal model, RUN-3 public needs the qualified one | | 3. AEGIS | standalone AEGIS out of v1; capability checks, approval desk, effect authorization and fail-closed behaviour stay in the runtime | L8 README status lines state it; no AEGIS lane on the critical path | | 4. RSI engine | out of v1 active runtime; development and evaluation continue independently; no unattended self-modification or automatic promotion | L8 README status lines state it; the v2-receipt fix still lands as component work | -| 5. AIENOS hardware boot (B7b) | preparation authorized, no unattended boot; first operator-confirmed two-hour attended window after recovery media, rollback, trust and preflight checks pass | L9 adds the attended-window prerequisites checklist; the boot itself waits for Drake in the room | +| 5. Aienux hardware boot (B7b) | preparation authorized, no unattended boot; first operator-confirmed two-hour attended window after recovery media, rollback, trust and preflight checks pass | L9 adds the attended-window prerequisites checklist; the boot itself waits for Drake in the room | | 6. int8 kernel default (aienos#300) | promotion approved for supported GB10 hardware, subject to native qualification: CPU-feature detection, numerical parity, rollback, native regression tests; f32 fallback retained | aienos#300 proceeds as a gated promotion; no effect on version 1 of the test | AT-1 C10 is deferred (INCONCLUSIVE); it takes no main engineering capacity and may be run later by an independent operator with separate credentials. @@ -93,7 +93,7 @@ Governing instruction (Drake): execute WHOLE-SYSTEM-E2E through a qualified publ > > Drake's decision of 2026-10-10: AT-1 is closed as REVIEWED, no AT-2 is chartered, and the principal effort is finishing AIEN as one usable system. The program runs issue-first on aien-spark/aien-architecture#190 with a finite plan under `docs/plans/release-readiness/` (NOT A MASTER PLAN). > -> The stage "INTEGRATED AIEN + CORTEX + RSI" of section 3 gains a gate on the host path: WHOLE-SYSTEM-E2E (E1 install, E2 objective, E3 execute, E4 memory, E5 verify, E6 recover; receipts and negative controls per step; `docs/plans/release-readiness/ACCEPTANCE_E2E.md` once frozen). Status 2026-10-10: NOT_RUN. The native AIENOS order of the 2026-10-08 (late) addendum is unchanged; the native target takes version 2 of the test after its step 5. +> The stage "INTEGRATED AIEN + CORTEX + RSI" of section 3 gains a gate on the host path: WHOLE-SYSTEM-E2E (E1 install, E2 objective, E3 execute, E4 memory, E5 verify, E6 recover; receipts and negative controls per step; `docs/plans/release-readiness/ACCEPTANCE_E2E.md` once frozen). Status 2026-10-10: NOT_RUN. The native Aienux order of the 2026-10-08 (late) addendum is unchanged; the native target takes version 2 of the test after its step 5. > > Current baseline corrections (code and receipts, read 2026-10-10): ALLEN demo v3 PASS 10/10 (CPU) and v4-gb10 PASS 10/10 (GB10, native Omega engine, no CUDA) at aien-sovereign-core `docs/campaigns/allen-e2e/`; NEXT-PHASE-2 ACCEPTANCE-v4 PASS (`docs/campaigns/next-phase-2/VERDICT-v4.md`); approval desk required by default (sc#342); golden path PASS on the GB10 at `fefce80` (sc#94). No signed release of any current main exists; CAND-4 is the only candidate manifest. The ten discrepancies of `GAP_ASSESSMENT.md` section 4 stand until closed by lane L7. diff --git a/docs/research/hermes-agent-prior-art.md b/docs/research/hermes-agent-prior-art.md index e9ce9f6..8f55132 100644 --- a/docs/research/hermes-agent-prior-art.md +++ b/docs/research/hermes-agent-prior-art.md @@ -214,7 +214,7 @@ hermes_platform/]. scheduler but no delivery ledger and no at-most-once cron discipline (its README and source list neither). The hive's forge queue and lanes ledger are shell-level. Synapse has revisions and recovery for changesets, not for -message delivery. The AIENOS continuity commit path already does +message delivery. The Aienux continuity commit path already does advance-before-act for its own store (ADR 0016). ## 5. Tools, approvals, delegation, checkpoints @@ -261,7 +261,7 @@ on our side. Each becomes one issue; the issue carries the credit line. | # | Principle (Hermes mechanic) | Why it is worth ours | Lands in | |---|---|---|---| | 1 | Bounded micro-compaction: never summarize the operator; one exchange per turn; transcript-recovered cursor; rolling summary with defrag; atomic store swap; evidence-anchored token accounting | Direct fit with "no guessing": provider usage is a receipt, an estimate is not. Extends sc#397 instead of replacing it | aien-sovereign-core (`aien` chat loop) | -| 2 | Persist-before-act turn discipline; byte-identical replay sidecar; one-shot recovery flags; never run a truncated tool call | Same idea as AIENOS continuity commits (advance the record, then act), applied to the chat loop | aien-sovereign-core | +| 2 | Persist-before-act turn discipline; byte-identical replay sidecar; one-shot recovery flags; never run a truncated tool call | Same idea as Aienux continuity commits (advance the record, then act), applied to the chat loop | aien-sovereign-core | | 3 | Tool batch planning with reader/writer path reservations; result spill under three budgets | Our loop runs tools one at a time; this is the safe form of parallelism | aien-sovereign-core | | 4 | Agent-written skills under an editorial policy: forked reviewer, lessons not logs, read-before-write enforced, unattended is add-only, content-addressed skill ledger with rollback, use-driven ageing | Our Cortex records lessons but nothing distils runs into skills; the ledger is content-addressed, which is Omega's own idea | omega (Cortex, Skill Router) | | 5 | Delivery and scheduling guarantees stated per path: at-least-once reply ledger with content-hash obligation ids and a visible duplicate marker; at-most-once cron (advance before run, pause on uncertainty, liveness by silence since progress, pid plus start-time owner stamps, epoch fences) | Allen's heartbeat and the hive's queue have no stated guarantee today; this is how "it ran once" becomes provable | aegis-runtime (gateway, heartbeat) | diff --git a/docs/specs/EVOLUTION_ARENA_SPEC_V1.md b/docs/specs/EVOLUTION_ARENA_SPEC_V1.md index 1f70236..3ec41a0 100644 --- a/docs/specs/EVOLUTION_ARENA_SPEC_V1.md +++ b/docs/specs/EVOLUTION_ARENA_SPEC_V1.md @@ -80,10 +80,10 @@ Restated for the Arena: | J-Space | forks draft Worlds, keeps score dimensions separate, prunes dominated Candidates, retains counterfactuals | externalize effects (ARCH-0007), commit anything | | OMEGA | applies typed mutations to semantic programs; verification stays separate from selection ("REALIZE VERIFY MEASURE RECORD SELECT") | realize outside the Candidate's declared surface | | FORGE | realizes verified Omega programs on declared substrates, reports constraints and alternatives | act as gatekeeper, self-authorize | -| AEGIS | verifies realization faithfulness and invariants; authors `PolicyDecision` / `CapabilityRequest`; states promotion requirements | mint capabilities (only the AIENOS root mints), execute the promotion itself | +| AEGIS | verifies realization faithfulness and invariants; authors `PolicyDecision` / `CapabilityRequest`; states promotion requirements | mint capabilities (only the Aienux root mints), execute the promotion itself | | Evidence | immutable, content-addressed receipts bound to hardware identity | be edited, be replaced by prose or model confidence | | Cortex | admits claims through candidate → evidence → Signed Admission Receipt | own the speculative lifecycle, feed hard-invariant decisions (ARCH-0017 §2.3, aien-architecture branch) | -| Promotion right holder | the only principal that can call `rx_gen_promote`. In Flagship 1 this is the operator-held promotion principal on the native AIENOS authority, as in the R9 and omega #60 receipts; never an Arena reaction | be the proposer; delegate the right | +| Promotion right holder | the only principal that can call `rx_gen_promote`. In Flagship 1 this is the operator-held promotion principal on the native Aienux authority, as in the R9 and omega #60 receipts; never an Arena reaction | be the proposer; delegate the right | | ARGUS | observes; emits `ArgusFinding`s (pending: ARCH-0017 branch) | write World objects, take part in the promotion decision | **No self-widening.** No Arena principal (proposer, J-Space allocator, judge, learner, cost model) may request, receive or be delegated any capability beyond those granted at run start. No Arena principal may ever receive new capabilities; the Arena never widens its own authority. @@ -286,7 +286,7 @@ rx_gen_promote(RxPromotionRequest{ resource = RX_GEN_RES_PROMOTION, rights = RX_GEN_RIGHT_PROMOTE }) ``` -validated against the native AIENOS authority. The Arena introduces no promotion path, no promotion capability and no promotion policy of its own. In Flagship 1 the `subject` is the operator-held promotion principal on the native AIENOS authority, as in the R9 and omega #60 receipts; never an Arena reaction. +validated against the native Aienux authority. The Arena introduces no promotion path, no promotion capability and no promotion policy of its own. In Flagship 1 the `subject` is the operator-held promotion principal on the native Aienux authority, as in the R9 and omega #60 receipts; never an Arena reaction. What `rx_generation.c` on main enforces today, and what this spec adds on top: diff --git a/doctrine/ARCHITECTURE.md b/doctrine/ARCHITECTURE.md index 358a951..e181743 100644 --- a/doctrine/ARCHITECTURE.md +++ b/doctrine/ARCHITECTURE.md @@ -212,7 +212,7 @@ AIEN, OMEGA, and AEGIS are **faculties of one resident system**, not sequential - Work activates when its dependencies become ready in one shared, generation-addressed object world. - Physical resources are arbitrated below semantic readiness. The allocator schedules work, not faculties. -- Authority is unforgeable. The capability root (natively the AIENOS kernel capability authority) alone mints and revokes enforceable capabilities. AEGIS verifies compliance against system invariants and decides no policy. The shared world may hold capability references but never invent them. +- Authority is unforgeable. The capability root (natively the Aienux kernel capability authority) alone mints and revokes enforceable capabilities. AEGIS verifies compliance against system invariants and decides no policy. The shared world may hold capability references but never invent them. - Behavior is continuous. Durable learning is promoted only at verified generation barriers, committed through the ADR 0015 protocol. - Every nontrivial transition leaves a structured, content-addressed causal record. @@ -226,13 +226,13 @@ The full standard, its terminology mapping, and the R0–R16 gates are in [ADR 0 This table names, for each runtime concept, the one implementation that is authoritative today and the class of every surviving alternate. It follows the R16 orchestrator retirement map (`aien-spark/omega` `spec/r16-orchestrator-retirement-map.md` §5, with clarification C3 in §6). Class letters are the map's: A retired by non-use (legacy), B maintenance, C recovery, D reference oracle, E physical scheduler, F external protocol loop, N not a central loop. Code was checked on `main` of omega `6d1ff1d`, aienos `f0facc7`, physics `f63a6ef` and aien-sovereign-core `0df7c32`. -"Authoritative" means the implementation other code must defer to. It does not mean native: every authoritative item below still runs hosted on Linux. Native AIENOS and the persistent-agent demonstration are not done, M19 is reopened (`ROADMAP.md`), and R16 is a historical PASS at `850fc54` that requalification at `3108fc2` recorded as FAIL and that is not requalified on CAND-0 (omega `evidence/REQUAL-3108fc2/`; `ROADMAP.md` R16 row). +"Authoritative" means the implementation other code must defer to. It does not mean native: every authoritative item below still runs hosted on Linux. Native Aienux and the persistent-agent demonstration are not done, M19 is reopened (`ROADMAP.md`), and R16 is a historical PASS at `850fc54` that requalification at `3108fc2` recorded as FAIL and that is not requalified on CAND-0 (omega `evidence/REQUAL-3108fc2/`; `ROADMAP.md` R16 row). | Concept | Authoritative implementation | Surviving alternates and class | Status and gaps | |---|---|---|---| | World state | omega `src/runtime/rx_world.c` (reaction world) | omega `src/omega_accelerator_world.c`, the M19 accelerator world: C recovery (known-good fallback; fallback status to be proved in R16 G6). aienos `crates/aienos-aegis/src/world.rs` Rust world and `JSpaceWorld` sandbox: legacy, not linked by omega | Hosted only | | Semantic scheduling | omega `src/runtime/rx_world.c` reaction scheduler (the only code that orders faculty work) | omega `src/runtime/rx_seq_reference.c`: D reference oracle. omegatool `--demonstrate-living-matvec` and its `legacy_oracle` functions: A (the only demonstration the R16 inventory retires). The other omegatool `--demonstrate-*` modes: D reference oracles, explicit legacy naming still pending in R16 G5. aegis-runtime heartbeat task polling: A. sovereign-core `aien-scheduler` token batching for LLM serving: E, not on the reaction path. aienos kernel `scheduler.rs` / `thread.rs`: E (CPU threads). Omega Visor `src/visor/` REPL: B, operator console, not a production entry point | Hosted only | -| Authority / capability root | aienos `native/capability/aienos_capability.c` (C), built hosted as `libaienos_capability.a` and linked into omega through `AIENOS_CAP_LIB` | aienos `crates/aienos-capability` Rust twin: frozen reference under C3 and ADR 0024 scaffolding rule. omega `src/runtime/rx_caproot.c`: host reference root, self-declared "R7 is not claimed". physics `m3/capability.s`: historical M3 assembly oracle. omega `src/runtime/rx_capq.{c,h}` is a query IR, not a root (the build refuses admin symbols). sovereign-core `aien-capability` / `aien-mcp` hold tool descriptors, not authority | Discrepancy: `crates/aienos-kernel/Cargo.toml` still depends on the legacy Rust crate and `crates/aienos-kernel/src/caps.rs` re-exports it, so the kernel crate does not yet use the authoritative C root. The C root does not yet run inside a natively booted AIENOS kernel. A host-level runtime Capability Graph (advancing CEP F1) now exists as omega `rx_capq` (`aien-spark/omega#115`, `135d1c2`, 2026-09-30); it is a graph, not an authority root, and its build still refuses admin symbols | +| Authority / capability root | aienos `native/capability/aienos_capability.c` (C), built hosted as `libaienos_capability.a` and linked into omega through `AIENOS_CAP_LIB` | aienos `crates/aienos-capability` Rust twin: frozen reference under C3 and ADR 0024 scaffolding rule. omega `src/runtime/rx_caproot.c`: host reference root, self-declared "R7 is not claimed". physics `m3/capability.s`: historical M3 assembly oracle. omega `src/runtime/rx_capq.{c,h}` is a query IR, not a root (the build refuses admin symbols). sovereign-core `aien-capability` / `aien-mcp` hold tool descriptors, not authority | Discrepancy: `crates/aienos-kernel/Cargo.toml` still depends on the legacy Rust crate and `crates/aienos-kernel/src/caps.rs` re-exports it, so the kernel crate does not yet use the authoritative C root. The C root does not yet run inside a natively booted Aienux kernel. A host-level runtime Capability Graph (advancing CEP F1) now exists as omega `rx_capq` (`aien-spark/omega#115`, `135d1c2`, 2026-09-30); it is a graph, not an authority root, and its build still refuses admin symbols | | Generations | omega `src/runtime/rx_generation.c` (protected; u64 capability generations via omega#71) | aienos `world.rs` `Promoted` state: legacy. sovereign-core `cortex-rs/src/promotion.rs` (memory candidates) and `crumbs/src/promotion.rs` (curriculum operations) promote other things and are a separate concept, not alternates | Hosted only | | Queues | Two separate roles. Reaction task queues: omega `src/runtime/rx_world.h` priority `ready_q` arrays and deferred queue, scheduled by `rx_world.c` `enqueue`. Cross-engine transport: shared-world SPSC rings (`src/runtime/omega_shared_world_abi.h`) consumed by `src/runtime/rx_coherent.c` `rx_resident_seat_step`: E | M19 GPFIFO path in the accelerator world: C recovery. aegis-runtime SQLite pending-task queue: A. sovereign-core Cortex writer queue: E disk-write batcher, not a task queue | Hosted only | | Evidence | omega `src/omega_evidence.{h,c}` (digest-named `evidence//.json`) guarded by `.github/workflows/evidence-immutable.yml`; `rx_world.c` causal crumbs; aienos `native/argus/` event ingest | Pre-R fixed-name receipts for M4-M19: historical records, kept unchanged. Not classified by the R16 map | No shared cross-repo evidence schema exists. The R16 map lists "duplicate causal state" as open: the R4 causal-trace target is not yet named | @@ -241,7 +241,7 @@ This table names, for each runtime concept, the one implementation that is autho | Resource scarcity pricing (DUAL) | No owner yet: ADR 0031 records the contract; planned home omega `src/dual/` (standalone) then `src/runtime/rx_dual.{c,h}` | none. Price-like inputs today are constants: omega `rx_jspace.c` residency pressure (`1e9` / `1e3`), sovereign-core `aien-scheduler` `SchedulerConfig` limits (E), spark-rsi fixed-weight `rank_bottlenecks` | Missing. DUAL prices SOFT budgets only, never INVARIANT constraints; it orders survivors of hard gates and Pareto filtering and holds no authority (ADR 0031) | | Standing goal source (ALLEN) | ALLEN subject object (aienos continuity kind 24, aienos ADR 0018), published through the existing external path `rx_world_publish_external` ([ADR 0035](../docs/adr/0035-persistent-cognitive-entity-boundary-allen.md) §3, §5). Previously unowned ("external, human") | none | Host and QEMU TESTED; hardware NOT_RUN; kernel production path PARTIAL (ADR 0035 §9 gate table). ALLEN is durable state, not a loop (I7) | | Held-knowledge set (ALLEN) | ALLEN: references to Cortex promotion records, by digest; the records stay in Cortex (ADR 0035 §5, I5) | none | Same as above | -| Identity, Cortex journal and World subject binding (ALLEN) | ALLEN binding record (omega `src/allen/allen_bind.h: AllenBinding`); the mechanisms stay with AIENOS and omega (ADR 0035 §3 item 3, §5) | none | Same as above | +| Identity, Cortex journal and World subject binding (ALLEN) | ALLEN binding record (omega `src/allen/allen_bind.h: AllenBinding`); the mechanisms stay with Aienux and omega (ADR 0035 §3 item 3, §5) | none | Same as above | A concept moves to a new owner only through an accepted ADR or an R16 gate result recorded in `ROADMAP.md`. diff --git a/doctrine/FORGE.md b/doctrine/FORGE.md index 8b48f65..f5dd558 100644 --- a/doctrine/FORGE.md +++ b/doctrine/FORGE.md @@ -26,6 +26,6 @@ EVIDENCE The relationship is bidirectional. If a requested realization conflicts with alignment, placement, capacity, queue, register, coherence, timing, or other machine constraints, FORGE returns machine facts and alternatives to OMEGA rather than silently changing semantic meaning. -FORGE is not the kernel and is not the policy authority. AIENOS owns the trusted operating substrate. AEGIS verifies invariant/capability contracts. AIEN chooses goals and proposes strategies. OMEGA defines semantics. +FORGE is not the kernel and is not the policy authority. Aienux owns the trusted operating substrate. AEGIS verifies invariant/capability contracts. AIEN chooses goals and proposes strategies. OMEGA defines semantics. Historical PHYSICS milestone identifiers and evidence remain valid historical names and are not renamed. diff --git a/doctrine/ROADMAP.md b/doctrine/ROADMAP.md index 050b05a..5cb0ece 100644 --- a/doctrine/ROADMAP.md +++ b/doctrine/ROADMAP.md @@ -109,7 +109,7 @@ Era ranges: Foundational M0-M3; Omega Core Substrate M4-M7; Program Synthesis & - Specification: [`docs/milestone-3-spec.md`](../docs/milestone-3-spec.md). ### M5 — `OMEGA_AARCH64` -- Name note (2026-10-08): this is Omega M5. `CURRENT_EXECUTION_PLAN.md` also says "M5" for the AIENOS encryption and identity milestone (TRUST-1); that is a different milestone. +- Name note (2026-10-08): this is Omega M5. `CURRENT_EXECUTION_PLAN.md` also says "M5" for the Aienux encryption and identity milestone (TRUST-1); that is a different milestone. - Qualified 2026-09-26 under `aien-spark/omega` (commit `2dd41024345d207d57f59d4c7940176b6697b099`, receipt commit `34dbe93e9fa22aee50b8eb426e6d1e43444490f2`). - Direct AArch64 machine byte realization generator without LLVM, Clang, GCC, or GNU `as`. - Verified pure integer register lowering ($G_S \to$ AArch64) for $F(a, b, c) = (a + b) - c$. diff --git a/doctrine/SOVEREIGNTY.md b/doctrine/SOVEREIGNTY.md index 95701dc..a6106bb 100644 --- a/doctrine/SOVEREIGNTY.md +++ b/doctrine/SOVEREIGNTY.md @@ -111,11 +111,11 @@ $$\mathcal{A}_0 \equiv \text{Atlas}$$ ## 3. The Oracle Principle -Throughout development, up to `SOVEREIGN_MACHINE_CLOSURE`, external tools (such as Linux, existing AIENOS, NVIDIA CUDA, and PyTorch) may be employed under strict containment as **Oracles** or **Scaffolds**. +Throughout development, up to `SOVEREIGN_MACHINE_CLOSURE`, external tools (such as Linux, existing Aienux, NVIDIA CUDA, and PyTorch) may be employed under strict containment as **Oracles** or **Scaffolds**. ### 3.1 The Principle Defined > **The Oracle Principle:** -> *Existing AIENOS, Linux, CUDA, and research runtimes are strictly Oracles, Scaffolds, and Empirical References. They are NEVER deployed ancestors, runtime dependencies, or architectural templates of the permanent lineage.* +> *Existing Aienux, Linux, CUDA, and research runtimes are strictly Oracles, Scaffolds, and Empirical References. They are NEVER deployed ancestors, runtime dependencies, or architectural templates of the permanent lineage.* An **Oracle** is an external computational entity queried solely for: 1. **Mathematical Ground Truth:** Generating reference output tensors ($y_{\text{exact}}$) from known inputs to verify that Omega realizations satisfy error bounds: diff --git a/qualification/candidates/CAND-1.gates.md b/qualification/candidates/CAND-1.gates.md index 8e2ef6f..95e25e5 100644 --- a/qualification/candidates/CAND-1.gates.md +++ b/qualification/candidates/CAND-1.gates.md @@ -25,8 +25,8 @@ built, hashed, deleted and built again. Evidence: `CAND1-BUILD-2eec75b/summary.t |---|---|---|---| | R16 | G1/G2 loop inventory, every repo at its CAND-1 commit | PASS | 513 sites, 0 unclassified, 0 stale, no WARN; `CAND1-R16INV-cb06d08` (before the SC-126..129 rows: 4 unclassified, FAIL, kept) | | CI | GitHub checks on the CAND-1 commits | PASS | omega cb06d08 39 success, 2 skipped (map-only 80ca5d4: 30 success, 11 skipped), aienos 14/14 (2 skipped), interplane 8/8, sovereign-core 1/1 (Workspace Verification & Invariant Audit). Rechecked 2026-10-05 with all result pages; the CAND1-AUDIT-20261005 finding F6 ("28 success") read only the first page of 30 and is wrong | -| AIENOS | ck_gates (QEMU) | 18 PASS, 0 FAIL, 2 MISSING_IMPLEMENTATION | `CAND1-CKGATES-bbad5e4`; KEYBOARD (no xHCI/USB HID driver in the C kernel), M0_ROLLBACK (C loader A/B parked) | -| AIENOS | TRUST-1 M5 qualification | NOT_QUALIFIED: 20 PASS, 11 BLOCKED, 5 MISSING_IMPLEMENTATION, 1 FAIL (fix needs an operator action) | `CAND1-TRUST-bbad5e4`; the FAIL is `t1_gate7_preflight`: Secure Boot is off on this machine (operator setting since 2026-10-01), so the preflight correctly refuses | +| Aienux | ck_gates (QEMU) | 18 PASS, 0 FAIL, 2 MISSING_IMPLEMENTATION | `CAND1-CKGATES-bbad5e4`; KEYBOARD (no xHCI/USB HID driver in the C kernel), M0_ROLLBACK (C loader A/B parked) | +| Aienux | TRUST-1 M5 qualification | NOT_QUALIFIED: 20 PASS, 11 BLOCKED, 5 MISSING_IMPLEMENTATION, 1 FAIL (fix needs an operator action) | `CAND1-TRUST-bbad5e4`; the FAIL is `t1_gate7_preflight`: Secure Boot is off on this machine (operator setting since 2026-10-01), so the preflight correctly refuses | | Native model | strict real-model gate (TinyLlama, GB10, production build, 0 fallback) | PASS | `CAND1-NATIVE-2eec75b/receipt-strict-gate.json` | | Native model | Omega vs own CPU reference | PASS | `receipt-omega-vs-ref.json` | | Native model | Omega vs independent HF oracle | PASS | step-0 max abs logit difference 0.0435 against bound 0.15, same token; `receipt-omega-vs-oracle.json` | @@ -71,10 +71,10 @@ omega #290 (the R15 sampler no longer leaves a 24 h `sleep` holding the quiet fl scored 1.0. The cause of the one stall is not established; a later diagnostic run cannot replace this verdict. - **R16 G6:** per-item checks exist (omega #287) but operator emergency controls have no implementation (MISSING_IMPLEMENTATION), so G6 cannot pass. **G8** is the merge-commit step, outside the script. -- **AIENOS** has no USB keyboard driver in the C kernel and the C loader A/B and rollback are parked (MISSING_IMPLEMENTATION). +- **Aienux** has no USB keyboard driver in the C kernel and the C loader A/B and rollback are parked (MISSING_IMPLEMENTATION). - **TRUST-1 M5:** 11 gates need attended hardware boots or operator ceremonies; 5 have no implementation; the Gate 7 preflight refuses because Secure Boot is off on this machine (operator setting). Not qualified. -- **Physical machine:** every AIENOS result is QEMU. Nothing here qualifies the Spark booting AIENOS. +- **Physical machine:** every Aienux result is QEMU. Nothing here qualifies the Spark booting Aienux. - **Contract pins in the manifest are wrong** (found 2026-10-05 by `scripts/check_candidate_pins.sh`). `CAND-1.toml` `[contracts]` pins the crumb-spec and spark-crumbs heads (`10b8251`, `98bb7cb`); the sovereign-core `Cargo.lock` at `2eec75b` consumes `24194d1` and `9355a92` (two commits behind each head, the revisions CAND-0 pins). The built diff --git a/qualification/candidates/CAND-2.gates.md b/qualification/candidates/CAND-2.gates.md index 70b568a..a8312f6 100644 --- a/qualification/candidates/CAND-2.gates.md +++ b/qualification/candidates/CAND-2.gates.md @@ -38,8 +38,8 @@ still name CAND-1. They are not new runs. |---|---|---|---| | Native model | strict real-model gate; Omega vs CPU reference; Omega vs HF oracle; paged_attention_batch; runtime e2e; daemon; zero CUDA | PASS | aien-cli, aien-test and libomega_gpu.a digests identical; same model inputs | | Attention | GB10 attention timing, TinyLlama shape (quiet window 1) | PASS | gpu_attention_test is built from `tests/gpu_attention_test.c`, `src/omega_gpu_attention_api.h` and libomega_gpu.a; the two sources are unchanged cb06d08..79a805d and CFLAGS lost only `-DOMEGA_PHYSICS_DIR` (#296), which neither file uses. Measured: built at cb06d08 and at 79a805d in the same worktree, the binary is byte-identical (sha256 e28bf26b...4299) and so is libomega_gpu.a (evidence `CAND2-ATTN-IDENTITY`, host build only) | -| AIENOS | ck_gates (QEMU): 18 PASS, 2 MISSING_IMPLEMENTATION | as CAND-1 | aienos images identical | -| AIENOS | TRUST-1 M5: NOT_QUALIFIED | as CAND-1 | aienos images identical; the attended steps are still blocked on the operator | +| Aienux | ck_gates (QEMU): 18 PASS, 2 MISSING_IMPLEMENTATION | as CAND-1 | aienos images identical | +| Aienux | TRUST-1 M5: NOT_QUALIFIED | as CAND-1 | aienos images identical; the attended steps are still blocked on the operator | | Continuity | M4_CONTINUITY, M4_RECOVERY, M4_ALLEN, M4_STORE_CRASH (QEMU only) | PASS (QEMU) | aienos images identical | ## 3. Results rerun on CAND-2 (omegatool changed) @@ -82,9 +82,9 @@ reader (operator action). `~/handoffs/2026-10-05-spbm-energy-operator-steps.md`). R15 refuses to start (omega #295, BLOCKED_INSTRUMENT), so G7, which needs an R15 PASS, cannot pass. CAND-1's R15 FAIL (G15 residency 0.849 from one stalled trial, SEQ-06) is unexplained; a 30-trial diagnostic later saw 100 % residency in every trial, which is a clue, not a verdict. -- **AIENOS:** no USB keyboard driver in the C kernel; C loader A/B and rollback parked (MISSING_IMPLEMENTATION). +- **Aienux:** no USB keyboard driver in the C kernel; C loader A/B and rollback parked (MISSING_IMPLEMENTATION). - **TRUST-1 M5:** attended hardware boots and owner-key ceremonies are blocked on the operator; Secure Boot is off. -- **Physical machine:** every AIENOS result is QEMU. Nothing here qualifies the Spark booting AIENOS. +- **Physical machine:** every Aienux result is QEMU. Nothing here qualifies the Spark booting Aienux. - **Toolchain:** no rust-toolchain file pins the compiler (gap G4); both roots used the same installed toolchain. ## 5. Published evidence (added 2026-10-05 after publication; nothing above changed) diff --git a/qualification/candidates/CAND-3.gates.md b/qualification/candidates/CAND-3.gates.md index 1151847..21f63b0 100644 --- a/qualification/candidates/CAND-3.gates.md +++ b/qualification/candidates/CAND-3.gates.md @@ -46,7 +46,7 @@ The CAND-2 rx_r11_aien_test rebuild (37c15f75) equals the digest recorded in the |---|---|---|---| | Native model | strict real-model gate; Omega vs CPU reference; Omega vs HF oracle; paged_attention_batch; runtime e2e; daemon; zero CUDA | PASS, carried from CAND-1 by executable identity (not rerun) | Rule 1: aien-cli, aien-test and libomega_gpu.a identical. Rule 2: model inputs unchanged (`[model]`). Rule 3: same GB10 machine class; earlier receipts in omega `evidence/CAND1-AUDIT-20261005` (SHA256SUMS): `CAND1-NATIVE-2eec75b/receipt-strict-gate.json`, `receipt-omega-vs-ref.json` and `receipt-omega-vs-oracle.json` all sha256 83a64387...; `paged_batch_gb10.log` 6e35de35...; `CAND1-BUILD-2eec75b/zero-cuda.log` 4347852c...; `forge-logs/CAND1-NATIVE-e2e-rerun-063201.log` 20696559...; `daemon_positive.log` 76b0266d.... Rule 4: these gates are run by aien-test and sovereign-core `scripts/`; `git diff 2eec75b 80e071a -- scripts` is empty, and sovereign-core changed only `.github/workflows/hardening.yml`, `crates/aien-replay/mutations/run_mutants.sh`, `omega.lock` and `rust-toolchain.toml` (none is one of these gates); thresholds are in the identical aien-test binary | | Attention | GB10 attention timing, TinyLlama shape, 100 calls, 3 runs | PASS, carried from CAND-1 by executable identity (not rerun) | Rules 1-2: libomega_gpu.a identical; `tests/gpu_attention_test.c` and `src/omega_gpu_attention_api.h` unchanged 79a805d..f816473 (`git diff` over both files is empty), and `gpu_attention_test` rebuilt at both commits in one path (physics 6d7cf0d, `make build/ab/gpu_attention_test`, 2026-10-06, host only) is byte-identical, sha256 `e28bf26ba59df829436101dbc94bd98716f837c5e3b065c994240353c8274299`, with `libomega_gpu.a` `a4af088104203c9ce1b92b6787f140d822a8039ac86349a0438fb7a379c0fc5c`, the same digests as CAND2-ATTN-IDENTITY (record CAND3-ATTN-IDENTITY, published with the window evidence). Rule 3: same GB10 machine class; earlier receipts in omega `evidence/CAND1-QUIET-AUDIT-20261005`: `CAND1-WINDOW-20261005T1252Z/ATTN-timing-1/timing.json` 6cd0010a..., `-2` 2fc553ff..., `-3` bf12fdad.... Rule 4: the gate is the test binary itself (`gpu_attention_test --out`), its 3.0 ms bound compiled in; the binary is identical | -| AIENOS | ck_gates (QEMU): 18 PASS, 2 MISSING_IMPLEMENTATION; TRUST-1 M5 NOT_QUALIFIED; M4_CONTINUITY, M4_RECOVERY, M4_ALLEN, M4_STORE_CRASH (QEMU) | same statuses, carried from CAND-1 by executable identity (not rerun) (rule 5: NOT_QUALIFIED and MISSING_IMPLEMENTATION carry only as themselves) | Rule 1: both aienos images identical. Rules 2 and 4: aienos pin bbad5e4 unchanged since CAND-1, so the gate scripts, harness and thresholds are the same files. Rule 3: same QEMU environment class; earlier receipts in omega `evidence/CAND1-AUDIT-20261005`: `CAND1-CKGATES-bbad5e4/ck_gates_654d4445...json` (sha256 654d4445..., covers ck_gates and the four M4 gates) and `CAND1-TRUST-bbad5e4/trust1_m5_qualification_37f6a233...json` (sha256 37f6a233...) | +| Aienux | ck_gates (QEMU): 18 PASS, 2 MISSING_IMPLEMENTATION; TRUST-1 M5 NOT_QUALIFIED; M4_CONTINUITY, M4_RECOVERY, M4_ALLEN, M4_STORE_CRASH (QEMU) | same statuses, carried from CAND-1 by executable identity (not rerun) (rule 5: NOT_QUALIFIED and MISSING_IMPLEMENTATION carry only as themselves) | Rule 1: both aienos images identical. Rules 2 and 4: aienos pin bbad5e4 unchanged since CAND-1, so the gate scripts, harness and thresholds are the same files. Rule 3: same QEMU environment class; earlier receipts in omega `evidence/CAND1-AUDIT-20261005`: `CAND1-CKGATES-bbad5e4/ck_gates_654d4445...json` (sha256 654d4445..., covers ck_gates and the four M4 gates) and `CAND1-TRUST-bbad5e4/trust1_m5_qualification_37f6a233...json` (sha256 37f6a233...) | | M18, M19 / CHIPWAIT | matmul gates; 3 x M19R | carry-eligible (omegatool identical, tools unchanged) but rerun in the window so the receipts name CAND-3 | - | | R16, R13, R11, COMPOSITION-2, production hygiene | all | NOT carried: executable CHANGED or gate script changed (rule 4: `r16_qualify.sh` changed in #309) | carry check | @@ -63,7 +63,7 @@ A3 production hygiene, A4 COMPOSITION-2 GPU, A5 CHIPWAIT 3/3, A6 M18. A7 R15 is - **R15 / R16 G7:** the SPBM energy reader is not loaded; R15 is not attempted in the first window; G7 needs an R15 PASS. R15 is a separate later attempt. - **R16 G6:** exercised by execution only if the window's A1 says so; effects already outside the world when a stop lands and a same-uid deletion of the halt mark while no program runs are not covered (`docs/r16-operator-control.md`, omega #309). - **G8** is the merge-commit step, outside the script. -- **AIENOS:** no USB keyboard driver in the C kernel; C loader A/B and rollback parked (MISSING_IMPLEMENTATION). Every AIENOS result is QEMU. +- **Aienux:** no USB keyboard driver in the C kernel; C loader A/B and rollback parked (MISSING_IMPLEMENTATION). Every Aienux result is QEMU. - **TRUST-1 M5:** attended hardware boots and owner-key ceremonies blocked on the operator; Secure Boot is off. - **Toolchain:** G4 closed for sovereign-core (`rust-toolchain.toml`); gcc and binutils are not pinned. - **CHIPWAIT:** each soak is 100,000 cycles in about 41 to 43 s, not hours of endurance. @@ -113,8 +113,8 @@ Limits found in the window, which change no result: mutant runs write receipts i **Verdict: CAND-3 is NOT QUALIFIED overall. R15 is pending** (needs the SPBM energy reader, an operator step), and with it R16 G7; G8 follows the merge commit. G6 operator emergency control is proven by execution on the candidate, -including silicon, for the first time. Physical AIENOS boot, owner-key ceremony and TRUST-1 hardware qualification -stay BLOCKED_OPERATOR; every AIENOS result is QEMU. +including silicon, for the first time. Physical Aienux boot, owner-key ceremony and TRUST-1 hardware qualification +stay BLOCKED_OPERATOR; every Aienux result is QEMU. omega #303, #307 (prime race) and #310 (GPU reconvergence) merged after the freeze; they are not part of CAND-3. @@ -180,4 +180,4 @@ The receipt's own G8 field and its overall line stay NOT_RUN because the merge-c **CAND-3 verdict (2026-10-06, after G8), by this document's own rule.** Sections 5 and 6 held CAND-3 at NOT QUALIFIED because R15 was pending, R16 G7 was NOT_RUN and the G8 merge step was missing. All three are now cleared. This document defines no status called QUALIFIED, so none is invented. Stated exactly: -**CAND-3: R16 COMPLETE (G1 to G8 PASS). R15 is a CONDITIONAL PASS under declared exception 0002 (Secure Boot was OFF, against R15 clarification C2; `qualification/exceptions/0002-r15-secure-boot-off.md`); it is not C2-conformant. The "not qualified" condition of sections 5 and 6 is lifted for R15, G7 and G8 only. A full-candidate QUALIFIED status is NOT asserted, because section 4 lists what CAND-3 does not prove and those items stand: AIENOS results are QEMU only, TRUST-1 M5 NOT_QUALIFIED and its hardware boots and owner-key ceremonies BLOCKED_OPERATOR, USB keyboard driver and C loader A/B and rollback MISSING_IMPLEMENTATION, CHIPWAIT is not endurance, gcc and binutils unpinned.** Milestone status in `doctrine/ROADMAP.md` is not changed by this record. +**CAND-3: R16 COMPLETE (G1 to G8 PASS). R15 is a CONDITIONAL PASS under declared exception 0002 (Secure Boot was OFF, against R15 clarification C2; `qualification/exceptions/0002-r15-secure-boot-off.md`); it is not C2-conformant. The "not qualified" condition of sections 5 and 6 is lifted for R15, G7 and G8 only. A full-candidate QUALIFIED status is NOT asserted, because section 4 lists what CAND-3 does not prove and those items stand: Aienux results are QEMU only, TRUST-1 M5 NOT_QUALIFIED and its hardware boots and owner-key ceremonies BLOCKED_OPERATOR, USB keyboard driver and C loader A/B and rollback MISSING_IMPLEMENTATION, CHIPWAIT is not endurance, gcc and binutils unpinned.** Milestone status in `doctrine/ROADMAP.md` is not changed by this record. ```