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/blob/main/om/README.md # 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 branch `main` Branches Tags History `aien-sovereign-core-mv / om / README.md` 31 lines ยท 9846 bytes Raw Blame History Source # om: Sovereign Core in seeded Omega First-party Omega (`.om`) replacements for parts of Sovereign Core, built by the seeded Omega compiler (`seed/out/omc` from omega-mv, pinned by sha256 in each test). Rust stays the production path until a replacement passes parity and real-execution tests against it (#748 , aien-architecture-mv#300). Path What it is Status `ribbon/pipeline.om` Bounded known-demand read/verify/copy/publication controller. Tickets bind generations; cancellation preserves in-flight buffer ownership. Optional `ribbon-omega` caller attachment in the expert pager uses Omega Bridge's generated native declarations. Host oracle, compiled mutants and native attachment checks in `ribbon/run.sh` and `ribbon/check_native.py`; see `ribbon/README.md` for build and device-evidence boundaries. `effects/world.om` The restart world check of the effect ledger: reads the target file, hashes it, decides DONE / NOT_DONE / UNRESOLVED like `effects::state_from`, and writes the reconcile record text and its sha256 like `effects::reconcile_text`. Byte-identical to the Rust on 24 fixtures (`effects/run.sh`). Not wired into the daemon. `tur-ledger/tur-ledger.om` Aienet-0 test-credit ledger CLI: v2 genesis pins issuer, independent verifier and account/node policy. Canonical mutations require issuer signatures; settlement also requires verifier authorization over signed-job, result and attestation digests and the reserved quote. Single-writer hash chain, fsync, recovery, integer conservation and exactly-once settle remain. See `tur-ledger/README.md`. Host admission/durability tests and guard mutants in `tur-ledger/check.sh`; no wallet, Core RPC or public economic qualification. Historical unsigned v1 receipts remain historical. `flint/manifest.om` Bounded manifest reader for the pinned Flint BF16 checkpoint (RecursiveSI/flint `2a247be0`, Core #802 P0): admits config, index and every safetensors header, refuses anything outside the pinned layout with a distinct exit code, prints the tensor inventory TSV. See `flint/README.md`. Host: `flint/check.sh` 89/89 with the downloaded checkpoint and the operator arm (38 refusal fixtures, 25 guard mutants; 70 without the operator arm). `flint/ops.om` Flint P0 forward operators recomputed in f64 from the real BF16 weights (Core #802): RMSNorm, q/k/v with q/k norm and RoPE, attention with sinks and the 513-key window, the sigmoid top-6 router, shared expert, routed expert and MoE block, each within twice a first-order bound on the reference's f32 error (`flint/test/TOLERANCE.md`). Host: in `flint/check.sh` 89/89, 9 operator fixtures and 2 router controls against the pinned transformers reference (fixtures sha256 pinned), 6 forward mutants caught. Layer, logits, generation, bf16-activation parity and GPU NOT_RUN. `golden/golden.om` Golden-token recorder and comparator (Core #853): writes greedy request bodies, takes `usage.aien_token_ids` from engine replies into an `aien-golden-record/1` file with the engine sha256, model repo and revision, sampling, prompts sha256, host id and UTC time; `cmp` reports the first divergence index per prompt. `golden/fake.om` is a test-only HTTP responder. See `golden/README.md`. Host: `golden/check.sh` 27/27 (9 comparator arms on synthetic fixtures, 15 recorder arms against `fake.om`, 3 guard mutants). No real reference recorded. `golden/ollm/` GB10 golden-token merge gate for the own Omega LLM (DRA-52, #853): `gdec.om` greedy decoders appended to an aien-train tree (CPU f64 reference, GB10 f32 candidate), `gate.om` record/compare with margin-floor truncation, drift bound and hashed identities, a one-kernel-constant negative control, Core gate SC-GB10-GOLDEN-TOKENS. See `golden/ollm/README.md`. Driver and checks are seeded Omega (`golden/ollm/drive.om`). Host: `drive check`, all arms as expected (7 gate.om mutants killed, record-bound and source-identity arms; `evidence/dra52-golden-20261107/omega-driver/`). Reference recorded on the Spark host CPU from rung-10 ck60000 (`ref/r10-ck60000.ref`). GB10 (one chip, `evidence/dra52-golden-20261107/`): main PASS 343/343 with the negative control blocked; a one-constant (RMS epsilon) tree blocked by DRIFT. `inquisitor-exit/check.om` Exit-status contract of a built `spark-inquisitor` (DRA-99, report format `spark-inquisitor-report/2`): 8 cases run the binary with `fork`/`execprog`/`waitpid`; a planted GitHub token, AWS key or `.env` file must exit 1 without echoing the secret, a dash-only or buzzword-only diff must exit 0 and print the finding as an advisory. Omc omega-mv `bf54b19f` (`62775d2a...`). See `inquisitor-exit/README.md`. Host: `INQEXIT PASS cases=8` on the DRA-99 branch; the format-1 binary from main and two source mutants fail as required. No gate runs it. The crate's own `.om` successor is DRA-440. `vendor/sha256.om` Incremental SHA-256 in Omega, vendored from benchmarks-mv. Exercised through `world.om` and `tur-ledger.om`. `vendor/ec.om` Native Omega ECDSA P-256/P-384 verification, byte-identical to omega-mv `6999fa9e6dae4847c155ef4eacaece74f491d3ca` `om/tls/ec.om`. P-256/SHA-256 strict DER verification used by `tur-ledger.om`; OpenSSL is a test-only signing oracle, not a runtime dependency. `vendor/json.om` Seeded JSON tape parser, byte-identical to omega-mv `bf54b19fa590e8ae925c0e80815516dbf41e7326` `seed/json/json.om`. Used by `flint/manifest.om`, `expert-bytes/expert-bytes.om` and `crumb-coverage/crumb-coverage.om` for config, safetensors headers and `.crumb` files. `expert-bytes/expert-bytes.om` Per-expert byte check for Qwen3.6-35B-A3B-FP8 (DRA-63, #855): reads only the safetensors headers and requires, for layers 0-39, FP8 E4M3 weights gate/up [512, 2048] and down [2048, 512] (3,145,728 B) plus BF16 block-128 scales [4, 16] / [16, 4] (384 B), 3,146,112 B per expert. Omc pinned in `expert-bytes/omega.pin` (omega-mv `474197e4`). Host gate SC-EXPERT-BYTES (`expert-bytes/gate.sh`, `tests/gates/run.sh expert-bytes`): PASS on the checkpoint, controls width 768, FP32 scales and an input-side shape mutant FAIL as required; receipt `evidence/motor-chip-20261021/expert-bytes-check.log`. `crumb-coverage/crumb-coverage.om` `.crumb` coverage of this repository (DRA-95): from `git ls-files -z` it counts tracked directories (the root plus every ancestor directory of a tracked path), directories with a `.crumb`, and crumb directories with at least one invariant whose `Check: ...` resolves to an existing test function (`cargo test -p X --test T -- --exact NAME`, `--lib -- --exact M::tests::NAME`) or a repository script; it lists the invariants whose check does not resolve. Omc pinned in `crumb-coverage/omega.pin` (omega-mv `b3346c2e`). Host: `AIEN_OMC= bash om/crumb-coverage/run.sh` prints the report; `run.sh --self-test` runs fixture repositories (all four check forms resolve; a wrong test name, module or crate, no `Check:`, a missing script, an absolute path and a symlinked test file are reported unresolved with exit 1; bad JSON, non-array invariants and unsorted input are refused with exit 4). Advisory: no gate runs it. A resolved check names a real function; it does not prove that the function tests the claim. `residency/residency.om` MoE expert residency simulator (sc#630 question, sc#633 hints): replays a recorded router trace against a per-layer expert cache, and (when LE <= 65536) one cache shared by all layers in serving order, and counts hits and misses for LRU and Belady OPT at 25-90 % resident. An optional hint section (H <= 16 predicted experts per step and layer) adds two shared-LRU replays with prefetches that count demand misses and prefetches used and wasted: hlru (a hint marks its expert used) and hcold (a hint only protects its expert for the step; a fetched one enters at the LRU end). Reads up to TL = `1000000` rows. Host only. Matches the Wolfram LRU/OPT/hinted-LRU oracle (`residency/fixtures/oracle.wl`) on a real 35B trace slice and a synthetic trace with and without hints; 15 refusals, 3 boundary checks, 2 hint-line gates, 4 hint invariants and 10 mutants checked (`OMEGA_OMC= bash om/residency/run.sh`). Not wired into the pager. `hive-task/task.om` Forge task transition rules of the hive cockpit (#925, DRA-288): claim, heartbeat, submit, verify and reap with attempt id, generation, lease expiry and artifact binding; busy database errors are a retryable refusal; an optional command id replays the recorded answer of an identical request and refuses a different one. `crates/spark-hive/src/store.rs` applies each rule as one conditional UPDATE stepped to completion inside one `BEGIN IMMEDIATE` transaction, with the clock read after the write lock is granted. `hive-task/drive.om` drives the real cockpit binary over HTTP. See `hive-task/README.md`. Host: `drive.bin cases` 88/88, `http` 58/58 (race 400 trials, exactly one grant each; command id race 40 trials, one record each; 5 checks with a write lock held past a 1 s lease), `table` cross-check 2052 rows 0 mismatches with 29/29 mutants killed, `migrate` 10/10; the `94b08ba6` build fails the 5 lock checks, and the main build fails 44 of 58 `http` checks and 6 of 10 `migrate` checks, and its schema cannot hold the `table` fixtures. Run: `OMEGA_OMC= bash om/effects/run.sh` (needs the offline cargo cache for the Rust reference, `crates/aien-runtime/examples/om_world_reference.rs`). Not covered yet: the confined check (`confined_world_state`, which needs a descriptor-relative open with resolve flags in Omega), the journal write, ledger rebuild, and the steps before the effect (objective, inference, typed tool, approval). The list with owners is in #748.