Product recall registry across three Store releases
The populated canister completed V1 → V2 → V3. A second canister took the explicitly supported V1 → V3 path with the same business writes. Both finished with 45 bulletins, 152 serial ranges and identical public results and stable bytes. A separate run converted the registry at its full capacity on both hops. The final replay on 2026-11-30 comprised nine cases, 11 fresh local installs, 12 successful KEEP operations and three intentional upgrade traps. All nine client/image pairings exercised real generated clients. Wave 8 setup
What changed
One Store root owned a Hylix bulletin module and a Nyxus serial module. The root acquired one stable-memory provider. Each release attached exactly bulletins::memory::v1::Memory and its own exact serial module version. The controller published immutable product names, severity and recall instructions. Linking a lot required a published bulletin and a disjoint closed interval. Public callers could look up either endpoint of a lot and read the associated bulletin.
| Release | What the serial owner retained and converted | New public behavior |
|---|---|---|
| V1 · app 0.1.0 | Start serial → (end serial, bulletin ID). | Point lookup, ordered starts, bulletin read and counts. |
| V2 · app 0.2.0 | Moved V1's primary map and built a reverse map keyed by (bulletin ID, start). | Per-bulletin pages and optional Wire tag 1, range_count. |
| V3 · app 0.3.0 | Moved V2's two maps and built an end-keyed index. The direct V1 converter built both secondary indexes from the original primary map in one conversion. | Window intersections, including lots that start before the window, and optional tag 2, highest_serial. |
Each root converter moved the original bulletin attachment into its target slot and delegated the serial ticket to that version's Upgrade::convert. There was one changing child owner per hop. Each version also reopened its own populated current root on a same-image KEEP.
Installed checks
The prototype became a local supported baseline after the canonical V1 build. The bundled loader verified V1 live and from its frozen app copy. V1 was then installed and populated before writing V2. The original sequence held one Running canister across both builds. V2's live artifact read all retained rows and accepted writes through clients 1 and 2 before its source and receipts were frozen. V3 was authored afterward and frozen after its installed checks. The final replay loaded all six original stems against their pinned manifests and frozen sources.
| Checkpoint on the same canister | Bulletins / lots | Evidence from generated clients |
|---|---|---|
| Populated V1 | 40 / 137 | V1 matched 661 point keys, including zero, u64::MAX, singletons, adjacent boundaries, gaps and interiors. |
| V1 → V2 | 40 / 137, then 42 / 143 | Both clients read every bulletin and every primary page. V2 checked the reverse index. Each client published a new bulletin and linked three lots, including a lot for an existing bulletin. |
| V2 → V3 | 42 / 143, then 45 / 152 | Three clients read the inter-hop data and each inserted one bulletin and three lots. V3 checked 726 final point keys and intersection windows against a host list of facts. |
| Direct V1 → V3 | 42 / 143, then 45 / 152 | Clients 2 and 3 submitted the same two inter-hop publications on V1. V3's sorted bulletin and primary-page replies hashed to 10987cc989bf474cdac11eda910b9df1282430b84cf06e3f65484d3abb8862fe on both routes. Their complete Hylix images hashed to 0c4e255629b88cfb5a295f65dbc91e2c96a69bc909fd77e24c36ba066a5e83f8. |
The independent JavaScript oracle filtered and sorted publication facts. It checked ownership, counts, text and every paged index result through the client for that index. Unsupported methods on an older image produced a missing-query-method rejection. All cells below include common publish and link_lot writes and public reads using the indicated client's original runtime and codec.
| Installed image | V1 client | V2 client | V3 client |
|---|---|---|---|
| V1 | Core fields | Core, tag 1 absent | Core, tags 1 and 2 absent |
| V2 | Core, skips populated tag 1 | Count and reverse pages | Count and reverse pages, tag 2 absent |
| V3 | Core, skips both populated tags | Count and reverse pages, skips tag 2 | Count, highest serial, reverse pages and intersections |
Capacity. A separate V1 started with 256 bulletins carrying 96-byte product names and 1,024-byte service instructions. One bulletin held all 4,096 lots. Each release traversed 171 primary pages, and each supported secondary reader traversed its index. The three releases retained the same 655,360 stable bytes, SHA-256 9b03bcad16bdd579debf02b2d803b8e08f55045088766e028401a897bd76ef11. All three clients received capacity code 4 for another valid bulletin or disjoint lot. Other checks covered unknown bulletins, reversed and overlapping ranges, duplicate notices, oversize text, malformed Wire input and non-controller writes.
The app kept the ordinary Wire limits of 409,600 bytes, 9,437,184 nodes, depth 64 and 67,108,864 allocation bytes per direction. The generated controller switch has its own 64-byte frame. The largest observed publication request was 1,130 bytes. A fully populated V3 notice was 1,148 bytes, a 24-row primary or intersection page was 602 bytes and a reverse page was 482 bytes. These were transported bytes. The capacity result covers this app's synchronous conversion on the pinned local replica.
Three upgrade refusals
Every original and sibling build used the same real app, SDK, compiler, Cargo home and target paths. All seven preflight pairs returned compiler-policy-match. Each negative used its own populated local instance, paused dispatch with zero pending SDK call and timer callbacks, and ran ordinary management KEEP with the old pre-upgrade hook.
| Command in the trial directory | Expected and observed | Recovery verified |
|---|---|---|
node host/trial.mjs drift <run> |
A V3 sibling added one comment to the frozen serial V1 declaration. The V1 root fingerprint failed at startup with root catalog rejected. The same sibling admitted populated V2 and completed its V2 → V3 conversion in the drift-v2 control. |
The old V1 module, 40 bulletins, 137 ranges and pause survived. V1 accepted new data after manual resume, then ordinary V3 upgraded it. |
node host/trial.mjs wrong <run> |
The successor listed the exact V2 predecessor but deliberately opened the V1 root key for V2. After admission, typed Store binding trapped with root rebind: WrongContract. |
The original V2 module, reverse lookups, full stable image and pause survived. Clients 1 and 2 wrote after manual resume, then ordinary V3 succeeded. |
node host/trial.mjs trap <run> |
After converting and binding V3, restore found dispatch open, published temporary Hylix bulletin 777777 and linked 80000–80005. A separate read frame verified the stable text, primary lookup and both secondary indexes. PocketIC returned Panicked at 'xx19 forced trap after V3 stable bulletin and both serial indexes verified', src/root/mod.rs:86:5. |
Running V2 returned with its original module hash, 43 bulletins, 146 ranges and its pause still set. Both temporary records were absent. All 65,536 stable bytes matched SHA-256 13375c4ceb2948167285945d9be7778db9f7c8dad053fcac51963c7d3d6f1d32 before and after. Old clients read the oracle, resumed, wrote fresh records and completed ordinary V3 KEEP. |
All three management refusals reported CanisterCalledTrap. The root fingerprint admitted an exact saved catalog, the typed open selected the predecessor interpretation, and Wire determined what each client could read. The siblings all had the ordinary V3 Wire schema. Rollback evidence includes the raw Hylix image and the externally observable Nyxus contents. Successful KEEP automatically reopened dispatch.
Packaged authoring experience
V1 built and installed on the first attempt. The first tools/build.sh v2 passed native descriptor compilation. The wasm64 compiler then reported the following at src/root/mod.rs:47:36.
error[E0284]: type annotations needed: cannot satisfy `root::memory::v1::Memory<_>: 'static`
I had abbreviated the contract comparison to memory::v1::Memory::CONTRACT. The bundled mixed root uses <memory::v1::Memory as ModuleMemory>::CONTRACT. Applying that form to the historical and current root fixed the application on the next identical build command. The stage, pinned server and installed SDK completed their checks. The three upgrade traps were intentional. This trial found no SDK defect.
The copied creation and evolution skills led to the single-provider Hylix Quickstart, the Nyxus Quickstart, the frozen-source loader and the idle-TTL option. Store's low-level installed negative example points to a commit-pinned harness probe outside the bundle. The bundled mixed root and Store API signatures supplied enough guidance to finish offline. A short Store guide example showing the fully qualified comparison, moving an unchanged sibling, and delegating the changed ticket would put the three pieces in one place. Store upgrade guide · Packaged consumer guide
Reproduction and identities
From playground/xx19-wave8/, run ./tools/replay.sh for a fresh result directory. The completed verified-replay used PocketIC 16.1.0, one application subnet per instance, normal instruction limits and a 1,200-second idle TTL. The local README records focused replay and build commands. The canonical wrapper used --offline --locked --compatibility-package-archives /tmp/rsx-wave8.aIiXnd/release/package-target/package. Original artifacts remained under run/<release>/recall.
Unified SDK commit 8e8778de9083c956287a334220342d7968064dc8, release 0.1.0, wasm64-unknown-unknown, pinned nightly-2026-10-15 at Rust commit 7df81381d027710708209f36b98d11b1c88f8d2e. Authoring began in /tmp/rsx-wave8.aIiXnd/authoring/cdk-rsx-0.1.0. Builds consumed release/cdk-rsx-0.1.0 and the private copy of release/consumer-home/config.toml resolving to release/vendor.
| Verified release input | SHA-256 |
|---|---|
| Tools archive | 9a6819d17cd5ba3e4ef05b264b29da369fc589fb0f974d5531dd3f0385cc2214 |
| SDK-SOURCE.json, all 1,763 file hashes checked | bdd435010c2d5cd618b6bed4b2e5cca6c3c7c3bbc2268ba5eea35f705f7a4aee |
| Release inputs, all 61 package archives checked | 8e171c3c54e60b1cd2edbf636c88261b0e957c23901531af7363b83b40211828 |
| Selected SDK archive inventory, 23 packages | a5a7361b7076c712060916e9ecea27559b70e8b0f0f4ba6e67f3300f910fa487 |
| IC Wire 0.34.0 registry archive | 44d006cdf1ce2779bd5643d9febb42164061e6aa066dc44ffb08d8d8800bec74 |
| PocketIC executable | b44e1eccd66e02328146b3e209e3403e3a3428a25d25555aca2f67500e5ae9db |
All 69 locked dependencies resolved from the release vendor. The 23 selected SDK archives were 0.1.0 registry packages. The direct SDK packages were cdk-rsx, Collections, Hylix, Nyxus, Platform and Store. The package inventory digest covers sorted name@version<TAB>archive-sha256<LF> lines, verified against the lock, vendor checksums, release inputs, original archives and each canonical receipt. The compiler policy was 16c292920bf7eacafea62033a7833ceef29c4624bdd158afb341691c64b4ab11. Only the app's own version changed between the three lockfiles.
| Frozen SHA-256 | V1 | V2 | V3 |
|---|---|---|---|
| App source tree | 79ea631c5c6774d4d53974c073b5799ad58b1d5a73a18057fc687ef990428500 |
037f95e3527c425ce27406b49df3ef47c2dde08595e6810871451517bbff5b5d |
5697d6690a40a23f73c11db2dcd8e12df3b37f3432c366dfe2f4a833f1e048a7 |
| Cargo.lock | 650690584e86bc2eb99b1876157ba5b8b42efaa1a25eb26f2b065e04e3b50fe5 |
5067e1b65a70d8dff7b6a31ae7928718f7d0e7d850c5b64767ac6f16dc476e18 |
c36a418379f156bb171f969fac8d3d9f824a055c8d75784aa5a0eadac5b026dc |
| Canonical manifest | fc6160143821443829a9e5ab3404abc43ffe6bbe40ec6d097e496194cc0468e9 |
966a8842457a76f7e988c1e52656a882ac194e3a95606186d434daafb979a13c |
ead55546aeba619db7e5af8a46cb2c3cc3395940f712669480742e90668a162f |
| Prepared Wasm | cdeddea7c9809c1736ca22483a57cf6ac07e797f44c3b4e57c65d8839ee30297 |
7905051c57d3b6ce8e076d79f8fcc067c6074cd54aaefb22b1d6aa622fe7d9af |
9595f148d8e760a82b1ab8f57cd320aebc1d86fb7962964fa98b6deebaf4379c |
| Wire descriptor | 7a1401bc8f243d37d94800c8aa7767dcd7ec9743b83e18dced092075eb5b4fc9 |
97979ddb850c161d69f73490a6991701aaae4919fe70e3d560bebec952dc3051 |
4ae723e4cc76b6d770234f91190180d91a88d4a879775e0baedcc14794fba339 |
| Generated TS client | eaf4f058d112777e1af02a9f9bf9a49f5610bd8e50ae207963c4b87176bc2f84 |
c28fa1476422d332716f0d87118ee76e5d665c76243bebbf1f3769bc2acd7f0f |
4b80ffc517db5748f2cb22a11001ff19087add5b146aac50034fe44f65d1dc5f |
The app source digest covers the sorted frozen file checksums and their paths, including the manifest, lock and toolchain file. The loader checked 1,955, 1,957 and 1,959 files respectively. All releases and siblings used identical runtime and codec files. Runtime .mjs was d353f7136d65ad4bc1897f9be1e7ff5c437a62f27e4745c2e6a66234ca4140fb and codec .mjs was a2b46dfb80c97347f131c25634f449ed215224c11b033622ce15baf379bb490a. Their .mts sources were c7ad2fe484ab848dc41070f6886e5ed625d7acb61927bf8db003ddc99cd28673 and 2d560591fd20c1160de3c7344eb07b38a3d546103edf99a500304da3dc067d15. The bundled loader also refused a wrong manifest pin and a modified disposable source copy before any install.
| V3 sibling | Prepared Wasm SHA-256 | Canonical manifest SHA-256 |
|---|---|---|
| drift | db4396dee351d9bff0c875f1c125f3313c470108b8a017428906b2849a7cb91c |
19caa6c04057d9f9d356e7a903c8287c63ba679d1c42a0f6885131b8481bdc57 |
| wrong | c4fdcf24caf1e605f1f17b42374dc0be5717d884077786ab92e4ce1c547fba65 |
6cbb80b3c4199cd65774a8a5604cc4fe46f3a260e60f4dadfb98e32724036c9d |
| trap | 3968f4aef4bc585c5e8440fe64abbee8022d87c56ab31dcceec97ad0d4e0daac |
5cbd65cdba7cab7bd6e0c0d99a598283383b33429a1dac3f4b9d719364d0efd9 |
The wrong-selector and trap-restore features used the frozen V3 source and lock. The comment-only sibling kept the V3 lock. Its frozen source tree hashed to 744ca81577a8b55e2303ec8ec63f6881f0d86ac8e325740309241162838657b5. All three used the V3 descriptor and generated client above.