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/aienux/blob/main/evidence/gate1_machine1_selftest_2026-09-24.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / evidence / gate1_machine1_selftest_2026-09-24.md` 86 lines ยท 5116 bytes Raw Blame History Rendered 1 # TRUST-1 Gate 1: recovery stick boots on Machine 1 (2026-09-24) 2 3 Result: **partial PASS on hardware.** The dedicated recovery stick boots on 4 Machine 1 with Secure Boot on, runs entirely from RAM, finds the keyboard, 5 the stick and the internal NVMe, reads Secure Boot state and TPM PCRs, saves 6 its report, and returns to Linux on its own. The unlock, reinstall and 7 restore items (9 to 14) and the test-artifact round trip are not done yet. 8 9 ## What ran 10 11 - Media: `AIENOSRECOV` (1 GB USB stick, USB serial 5D0344B4, vfat UUID 12 3511-E686, GPT PARTUUID `f227357c`-1e80-4fd0-a55e-`2efbef1dd25c`), written by 13 `scripts/build_recovery_media.sh` at main `0379b2f` (#53). This is the former 14 ATLAS_RECOV stick; the operator authorized wiping it on 2026-09-24. 15 - Trigger: `aienos-selftest-once` flag on the stick, `efibootmgr -n 0004`, 16 `shutdown -r` at 08:07:31 CDT. No keyboard input. 17 - Boot chain: firmware -> `EFI/BOOT/BOOTAA64.EFI` (Ubuntu shim, identical to 18 the internal `EFI/ubuntu/shimaa64.efi`) -> signed GRUB -> signed kernel 19 7.0.0-1019-nvidia -> RAM initrd. 20 21 | File on the stick | SHA-256 | 22 |---|---| 23 | `EFI/BOOT/BOOTAA64.EFI` | ``706f15b9578f780a2fddda8ee0806cd15b59124692cc297db320414a5a40fe44`` | 24 | `EFI/BOOT/grubaa64.efi` | ``b9d9dd81845d68a1f1867b5bcf26393908a9a349e749ce8ea944a1066d9abfcc`` | 25 | `EFI/BOOT/mmaa64.efi` | ``afc533e2ccc208cd1fa6e1e88a3d6a79faa1de5eb0f2d58eab2fdd228b0021df`` | 26 | `EFI/BOOT/grub.cfg`, `EFI/ubuntu/grub.cfg` | ``e551c5175c8b62de98cf6fbffb11c8702d451c751060062b92eff8123c9b7b91`` | 27 | `aienos-recovery/vmlinuz` | ``ddd5a25c2326fbfdf7e03809c614fafe5a953416bbb1b80f9c2258f7260e44e3`` | 28 | `aienos-recovery/initrd.img` | ``d04ede86813c347a41ec7f24674c3a07555fae5719c0202c0361b5c0b3f2b390`` | 29 30 ## Evidence 31 32 - Report written by the recovery environment to the stick, copied verbatim: 33 [gate1_machine1_selftest_report_2026-09-24.txt](gate1_machine1_selftest_report_2026-09-24.txt) 34 (SHA-256 ``3a4a6deb894e61527557968c3591fbfb31029779921d428921235caca7b89486``). 35 - Operator photograph of the Machine 1 screen at 13:09:48Z showing the same 36 report and the self-test countdown. Kept offline because phone photos carry 37 location metadata; SHA-256 38 ``01f77ba2a06620de2ceaab9d196b1948d3063f907a67f65ef69222fa39e0dfa6``. 39 - After return: `BootCurrent: 0001`, BootNext consumed, BootOrder unchanged 40 (`0001,0003,0004`), flag removed from the stick, `mokutil --sb-state` 41 enabled, `atlas-private-storage` active. 42 43 ## Gate 1 acceptance (TRUST-1 plan, all with Secure Boot on) 44 45 | # | Test | Result | 46 |---|---|---| 47 | 1 | Firmware accepts recovery image | PASS: `BootCurrent: 0004` inside the recovery report | 48 | 2 | Starts without internal Linux | PASS: RAM root, internal NVMe never mounted | 49 | 3 | No network required | PASS: the image has no network configuration or network tools | 50 | 4 | No model required | PASS | 51 | 5 | No Cortex required | PASS | 52 | 6 | Identifies NVMe and encrypted volumes | PARTIAL: NVMe and partitions identified; the gocryptfs private store lives inside the ext4 root and is not identified | 53 | 7 | Inspects Secure Boot state | PASS: `Secure Boot: enabled`, lockdown `integrity` | 54 | 8 | Inspects PCRs | PASS: PCR 0 and 7 equal the Gate 0 baseline values | 55 | 9 | Shows AIENOS A/B slots and manifests | PENDING: A/B slots do not exist yet | 56 | 10 | Verifies signatures/hashes | PENDING | 57 | 11 | Independent recovery only when authorized | PENDING | 58 | 12 | Mounts recovered storage safely | PENDING | 59 | 13 | Reinstalls known-good loader/slot | PENDING | 60 | 14 | Restores documented boot config | PENDING (boot entries are read; efivarfs is mounted read-only) | 61 | 15 | Returns to known-good Linux | PASS: restarted unattended, Linux default boot | 62 | 16 | No destructive overwrite | PASS: the only write was the report and flag removal on the stick | 63 | - | Test-artifact round trip | PENDING | 64 | - | Keyboard | PASS for detection (HP Wired Desktop 320K and Logitech devices bound); typing not exercised in this unattended run | 65 66 ## Findings 67 68 - **First attempt failed with "Secure Boot Violation".** A firmware boot entry 69 `Boot0000 "AIENOS"` had been created outside Linux pointing directly at 70 `\aienos-recovery\vmlinuz`, bypassing shim; the firmware db does not trust 71 the Ubuntu kernel signature directly. The stick itself was not at fault. 72 The entry was deleted with operator approval. 73 - **Existing Linux boot race.** On this boot and the previous normal boot, 74 the first `atlas-private-storage` unseal failed with TPM error 0x128 75 (`TPM_RC_PCR_CHANGED`) and the automatic retry succeeded. It predates the 76 recovery boot; PCR 7 is unchanged. 77 - **Tooling defects fixed in #53:** no kernel modules in the initrd (no USB, 78 keyboard or NVMe), shell on the unreachable serial console, and `/bin/blkid` 79 silently missing from the initrd (the earlier Gate 1 receipt lists it). 80 81 ## Offline key custody (Gate 0 follow-up) 82 83 `atlas-forge-state-luks-recovery-key.txt.age` (age recipient tag `+4nykQ`, 84 the operator's MacBook SSH key) now exists as ciphertext on Machine 1 and on 85 the operator MacBook. Decryption has still not been exercised; Gate 0's 86 independent-access proof remains open.