Rental maintenance desk on Ashroot and Hylix

One PocketIC canister retained all 96 V1 tickets through Reindex and all 98 V2 tickets through Recode. Fresh writes brought V3 to 101 tickets. Both hops passed on a clean repeat and on a larger portfolio that grew from 1,024 tickets to 1,029. Two failed conversions left their source canisters usable.

Installed releases and clients

Controller-operated clients registered 18 rental properties, 36 tenants and 18 contractors. Property references and contractor licenses were unique. Each tenant belonged to a property. Each ticket carried a tenant, summary, optional contractor, status, priority, due day and labor estimate.

Installed release Original clients exercised Retained and fresh behavior
V1 · 0.1.0 V1 Verified every primary ID, unique code, reverse reference and status/priority queue. Restrict blocked deletion of an occupied property or a tenant with tickets.
V2 · 0.2.0 V1, V2 Reindex kept the primary storage of all four tables. The new ordered (contractor, due_day) index included only assigned, unfinished work. The busiest contractor had 32 dispatchable tickets. Each client registered a property, tenant and contractor, filed a ticket and revised its plan. Closing and reassigning jobs changed the live queues. Retiring one contractor cleared two assignments.
V3 · 0.3.0 V1, V2, V3 Recode replaced the ticket's whole-hour u16 with exact u32 labor minutes. The mapper multiplied each old estimate by 60 and kept the primary ID and other fields. Each client filed and scheduled fresh work. V3 set one V1 ticket to 95 minutes and one V2 ticket to 17. Older clients read two hours and one hour respectively. A V1 reassignment preserved the 95 minutes. Retiring the busiest contractor cleared 40 assignments.

The independent JavaScript oracle derived every primary row, index, reverse reference and queue from maps of accepted writes. One sequence compared 1,403 pages across clients, including filtered reads and cursor continuation. An additional clean run issued 1,438 one-row queries on either side of every expected composite key across five checkpoints, pinning the keys within ties. The larger run compared 4,823 pages, including 3,811 full pages.

In a separate two-hop run, 17 tickets had 160-byte UTF-8 summaries, present contractors, IDs near u64::MAX, maximum due days and 168-hour estimates. Filing took 203 encoded bytes. A 16-ticket reply took 3,234 bytes, and the next page returned the seventeenth ticket. Every supported client decoded the primary and queue methods it shipped. Names were bounded at 64 UTF-8 bytes. Ordinary Wire directions retained 409,600 bytes, 9,437,184 nodes, depth 64 and 64 MiB native allocation. An unprivileged call, a truncated request, a 161-byte summary and a requested page of 17 were refused.

Installed refusals and recovery

Each replay ran from playground/xx4-wave8/ on its own local application subnet. Before KEEP the controller paused dispatch and saw zero pending call and timer callbacks. Across every failure the host compared the module hash and full stable-memory hash, resumed the source, and checked its rows and indexes.

Candidate and replay command Expected and observed diagnostic Recovery on the same canister
V1 → V2 with --features one-visit-per-day · node host/replay.mjs results/duplicate duplicate Existing appointments shared a contractor/day. Ashroot migration map failed (source table 3, target table 3): Unique { index: 3 } All 96 V1 tickets and indexes agreed. V1 filed a 97th ticket. Ordinary V2 admitted it. A sparse control admitted the unique candidate, rejected a new same-day booking and accepted a different day.
V2 → V3 with --features orphan-on-convert · node host/replay.mjs results/relation-exact relation The mapper reassigned completed tickets to an unregistered archive tenant. Ashroot migration validate failed (target table 3): MissingParent { table: 1 } V1 and V2 read all 98 tickets. V2 also matched its restored calendar. V1 filed a 99th ticket. Ordinary V3 admitted it and retained its new 37-minute estimate.
Direct V1 → V3 · node host/replay.mjs results/direct direct V3 declared only the V2 root as predecessor. Preflight matched the compiler, then startup trapped with root catalog rejected. V1 remained readable, accepted a 97th ticket, then upgraded to V2.

All three reported CanisterCalledTrap. Stable-memory SHA-256 before and after the V1 refusals was 815f645c2ccecf76e503741f006ce25c72a68b637881b0a1d0d7c37edf0ffa7c. The V2 relation refusal preserved 3a7c9f7e806b2cf0c7e638c148ca1934883b6d5b12d8685ea079cb1a14b53ce1.

A fresh V3 install also retained an exact 59-minute estimate through same-image KEEP. Removing the contractor cleared its assignment on all 17 tickets. Restrict still blocked the tenant with one ticket left. After deleting the final ticket, the tenant and then the property could be removed. All primary, reverse and queue reads were empty.

Storage and authoring

The root acquired one physical StableMemory, formatted a direct Hylix arena on install and reopened it with the same header contract on restore. Store::with_hylix supplied the provider for all four tables and their indexes. Ashroot used Resources::default(). The root owned one opaque database child. Domain operations borrowed it per call. Recode supplied one scoped Hylix owner per source row through row.into_stable(owners) and Sink::store.

Freeze the root's exact child type and arena header, and the domain's row declarations, table order, backend, projections, validators, relation rules and feature interpretations. The target version contained the complete mapper list and bounds. Each root converter detached the old child, delegated the migration and attached the result. The declarations used literal Text<64> and Text<160> widths. Delete planning allowed 4,096 rows, 16,384 edges and 8 MiB. Migration allowed 100,000 rows and 1,000,000 edges. Its 32 MiB byte field excludes mapper allocations. The largest installed second hop recoded 1,026 tickets. These runs qualify correctness at the reported populations.

The packaged app-create and app-evolution skills led to the bounded client, same-path build and frozen-source loader. The engine guide supplied the direct Hylix recipe. Ashroot's guide links to the pinned repository for converters, although both Rust examples ship under examples/ashroot-mixed. Its packaged command covers same-image KEEP. Its multi-image commands require checkout-only runners. I wrote the replay with the bundled host helpers. A two-image command in the release example would close that gap. Consumer guide · Ashroot authoring

The first shell issue was rustfmt +nightly-2026-10-15 --edition 2024 app/src/lib.rs, which returned Error: file `+nightly-2026-10-15` does not exist. Sourcing the release environment and invoking rustfmt --edition 2024 app/src/lib.rs worked. All three ordinary canonical builds succeeded on their first attempt. V3 emitted dead-code warnings for declarations used only by an earlier release.

In a deliberate app-authoring probe, bin/reindex-type-probe v2-redeclared-row copied the V1 ticket record field for field into V2 and requested Reindex. The builder stopped during native compilation with error[E0271]: type mismatch resolving `<Tickets as TableSpec>::Row == TicketRow`. Rust identified desk::memory::v1::TicketRow and desk::memory::v2::TicketRow as distinct types. The successful V2 re-exported the frozen V1 row. After the refusal, bin/rebuild v2 v2-type-recovery reproduced the original Wasm, descriptor, client, runtime and codec byte for byte. Its new manifest SHA-256 was 0d78277ae63dcb57dcf3ddf36de04b781a153f0aaba062c3733241ae1578da7c. No SDK runtime defect surfaced in the installed cases.

Build identity and replay

Unified commit 8e8778de9083c956287a334220342d7968064dc8. The build used the gated /tmp/rsx-wave8.aIiXnd/release/ tools bundle, immutable registry replacement and archived packages. All five images used the same real app, SDK, compiler, Cargo home and target paths. The canonical builder ran with --offline --locked --compatibility-package-archives /tmp/rsx-wave8.aIiXnd/release/package-target/package. The compiler was rustc 1.101.0-nightly (7df81381d 2026-10-14) targeting wasm64-unknown-unknown. Both positive preflights and their negative siblings matched compiler identity 5b4a7eec340c55b2cd780709262f3297d8fca49b21d98d839cb5cac7d86aa25b.

Shared input SHA-256
Tools tarball 9a6819d17cd5ba3e4ef05b264b29da369fc589fb0f974d5531dd3f0385cc2214
Bundle SDK-SOURCE.json bdd435010c2d5cd618b6bed4b2e5cca6c3c7c3bbc2268ba5eea35f705f7a4aee
Stage release-inputs.json 8e171c3c54e60b1cd2edbf636c88261b0e957c23901531af7363b83b40211828
Local PocketIC 16.1.0 b44e1eccd66e02328146b3e209e3403e3a3428a25d25555aca2f67500e5ae9db
24 SDK crate archives actually used, filename-sorted SHA256SUMS 205931378d0416a22cb17f8394b394e5aaa1854c06ed703b6c4637727f9faf53
Registry cdk-rsx 0.1.0 885eb14052ff6a333e6934685a05fd1f31ed1713780c1aa8e7f2b13e3052c6a0
Registry cdk-rsx-ashroot 0.1.0 d19f1a3df12206713a9242d25a668f27416fcbfd23af36bc7ea46b5a36c2bcbc
Registry cdk-rsx-store 0.1.0 7b475feb525a30581bd0623146b6d90fff308cfe2e6d337e389644b02a1e2589
Registry cdk-rsx-engine-hylix 0.1.0 7c37206ed2dc298b69574d9559a33bc0ce03e156d0b5973786485334ee1af916
Registry ic-wire 0.34.0 44d006cdf1ce2779bd5643d9febb42164061e6aa066dc44ffb08d8d8800bec74

The bundled loader verified V1 live and from its frozen source before population. PocketIC's 3,600-second idle TTL held the canister during authoring. V2 and V3 were frozen after their retained and fresh writes passed. Clean replays rechecked the three original artifact directories against those frozen sources and manifest hashes. App source hashes use path-sorted SHA256SUMS including the lockfile and copied skills.

Artifact SHA-256 V1 V2 V3
App lockfile de72fe0452c49a16881536ae7dc8f17fe3f9cb08af0c57b55c44937651ae37e8 259d59bdaef37facd42830773c538748abbc2c473abb4e5ff5d2ace74853fd8a c8c6b0b43ea869f7cedb057edd1e431179f41973bbbeafee9af14351643d315b
App source 8ae2d75836b8cb0e03936fb954aa48cf6e756362c97c98a8af725f02023be308 70e668444dbbcd5ff7aa956bc90318107825926223e9829b683e99e90284157d 9755355d9a82af9357f112ac8e7155c765f9f8387235d82abbd33f3f3fa12d00
Canonical source archive 4dab21ee0078f6e1101f7952fd783843456d8804e00d45ba59dbfe13487a4ac6 cff172592dc10a2239f1af26fec200e5406481a87d683000169450161d29bad4 778b2d25d8712864965390d079154e4fd37fb3a956ab24be7bbccf80ec8f3c3d
Canonical build manifest fbedd2cf7197be50e25e7530352d23e48191466f885ba44ce511b07211f2e982 21366098652088d51c72578f761104c08cbab887f5268a644420b03f1289bf18 16a1d0ff919651fd53e235b2ca18ffc5de7e54eb8cb0a1f60e215881e4785c0f
Prepared Wasm 6ef5728fdced00cabd1dafedffb3656539fc5164cf65974ab3ac20d8597f54c5 284fd48ca506d8d9a982e5b7a98dd9c683819361923cf9eec494aca64a7d461c ebee5f691f5cd3b1de0ea4acfa3957b7e568a2790498a090979b62d85340db3a
Wire descriptor 3886b01253ba67d6007b24cec6e42017c69f92fa13a88d706fba23845ac636b2 0c886d68a88c8d9a4b7379fafc433bff0997613ad74b52fff58f81c99496b3a6 9ee0afb4a62911775cb43159fada828d2e7726eea416583d4af17712c43a17ac
Generated client 721d308dbde2e1dfd3b2f49285de48aec75695774a5b7221d3b82fc23f9ddd2b bbdc31b6525bbca9e5de83322fb260accfe312bfdac5ff99bed816202e26a1e0 d44482968612cfc3db4e23c6f3e38d66384d5c2cc9db9b6df2bfdfe2bdb3ec67

The V2 unique and V3 orphan builds shared their respective release's source, lock and client. Their compile-time feature choices produced distinct installed images.

Sibling Prepared Wasm SHA-256 Manifest SHA-256
V2 unique 103676ec5a3b73289e1222962dfda500f099d07578da11ff5228c7d1a1fb60ef e5a21ee81a707e68aa5911e4e3b1b6b72c39a2a9dc5e21047c5ebcfba6dc64df
V3 orphan db73c3a0051d6784b844ef1172d179d4fdc19651e31d75720bc6e6631b564277 9a2da973952ac758b43cecd64b50c9cf053eb7491f9438e5a381c99cdd944db9

All clients used runtime 17efb5249f84c06e2c3559dcb2975cdb863a639068905beb8a4bf3db3e684085 and codec a2b46dfb80c97347f131c25634f449ed215224c11b033622ce15baf379bb490a from their own artifact directories. Replay needs the staged inputs at their original absolute paths. The ignored lane README documents each variant. To replay the populated sequence and exact-key checks, run the following with a fresh result name.

cd playground/xx4-wave8
node host/replay.mjs "results/replay-$(date -u +%Y%m%dT%H%M%S)" sequence --exact-keys