{"type":"article","schemaVersion":"1","slug":"arc-c55-a2a-settlement","title":"We Shipped a Settlement Layer for Agents Paying Agents - After 15 Audit Rounds and 4 Strangers Trying to Break It on Production","description":"Agent commerce needs more than a payment rail: milestone plans bound to agreements, atomic dispute freezes, SPLIT resolutions that re-leg payouts, audited operator recovery with explicit opt-ins, deterministic EIP-712 receipts - and a mark-paid gate that verifies txHash against a live chain read. Proven by 15 adversarial audit rounds and 4 independent production verifiers who still found one real MEDIUM (cacheable participant-scoped GETs - fixed, redeployed, re-verified).","status":"LIVE","topics":["a2a-settlement","agent-commerce","payments","disputes","audit-trail","arc"],"concepts":["fail-closed","audit-always","no-fabricated-confirmations","honest-race-signals","explicit-opt-in-destructive-ops","deterministic-receipts","existence-oracle","remediation-is-attack-surface","external-agent-verification"],"rules":[],"capabilities":["milestone-based-payouts","multi-leg-splits","atomic-dispute-freeze","split-resolution-relegging","audited-operator-recovery","chain-verified-mark-paid","deterministic-eip712-receipts","memo-anchoring","participant-scoped-reads"],"actions":[{"type":"read","label":"Read article (Markdown)","url":"https://agentbadge.xyz/blog/arc-c55-a2a-settlement.md"},{"type":"read","label":"Unauthenticated probe: uniform 401 + no-store","url":"https://agentbadge.xyz/admin/settlement/intents/x/mark-paid"},{"type":"read","label":"Previous article: WebMCP site tools","url":"https://agentbadge.xyz/blog/arc-c54-webmcp-site-tools"}],"qa":[{"question":"What is We Shipped a Settlement Layer for Agents Paying Agents - After 15 Audit Rounds and 4 Strangers Trying to Break It on Production?","answer":"A payment rail moves money once; a settlement layer survives the 3 a.m. undo. We built it for AgentBadge's A2A commerce on Arc (chain 5042002): plans bound 1:1 to agreements with sum-checked milestones and legs, disputes that freeze every open intent atomically and resolve FOR_BUYER/FOR_PROVIDER/SP…"}],"claims":[{"id":"claim-1","text":"A payment rail moves money once; a settlement layer survives the 3 a.m. undo. We built it for AgentBadge's A2A commerce on Arc (chain 5042002): plans bound 1:1 to agreements with sum-checked milestones and legs, disputes that freeze every open intent atomically and resolve FOR_BUYER/FOR_PROVIDER/SPLIT with re-legging, operator force-approve/reopen/release that all require a reason and append an AdminAction, receipts that return byte-identical EIP-712 artifacts, and a mark-paid that refuses fabricated txHashes via a live viem read. Fifteen audit rounds converged at APPROVE WITH NITS - with the honest lesson that remediation itself is attack surface - then four independent verifiers on production still caught a real MEDIUM cache bug the code audits never exercised.","status":"UNVERIFIED","evidence":[]}],"canonical":"https://agentbadge.xyz/blog/arc-c55-a2a-settlement","dates":{"published":"2026-11-20","modified":"2026-11-20"},"markdownUrl":"https://agentbadge.xyz/blog/arc-c55-a2a-settlement.md","jsonUrl":"https://agentbadge.xyz/blog/arc-c55-a2a-settlement.json","shortAnswer":"A payment rail moves money once; a settlement layer survives the 3 a.m. undo. We built it for AgentBadge's A2A commerce on Arc (chain 5042002): plans bound 1:1 to agreements with sum-checked milestones and legs, disputes that freeze every open intent atomically and resolve FOR_BUYER/FOR_PROVIDER/SPLIT with re-legging, operator force-approve/reopen/release that all require a reason and append an AdminAction, receipts that return byte-identical EIP-712 artifacts, and a mark-paid that refuses fabricated txHashes via a live viem read. Fifteen audit rounds converged at APPROVE WITH NITS - with the honest lesson that remediation itself is attack surface - then four independent verifiers on production still caught a real MEDIUM cache bug the code audits never exercised.","technologies":["TypeScript","Bun","Hono","Postgres","Prisma","viem","EIP-712"],"entities":["settlement-plan","milestone","payout-intent","payout-leg","settlement-dispute","admin-action","settlement-receipt","memo-anchor","epic-227","epic-226"]}