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/d9cae6ca890985dc # 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 # [OM-SERVE-RETIRE] Migrate Rust/C serving, model loader, generation and owner tests to .om, retire old dependencies Open · #753 · open 2026-10-25 02:19 UTC Imported from GitHub aien-dev/aien-sovereign-core-mv#753, by drakestapleton drakestapleton wrote on 2026-10-25 02:19 UTC ## Verified source and owner map Core main `9699d928` (2026-10-24) includes `crates/aien-serve-http/`, `crates/aien-inference-abi/`, `crates/aien-omega-q38/`, `crates/aien-omega-dgraph/` and many Rust crates; preliminary active-path inventory finds >700 .rs. The serving 35B Qwen3.6-35B-A3B FP8 is documented by Core #742 and Omega Q36 graph . A 2026-10-21 live receipt shows zero CUDA-user libraries, NOT absence of Rust/C compilation. ## Objective and existing ownership Complete the native .om source cutover for project-authored model serving, generation, tokenization, model weights and KV/GDN state, HTTP/SSE/tool streaming and Cortex/persistence without restarting/replacing private service 18091 before qualification. Reuse Omega #666 inference ecosystem, #661 model-shaped end-to-end, #635/#636 host ABI, Core #748 first migration increment, Core #752 optional compact 35B, omega-bridge #2 serving release. No second serving engine, planner, tokenizer or memory store. ## Work - Freeze existing Rust/current native contract and unmodified 35B checkpoint identity: tokenizer, Qwen36 tensor/effective GDN/attention shapes, 40 layers/256 experts/top8+shared, output head, context/batching/sampling, tool streaming, errors, tenant isolation and persistence. Declare all external dependencies and qualified seed/runtime language primitives missing. - Migrate one owned component at a time to handwritten seeded .om: ABI/data import -> single forward pass -> generation controller/tokenizer -> HTTP/tool/streaming -> snapshot/restore/Cortex -> build/install/test scripts. Preserve the shared controller and existing canonical owners; do not replicate. - For every cut, compare full golden tokens, sampled logits and probabilistic behavior when supported, exact KV/GDN/prefix continuity, prompt prefill, 1/8 heads, tool-call behavior, authorized effects, replay/idempotency, restart/fault recovery, privacy/consent and timing. Negative mutants must discriminate fake success. - Implement optional candidate in isolated owner-approved test server; compare TTFT, TPOT, aggregate throughput and memory at matched task correctness under approved Spark GPU lease. - Once all consumers execute the replacement and rollback is verified, delete superseded first-party Rust/C implementations, Cargo/linker/build/test dependency and shell/Python glue from active product closure. Transitive dependencies from third-party OS/kernel libs disclosed separately, not hidden. ## Acceptance - Entire in-scope serving dependency inventory from actual binary/process and repo graph. - Reproducible source-pinned .om loader-to-HTTP-to-model flow with independent accuracy, security, cancellation and restart verification. - Reversible qualified cutover, unchanged existing 35B golden behavior at same numerical profile and no unacceptable latency regression. - Actual removal of old project-owned Rust/C source and dependencies, no .om wrapper still calling those implementations. CI #316 catches reinsertion. - Clear separation of host/emulated/chip results and explicit NOT_RUN until performed. ## Migration rules Finite delivery child of architecture #300 , SEM-0 #315 , and the zero-legacy release audit #316 . Final project-authored source, tests and build/runtime glue = qualified seeded .om, not wrappers around C/Rust/.osc/shell. Preserve source history and immutable evidence through Git history but remove superseded implementation and its transitive first-party production dependencies from active trees. OS, vendor-signed firmware, protocol vectors and third-party independent oracles are separately inventoried rather than misrepresented. Follow plan authority, repository AGENTS.md, current owner worktree/lease and release desk; no unauthorized GPU, live-server, reboot, firmware or visibility changes. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:29 UTC Recovered GitHub comment. Original issue #753 · posting receipt `3ec39dd495395b2fcca0315e7e26f92fa7b40cafa9a135de090c21704c5bc159` Closure and consumer facts for this issue (2026-10-24, aien-dev/aien-architecture-mv#318 ledger): the live `aien-serve-http` (bin-`19173f9e`) is 30 workspace crates (128,931 lines of Rust) plus a 87-object `libomega_gpu.a` (85 omega C files, 36,232 lines, and physics `nvrm.c`/`m16_native.c`). First `.om` implementations of files in that closure now exist with parity oracles: `sha256.om` (byte-identical to coreutils on NIST/boundary vectors; aien-architecture-mv PR #320) and a BLAKE3 port in progress (omega-mv branch feat/726-blake3-om). The in-process cutover path is omega-bridge PR #8 (native call ABI v1: Rust calls one seed-compiled Omega function, OSC-1 convention, binding-owned 8 MiB stack, BTI pads). Until that PR lands, every `.om` replacement of a linked C or Rust file is reference-only; the first real deletion here should be `src/sha256.c` behind that ABI once it is merged. Sign in to comment