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
GitHub aien-dev/aien-sovereign-core-mv#378 (code only)
Apply it
git checkout -b patch-2c9030d11f3964b4 f97dc905c96e2ac344470b7217873c4cba46dcf7 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/2c9030d11f3964b4.patch | git am
Provenance
github-import 1
aien-dev/aien-sovereign-core-mv
378
e8099e07040dcaa36b2d6858509b6a8044bfdce8
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":378,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/378","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:59Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/.crumb b/.crumb index bfed28e4..8186515f 100644 --- a/.crumb +++ b/.crumb @@ -64,27 +64,27 @@ "generated": { "children": [ { - "digest": "8f8e6711a2369bd507758796628aef121a2426011f68d13f58f5b414f0e19af3", - "last_commit": "4de815a", + "digest": "81f182fa9182c73c49125cd300b8018d14194b40a2e4fd5ed1cbcd7caba09373", + "last_commit": "dcace31", "name": "scripts", "purpose": "" }, { "digest": "f432725dc4aef6ecd69eea043123fbb7593a9d29af97d70a561f5f355a8ad180", - "last_commit": "8a48904", + "last_commit": "f97dc90", "name": "skills", "purpose": "" } ], - "children_root": "sha256:555bca7d68bcd3bac739f3dc7bac1a895ed71ea4707dd70aa1ed96c771290c44", - "compiled_at": "2026-10-10T08:55:54Z", + "children_root": "sha256:21281b2b30a3de2db7abbe7280bbc8790e1f217264ead3c584b7a8766d68dd1a", + "compiled_at": "2026-10-10T09:18:33Z", "compiler": "crumb-compile/1", - "digest": "sha256:edcae732adfe4e19a227dccee3b9e12c402e52cf9a9c74f9eed545b6a4160a89", + "digest": "sha256:e2082618b3c7bc537a215609df36bd794410ba483ccaf5d97291bbefc947c07e", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", "files": 1853, - "generated_at_commit": "8a48904fde00f3a182f9840aeb2acd23e3c79fa6", - "source_tree": "sha256:65e82e7a1c76308118a463577b8b2837e2aa22651318e9ba3d4007cae195161e" + "generated_at_commit": "dcace310b9a56a23a5b296d5961d4b433cd96465", + "source_tree": "sha256:71e0bd84dde7f4434b65b70454e17d1116965d6889c00b3bebc796abb027d195" } }, "history": [], diff --git a/docs/CANONICAL_TOPOLOGY.md b/docs/CANONICAL_TOPOLOGY.md index 44d84e32..221d0d11 100644 --- a/docs/CANONICAL_TOPOLOGY.md +++ b/docs/CANONICAL_TOPOLOGY.md @@ -6,13 +6,22 @@ runtime, scheduler, KV cache, inference ABI, Cortex, protocols, worlds, CLI. Satellite repositories (`cortex-rs`, `spark-hive`, `spark-supervisor`, -`spark-debugger`, `spark-adapters`, `spark-crumbs`, `spark-inquisitor`, -`rad-id-sync`) are published mirrors, not parallel implementations. Changes -land in the monorepo first, then mirror out by automation. Manual -synchronization between the monorepo and a satellite is a bug, not a workflow. - -Until the mirror pipeline exists, any satellite that disagrees with the -monorepo is stale by definition. The monorepo wins. +`spark-dream`, `spark-debugger`, `spark-adapters`, `spark-crumbs`, +`spark-inquisitor`, `aien-harness`, `rad-id-sync`) are archived, read-only +snapshots on GitHub as of 2026-09-23. Each one's final commit ("docs: archival +pointer to canonical home") points back at its crate in this repository. +They are not parallel implementations and nothing mirrors into them; a +satellite that disagrees with the monorepo is stale by definition. The +monorepo wins. + +`scripts/sync-standalone-repos.sh --check --all` is the drift check for anyone +who still holds the local `<name>-publish` checkouts: it diffs each crate's +`src/`, `tests/`, `schemas/` and `[package]` manifest fields against the +monorepo and exits non-zero on any difference. `AIEN_MIRROR_WORKSPACE` points +it at the directory holding those checkouts. The sync mode of the same script +is the mirror pipeline should the satellites ever be unarchived (that is a +GitHub-side decision for the project owner, together with relicensing them to +the workspace licence); until then there is no satellite automation to run. ## Canonical process model diff --git a/scripts/.crumb b/scripts/.crumb index 81fb06bc..fcbdc171 100644 --- a/scripts/.crumb +++ b/scripts/.crumb @@ -4,14 +4,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-10T03:55:24Z", + "compiled_at": "2026-10-10T09:18:33Z", "compiler": "crumb-compile/1", - "digest": "sha256:8f8e6711a2369bd507758796628aef121a2426011f68d13f58f5b414f0e19af3", + "digest": "sha256:81f182fa9182c73c49125cd300b8018d14194b40a2e4fd5ed1cbcd7caba09373", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 27, - "generated_at_commit": "9052fe3fd075386dafa45cb5e06acd46c95b9d01", - "source_tree": "sha256:190fa8652d4640bd83fa4ebb44b292cd744557bc7717dc456290d53ef38f5a17" + "generated_at_commit": "dcace310b9a56a23a5b296d5961d4b433cd96465", + "source_tree": "sha256:4b6a2d0abe747fbeef1b2a3f246cecc5f8531c66ab0d5816a2b63cd279fbbeec" } }, "parent": { diff --git a/scripts/sync-standalone-repos.sh b/scripts/sync-standalone-repos.sh index 17fe6d18..e8ce4cf6 100755 --- a/scripts/sync-standalone-repos.sh +++ b/scripts/sync-standalone-repos.sh @@ -3,6 +3,9 @@ # sync-standalone-repos.sh: Monorepo Crate Synchronization Pipeline # # Synchronizes crates from aien-sovereign-core to standalone publish repositories on DGX Spark. +# Note (2026-10-10, #93): every standalone repository on GitHub is archived read-only +# with a pointer back to its crate here. --check is the drift check against local +# publish checkouts; sync mode only matters if they are ever unarchived. # Adheres strictly to Sovereign Voice: zero em dashes, zero en dashes. # # Preserved standalone-specific files: @@ -15,7 +18,9 @@ set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SOVEREIGN_CORE="$(cd "$SCRIPT_DIR/.." && pwd)" -WORKSPACE="$(cd "$SOVEREIGN_CORE/.." && pwd)" +# Parent directory holding the <publish_dirname> checkouts. Override for a CI +# runner or a scratch directory; defaults to the monorepo's parent. +WORKSPACE="${AIEN_MIRROR_WORKSPACE:-$(cd "$SOVEREIGN_CORE/.." && pwd)}" # Repository mapping: <cli_name>:<crate_subpath>:<publish_dirname> REPOS=( @@ -302,10 +307,12 @@ process_repo() { # Step 4: Selective manifest synchronization if [[ -f "$src_dir/Cargo.toml" && -f "$dest_dir/Cargo.toml" ]]; then - set +e - sync_manifest "$src_dir/Cargo.toml" "$dest_dir/Cargo.toml" "$CHECK_MODE" - local manifest_code=$? - set -e + local manifest_code=0 + if sync_manifest "$src_dir/Cargo.toml" "$dest_dir/Cargo.toml" "$CHECK_MODE"; then + manifest_code=0 + else + manifest_code=$? + fi if [[ $manifest_code -eq 2 ]]; then repo_has_disparity=1 elif [[ $manifest_code -ne 0 ]]; then @@ -361,10 +368,11 @@ for entry in "${REPOS[@]}"; do fi PROCESSED_COUNT=$((PROCESSED_COUNT + 1)) - set +e - process_repo "$entry" - repo_rc=$? - set -e + if process_repo "$entry"; then + repo_rc=0 + else + repo_rc=$? + fi if [[ $repo_rc -ne 0 ]]; then TOTAL_FAILED=$((TOTAL_FAILED + 1)) fi