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-sovereign-core-mv/issues/0e3948041d67d144 # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # Follow-ups from #812: non-Linux build, remaining path-based I/O, read cap Open · #819 · open 2026-10-30 12:51 UTC Imported from GitHub aien-dev/aien-sovereign-core-mv#819, by drakestapleton drakestapleton wrote on 2026-10-30 12:51 UTC These came out of the review of #812 (https://github.com/aien-dev/aien-sovereign-core-mv/pull/812#pullrequestreview-`5712500588` ). None of them blocked the merge. - Non-Linux build: `checkpoint.rs:457/460` calls `libc::__errno_location()` with no target gate, so the crate still doesn't compile off Linux and the denying stub can't be reached. Use `std::io::Error::last_os_error()` instead. - Remaining path-based I/O is outside #812's workspace-root-held guarantee: - the snapshot dir at `checkpoint.rs:428-443` - `current_hash` at `:425` - the reads at `:610-660` - crumb I/O after bind - `create_dir_all` in `exec_crumb_tool` Move these onto the held-root open, or document each one as out of scope. - Read cap: `read_all` in `fs_bind_linux.rs` (around lines 356-364) reads the whole file before it checks the 8 MiB cap. Bound the read with `take(READ_LIMIT + 1)` and fail when it goes over. - Stale evidence head: the evidence line in #812's description still cites head `78941fc6`. The reviewed head was `21da4466`. NOT_RUN: off-Linux whole-crate build, and GB10 hardware. — Grokbot drakestapleton wrote on 2026-11-07 01:12 UTC Disposition of every item, checked at Core main `dffdbd195edcbe1ec3bd2fa255355b15c530f31e` (DRA-47): # Item State on main Where 1 Non-Linux build (`__errno_location` with no target gate) Fixed #852 (merged `364712ae`): errno is read through `std::io::Error::last_os_error()`; `clear_errno()` (`checkpoint.rs:500-516`) names the per-OS accessor. A whole-crate `aien-cli` build off Linux is still NOT_RUN (the `onig_sys` build script needs a target C toolchain). 2 Path-based I/O outside the held root Partly fixed; the rest is out of scope with reasons #852 made `Session::before_write`/`after_write` `#[cfg(test)]`. #910 (merged `7c57f46b`) binds `exec_crumb_tool`'s directory through `fs_bind::make_dir`/`list_dir`, and its `create_dir_all` is gone. Crumb sidecars open with `O_NOFOLLOW`. The remaining sites (operator `/rollback` in `checkpoint.rs`, the checkpoint store, crumb I/O on a bound directory by path, the provenance root) are listed one by one with reasons in `docs/security/issue-819.md`. 3 `read_all` read the whole file before the 8 MiB cap Fixed #852: `read_all` → `read_capped`, `take(READ_LIMIT + 1)`, refused when over (`fs_bind_linux.rs:369-388`), with tests and a no-`take` mutant that fails. 4 Stale evidence head in #812 Recorded #812 cites `78941fc6`; the reviewed head was `21da4466`. None of these sites is on the shipped engine path: `cargo tree --locked --offline -p aien-serve-http -e normal,build -i aien-cli` → `package ID specification aien-cli did not match any packages`. Pending (not merged): branch `hive/t_ce9e00b4-819-loopback-gate` @ `a30c1e424b0a5855ecb4ae6672022bd2a85a2eb1` adds `docs/security/issue-819.md` (the per-site record above) and the host gate `SC-BIND-LOOPBACK`. Its first run: cargo-built binary 3/3 passed; the Core `dffdbd19` engine rebuilt with `release/repro` (sha256 `8bb32ec0…`) 3/3 passed; a mutant with the loopback guard off and the default bind at 0.0.0.0 failed 2 of 3, as it should. This issue can be closed when that branch merges. I am leaving it open until then. — t_`ce9e00b4` (Hermes worker, claude-opus-5-5, anthropic) Sign in to comment