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/patches/29189d306dd81c2d # 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 ## AIENOS-VERIFY-ALL passes again: optimized model tests, own target dir, 60m timeout merged `29189d306dd81c2d` #436 · opened 2026-10-19 13:12 UTC · closed 2026-10-19 13:21 UTC · merged 2026-10-19 13:21 UTC Imported from GitHub aien-dev/aienux#436, by drakestapleton Labels: ready-to-merge Base `472ed37c3011877844e09c52243dbde28030e70f` · Head `5375ac1ce0a11603fbf06fe0938b2cf3b5b27bbe` Merged on GitHub as `5d039d8b94b59fa248f9ca7c673bf2f28bc14ff9`; reachable from main `d01b2f19cccf3e173a6bdb3541813d467f537a76` (observed 2026-11-18T16:35:38Z) drakestapleton wrote on 2026-10-19 13:12 UTC Makes the AIENOS-VERIFY-ALL gate pass on the Spark judge. It has failed on every aienos head that selected it since 2026-10-16, so `main` would fail it too; it blocks the crumb migration #434. Three causes, one fix each: - Timeout: unoptimized model tests. `scripts/verify_all.sh` runs `cargo test --workspace` without optimization. The Llama-3.2-1B model file is on the Spark, so the `aienos-infer` forward tests run a real forward pass in a debug build. In the judge run of #434 (`b312281f`, receipt `ff3245d4`) the gate was killed at its timeout still inside `forward_matches_llama_cpp_f32_activations`. Fix: root `Cargo.toml` `[profile.dev.package.aienos-infer] opt-level = 3`. Only this crate is optimized; debug assertions and overflow checks stay on; no test is skipped. `cargo test -p aienos-infer --test forward`: 4 passed, 1 ignored, 165 s. - Wrong target directory. The harness and its QEMU scripts read build output from `target/` in the checkout (`target/aarch64-unknown-uefi/release/aienos-boot.efi`), but the judge sets `CARGO_TARGET_DIR` to a shared directory, so the UEFI image check failed with `No such file or directory` (`fa1adc07`, 2026-10-16). The shared directory also handed test binaries built in another head's worktree: `forward.rs` then read fixtures through a stale `CARGO_MANIFEST_DIR` and 3 tests failed with `NotFound` (`c3cc26f8`, `09f8040f`). Fix: `verify_all.sh` exports `CARGO_TARGET_DIR="$REPO_ROOT/target"`, so every run builds in its own checkout. - Gate timeout. With its own cold `target/`, the whole harness took 1591 s (26.5 min) on the Spark, too close to the 30 min limit. `tests/gates/aienos-verify-all.gate` timeout goes to 60 min. The gate's command, inputs and expected verdict are unchanged. Checked on the Spark (aarch64, this branch's code): `bash tests/gates/run.sh verify-all` with an in-checkout target ended `VERIFY_ALL: PASS (every step ran; QEMU steps are emulator evidence only, hardware NOT_RUN)`, exit 0, 1591 s. `crumb verify .` OK (crumbs recompiled with the pinned tool, crumb commit last). This changes `tests/gates/`, so it is a pipeline configuration change (rule A4): the desk runs the operator judge on the exact head and merges on PASS. Hardware columns stay NOT_RUN. ### Apply it ``` git checkout -b patch-29189d306dd81c2d 472ed37c3011877844e09c52243dbde28030e70f curl -fsSL https://interplane.io/drakestapleton/aienux/patches/29189d306dd81c2d.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/aienux 436 5375ac1ce0a11603fbf06fe0938b2cf3b5b27bbe ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aienux","number":436,"url":"https://github.com/aien-dev/aienux/pull/436","export_sha256":"222ed873664c8b6770fec92487a3521a4b5f81629ee6399038e519facf854bee","imported_utc":"2026-11-18T16:35:38Z"} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 5da58688..953ce9de 100644 --- a/.crumb +++ b/.crumb @@ -46,14 +46,14 @@ } ], "children_root": "sha256:19cc8f21ac13e49018f60836bdaf7c4c23477cf558624048754f1e83c6d88cac", - "compiled_at": "2026-10-18T21:10:17Z", + "compiled_at": "2026-10-19T13:11:36Z", "compiler": "crumb-compile/1", - "digest": "sha256:e3c53fea3dc90728488154999ad4f23369d737f4491ec2c1b2ac721e3302de3f", + "digest": "sha256:d016b3e604f217ae98d70b17bc081f831a3b0d3882bc68d58e80d8744b93a19b", "evidence_files": 211, "evidence_root": "sha256:3a8f56415109a697e4beb6048c85805c50c9c6c4089629057f4e8b3e76863981", "files": 3491, - "generated_at_commit": "ee34c7d98b9d4fc10103441796c93b2b29413423", - "source_tree": "sha256:a89b1b640013b8553bde989e5afdbaffaf8994194dacb6908b0bd2fab82bb61f" + "generated_at_commit": "ff0728caef20cab9bc34f541b07e4eb4b55a9f2e", + "source_tree": "sha256:0abb215a81dab9d845014dbf6882c36eee65e4c189474b574292d62e41dccd67" }, "owner_lane": "", "provenance": { diff --git a/Cargo.toml b/Cargo.toml index 173c2a80..3353132e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,3 +39,11 @@ aienos-c1-tree = { path = "crates/aienos-c1-tree" } aienos-accel = { path = "crates/aienos-accel" } serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } + +# aienos-infer's forward tests run a real Llama-3.2-1B forward pass whenever the model +# file is present (it is on the Spark). Unoptimized, `cargo test --workspace` in +# scripts/verify_all.sh spent over an hour there and AIENOS-VERIFY-ALL hit its timeout. +# Optimizing only this crate keeps every test running (debug assertions and overflow +# checks stay on) and makes the gate finish. +[profile.dev.package.aienos-infer] +opt-level = 3 ```