{
 "status": "done",
 "check": {
  "exitCode": 0,
  "tail": "ents/compiled (build-pinned --check)\nok   selectors match compiled methodIdentifiers\nok   EIP-712 admission digest equals backend/protocol implementation\nok   SIWE expected message equals backend challengeMessage byte-for-byte\nok   only valid MetaMask/Rabby announcements are listed; no prompt on discovery\nok   rdns impersonation (second provider object for io.metamask) is refused\nok   uuid re-announced with another provider object is refused\nok   connect is explicit; wrong chain detected, user switch to chain 1, account/chain/disconnect events\nok   absent configuration: repository chain-1 descriptor (all null) is refused\nok   verified deployment reads immutables, token identity, decimals and 1/5/10 IMD prices\nok   code / immutable / role / rules / price / chain mismatches are refused\nok   closed server gates: no signature and no transaction path\nok   SIWE: wrong domain, wrong chain, wrong/altered nonce, wrong wallet and expired challenges are refused\nok   SIWE: rejected signature and declined confirmation leave the client signed out\nok   quote validation: ledger, digest, epoch, rules, scope, signature authority, expiry\nok   quote request for a price/action outside the signed scope is refused by the API\nok   account change mid-purchase aborts before any further wallet request\nok   account change between approval and purchase aborts the purchase\nok   declined confirmation sends nothing\nok   successful game entry lifecycle: exact 1 IMD approval, simulation, receipt, finality, indexer entry\nok   skin (5 IMD) and Royal (10 IMD) purchases finalize into on-chain inventory\nok   reverted purchase receipt is reported as PURCHASE_REVERTED, never success\nok   replaced purchase transaction is resolved from on-chain nonce consumption\nok   insufficient balance is refused before any approval\nok   paid runtime: auth frame, start, witness-ACKed inputs, lost ACK -> reconnect -> same-seq retry\nok   paid runtime refuses to start while gates are closed or signed out\n\n26 passed, 0 failed\n"
 },
 "notes": "Added web/js/chain/{index,abi,provider,contract,api,purchase,runtime,pinned,build-pinned,check}.mjs, test/fixture.mjs, README.md, vendor/noble-hashes-1.8.0 (verbatim copy of backend/protocol vendor, MIT). Interfaces: createProviderRegistry/createWalletSession (EIP-6963 MetaMask+Rabby only, no window.ethereum, rdns/uuid impersonation refused as ambiguous, user-initiated connect/switch to chain 1, account/chain/disconnect events bump a generation that aborts in-flight purchases); parseDeploymentConfig/verifyDeployment/contractReads (pinned RunVerifier code hash, RunArcade code hash with immutables masked and each immutable word equal to its getter, roles, rules hash, SINK/DEV, mainnet IMD, decimals==UNIT, priceOf 1/5/10 IMD, finalized inventory); createApiClient (SIWE challenge validated vs page origin/chain/wallet/nonce/expiry and byte-equal to backend template, exact message to personal_sign, CSRF in memory, assertPaidOpen); createPurchaseFlow (quote field/digest/epoch/rules/signature validation, on-chain verifyAdmission simulation from ledger, exact-price approve only, purchase eth_call simulation, explicit confirm callbacks, receipt revert/replacement via nonceUsed, finalized block+hash and finalized indexer entry polling); createPaidRunClient (WS peperun.v1 auth frame, seq inputs acked only by server tick, same-seq retry after reconnect, partial ACK, reauth, mode paid). Check: node web/js/chain/check.mjs -> 26 passed, exit 0. Simulated chain/API/WS only; not browser, fork or Sepolia. Missing inputs: deployed RunArcade/RunVerifier addresses + roles in a published deployments/chain-1.json, API base URL, open security/infrastructure/legal gates. Swap/web targets import web/js/chain/index.mjs (README). EIP-1271 wallets unsupported (EOA-only admission/verifier). Commit not made: no git identity on this machine; files staged."
}