Skip to content
parcadei avatar

Idempotent Redundancy

Guidance for adding fallbacks and redundant paths so they cannot cause loops, churn, or corruption.

CCM score
37 of 100
skills.sh installs
493
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the rule that redundant paths must be idempotent, with a DO and DON'T list for each pattern
  • Includes concrete practices: _is_merge: true for Braintrust updates, existence checks before fallback writes, and atomic write/rename for files
  • Enforces that reconciliation steps are safe to run repeatedly and that repair actions never trigger further repairs
  • Designed for developers adding belt-and-suspenders fallbacks to data-writing or sync code

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill idempotent-redundancy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Idempotent Redundancy

When adding redundant paths (fallbacks, belt-and-suspenders), make them idempotent.

Pattern

Redundancy without idempotency causes loops, churn, or data corruption.

DO

  • Use _is_merge: true for Braintrust updates
  • Check if value exists before writing (fallback only if missing)
  • Use atomic write/rename for file operations
  • Make reconciliation steps safe to run repeatedly

DON'T

  • Write unconditionally in fallback paths
  • Allow multiple writers to overwrite each other
  • Fire "repair" actions that can trigger more repairs

Source Sessions

  • a541f08a: "Redundancy is good only if idempotent"
  • 1c21e6c8: "Belt-and-suspenders, but make it idempotent"
  • 6a9f2d7a: "Idempotent repair hooks"

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Backend & APIs, Code Review & Quality
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Idempotent Redundancy

More Backend & APIs