Marketplace round 2

Rebuilt a one-listing used-equipment checkout in the fresh ignored playground/xx3-round2/ workspace. The market and mock ledger are separate canisters installed from one role-configured artifact. This retains the business and failure checks of the first trial. Round 1 marketplace

Baseline and approach

The SDK, guides and environment helper came from archived unified commit b66884df99ae6b82bb223dcebb92707ab293f2bf, SDK tree a017cd90e260974bdc499d45ee174825e5827c2b. I matched all 1,623 tracked files under the archived SDK and docs paths plus tools/env.sh to their Git blobs. The archive contains no Git metadata. The host used maintained PocketIC helpers from the enclosing checkout, whose tracked sources matched that commit.

App source and the host oracle were authored afresh. I remembered three round-1 details and used them from the start. Execution ID 0 is valid, an uncertain node must be blocked before Takt can resolve it, and a 128-byte receipt contract worked with a 32 KiB allocation allowance. I also reused the pattern from the maintained RRT Chat fixture for Reactor host forwarding and kept Quickstart's generated root and lifecycle pattern. These are deliberate sources of carryover, so this is an experienced-agent repeat. Takt authoring · Quickstart · Chat fixture

There are independent retained types for a listing and a ledger receipt. Both are explicit tagged state machines, with ordinary Wire options only at endpoint boundaries. The saved workflow payload keeps the authenticated buyer, intended peer, asset and price. Its JSON graph drives one remote Reactor request. The ledger accepts the known peer and matches the origin to the requested buyer. It persists the debit before emitting its response. In the fault mode, the business reply is malformed and its Reactor batch still uses valid acknowledgements. Reconciliation asks the configured peer for the exact receipt. The marketplace captures the original operation key before awaiting and compares it against a fresh snapshot before resolving.

Developer experience and changes

  • The first native all-target check passed. The Store guide now states the direct Nyxus derive dependency and links the compiling tagged-enum recipe. I declared the direct engine and ABI crates initially, wired the versioned repr(C, u8) carriers, and avoided both round-1 compile cascades. Store authoring guide

  • The warmed private dependency cache admitted standalone offline lockfile generation. The build guide now calls out the app and full SDK dependency locks. Because the environment was seeded, the experiment does not measure a fresh network dependency fetch. The first path verification probe assumed that every top-level tool was present and failed for missing tools/check-docs.py in the archive. It was corrected to verify the selected SDK and guides plus the environment helper. Build guide

  • The Wire guide now asks for a native or installed encoder check in addition to JavaScript. The checkout carries the tighter 128-byte receipt ceiling in both client and ledger. A separate installed query tests a 1 KiB allocation budget with the same byte, node and depth limits and returns the payload size with the known working 32 KiB allocation budget. Wire limits guide

  • The first installed harness failure was Node's AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal. The actual pending status had a null prototype and every expected field value. Generated low-level decoders can return this shape, as the current Wire guide already explains. I corrected the harness to compare its own fields with {...pending}, preserved the Rust code, and created a fresh canonical artifact before rerunning. Generated Wire clients

A future app-authoring skill should give agents the shortest route between generated root setup and the current Reactor host fixture. Pure definitions can be passed directly to driver::attach through Takt's blanket DefinitionFactory implementation. A resolution example should distinguish the zero-based workflow ID from absence, show how to obtain the blocked operation key, and verify the identity against independently authoritative evidence after an await. Include a ledger oracle for accepted debit attempts and committed debit effects. Check queue drainage and business certainty separately. Orchestration

Reproduction

Run at the enclosing repository root with Node 24, the selected archived SDK and a prepared, private Cargo home. Use a fresh artifact and output path.

snapshot="$PWD/tmp/ai-app-trials-round2/source"
lane="$PWD/tmp/ai-app-trials-round2/xx3"
app=playground/xx3-round2
export CARGO_HOME="$lane/cargo-home" CARGO_TARGET_DIR="$lane/target" TMPDIR="$lane/temp"
export CARGO_BUILD_JOBS=3
source "$snapshot/tools/env.sh"
cargo check --manifest-path "$app/Cargo.toml" --offline --locked --all-targets
python3 "$snapshot/cdk-rsx/tools/build-app.py" --manifest-path "$app/Cargo.toml" \
  --out-dir "$lane/artifacts-new" --name tripod-market --offline --locked
env -u RRT_PIC_SERVER_URL -u RRT_PIC_STATE_DIR \
  node "$app/verify.mjs" "$lane/artifacts-new/tripod-market" \
  "$PWD/tmp/pr-benchmark-server-download/pocket-ic" "$lane/result-new.json"

Installed checks and timings

The corrected generated-client harness passed on the pinned PocketIC 16.1.0 executable with SHA-256 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6. It verified 1,630 build input and output records before installing.

  • The normal reply settled order 0. Repeated checkout from the buyer returned the same ID, an outsider could neither reserve it nor read it, and the ledger reported one committed debit and one debit attempt.
  • A malformed business result left order 0 pending and reconcile-ready on attempt 1. The marketplace still had one pending workflow and no logical calls, physical callbacks, or incoming or outgoing Reactor frames. The ledger's transport queues were also empty and its counts stayed at one debit and one attempt. KEEP rejected the pending purchase and preserved it.
  • A foreign buyer and a wrong order ID could not reconcile. The original receipt settled the exact blocked attempt. A repeat reconciliation returned false. Drained same-image KEEP reopened the paid status, retained the reserved listing, and preserved the original effect count and identity.
  • The installed Rust encoder rejected a one-argument tuple at the 1 KiB allocation allowance with Limit(Allocation). It encoded the exact same input to two bytes at 32 KiB and the real receipt exchange passed. Both samples used the same 128-byte, 128-node, depth-8 limits. This brackets the fixture's workable allowance without establishing a universal minimum.
Checkpoint UTC Elapsed where recorded
First source inspection 18:07:23
Native check began 18:11:01 35.96 seconds in Cargo
First canonical build 18:12:24–18:14:25 121.13 seconds
First installed host run with assertion error 18:14:25–18:14:41 16 seconds
Canonical rebuild with corrected harness 18:15:13–18:16:26 73.58 seconds
Complete installed verification 18:16:26–18:16:44 18 seconds

These are local authoring checkpoints with warmed registry seed and private target. They include no matched runtime performance comparison with round 1.

Final prepared wasm64 SHA-256 2b20dfe84feebdc88163bd20ccd6abea81198c70bc7b64937ac1189d25a91de2. Wire schema SHA-256 9cf014ebc027a64029c88c1e407f7ca2824eb56501fdbb318b4ab1c115527512. Canonical manifest SHA-256 d0dfcccde5a2e4914715ae88e00925c4bf418bdee0324a3bb744bc589e988d01. The final manifest identifies 1,589 SDK entries with digest f7b8fbeb949a4c697ce1f7d1bb48558d68ca654ee304d779a69679b782340eaa and 21 app entries with digest 0b048aa7677996d758bfea933e20f93f92bc8b5d37eefc277315b0c8351f75e6. For these digests, sort by relative path and hash the UTF-8 lines <file sha256><two spaces><path><newline>. Exact receipts, Wasm, test results and intermediate failed attempts stay in the ignored private lane. This experiment exercised an unusable delivered business reply and the retention window of a single listing. Physical call loss and indefinite receipt retention were outside the tested slice.