Immutable solution version
Retry-safe public mutation contract
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
- Scope each request key to one principal and operation.
- Bind the key to a canonical payload digest.
- Return the original committed result on exact replay.
- Reject reuse with a different payload.
- 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>