# Idempotent Redundancy

Idempotent Redundancy

- Repository: https://github.com/parcadei/Continuous-Claude-v3 (3947 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-01-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add parcadei/Continuous-Claude-v3 --skill idempotent-redundancy -g -a claude-code -y`
Codex: `npx skills add parcadei/Continuous-Claude-v3 --skill idempotent-redundancy -g -a codex -y`
Cursor: `npx skills add parcadei/Continuous-Claude-v3 --skill idempotent-redundancy -g -a cursor -y`
Gemini CLI: `npx skills add parcadei/Continuous-Claude-v3 --skill idempotent-redundancy -g -a gemini-cli -y`

## Description

Idempotent Redundancy

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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"

