XX1 · Neighborhood forum across three Wire releases
On 2026-11-30, V1 → V2 → V3 passed both KEEP upgrades on one populated local wasm64 canister. All nine original client/service pairings passed, and a clean replay reproduced the final 46 threads and 122 replies. A deliberately narrower V1 client exposed a separate failure when one page of optional titles exceeded its byte cap by 311 bytes.
Application and release sequence
Controllers create public boards, stewards and residents publish, and anonymous readers can page through topics and replies. The root pins two Nyxus V1 owners. Boards stores names and membership. Threads stores text, authors, counts, the ID sequence and B-tree indexes ordered by parent, UTC minute and immutable ID. Their declarations remained byte-identical. Pages hold 32 records, titles and board names allow 120 UTF-8 bytes, and published bodies allow 8,192.
V1 declared evolving commands, pages and nested rows. V2 added optional tag 1 independently on the reply command and nested reply row. quote_topic=true prepends the title to the stored body. Readers recognize that text prefix as quote_title. V3 added optional tag 2 to each record. A stale expected_count returns discussion advanced before issuing an ID. The by_topic_author badge compares retained authors and can carry Some(false). V3 also exposes dispatch pause status. Wire evolution rules
The main board, ID u64::MAX, started with 35 maximum-width topics and 35 maximum-width replies on the first topic. Rows 32 and 33 tied on both indexes. A second board had distinct membership. We froze each supported baseline after installation, population and readback, before authoring its successor. V2 also passed a fresh install before its freeze. The bundled loader verified each original build in place, first against live app source and then against its frozen copy and saved manifest SHA.
| Same canister | At the verified freeze, threads / replies | Immediately before its successor's KEEP |
|---|---|---|
| V1 | 37 / 38 | 38 / 40 after C2 wrote through V1 |
| V2 | 41 / 79 | 42 / 81 after C3 wrote through V2 |
| V3 | 46 / 122 | Final issued ID 168 |
C1, C2 and C3 are the original generated clients from the three separate builds. In every cell the client created a topic and two replies, checked permissions, and verified every returned ID, minute, principal, title, body, count and cursor. C3 on V1 used a second populated V1. The other eight cells used the sequential canister. Fresh V2 and V3 installs also wrote and read the new behavior.
| Installed service | Original C1 | Original C2 | Original C3 |
|---|---|---|---|
| V1 | Full core pages | Quote flag skipped, verbatim reply stored, title tag absent | Quote and count skipped, core reply stored, both tags absent |
| V2 | Full stored quotations, unknown tag skipped | Quote present on quoted rows, absent on original unquoted rows | Quoting works, stale count ignored, badge absent |
| V3 | Both new tags skipped, writes succeed | Quoting works, badge skipped, count may be omitted | All fields read, both badge values seen, stale write refused |
Compare-and-append requires V3 even when the message decodes on earlier services. A separate sequence replayed the exact saved V1 board and thread continuation requests after both hops, intervening writes and a refused upgrade. The tied suffixes still began with topic IDs 35–37 and reply IDs 70–72.
Limits and reproduced failures
Supported forum methods kept the default 409,600-byte frame, 67,108,864 allocation units, 9,437,184 nodes and depth 64. The largest observed accepted post request was 8,327 bytes. Accepted full-body reply requests were 8,207, 8,210 and 8,214 bytes across the three releases, including a present false quote flag and a matching count of 128 on V3. The largest board page was 268,943 bytes. The largest thread pages were 272,855, 276,791 and 276,917 bytes. New stress topics placed 35 maximum-size quoted replies on each upgraded image. Original clients decoded all 32 rows and continued.
| Control and first diagnostic | Installed result and recovery |
|---|---|
Duplicate ID 1 on two fields of ReplyView. ./scripts/build.sh duplicate gave extension IDs must be positive and unique at src/api.rs:61:5. |
The derive stopped the build before producing Wasm. Restoring distinct IDs yielded the supported build. |
Required tag 3 on the reply command and nested row. All three old writers trapped with invalid or excessive evolving Wire arguments. The new reader reported WireError: wire incompatible on an original nonempty V3 reply. |
The sibling passed its own schema check, compiler preflight and KEEP. An empty list decoded. Confirmed writes and old reads worked on the sibling. KEEP back to V3 retained its new reply and restored all three old writers. |
A 2 MiB Rust reply allocation allowance with the original frame cap gave Wire reply rejected: wire allocation limit. |
With quoted maximum-width replies, 11 rows encoded in 100,697 bytes. Every size from 12 through 32 trapped. Its generated JavaScript decoder accepted the original 276,887-byte frame. A fresh write survived and V3 restored the full read. |
A separate V1 client with a 270 KiB frame cap returned WireError: wire limit on V2's 276,791-byte page. |
Its own 272,855-byte V1 page fit. V2 exceeded the original 276,480-byte cap by 311 bytes when titles were present. A repaired V2 sibling made title metadata opt-in on the read request. The original client's 32 core rows and cursor matched exactly. Explicit true returned the same 276,791 bytes. |
Moving ID ahead of minute in the retained B-tree key gave root catalog rejected during KEEP. |
The sibling passed compiler preflight and installed fresh. The failed upgrade over populated V3 preserved its module hash, pause state and data. Manual resume and subsequent writes through C1, C2 and C3 all passed. |
In one 40-byte request the quote boolean changed from 1 to 2 with its tag length intact. V1 skipped it and appended the core reply. V2 and V3 rejected those bytes with the same decode trap as a truncated update. A 409,626-byte Wire-valid post hit raw request exceeds endpoint byte allowance on Wasm. Follow-up IDs were consecutive. Permission diagnostics were board membership required, thread belongs to another board and controller required.
Packaged developer experience
The two packaged skills led to the Nyxus Quickstart, scoped owners, the frozen-source loader and populated old-client tests. The consumer guide's package/file table provided offline alternatives to commit-pinned harness links. The directory-source archive flag is documented in the shared compatibility guide. The Wire guide's upstream evolution-upgrade example takes different, per-method manifests and a modes file. The tools bundle supplies the single-image checker. Consumer guide · Wire guide · Archive verification
artifacts/v2/forum.wasm-tool check-wire artifacts/v2/forum.wasm artifacts/v1/forum.wire.json gave Error: Wire metadata differs from generated interface on a working installed pairing. Each built sibling passed its own descriptor/export check and compiler preflight. Installed tests distinguished old-client compatibility, command semantics, the Rust meter threshold and Store admission. No SDK bug or host blocker surfaced on the supported path. A bundle-local two-client example could show the same required nested addition passing on an empty list and failing on a populated page.
Reproduction and identities
Run cd playground/xx1-wave8 && ./scripts/replay.sh from the harness root. From the lane, node host/controls.mjs <unused-name> required budget ordering edges cap repeats the installed controls alone. ./scripts/build.sh <fresh-name> uses the original app, SDK, Cargo home and target paths. ./scripts/preflight.sh v1 v2 and ./scripts/preflight.sh v2 v3 both gave compiler-policy-match. Runs used a single PocketIC application subnet at normal instruction limits and a 1,800-second idle TTL during staged authoring.
- Unified SDK and harness commit
8e8778de9083c956287a334220342d7968064dc8. Authoring and release tools archivecdk-rsx-tools-0.1.0.tar.gzSHA-2569a6819d17cd5ba3e4ef05b264b29da369fc589fb0f974d5531dd3f0385cc2214. Release input manifest8e171c3c54e60b1cd2edbf636c88261b0e957c23901531af7363b83b40211828. BundledSDK-SOURCE.jsonbdd435010c2d5cd618b6bed4b2e5cca6c3c7c3bbc2268ba5eea35f705f7a4aee. - Build root
/tmp/rsx-wave8.aIiXnd/release. The application usedconsumer-home/config.tomlcopied into its private Cargo home, registry sources fromvendor, and--offline --locked --compatibility-package-archives /tmp/rsx-wave8.aIiXnd/release/package-target/package. The tools used the extractedcdk-rsx-0.1.0workspace. Cargo metadata resolved all 69 dependencies from the staged vendor directory. The local app kept the Cargo identityneighborhood-forum@0.1.0. Its distinct prepared hashes identify the releases. - All app locks
6f18397115952e987295782b795f49250d61225f49b697cab0b51047db35bec5. Tools lock3b8d11487739220cc48566e8c3f1ec4026acc6fd5672afe2f132bfb5507ca791. The release indexed 61 SDK archives. The builder verified 23 used archives, all at 0.1.0, including facade885eb14052ff6a333e6934685a05fd1f31ed1713780c1aa8e7f2b13e3052c6a0. Their closure is2f52dfdaa23c8596c66c7667ba50552c0899977373d489b7c3c2275f9c4217d4, SHA-256 of name-sortedname version archive_sha256\nlines. Direct SDK dependencies werecdk-rsx,cdk-rsx-collections,cdk-rsx-engine-nyxus,cdk-rsx-memory-abiandcdk-rsx-store. - IC Wire 0.34.0 archive
44d006cdf1ce2779bd5643d9febb42164061e6aa066dc44ffb08d8d8800bec74, upstream source6f88ba11c33385f3ab51ea866a30425798d7e94e. Rustnightly-2026-10-15, compiler7df81381d027710708209f36b98d11b1c88f8d2e, effective compiler policy2fce4b0839f0c5e26f1c54c1b16d89300d11679ecd0e82d9a9cf5988a204fa24. Node24.22.3,@dfinity/pic 0.16.1, host lockf7dadb044d21238b73b40005bf03e809df1cb4304c75c8162cc46e9836a8dd92. Local PocketIC 16.1.0 SHA-256b44e1eccd66e02328146b3e209e3403e3a3428a25d25555aca2f67500e5ae9db.
SHA-256 identities below use the canonical source archive, prepared Wasm and generated TypeScript file from each build. Every client kept its own runtime and codec siblings. All runtime modules hashed to e41f09f0ed2a85141ae229175f790b5c5ebab2d3d92b7ee2603f52a49e6371e3 and all codec modules to a2b46dfb80c97347f131c25634f449ed215224c11b033622ce15baf379bb490a.
| Build | Source archive | Prepared Wasm | Generated client |
|---|---|---|---|
| V1 | 654592b32de11b88828ec964e1604fa76c222b28e1bc2a53006679ffc263f9af |
eb0fae44e489bf2bd999282c7e2f764bbcf479afb90cc5c38164aed296a85995 |
840c83fef8fa63cad451c8ff16c5c6a8b60afb67223059b86a24a123365afc5d |
| V2 | 8fe9d1ef90e2ce5e54e3cc7326a5a585c0cfe90ada854f8dec754bd92899d121 |
0074aef19c4a0cc0e12cd773d4f7709e41f34d91c4f225f2f9bf6890b0d58837 |
2e2856b157306d457e368c8d9a0133075fef5017fb34955e6d17a47401002065 |
| V3 | f9397b2512db613dff072bb88af44663b694bdcaea8602f22901cbbf2079d1e0 |
88dc520448dc5b6a782fdf5e3da3381b4f550aa971182eeafcab200e79f68ce3 |
d2abfa645090a4e3f0e2b66fd26518c6534e8a2a0140fbdac993a1203cb40834 |
| Required | 0d7a1682df2420ac33a58273693cddf1b4eb44c1210b70afcd66584f6de9481d |
950d35e4e9a3e7e602f893e7c20b21834e071142c1404dec0a4984b8bb58da4b |
b439a074c4fbe2f626704db0c12275ba4825dd0608bb97d47a0496b72ad05676 |
| Rust allocation | c689db4871d5404ff2c957ef9d1b88f5ed3ec4dd857dd780071fa649816be8f5 |
8390350997e62eaf8b174952d66d3639701e6ad55380116c1e35dbba77abc0a3 |
3f9e88a5e048c558b61b45c04d6f28b71b84a89e1504f7833d3b89c975462ca0 |
| Key order | bafa99946a1c9d0e296febe07cf01b417be65519d9c024acc6460853fa1c4825 |
4a7da6a815a3b54e8a5c9e5c4f4947e50aa4cb6caef8bfa5cd14f96f1993887b |
d2abfa645090a4e3f0e2b66fd26518c6534e8a2a0140fbdac993a1203cb40834 |
| Narrow V1 client | 347f70c1587e32d2e4a1dfc2640d27dba9850b98e8fecbc475a7253edbaa8f26 |
d31a9c9d9ffa972a8dc34fcdfec478961227bb6dac73210c93422cbb4a7dc871 |
2d9f3cb9e7d6689c1b4b9c652fd8d65d0b95db97397ba991d9a50da735b08a90 |
| Opt-in title | ecddf754a8a885ab44208f5798d832d79466e867147bca67b97fe8d57a0c1b3c |
22de565b790b5b32f55a5d82bfcf7e1ffaa7b036c8e35231ccee31ea4fa30420 |
491d9fe0b8642652b854127426e94c797074fc7237374932a8901de1840a7e9d |
The bundled loader verified 1,956 input and output hashes for each supported image from its original build directory. The app digest covers its 16 receipt-listed files, including both copied skill files. It hashes sorted file_sha256 relative_path lines.
| Release | App digest | Wire descriptor | Original build manifest |
|---|---|---|---|
| V1 | 71ef6e8bef43a8f911f54e0b51514f45bb50533f2d3f51eb23f6f19b1fbbb49e |
57f47c9f722d3a535fb9998d1fd5da4ddba50224f38fd3c89c580280819f9da0 |
f91f731d32ced608095eebac4e9635036e5dcac8d8e164e6d9c7aa788f6bcee6 |
| V2 | 623cc980121e5c5b88eca67845f8472d5cf91b04776f6518c7faf937be313082 |
de3eee2363e98fecc725847e95a415f13f57f9595c4e0b7b41003da4ad3f5959 |
f776ee0a717af0bdda2cc312e6eafce28eef63600245cbd72e966a4cd161d94d |
| V3 | 7c6b3c601f24f701685eead8eca30db07e643c18e503532b69b600ce75fc45ef |
d6d8690649aa96b03f08cb604702cc48048a9dba7654677fa25bf57344a1b803 |
d5ff3325426aacaea690ecb863827003ea5f1e08e6733898ac00b77010dc70a1 |