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/blob/main/docs/release/F1-binary-digest-difference.md # 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 branch `main` Branches Tags History `aien-sovereign-core-mv / docs / release / F1-binary-digest-difference.md` 23 lines ยท 2011 bytes Raw Blame History Rendered 1 # F1: why the same source gives two different aien-cli digests 2 3 Measured 2026-10-06 on the Spark (aarch64, host CPU only). Source: sovereign-core `80e071a` (the CAND-3 source), omega 4 `f816473` and physics `6d7cf0d` (CAND-3), rustc 1.98.1, fresh CARGO_HOME, `scripts/repro-build.sh`, three target directories. 5 6 | Build | Command | aien-cli sha256 | 7 |---|---|---| 8 | A | the six other packages together, then `-p aien-cli` alone | `3a17ee79a238`... (equals CAND-3 `aien-cli-native-release`) | 9 | B | same as A, second target directory | `3a17ee79a238`... (identical) | 10 | C | all seven packages in one cargo command | `ccecf9a13ef2`... (differs) | 11 12 - A and B are byte-identical for all seven binaries: the CAND-3 recipe is reproducible here, and `aien-cli` equals the CAND-3 digest. 13 - C differs from A in all seven binaries, not only aien-cli. spark-debugger: 6,386,800 bytes (A) vs 6,452,400 bytes (C), so the 14 code itself differs. aien-cli: same file size, 6,399,222 differing bytes; the first differing ELF section is `.text` 15 (0x5e7f4c in A, 0x5e7fcc in C); the build-id differs, as expected. 16 - Cause (verified at the dependency level, not by bisecting bytes): Cargo unifies features across every package named in one 17 command. `cargo tree -f '{p} {f}'` for `-p spark-debugger` alone and for all seven together shows 31 shared crates with a 18 different feature set (examples: cc `parallel`, bitflags `std`, futures-util `async-await,sink,...`, hyper, rustls, reqwest, 19 rusqlite, log, memchr). Different features, different code. Not timestamps, not paths (the remap works), not the compiler. 20 - Consequence: a binary's digest depends on which other packages are in the same cargo command. The release workflow 21 therefore builds `aien-cli` in its own last command and builds the other six as one fixed group; the six-group digests 22 are stable (A equals B) but have no CAND-3 manifest entry to compare with. 23 - Not done: a byte-level map of which feature changes which function; a cargo-config fix that stops unification.