# Score verifier Implemented the standalone `RunVerifier` contract in `src/RunVerifier.sol`. RunArcade uses `verifyAdmission` for authority-signed purchases and `verifyScore` for scores signed by both the authority and the independent replay verifier. Both messages bind the signature to the calling ledger and current chain under EIP-712. RunArcade supplies trusted roles and consumes the nonce or session. The verifier holds no state or funds. - `foundry.toml` pins offline Solidity 0.8.26, optimizer 200, Cancun and disabled compiler metadata. - `test/RunVerifier.t.sol` covers both digest vectors, inclusive expiry, wrong chain and ledger, zero and duplicate roles, swapped and reused signatures, noncanonical signatures, mutations of every signed field and fuzzed typed messages. - `docs/verification.md` specifies the ABI, domain, digest vectors, and responsibilities of the ledger and signers. ## Local checks - `forge build --force --offline --sizes --out test/scratch/out --cache-path test/scratch/cache` exited 0. Runtime bytecode measured 2,171 bytes and initcode 2,199 bytes. The only lint findings were the expected `block.timestamp` comparisons for signed expiry in `src/RunVerifier.sol` at lines 63 and 79. - `forge test --offline --out test/scratch/out --cache-path test/scratch/cache --fuzz-runs 1024` exited 0 with 10 passed, 0 failed and 0 skipped. Each of the two fuzz tests ran 1,024 cases. - `forge inspect src/RunVerifier.sol:RunVerifier methodIdentifiers --offline --out test/scratch/out --cache-path test/scratch/cache` exited 0. All seven selectors matched the documented signatures. - Independently calculated the domain separator, struct hashes and signing digests with local `cast abi-encode` and `cast keccak`. Both digest fixtures passed the Solidity vector test. ## Merged-tree verification Exercise the real RunArcade call path and both signing services against the finalized chain-1 ledger domain and tuple encoding. Verify trusted role sourcing, action/SKU and session matching, Royal and weekly deadline enforcement, replay agreement, and atomic single-use nonce and session consumption. Run the merged build and integration tests before deployment. ## Checkout status The four source, configuration, test and documentation files are present in the checkout. Git could not stage them because its index is on a read-only filesystem. The result file is untracked as requested.