#2332·x402

Post-settlement accountability layer: tamper-evident proof of agent action after payment

Author: giskard09Created May 15, 2026Updated Sep 24, 2026

Context

AWS Bedrock AgentCore Payments (announced this week) makes x402 the enterprise rail for agent commerce at scale. The x402 protocol handles settlement cleanly. x402-signals (#2291) covers post-settlement fulfillment obligations from the provider side.

The gap that remains: a third party — regulator, auditor, counterparty — cannot independently verify what the agent did after settlement without trusting the operator's infrastructure.

The problem

payment_hash proves the payment completed. It does not prove:

  • What action the agent took after receiving payment
  • That the action record wasn't modified after the fact
  • That the agent acted within its authorized scope

For regulated deployments this gap matters. EU AI Act Art. 12 requires automatic logging for high-risk AI systems, applicable from 2 December 2027 for Annex III systems; it does not say how those logs are protected or who can verify them. Logs can be rewritten. An external anchor cannot.

Edited 2026-09-24: an earlier version gave 2 August 2026 as the Art. 12 enforcement date and called this gap a compliance blocker. Both were wrong. Source: ai-act-service-desk.ec.europa.eu.

Proposed pattern

A TrailRecord anchored externally after agent action completes, keyed by the same action_ref that payment_hash references:

payment_hash (x402 settlement proof)
    └── action_ref = SHA-256(agent_id || action_type || scope || timestamp_ms)
            └── TrailRecord (tamper-evident, external anchor)
                    └── anchor_id (Sigstore Rekor / on-chain tx)

The audit property: a verifier with the payment_hash can follow the chain to the TrailRecord and confirm the action record hasn't been modified — without access to the operator's infrastructure.

Relationship to existing work

  • x402-signals (#2291): fulfillment SLA + refund patterns — provider obligations
  • This proposal: tamper-evident proof of action — auditor verification

Complementary, not overlapping. x402-signals answers "what should the provider do." This answers "how does a third party verify it happened."

Implementation

We've built this as Mycelium Trails — an external anchoring layer that uses payment_hash as the cross-surface key between x402 settlement and post-execution evidence. The spec is in argentum-core and a community plugin for the AGT EvidenceAnchor SPI is in review at microsoft/agent-governance-toolkit#2244.

Happy to contribute a reference spec or fixture if the Foundation wants to document this pattern alongside x402-signals.