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/820c5f45c5322f48 # 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 # [Aien Alpha P0] Validate and dispatch Aien's 35B/27B model-selection decisions in native serving Closed · #735 · open 2026-10-24 13:15 UTC · closed 2026-11-07 00:07 UTC (reason not_planned) Imported from GitHub aien-dev/aien-sovereign-core-mv#735, by drakestapleton Labels: retired drakestapleton wrote on 2026-10-24 13:15 UTC ## Owned integration of Allen's Alpha routing decision into the already-existing model runtime UI naming contract: The person-facing orchestrator is Allen (title case); chat replies, route descriptions, error text, status displays and visitor interfaces must not show the all-caps styling. Preserve existing canonical technical IDs and schema keys where changing spelling would be breaking. Use `AIEN` for the platform name, Allen for the assistant, and 35B/27B for worker identities only in diagnostic details. Product owner: Allen #11 (trace-trained orchestrator). Compatibility/release: architecture #305 , #190 . This issue implements ONLY the bounded execution/admission seam between one persistent Allen and the already-existing two Spark candidate worker models. No second compiler, AI agent, model server, trainer, HTTP gateway, public quota ledger or identity. ## Grounded state - `crates/aien-cli/src/client.rs` has a single `AIEN_MODEL_ENDPOINT`/name compatibility adapter and a native runtime path, not independently verified per-task selection. - `crates/aien-switchboard/src/router.rs` routes operator accounts by fixed rules; it does not choose native GPU checkpoints. Audit for reusable pure-policy primitives but do not conflate it with model routing. - `crates/aien-runtime/src/persona.rs`, `crates/aien-allen*` own engaged identity/profile/memory; no newly minted identity from worker results. - Core #724 reports a private Qwen3.6-35B-A3B-FP8 loopback smoke on `127.0.0.1:18091`; actual executable and source/locks must be inspected at run time. No sustained 35B PASS. Native Qwen3.8-27B has separate #679/#710-#721 qualification gates and is not public. Existing deployed service must not be restarted or reconfigured without operator permission. - #730 owns 35B local coding-worker quality and controlled escalation; #715/#716/#719/#720/#721 own native serving, session, tokenizer/tool boundaries and resource caps; Omega #666 and omega-bridge #2 own model execution convergence. - The public chat site #60 and public gateway #734 must consume the SAME qualified Allen front-door contract, not build their own routing inference service. Public chat and internal operator use are distinct authorization and memory scopes. ## Deliverables - Versioned model-seat registry, sourced from qualification manifest (model exact ID/version/weight+tokenizer hashes, execution implementation/backend, context, numerical mode, capability/tool support, supported interface, local/public availability, health, observed concurrency/memory/queue, failure/refusal). No bare model aliases or manual guest model selection that bypasses policy. - Typed route-admission ABI, consuming Allen's proposal and current pinned registry state. Deterministic fail-closed checks for model unqualified/stale, private-vs-public, capability gap, budget, max-context, model unavailable, current Spark admission pressure and disallowed tool/effect. Proposal cannot mint authority. Implement first-party decision/behavior in seeded handwritten `.om` under existing compiler/runtime owners and ABI; document existing scaffolding honestly. - Route to the existing native Omega worker execution path; correctly bind conversation/turn ID, objective, model, KV/session ownership, response stream, output digest, cancellation, timeout and settled costs to a single request. No cross-tenant KV/prefix/memory leakage, recursive unlimited fallback, mixed checkpoints or inference on a stale slot. - Return typed result+receipt to Allen including actual worker and source/backend identity, refusal/uncertain statuses and metrics. Worker's output is untrusted task output, never implicit approval to write/merge/deploy. The same identity and memory owner persists across worker choice, loss, upgrade and service restart. - Measured route admission: initial pure rule baseline plus a shadow trace-trained Allen score. Compare frozen cases and true verified task outcomes on both individually qualified workers. Promote trained policy only after independent outcome, latency, budget and false-route gates; allow a human override of worker selection within authorized/qualified capability. - Hardware resource plan for one or two models on a 128GB unified-memory Spark including static weights, KV pool, scratch, OS/driver reserve and concurrent requests. No unplanned duplicate model loads, GPU reallocations, driver swaps or interruption of the protected 35B process. Explicit `BLOCKED_CAPACITY` when model cannot be admitted. - Public-safe mode uses policy derived from admissible training signals, not private operator trace/memory retrieval. Allen's private training corpus stays local/access controlled; no automatic training on public visitor chats; Open Humanity path remains explicit opt-in. ## Acceptance / negative controls - Fake-worker deterministic fixtures for both models, worker-down, stale checkpoint, route misclassification, malicious/untrusted worker outputs, replay/cancel, cross-user session isolation, memory exhaustion, quota denial before inference, wrong-model forced route and driver/health mismatch. - Real pinned 35B and 27B Spark runs independently accepted under Core #724/#679/#710-#721, with stdout/raw receipts, actual source+model+tool hashes, and no simulated or adapter-only PASS masquerading as native. - One frozen held-out routing suite: task -> Allen proposal -> validator -> correct authorized one-worker completion -> independent verification -> Allen response. Measure classification regret, verified success, decision+queue latency, TTFT, completed task/s, memory and full request cost against deterministic route baseline. - End-to-end recovery and model upgrade retains Allen identity, model/session attribution and no duplicate committed external effects. - No public enablement until separate site #60, gateway #734, Turing allowance/OH consent and independent external HTTPS acceptance. - Tests, .om source/provenance, signed hardware receipts and independent final-source review. Unqualified = NOT_RUN/BLOCKED, never implied qualified. Not in this issue: changing Allen's training dataset/weights (Allen #3-#6), writing frontend, implementing new native kernels, and auto-deploying a new public service. State: PROPOSED / NOT_RUN. drakestapleton wrote on 2026-10-24 16:02 UTC New consumer under SI Fusion #306 : Core #737 stages and qualifies 0.8B/2B candidate seats; Omega #694 owns native text kernels; Omega #695 batching. Keep one versioned model registry/admission boundary here, no second server, no unverified 27B public path and no restart of 35B private 18091. New SI jobs consume the same policy/health/memory/lease rules. drakestapleton wrote on 2026-11-07 00:07 UTC 35B retired (Drake 2026-11-06): Omega LLM only. Validates and dispatches Allen's 35B/27B model-selection decisions (pairs with retired aien#11, whose route contract is in the Omega LLM retarget list). — issuecov/I3 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic) Sign in to comment