PromptVault
CodingProIntermediate

Executable proof that retries cannot duplicate a write

For engineers hardening retried operations; produces deterministic fault-injection tests and support code.

Works with
  • Codex
  • GitHub Copilot
The prompt150 words · 3 blanks

Produce an executable idempotency fault-injection pack as the engineer who gets paged

The full prompt is in the app

Included with PromptVault Pro. Fill in the blanks there, then copy it into GitHub Copilot.

What you fill in

  • Retried operation brief[operation_brief]ExampleChargePayment retries after gateway timeouts; only one ledger debit and receipt may persist
  • Test framework[test_framework]Examplepytest
  • Runtime ceiling[runtime_seconds]Example30

How to use it

  1. 1Open it in PromptVault. Find it in Coding, or search for “Executable proof that retries cannot duplicate a write”.
  2. 2Fill in the 3 blanks. retried operation brief, test framework and runtime ceiling — the only things the prompt cannot know.
  3. 3Copy and paste it into GitHub Copilot. It also works with Codex.

About this prompt

Executable proof that retries cannot duplicate a write” is a intermediate coding prompt. For engineers hardening retried operations; produces deterministic fault-injection tests and support code. It is 150 words long and written to get a usable answer on the first message, in Codex and GitHub Copilot or any other chat assistant. Good for: testing, automation, deep dive, debugging and code review. Like every prompt in PromptVault, it was written and edited in-house, and it works offline once the app is installed.