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
aien-sovereign-core-mv / docs / campaigns / open-model-qwen3 / build-allen-subject.sh
| 1 | #!/usr/bin/env bash |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | # Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | # Builds the ALLEN fixture subject for the campaign driver (run-campaign-allen.sh). Host-built, test-only encoder |
| 18 | # (crates/aien-allen/tests/e2e_demo_subject.rs), the same one scripts/allen_e2e_demo.sh S1 and the WHOLE-SYSTEM-E2E |
| 19 | # harness use. Real subjects come only from AIENOS cs_provision. Shell only. |
| 20 | # OQ3_SC_DIR=<sovereign-core checkout the binaries were built from> [OQ3_ALLEN_TARGET=<cargo target dir>] \ |
| 21 | # build-allen-subject.sh OUT LINEAGE_HEX NAME prints AGENT=<64 hex> and ROOT=<64 hex> |
| 22 | set -u |
| 23 | OUT=${1:?OUT} LINEAGE=${2:?LINEAGE_HEX} NAME=${3:?NAME} |
| 24 | SC=${OQ3_SC_DIR:?OQ3_SC_DIR} |
| 25 | TGT=${OQ3_ALLEN_TARGET:-$(dirname "$OUT")/allen-target} |
| 26 | cd "$SC" || exit 2 |
| 27 | env -u AIEN_OMEGA_DIR -u AIEN_OMEGA_COMPOSE_DIR CARGO_TARGET_DIR="$TGT" \ |
| 28 | DEMO_SUBJECT_OUT="$OUT" DEMO_LINEAGE_HEX="$LINEAGE" DEMO_SUBJECT_NAME="$NAME" \ |
| 29 | cargo test --release -p aien-allen --test e2e_demo_subject -- --ignored --nocapture 2>&1 |