KEEP across verified SDK packages

Local first release

Quickstart simulated production locally. Its first image froze the 0.1.0 SDK package set, its generated IC Wire 0.34.0 client and the exact app source. The test added cdk_rsx::wire::WIRE_POLICY to the frozen scores owner's dependencies to exercise the same retained policy used by Reactor, Takt and Rechain. The ordinary generated constructor and score methods were unchanged. The app populated 34 scores, including the largest supported key and value, and ran the same-release KEEP control before choosing a successor.

The SDK snapshot used a2abcb03bff383a2b2b98880225c706b7353cc09 plus the package-scope changes in this experiment. Pinned Cargo produced 23 real .crate archives per version. The synthesized 0.1.1 workspace changed release versions and exact internal pins. Both archive sets contained the same 167 Rust files. Only Cargo.toml, Cargo.toml.orig and Cargo.lock differed in the unpacked packages. Both builds used the pinned nightly-2026-10-15 compiler and a private directory source replacement. All canister operations used local PocketIC 16.1.0. Earlier refusal · Installed runner

Changes tested

The canonical builder checks the app lock's archive SHA-256 and compares the entire selected package source tree to that archive. A verified Cargo package receives a known SDK scope. A path patch, foreign registry, missing archive or file outside the actual owner's root cannot grant that scope. The builder reserves the ownership map in command-line Cargo configuration so an app's forced Cargo environment cannot supply its own map. The build receipt pins the archive bytes and Cargo-selected files. Staged directory replacements supply --compatibility-package-archives. Ordinary registry installs use the Cargo cache. Ownership verification · Canonical builder

The first provisional candidate matched its emitted inventory and still trapped at the root catalog. ThinLTO can fold a recipe such as Nyxus Map's associated policy into dependent code while discarding that recipe's inventory static. The Map source was identical across the package pair. Binding its unchanged leaf to the qualified producer removed the metadata-only change. The final design checks producer and raw leaf independently. Changed eligible source leaves and scoped macro/Wire recipes still need their own matching aliases. The facade emits the standalone Wire build recipe alongside its own wrapper recipe so the compiler inventory exposes both for retained Wire. Source policy · Wire build recipe

Installed result

The 0.1.0 same-set control passed. With twelve proposed exact aliases, the metadata-only 0.1.1 image admitted KEEP from 0.1.0 and could return to 0.1.0. Each direction preserved all 34 scores. The client from the starting image completed fresh inserts, updates and deletes after KEEP, and the destination client read the resulting scores.

The raw 0.1.1 image refused both directions at the root catalog. Moving the standalone Wire alias to Store's derive scope also refused both directions. Each refusal preserved the running Wasm and all 34 scores, then accepted fresh writes through the same original client. The app's Cargo config attempted to force an empty ownership map for every build. All 23 verified archive receipts and their emitted SDK scopes remained present.

Qualification boundary

No aliases were approved or deployed. The provisional result covers this populated metadata-only pair. Use the exact source and archived package set from the original install for app-only KEEP. A release with changed durable semantics or physical layouts still needs the appropriate migration. A changed const-only recipe absent from the compiler inventory can still refuse KEEP. The tested provisional pair does not supply enough evidence to approve such a recipe or a broader class of upgrades.

The first passing provisional replay used one frozen 0.1.0 tools copy. The final replay used separate 0.1.0 and 0.1.1 tools workspace copies with matching builder and helper Python source. Each workspace built its own host tool. Both used one physical app path, Cargo home and target directory, and the same resolved pinned Rust compiler and sysroot. The runner verified 1,954 baseline and 1,955 candidate files using the original artifacts. It opened the frozen app source while checking SDK and tool inputs at their recorded locations. For a full qualify-compat.py run, keep both complete input closures concurrently available at their recorded paths and supply the maintained suite's native and installed gates. The same-path staging pattern here replaced the live app manifest and lock after freezing the V1 app, which the installed runner can check using that frozen copy. Approval requirements

Input SHA-256
0.1.0 archive name-to-SHA map 7ef83787485bc5b5f4f9455a3316d908db0985dee122c46250acd5e8f74a4f4e
0.1.1 archive name-to-SHA map 55710b7669e9cf91b9dbca819ca27d0f045b3dc03c8cbf0672bf3cac02f99044
0.1.0 app lock d6bed9c9e5d56c4a3876b7975f539d9bcbf41aa8cd38a8d52c3725c2f725652a
0.1.1 app lock 4b4d6e91b4ed5e83bac4735081b30b4b629fa27d82fc07f1c11acda2a88dc464
0.1.0 prepared wasm64 e249256c279a0686bee9fdf6d84e7f39d941047da1bba927a8364001d7d8cb6e
0.1.1 raw-policy prepared wasm64 c74f9d405a2ee50eda190c5a5cae052d39e1a7484f5a133d415455ce3c99ab39
0.1.1 provisional prepared wasm64 fb444caf157bf72153a91060a4600ae8ea29e28f48a0c6fd29cc46763eb1f019
0.1.1 wrong-scope prepared wasm64 d2bcf459819ffbaa1f1d3fe9de33428b732808010d0a6a7c4fc8ae3e996c3d9a
Original generated client 118ca8b96c1a4e1c457f3be6a045ac50462c68832f030086cd4b415c912c1358
Installed runner used for the provisional pair ab92158c60875eafa447035a5d2f6914c2d53ff944814d183b45c44db1739060
PocketIC binary b44e1eccd66e02328146b3e209e3403e3a3428a25d25555aca2f67500e5ae9db

The archive map digest hashes compact JSON with sorted package-name keys and a trailing newline. Each value is the SHA-256 of the exact compressed archive.