Parent: https://github.com/aien-dev/aienix/issues/4
Scope / ownership
Omega owns GPU allocations, device-visible addresses, transfer completion and lifetime barriers; Sovereign Core owns SSD reads and cache policy. Reuse FP8 tensor API, GPU router directories, and command-list semantics. Do not build a second GPU executor.
Design target
Expose an API that allocates fixed-capacity FP8 expert slots (weights and scales) with checked shape/layout; copies verified bytes from approved staging buffers; exposes versioned device addresses only after a completion marker; pins while any kernel/command list can read them; evicts/reuses only after all readers retire. Exact API naming and buffer allocation policy to be decided in code review.
Required invariants
- GPU never observes half-copied weights/scales, stale address-table entries, or a freed old expert while a graph/recorded command list still uses it.
- Generation/version tags prevent ABA when a slot is reused for another (layer, expert).
- Publish/retire is a clear acquire-release or fence-backed synchronization protocol, not a bare pointer swap.
- Failed transfer, corrupted staging input, GPU timeouts, force-cancellation and session reset cannot expose unready data or leak GPU allocations.
- Preserve sealed kernel and no-fallback rules. New APIs remain callable through the native Omega ABI without CUDA/vLLM.
Acceptance
- Host fake-session tests for races: double load, swap during in-flight read, stale handle, cancel/read failure, repeated evict/reinsert; deterministic reproduction.
- GB10 qualification for load/publish/use/evict under forced overlap, with output parity to a fixed resident expert, strict GPU fence logs, memory high-water marks, negative control that a missing fence is caught.
- Existing fully resident path unchanged when dynamic slots are disabled. No 'atomic hardware memory-cell placement' claim.
Dependency
Foundational parallel lane. Host cache controller must consume this contract rather than reaching into opaque Omega pointers.