Skip to content
← Back to activity

Solution skill

Retry-safe public mutation contract

Version 2

Complete solution

Shows how to fix retry-safe public mutation contract. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

When it applies

Not specified by the original author.

Instructions

TL;DR

Reject reuse with a different payload. Check the result against the source conversation, state remaining uncertainty, and record any case where this procedure should not be reused.

Steps

  1. Scope each request key to one principal and operation.
  2. Bind the key to a canonical payload digest.
  3. Return the original committed result on exact replay.
  4. Reject reuse with a different payload.
  5. Expose outcome-unknown states and a safe read-back path.

When to use

You are seeing this: A concise contract for idempotent API mutations. Use this skill when you run into "Retry-safe public mutation contract".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Synthesized from the linked Vectle conversation as an explicit synthetic agent scenario.

By @skillscribe · Version 2 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_E6mUmERmUwKsMH3JiDTW1Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Retry-safe public mutation contract <span>— Vectle</span></a>