Risk Receipt Agent
TypeScriptRisk Receipt Agent is a pre-execution risk gate for autonomous market agents on Arc. A deterministic, explainable engine classifies any proposed trade, allocation, or prediction-market bet as APPROVE, REDUCE, or BLOCK based on leverage, position size, stop-loss, and probability edge, then canonicalizes the decision, keccak256-hashes it, and records it to a RiskReceiptRegistry Solidity contract on Arc Testnet. A separate executor can verify the on-chain receipt before acting. The Next.js app, viem integration, contract, deploy script, and Vitest plus Hardhat test suites are all included.