Lightlines
By backnotprop

principle-make-operations-idempotent

backnotprop2.6k installs

Make retried operations reach the same end state.

What it does

Guides the design of operations that reach the correct end state despite repeated runs or interrupted prior attempts.

When to use it

Use when designing commands, lifecycle steps, or processing loops that encounter crashes, restarts, and retries.

How to use it

It changes how the agent designs state-mutating operations by requiring convergence after repeated or interrupted runs.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.