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/tree/main/crates/aien-omega-compose # 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 / crates / aien-omega-compose` `4ba4b4e` build: refuse an omega checkout with uncommitted tracked changes Drake Stapleton committed 2026-11-06 ``` .. abi/ src/ tests/ .crumb 369 Cargo.toml 674 README.md 2744 build.rs 10008 ``` README.md # aien-omega-compose Rust binding to omega COMPOSITION-2 through the rxc_host C ABI (`src/runtime/rxc_host_abi.h`, archive `build/librx_compose.a`, make target in omega `mk/rx_compose_lib.mk`). NEXT-PHASE-1 cut 1b. ## Building against omega The library is built from an omega checkout whose HEAD must equal `omega.lock` (the same pin aien-omega-gpu uses; since NEXT-PHASE-1 it is omega `62b6a28`, which contains `librx_compose.a`). Default build, no override: ``` AIEN_OMEGA_DIR= AIEN_PHYSICS_DIR= AIEN_AIENOS_LOCK_REPO= cargo test -p aien-omega-compose ``` Variable Meaning `AIEN_OMEGA_DIR` omega checkout at `omega.lock`; shared with aien-omega-gpu `AIEN_OMEGA_COMPOSE_DIR` a different omega checkout for this crate only (takes precedence over `AIEN_OMEGA_DIR`) `AIEN_OMEGA_COMPOSE_SHA` developer override: full 40-hex sha the checkout must be at instead of `omega.lock`, for building against an unmerged omega branch. Prints a build warning; never used for a release build or a campaign receipt. `AIEN_PHYSICS_DIR` physics checkout at omega's `physics.lock` (default `/../physics`) `AIEN_AIENOS_LOCK_REPO` aienos clone holding omega's `aienos.lock` commit (passed as `AIENOS_LOCK_REPO`) `AIEN_OMEGA_COMPOSE_LIB` link a prebuilt `librx_compose.a` instead (not sha-checked) `AIEN_FORCE_CPU_STUB=1` stub: every call returns `ComposeError::Unavailable` (build time only; for a CPU-only run use `AIEN_BACKEND=cpu`, which makes the daemon refuse a GPU build) With no checkout and no library set the crate builds the stub and prints a warning. Use `AIEN_OMEGA_COMPOSE_DIR` together with `AIEN_OMEGA_COMPOSE_SHA`, so an override never changes the checkout aien-omega-gpu checks against `omega.lock`. The integration test (`tests/compose.rs`) is ignored in a stub build. ## Semantics (from the C header) - `open` binds the directory to one AienMachineId (`machine.id`); another machine is refused. The Cortex journal is `/cortex.cx`. - `register_skill` before the first `run`/`recall`/`info`. At most 2 Skills. Callbacks run on omega World worker threads. - `run(task, now_us)`: the Skills compete on staged J-Space branches, AEGIS checks each result with the `set_verify` callback, the winner commits. The result carries the Cortex record ids, branch count and verdict. - A reopen appends records; pre-restart records stay an unchanged prefix. - Torn journal tail: `refuse_torn = true` refuses without touching the file; otherwise it is repaired when it lies past the last commit, and refused explicitly (stably) when it lies inside the committed record.