Lightlines
By michael-denyer

principle-make-operations-idempotent

michael-denyer625 installs

Make your code safe to retry after a crash.

What it does

Guides the design of operations that reach the same correct state after retries, restarts, or interrupted runs.

When to use it

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

How to use it

It changes how the agent designs state-mutating operations by requiring repeat-run and crash-recovery checks, with reconciliation when leftover state affects results.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.