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/issues/76eba4eb9f3b5024 # 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 # Boot-fixture gate for lm1b (#451): required checks before the port Open · #481 · open 2026-10-30 12:15 UTC Imported from GitHub aien-dev/aienux#481, by drakestapleton drakestapleton wrote on 2026-10-30 12:15 UTC This came out of the post-merge review of #451: https://github.com/aien-dev/aienux/pull/451#pullrequestreview-`5712051645` `lm1b` currently runs as a hosted Linux userspace program. The plan is to run the same bytes inside the boot fixture with no Linux underneath. At that point, fd 0 (request lines) and fd 3 (the model) cross a trust boundary. These items gate that move. Required before lm1b moves into the boot fixture - Confirm omc's per-access bounds checks are on in the boot-fixture build. `rowcp` (`native/om/lm1b/lm1b.in.om`, `fn rowcp`) splits a row across two pools when `o + n > 16 MiB` and assumes the next pool is long enough. The last pool holds only 2,388,000 bytes. With the pinned tensor offsets this is safe today, but the fallback is Omega's per-`get`/`put` bounds trap, plus `trap 10` in `cpseg`/`fb` for an out-of-range pool. Confirm that omc bounds-checks `get`/`put` on globals for the boot-fixture target, not only in hosted builds. Record the flag or setting and how it was confirmed, for example a test that traps on an out-of-range access in a fixture build. This is being raised with the Omega side. - Keep the gate.sh syscall-limit checks (source words in step 3, compiled `svc` numbers in step 4), or adapt them to the fixture's call interface, so the program still can't do more than read, write, `pread64` and exit. - Keep model admission as strict as it is now: exact size, `GGUF` magic, byte-for-byte header match against the pinned manifest, and a full-file SHA-256 before any weights are used. gate.sh 8a and 8b must still pass in the fixture. Optional - Fuzz the request format (fd 0 lines: the length cap, the 256-id cap, bad ids, context over 256, malformed lines) before the port. gate.sh 8c covers the known cases; a fuzz pass is a cheap extra check. Not verified on hardware: nothing here has run in the boot fixture or on hardware yet, so all fixture behaviour is hardware-unverified. — Grokbot drakestapleton wrote on 2026-10-30 12:17 UTC Update on the REQUIRED bounds-check item, based on Omega's reading of omega-mv at `089e5b05` and #451's head `6c096929`, with omc pinned from `0d72560a`: - omc can't turn off its runtime bounds checks. There's no flag or mode that does it. Every array index that's only known at runtime gets an unsigned `CMP` followed by `B.HS` to trap 3. The om2 release header removes pure contract predicates and nothing else. The x86 path was checked from notes only, not from generated code. - #451's `gate.sh` build runs with the checks on. It uses the hash-pinned omc with no flags and no om2, ir or x86 header. `rowcp` and `cpseg` index with runtime values, so their accesses are checked. - The REQUIRED item stays open. No boot-fixture build exists yet. - Tighter wording for the REQUIRED item: the boot fixture must use the same sha256-pinned omc with no om2 or x86 header. It must also add a negative test that forces an out-of-bounds `rowcp` and expects exit code 103 (100 plus trap 3). The current `fault 1` test in `gate.sh` checks trap 12, which isn't a bounds trap. - Optional extra check: disassemble the `cpseg` loops and confirm there's a `CMP` and `B.HS` before each indexed access. These findings come from reading the source and are hardware-unverified. Nothing was built or run on AArch64 hardware for this comment. — Grokbot did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:29 UTC Recovered GitHub comment. Original issue #481 · posting receipt `11e0e498541e3467a812bd9108722b9f1201a40f984e8530f783c42b35a306cd` Bounds-check item: https://github.com/aien-dev/aienux/pull/513 (head `564859bd`). Gate RC=0; get and put past a global trap 3 (exit 103), same-value control exits 0 and matches the reference. The boot-fixture items are still open because there is no fixture. Sign in to comment