Skip to content

[Feature/Roadmap] ACP conformance evidence #41

Open

Description

@SergeevDmitry

Context & Rationale

The ACP adapter has no open MUST-level gap against 2026-04-17, but the evidence is not recorded. ACP has no public conformance suite; the closest checks are the RFC's §10 checklist and OpenAI's launch certification, documented by merchants with sandbox request and response logs. Released versions can change in place: the 2026-04-17 Order schema changed on 2026-05-01, so a vendored schema can become stale without a version change.

Proposed Changes

  • Turn the relevant certification checks (session lifecycle, error shapes, idempotency conflicts) into conformance tests. Follow the RFC where it conflicts with the certification guide: idempotency conflicts use 422 idempotency_conflict (RFC §6.4), while 409 remains idempotency_in_flight. Record the disagreement in the support record.
  • Record the §6.5 deviation: "A retry with the same key after a 5xx MUST be processed as a fresh request." By default the adapter keeps the claim and answers 409 idempotency_unresolved, because the merchant may have acted and a fresh attempt could duplicate the order. protocols.acp.idempotency.merchantIdempotent: true conforms.
  • List the merchant's obligations in the support record: HTTPS on every endpoint (§3.1), TLS 1.3 (§7; OpenAI accepts 1.2 or later), order webhooks, payment tokenization, legal links and IP allowlisting.
  • Record the upstream commit of the vendored schema and of the RFC in the support record, and compare the vendored copy with upstream before each release.

Non-goals / Invariants Preserved

  • ACP stays experimental: upstream calls it beta.
  • No behavior changes. merchantIdempotent stays false by default.
  • Request signature verification and the order webhook docs are separate issues.
  • The comparison with upstream is a release step, not a CI job: CI stays offline, and the schema is vendored, never fetched.

Impact & Value

Done when every ACP MUST owned by the gateway has a named test or recorded deviation, and merchant-facing docs list the merchant's obligations.

Test plan

Create, get, update, complete and cancel against the vendored schema. Error shapes for each refusal. One key with a different body: 422. One key in flight: 409. A 5xx then a retry: 409 idempotency_unresolved by default, a fresh request with merchantIdempotent: true.

Activity

  1. added
    enhancement
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions