Authoring and release follow-up
The round-two findings led to an authoring patch and a local package rehearsal. The six original application reports still refer to the SDK and artifacts used during that experiment. Round 2 results
How the trial apps follow the conventions
All six applications separate root lifecycle and binding from business methods, keep retained data in domain-owned versions, and expose Wire values at their endpoints. The trial briefs now link each pattern to its owning convention and a maintained canister. Reference apps and conventions
Heavy16 and the Minima benchmark still show the lower-level
module_children! and #[memory] pair. Quickstart now uses
module_memory! for named slots. It declares the memory and its accounted
child slots together, including the generic child normalization needed by the
grants DAO. Ashroot-scale generates its schema matrix for measurement. The
small DAO and maintenance apps put their table declarations in the owner
version, as the Ashroot convention prescribes.
Heavy16 root ·
Quickstart root ·
Ashroot conventions
| App | Follow-up for future trials and skills |
|---|---|
| Forum | Freeze the first reply ID and rules for interpreting the next-ID counter with the board memory. Exercise explicit Wire request caps for maximum title and post sizes. Forum trial |
| Grants DAO | The independent verifier reconstructs local body commitments and parent links. Use the maintained certificate path for a separate certified-tip check if the product exposes certified history. DAO trial · Rechain fixture |
| Marketplace | The one-listing trial reads paid status from a Takt result retained for 24 hours. A longer-lived order should record completion in the sales owner and stay queryable after the workflow result expires. Use Heavy16's versioned ledger as the reference for separating business state from workflow status. Marketplace trial · Heavy16 ledger |
| Maintenance desk | Follow the domain-local Ashroot schema and opaque attachment. Use the mixed Ashroot probe when the product needs a second engine under the same authority. Maintenance trial |
| Tool library | Keep saved descriptors private and reopen one physical provider, as the Minima benchmark does. Keep the stale-return check after a real slot reuse in any reduced example. Tool library trial · Minima root |
| History archive | The bounded upload passed cancellation and resume across KEEP. The Hylix fixture provides additional rejected-upgrade and rollback cases for changes to the provider or record layout. Archive trial · Hylix fixture |
Authoring changes
- The Quickstart root now declares one named child with
module_memory!. The Store and Ashroot guides point to the same pattern, including transitive named slots above a database owner. - The Ashroot
table!diagnostic prints the field order for a malformed declaration. The existing native authoring suite tries the DAO'sposition-before-backendfailure. - The Wire guide shows a 128-byte receipt with a separate allocation cap and
strict assertions on flat and nested decoded records. The exact Rust
snippet compiled and round-tripped the maximum
u64. Fresh PocketIC sessions using the recorded round-two artifacts executed the JavaScript assertions. The marketplace reproduced its 1 KiB allocation refusal and the maintenance desk served its full 2,721-byte page. - The Minima guide links the retained
Option<SlotId>case to the compiled tagged-enum example. The Hylix guide describes the archive's bounded draft, arena reopening and explicit publication or cancellation retirement.
Local package rehearsal
Added exact versions to the existing path dependencies for Ashroot, Graph,
Minima Engine and Minima Collections. The existing rehearsal has a
--mixed-ashroot option that stages 27 Cargo-verified archives, checks the
consumer's selected package checksums, and builds the maintained mixed
fixture from outside the checkout. The default still stages the 23-package
Quickstart closure. Rehearsal tool ·
Mixed fixture
With the pinned PocketIC binary, the mixed fixture passed all six groups. They cover row and index invariants, rejected writes, trapped-update rollback, two populated KEEP upgrades with the same stable image, and successful writes after KEEP. The first host launch stopped before installing the canister because its inherited loader paths mixed two Glibc versions. The wrapper now clears the two loader variables specified by the maintained fixture recipe. A fresh installed retry used the same prepared Wasm and verified 1,628 files. Default Quickstart preserved all 33 scores and accepted new writes after KEEP. The registry rehearsal used local source replacement.
Run the mixed fixture with a new directory outside the checkout and the qualified PocketIC executable.
source tools/env.sh
rehearsal="$(mktemp -d /tmp/rsx-mixed-ashroot.XXXXXX)"
python3 tests/tools/rehearse-packaged-sdk.py --mixed-ashroot \
--output "$rehearsal/run" --pocket-ic "$POCKET_IC_BIN"
The evidence below comes from a working snapshot based on unified commit
b33ae948808816a680f1d4d54c9fa6c5130bc434 with the follow-up edits. The
companion bundles also include the pre-existing local Store architecture
documentation edit. Each inventory lists the exact bytes in its source scope.
PocketIC 16.1.0 had SHA-256
6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6.
| SHA-256 | Mixed Ashroot | Quickstart |
|---|---|---|
| SDK bundle inventory | ec82e8b7fb800d89bb294e7f11d2d4bd8272bb658a813610d8ff6d2079470eb0 |
1bcd691328c09bde7711125a373a790af21e119ad5b42b78f0810a4fbcda01dd |
| Consumer lock | fad165f0e01b72246dd59d268d3d40347f3958b9b091c8ac4c3348d03d5ba5e3 |
bb08bdc82f1b065267d2da383556df3d84c7675d230a6b7cac53d8111393bb50 |
| Canonical build source inventory | d64b69f503e0ae2bea94a01a1d795535ad9965a780ea5fc890e97c2788c2eb36 |
da7dfc72d8b42fb0110b7596c7b85a07bbb30b43f5d53342a3a562faff895192 |
| Prepared wasm64 | 38f30a4bb473f3ca7908e6285b87adaec6d44b60253d9f81369cad49e2d7ed29 |
caa5bfe38e53fe902c290fc80ecbf62fb4d3555ded1209ef3d31ebc1e3b8f137 |
The final --mixed-ashroot command passed from a fresh outside-checkout
directory, including the installed run. It used the same SDK bundle inventory
as the Quickstart rehearsal. Its consumer lock SHA-256 was
68217bd9822333de1cce851724224711a441ac4a0e73adb6af0e99234e9195b1,
its canonical source inventory was
ded74f6e287fd86b872edafe971d5fe505cc73ceb071d544aa91bb2f306e69d8,
and its prepared Wasm was
9aadc10e6e291733d8988966a8e8f10ba1747c9785c43f2269b3fa2c5b3fe9b7.
The repository test runner also passed authoring:ashroot with all 26
cases, prepare:wire-runtime, and integration:examples, including the
installed Quickstart lifecycle. It verified the same working source at
the beginning and end of that run.