Skip to content

fix(protocol): scope idempotency replay to mutations - #7384

Merged
bokelley merged 1 commit into
3.1.xfrom
backport/3.1-idempotency-mutations
Sep 9, 2026
Merged

bokelley merged 1 commit into
3.1.xfrom
backport/3.1-idempotency-mutations

Conversation

@bokelley

@bokelley bokelley commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Backport fix(protocol): scope idempotency replay to mutations #7383’s mutation-only idempotency replay clarification to the 3.1 maintenance line.
  • Keep idempotency_key optional on every legacy get_products arm, including keyless finalization validity.
  • Update wrapper, capability, security, migration/release, response-replay, and compliance-storyboard guidance.

Deliberate exclusions

  • No 3.2 lifecycle material or 3.1-to-3.2 migration page.
  • No release cut or released dist/<semver> artifact changes.

Provenance

Cherry-picked with -x from main squash merge 245108f7920d6ac89f6f959bf2407937d17d191b (#7383), then resolved semantically for the 3.1 contract.

Validation

  • Schema and compliance builds/checks
  • Composed and general schema validation
  • Compliance source, packaged-reference, sample-request, and response-schema checks
  • Changeset-scope and Changesets status checks
  • Typecheck, docs navigation, schema links
  • Current-source and frozen-3.0 storyboard matrices
  • Mintlify broken-links pre-push check

No release was cut.


Open workspace in Conductor

* fix(protocol): scope idempotency replay to mutations

* fix(protocol): preserve legacy get_products key optionality

(cherry picked from commit 245108f)
@bokelley
bokelley requested a review from a team as a code owner September 9, 2026 14:42

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — clean docs+schema backport with no blocking findings.

Reviewed PR #7384, a backport of #7383 scoping idempotency replay to mutations on the 3.1.x line. The reviewer verified schema/prose alignment (optional idempotency_key in get-products-request.json matches the canonical create-media-buy format), the adcp.idempotency.supported capability reference, the 1–10 rule count in security.mdx, clean removal of the compliance grace-window phases with no dangling references, matching schema tests, and a present patch changeset.

No Critical, High, or Medium findings. high_risk is false, gated_paths is false, no author team gate applies, and no prior decision exists. None of decision-table rows 1–8 fire, so this falls through to row 9 → approve.

@bokelley
bokelley merged commit 2d4b210 into 3.1.x Sep 9, 2026
11 checks passed
@bokelley
bokelley deleted the backport/3.1-idempotency-mutations branch September 9, 2026 14:49
bokelley added a commit that referenced this pull request Sep 9, 2026
* fix(protocol): scope idempotency replay to mutations (#7383) (#7384)

* fix(protocol): scope idempotency replay to mutations

* fix(protocol): preserve legacy get_products key optionality

(cherry picked from commit 245108f)

* Version Packages (#7385)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: aao-release-bot[bot] <280565558+aao-release-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bokelley added a commit that referenced this pull request Sep 16, 2026
* fix(protocol): scope idempotency replay to mutations (#7383) (#7384)

* fix(protocol): scope idempotency replay to mutations

* fix(protocol): preserve legacy get_products key optionality

(cherry picked from commit 245108f)

* Version Packages (#7385)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(schema): backport legacy format asset variants (#7423)

* fix(tmp): backport single-user context privacy to 3.1 (#7424)

* fix(tmp): backport single-user context privacy

* fix(tmp): close expert-reviewed context privacy gaps

* fix(tmp): backport request-aware context caching to 3.1 (#7425)

* fix(tmp): backport request-aware context caching

* fix(tmp): keep context hashes out of observability

* Version Packages (#7426)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* docs(release): correct v3.1.22 Context Match record (#7451)

* fix(compliance): backport required_tools OR-gate fixes to 3.1.x (#6774 subset + canonical_format_validate_input) (#7406)

* fix(compliance): drop get_adcp_capabilities from required_tools across 17 storyboards (OR-gate bug) (#6774)

* fix(compliance): drop get_adcp_capabilities from required_tools in billing_gate_dispatch and agent_notification_configs

required_tools uses OR semantics in the adcp-client SDK. Listing
get_adcp_capabilities alongside a capability-specific tool made the
storyboard-level gate trivially satisfied for every conformant agent,
causing billing_gate_dispatch and agent_notification_configs to run
against agents that lack sync_accounts / sync_agent_notification_configs
and fail at the first assertion instead of receiving a clean
coverage-gap skip.

Closes #6773

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh

* fix(compliance): sweep remaining 15 storyboards for get_adcp_capabilities OR-gate bug

Same pattern as billing_gate_dispatch (issue #6773): required_tools uses
OR semantics, so listing get_adcp_capabilities alongside a capability-
specific tool made the gate trivially satisfied for every conformant agent.

Affected: billing_out_of_band, canonical_supported_formats, evaluator_auth,
native_localization (creative); account_timezone_{seller_fixed,buyer_selected,
seller_assigned}, budget_cap_timezone_{account,fixed,override_rejected},
geo_{region_all_values_support,region_targeting,region_exclusion_support,
place_targeting}, portfolio_routing_scope (media-buy).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh

---------

Co-authored-by: Claude <[email protected]>
(cherry picked from commit a1e72ec)

* fix(compliance): drop comply_test_controller from canonical_format_validate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (#7404). Same shape as #6774.

Refs #7404 (bug 1 only).

(cherry picked from commit 40c59b1)

* fix(compliance): correct 3.1 backport changeset scope

Name only the four #6774 storyboards present on 3.1.x and keep the remaining hosted service work open.

Refs #7404 (bug 1 only).

---------

Co-authored-by: Brian O'Kelley <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: evgen <evgen@SCIS-TE-IPSUM>

* Version Packages (#7486)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(compliance): backport creative format-kind assertions to 3.1.x (#7554)

* fix(compliance): backport governance storyboard routing to 3.1.x (#7555)

* fix(jobs): backport heartbeat timeout to 3.1.x (#7557)

* fix(release): preserve main schema discovery index

* fix(release): preserve main changelog history

* test(release): register forward-merged regressions

---------

Co-authored-by: aao-release-bot[bot] <280565558+aao-release-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ev <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: evgen <evgen@SCIS-TE-IPSUM>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant