Skip to content

Generate selective mutation idempotency keys - #352

Draft
danielchalef wants to merge 2 commits into
v4from
codex/agent-memory-idempotency
Draft

Generate selective mutation idempotency keys#352
danielchalef wants to merge 2 commits into
v4from
codex/agent-memory-idempotency

Conversation

@danielchalef

Copy link
Copy Markdown
Member

Rationale

Generate an idempotency key when an endpoint explicitly declares the mutation header placeholder.

Changes

  • Generate a UUIDv4 for a missing mutation key and retain it across retries.
  • Preserve caller-supplied keys.
  • Add focused core and retry tests.

Impact and risks

Draft: do not merge until regeneration removes mutation placeholders from read-only POST methods and the combined generated-client tests pass.

Invariants

None

Required configs

None

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