Public purchasing archive and independent Rechain readers
On 2026-11-30, one populated purchasing source completed V1 → V2 → V3 KEEP on the pinned public PocketIC binary. Its original archive accepted records from all three releases. The original gross-award register reached the signed tip. The authoritative net ledger stopped at the first unfamiliar credit, then resumed from its saved archive route after a separate reader upgrade. The 33-record history reproduced link for link on clean installs. A separate 2,048-record run exposed a reproducible clock assertion in the packaged JavaScript host.
Release sequence and projection oracles
The prototype froze three V1 images for the source (S1), archive (A1) and indexer (I1). The bundled loader verified each original Wasm and client, first against live source and then against its copied app tree and saved manifest digest. The reader image was installed twice. V1 held 12 awards before S2 authoring began. S2 retained those awards, accepted eight new records and passed fresh-source checks before it was frozen and S3 authored. The builder used the same real app, SDK, Cargo home and target paths throughout.
S1 fixed the envelope, USD cent unit, chain 0, source, genesis and family identity. S2 added optional award notice tag 1 and informational inspection disclosures. S3 added supplier price credits. The original register can skip adjustments because they cannot issue awards. The authoritative ledger must know every monetary effect. Each reader stages the whole supplied page before committing postings and its acknowledged prefix together.
| Installed checkpoint | Next block | Net ledger postings / cents | Gross register awards / cents |
|---|---|---|---|
| V1 partial archive checkpoint | 3 | 3 / 48,369,160 | — |
| V1 populated | 12 | 12 / 121,248,115 | 12 / 121,248,115 |
| V2 after six awards and two disclosures | 20 | 18 / 196,394,835 | 18 / 196,394,835 |
| V3 before reader upgrade | 20 ledger, 28 register | 18 / 196,394,835 | 23 / 248,236,447 |
| Independently upgraded reader | 28 | 25 / 247,875,772 | 23 / 248,236,447 |
| New award and credit after reader KEEP | 30 | 27 / 263,042,516 | 24 / 263,426,861 |
| Final redirected history plus live tail | 33 | 29 / 269,922,190 | 26 / 270,306,535 |
The host compared every row's original position, kind, purchase, supplier and signed cents. Twelve seed awards covered waterworks, libraries, accessible transit, fleet and public health. Credits at 21, 25 and 29 reduced commitments by 345,675, 15,000 and 23,670 cents. Four disclosures affected neither total.
- Archive continuity. S1 archived 0–7. The reader accepted three, exercised manual dispatch pause/resume and underwent a drained same-image KEEP. A corrupted block 3 left its rows, next index and last hash unchanged. It recovered five records in one archive call with zero source calls. S2 extended A1's prefix to 16 and S3 to 24. A2, built later from frozen A1, reopened 24 records and 4,798 payload bytes, then accepted eight more for 32 and 6,071 bytes. The host summed disclosed lengths independently. The final eight-block request redirected seven and returned live block 32. A fresh A2 also served an S3 prefix.
- Reader recovery. I1's ledger refused credit 21 on a page starting with familiar award 20, both before and after archival. The register verified the credit and displayed later awards at 22, 24, 26 and 27. I2 admitted the exact I1 root, moved its Reactor and Reader children and converted its projection by moving the original Nyxus vector. Its new owner pins the credit interpreter. It resumed at 20, accepting four via one archive call and zero source calls. A fresh I2 and a distinct same-catalog reader replayed from genesis to the same postings. The previously skipped disclosures have zero effect under both ledger definitions.
- Signed history. Each verifier followed the advertised principal, method and range, checked original disclosures and openings, encoded headers with its shipped codec and recomputed the BLAKE3 links. It verified the replica signature, canister scope, witness and freshness. The signed tip stayed identical immediately across both source KEEPs. At 12, 20 and 33 records the tip hashes were
1fcf37666087fb27a254b86495ba9780f573e5d9eccd8f90ff10fc4c45387050,c9aeaef94fb75b27bad1fd8e4fdefd25f970c333bb1254228420597b18e7f73eand3c4ecf4f89cebf79f3b46eaeeab18b00a81d6f68170975853ae195aaba5d0026. Altered tip and witness, wrong canister and a six-minute-old certificate each failed verification.
Supported generated clients
Every pairing used its original generated client, runtime and codec to read populated history and verify a signed tip.
| Client | S1 receiver | S2 receiver | S3 receiver |
|---|---|---|---|
| V1 | Publishes the original award core. | Publishes awards. Reads the core of an award with a present notice and verifies unknown disclosures. | Publishes later awards. Verifies the original bytes and links of both unfamiliar kinds. |
| V2 | Sends a present notice. S1 stores the core and V2 reads the historical notice as absent. | Publishes tagged awards and disclosures. Round-trips actual Rust-produced bodies. | Publishes awards and disclosures. Reads S2 fields through S3 credits. |
| V3 | Sends a tagged award. Reads back its core. post_credit is absent. |
Writes a tagged award and disclosure. post_credit is absent. |
Publishes awards and credits, decodes the credit reason and round-trips the body. |
A1 and I1 retained the V1 Wire contract throughout the source changes. The old indexer client read the converted I2 ledger, requested scans and checked new postings. The S3 source used the original archive protocol after A2 shipped. Its inventory query belongs to the A2 client.
Bounds and refusals
Application requests and peer reads used the 409,600-byte Wire frame, 64 MiB allocation, 9,437,184 nodes and depth 64. Business limits were eight blocks per page, 256 UTF-8 bytes per description or reason, 320 per optional notice and 4,096 per recorded payload. The source enforced 2,048 lifetime records. Source and archive each had an 8 MiB storage budget. A ninth requested block returned ReadRejected("choose one range of at most eight blocks"). Anonymous writes, zero cents, a 257-byte description and a 321-byte notice were refused.
- Full pages. Mixed eight-record replies occupied 5,529 bytes on V2 and 3,524 on V3. A separate source accepted 2,048 awards, archived them in 256 acknowledged batches and fed all 2,048 into the installed ledger. The last eight used full-width IDs, maximum cents and both longest text fields. All three clients read the 6,968-byte page at source and archive. The maximum award request was 608 bytes, the redirect 37 bytes. Archive inventory held 137,073 payload bytes. The ledger reached 72,020,763,998,672 cents and tip
30246eebb4bad1b6f48a513f90750b75e809f7f3c046c846237bbb32e98f0da8. Further writes returnedrecord limit reachedbefore and after transfer. - Reader rejection. Corruption returned
Reader rejected response: InvalidRecord { id: 3, reason: "record opening does not match commitment" }. The host also rejected the opening. An unknown required effect returnedblock 21: unsupported required purchasing action 2/7. The acknowledged prefix remained at 20. The archive-only I2 resume showed that the reader retained the route for retry. - Failed KEEP. A stopped A1 returned
raw_reject_code: 5, leaving four unacknowledged records locally readable. After A1 restarted, S1 → S2 trapped withroot drain gate: InvalidInput("finish the archive acknowledgement before restart"). In a separate instance a same-path S3 sibling changed only the record-family ID. Compiler preflight matched and populated S2 trapped withroot catalog rejected. Both returnedCanisterCalledTrap. The prior module hash, pause, original bytes and signed tip survived. Each old client resumed dispatch, archived four records once and wrote the tenth award.
Developer experience and diagnostics
Packaged host defect. node host/capacity.mjs results/capacity-1 completed 2,048 writes. The bundled session.mjs then failed inside pic.advanceTime with AssertionError [ERR_ASSERTION]: Unexpected nonintegral benchmark clock. The populated reproduction read 1795867200000.002 ms. An empty instance reproduced the assertion after 1,154 ticks at 1795867200000.0012 ms. The helper requires the raw clock to be within 0.001 ms of an integer. Reading pic.client.getTime() and advancing to the next whole millisecond before normal verification recovered the full workload. Make this benchmark clock assertion opt-in for consumer sessions.
Application and test mistakes. The first ./build.sh s1 failed with error[E0599]: no variant, associated function, or constant named InvalidInput found for enum cdk_rsx_store::Error in the current scope. The role-binding closure needed Store's WrongContract. The first node host/negative.mjs pending results/pending-1 expected DispatchPaused. Actual result no call permit available occurred before transfer preparation. Stopping A1 with source dispatch open created the required unacknowledged work.
Packaged skills. App-create guided owner layout and realistic Wire limits. App-evolution documented same-path builds and the frozen loader. Rechain evolution supplied the action-group and proof rules. The packaged archive example and verifier sufficed without a private fetch. Its two-image runner checks live source, which works for a feature switch. After actual edits S1 reported Build inputs or outputs changed; rebuild the selected artifacts: for Cargo.lock, Cargo.toml and src/lib.rs. The saved manifest digest and frozenApp verified all 2,123 files. Link the frozen-loader recipe beside that runner. The record guide points to commit-hosted copies of the locally shipped archive and dispatch examples. Rechain's packaged UPSTREAM.md credits the earlier RSX port at 7bb84623 but also describes IC Wire 0.4.4 and removed archives and asynchronous readers. Label those statements historical.
Reproduction and identities
Use cd playground/xx16-wave8 && ./replay.sh from the repository root. The ignored directory contains the runnable README, frozen app trees, exact SDK archives, original builds and copied host. The replay verifies original manifests, creates private servers with 1,800-second idle TTL and uses standard application-subnet limits. Clean installs reproduced all 33 links and projection checkpoints, both failed KEEPs, the 2,048-record tip and the clock defect. Coverage is one public unblinded chain, one archive and two projection definitions.
Unified commit 8e8778de9083c956287a334220342d7968064dc8. The release was staged under /tmp/rsx-wave8.aIiXnd/release. The release inputs and package checksums below identify the build.
| Input | SHA-256 |
|---|---|
release-inputs.json, 61 staged SDK packages |
8e171c3c54e60b1cd2edbf636c88261b0e957c23901531af7363b83b40211828 |
cdk-rsx-tools-0.1.0.tar.gz |
9a6819d17cd5ba3e4ef05b264b29da369fc589fb0f974d5531dd3f0385cc2214 |
Tools SDK-SOURCE.json |
bdd435010c2d5cd618b6bed4b2e5cca6c3c7c3bbc2268ba5eea35f705f7a4aee |
Tools Cargo.lock |
3b8d11487739220cc48566e8c3f1ec4026acc6fd5672afe2f132bfb5507ca791 |
| App's verified subset of 26 SDK archives | f74c7b72c04c458668fde6953ec899ca3d29077487d2da81315271cf558dd88f |
Resolved cdk-rsx@0.1.0 |
885eb14052ff6a333e6934685a05fd1f31ed1713780c1aa8e7f2b13e3052c6a0 |
Resolved cdk-rsx-rechain@0.1.0 |
053a32184342891b824629e559e5eebdd8b0c9304276224c9129049a631651bc |
Registry ic-wire@0.34.0 |
44d006cdf1ce2779bd5643d9febb42164061e6aa066dc44ffb08d8d8800bec74 |
| Local PocketIC 16.1.0 executable | b44e1eccd66e02328146b3e209e3403e3a3428a25d25555aca2f67500e5ae9db |
All 83 application dependencies resolved as registry packages through the copied consumer-home/config.toml and release/vendor. The 26-archive identity is SHA-256 over sorted <checksum> <archive filename>\n lines for the intersection of the app lock and release package list. Every archive matched both its lock checksum and the release input. The canonical builder received --compatibility-package-archives "$stage/package-target/package" --offline --locked. It prepared wasm64 with nightly-2026-10-15, rustc 7df81381d027710708209f36b98d11b1c88f8d2e and Node 24.22.3. All tested upgrade pairs had compiler identity 1e3feea00c518506ee9ce0207beba57110a1a8936e8761e614b08c09a6e02561.
<details> <summary>Exact installed images, frozen sources and shipped clients</summary>
| Image | App version | Wasm SHA-256 | Build manifest SHA-256 | Client |
|---|---|---|---|---|
| S1 | 1.0.0 | 3dc5a960e05a20b077267d36cde320fe356f45cd9db8f7e02dc405b02cf6dbb8 |
6ae7195c0a165bc19a9d673b257b649f645ade2e5ccf532df9b72c82eb974758 |
V1 |
| A1 | 1.0.0 | 7b8605b7d231985590bdad16ffca9b60aa3d84d04cefa359011881c27e34f1c8 |
1f1b16295787387820a51e582d5b4c2976ad3aed98fd67cf18285467a2cac60e |
V1 |
| I1 | 1.0.0 | f344459022ecad095a2c5ad13592697f21462e8ea6524103d9b3584e83bc24f3 |
d07e7ea3e9c83a7d8844186a6a630d2a24bc4010dfd8d425c967cc76a1a21c59 |
V1 |
| S2 | 1.1.0 | a18d56b71522e089c717110a338f5e28927a1590892da86ff3a8206b6f448c01 |
41d8c11373fcdb57773035fb098292a7ea1902fd81bea40b421ac9ca96624704 |
V2 |
| S3 | 1.2.0 | 1653ecd220d511290b7674e58a311e721d491d544abb8a96cd2a3650b2f413eb |
b1f6615d3c987086638750924dccccf074cd500b9c69844f09c75cb9d6e53c38 |
V3 |
| Fresh reader control | 1.2.1 | b6d9190386a66eda7b4fe59953f41df5be5921c2d9a83f8c65f33d4c8ce9e110 |
cdce7ef3c1a1e26f473c520084cc9669e1d47dbb6a38a598738c378f6b87cb4a |
V3 |
| I2 | 1.2.2 | 2ffb26b34a757183186520fdf7ba43c4d9da70154835dcbd9fb5b72b3e404eac |
e0ac8b1be174591289621861a839af778dae594364a00e6df86ec872a95d41f5 |
V3 |
| A2 | 1.0.1 | efe292221151ee60945186d9267d8f978cfeaf26d398696575c62fdfbbdfb4ba |
06828bede1ca077f5065ba49f2dfc9fad265d41cff61f58bed522190557063eb |
A2 |
| Refused S3 sibling | 1.2.0 | 092976c8bb800b27310c04de69b7da271194e42f0be92afc34a96f9552b555a3 |
a1564ec3e3a32a8965fbdf3305f9ca624c040bfee9032147cabf0141d1aa06d6 |
V3 |
The application tree digest covers sorted <file SHA-256> <app-relative path>\n lines from the canonical source snapshot. The original artifacts remain at their build paths. The completion marker covers the manifest and outputs.
| Source at freeze | Cargo.lock SHA-256 | Application tree SHA-256 | Canonical source-before receipt SHA-256 |
|---|---|---|---|
| S1, A1, I1 | e7a114634f7742bfdc30a25b9edcd473d965e17e0b9b08d39c01ec2cb5da77a3 |
5183a32c83a829135963b5cc611f26f809e705a74a944ecff03986386e33f32a |
4f0ae297cc44e35a12ea91be034ecd62f753d367cdeb6539f7caaa408c1ff4cf |
| S2 | 8fb159cfda3e7fc833f99e789445da13af29f689274e13e87c411700196a3885 |
0664c469128beb6a16da358df5dbdf750563e13bda803fba97a28667efe21ed3 |
8cb4552328c7fe919beb8b1acf4e82abbd155d853642789b920c4788e6a90130 |
| S3 | 1b26a791a5ee73ed52e2c6ed2ebcdad84ea1630f2746d5650520f8c530b616bc |
b2375a681869314c0526d3cb5e63e0ca373be4356b889e1ba231797592e22089 |
7c4adf8e0c54537d8852e6c9ca9edbcb94177c460ca1948ae7a6e23ed2144e2c |
| Fresh reader control | 2164799f02df86edf14033e04011405f5290c7be25326f5e411fed46836dcc46 |
ef2b829cb24fc54b70020e05e04111005821ec08768cae992fd6d118570f7ec4 |
42e1c548b423a8f091ab678fac58b8b889b6b7c05bee861dd631b1e166980e19 |
| I2 | 454b7701477ed52ce8c218b5d1a1cce4dabcbe1c544a3dbbe3fedc62633fb049 |
b0dc3c503190082b51eccec1a7022d880f329dba20b43de25b0b11afba603cfa |
f83f926e0a8f49c13bb3ed03996c181cd6cb6b7d5879d3a6324b29838dcd9062 |
| A2 | 3e54cbe5829aac83182a7ef1d55978dbf6b8e11e5765be30a807331f104b12e3 |
c65e675b59829f691b3517fd4938c1666e20a3de420326099451c7b335bcdce8 |
0ccad13d43173260cd25737ceee3ae1bc7f794656237b973e11d7b9ed1bb232c |
| Refused S3 sibling | 1b26a791a5ee73ed52e2c6ed2ebcdad84ea1630f2746d5650520f8c530b616bc |
0feab49b165921cb681ed0d9c70f58ab34eef2b97e01ae8de5d160cc78eb6dd8 |
4939457a5af7cadb5b1700910df918a89a8b50b8e0163b1130a3282668507292 |
| Client | Generated TypeScript SHA-256 | Wire descriptor SHA-256 |
|---|---|---|
| V1 | 93ac3292e8f4331f015d020a9bf6ddbcd2afad23e6a36ef952fea59a8ac46a22 |
af9708bf80170349b8587e46c1316621ebb25df76c374651b1cfa19e6adfc633 |
| V2 | 95fd5b06352a177b73ef5795c2bd122a62e5f0f5c24bae475536c14fa77659ed |
8035f368861ee0f4420f7b9087a7a722685f796839f6519f02701161c366ff1e |
| V3 | 3544db01721bda2d7d8742a4c8d7eb9138f86c49b1ca3b4aff1bc55d51a80ece |
6895b9d6e5ec87c76e8eb89a1d49c453806a032434344f659cd20ad188603249 |
| A2 | c81728bd5abc499ee6f18c78ac7e3636a509821c0d3b24e8ba38f8285785fa7c |
4818eac43021598378e71f043c0dd32f72e1f9dbaa5bba96197d3ffb4ce0c943 |
All nine builds used generated runtime 631800f924bb2a30b91b058a2d57a2195c9436c03fb01f554a24110e906076ca and codec a2b46dfb80c97347f131c25634f449ed215224c11b033622ce15baf379bb490a (SHA-256).
</details>