Repository navigation
Clarify the cross-node evidence handoff model for multi-actor transaction chains #11
|
Hi, everyone! From a commerce-platform / merchant implementation perspective, I’m trying to understand the expected choreography for passing evidence between the different actors in an agentic commerce journey. AEP defines the artifact model, required cross-artifact fields, actor roles, sealing behavior, and late-arrival append semantics. What still seems underspecified is the cross-actor handoff choreography. Is there an intended standard mechanism for passing artifacts between nodes — e.g. agent platform → merchant → PSP → fulfillment provider / custodian — so that each actor can contribute signed artifacts to the same In particular, should AEP define a minimal append/handoff envelope carrying A short clarification section or non-normative sequence diagram for “agent platform → merchant → PSP → fulfillment/refund” would help implementers understand whether AEP is assuming merchant-coordinated, PSP-coordinated, or custodian-coordinated chains. Thanks! :) |
Replies: 2 comments
|
Thank you! You’ve correctly identified something the spec assumes but never states in one place. Let me state it plainly, then say what we’ll change. The intended model: one chain writer, many signed contributors. An AEP chain has exactly one chain writer — the implementation that assigns seq, computes previous_hash, and seals at authorization (§2.5, §2.7). Other actors do not append to a shared chain remotely, and no shared database is assumed. Instead, each actor contributes signed material through the commerce-protocol surfaces already in flight, and the writer incorporates it into artifacts: • Agent platform → merchant/PSP:the platform countersigns the Intent artifact (§8.7) and hands it alongside its existing checkout protocol call — the agent-platform quickstart (docs/implementers/agent-platform.md) spells out the mechanics: a JWS over the §3.3 canonical fields, one extra field in a flow the platform already runs. No AEP-specific transport is required.. Pre-seal ingestion may be out of order; writers MUST reorder by seq before sealing (§8.4). Multi-actor attestation therefore lives inside artifacts (signing-actor sets like agent + user + merchant on Intent/Cart, §3.3/§3.5), not in distributed append rights. Merchant-coordinated (§8.6 Minimal Merchant Profile) and PSP-coordinated chains are both intended to be conformant, and we expect PSP-coordinated to dominate at scale — the PSP already holds the authorization data, webhooks, and dispute APIs (see docs/implementers/psp-acquirer.md). One honest caveat your question surfaces: §3.3/§3.5/§3.7 currently name the merchant’s server as the artifact-wrapper signer, while §4.3 assigns the server signature to “the implementing party” — the clarification below will reconcile that wording for the PSP-as-writer case. The Evidence Custodian (§8.2.1) is a privacy-plane role — it holds raw identifier values — and is not a chain coordinator, so “custodian-coordinated” is not one of the intended patterns. What the spec does require is that there is only one seal per chain (§2.5), and that verification never depends on trusting the writer: published keys and external anchoring (§4.3), mandatory re-verification on export (§5, §6.2), and byte-for-byte test vectors (§6.3) are what make a bundle portable. On the proposed handoff envelope: the fields you list — chain_id, seq, previous_hash, artifact_type, payload, signing_actor, signature, key-discovery material — are essentially the artifact record itself (§2.7, §4.1, §4.3, Appendix B). So the envelope exists; what AEP doesn’t define is the transport binding — the API by which a contributor submits an artifact or countersignature to the writer, with idempotency and acknowledgment semantics. That’s been left implementation-specific on purpose (contributions ride existing protocol calls and webhooks), but you’re right that the spec never says any of this. Proposed disposition — accept-with-modification:
|
|
Hi, @ragavi-acomm For now, we do not need anything additional from our merchant case point of view, so please consider this a go-ahead from our end. 👍 |
Thank you! You’ve correctly identified something the spec assumes but never states in one place. Let me state it plainly, then say what we’ll change.
The intended model: one chain writer, many signed contributors.
An AEP chain has exactly one chain writer — the implementation that assigns seq, computes previous_hash, and seals at authorization (§2.5, §2.7). Other actors do not append to a shared chain remotely, and no shared database is assumed. Instead, each actor contributes signed material through the commerce-protocol surfaces already in flight, and the writer incorporates it into artifacts:
• Agent platform → merchant/PSP:the platform countersigns the Intent artifact (§8.7) and hands…