$npx -y skills add parcadei/Continuous-Claude-v3 --skill idempotent-redundancyIdempotent Redundancy
| 1 | # Idempotent Redundancy |
| 2 | |
| 3 | When adding redundant paths (fallbacks, belt-and-suspenders), make them idempotent. |
| 4 | |
| 5 | ## Pattern |
| 6 | |
| 7 | Redundancy without idempotency causes loops, churn, or data corruption. |
| 8 | |
| 9 | ## DO |
| 10 | - Use `_is_merge: true` for Braintrust updates |
| 11 | - Check if value exists before writing (fallback only if missing) |
| 12 | - Use atomic write/rename for file operations |
| 13 | - Make reconciliation steps safe to run repeatedly |
| 14 | |
| 15 | ## DON'T |
| 16 | - Write unconditionally in fallback paths |
| 17 | - Allow multiple writers to overwrite each other |
| 18 | - Fire "repair" actions that can trigger more repairs |
| 19 | |
| 20 | ## Source Sessions |
| 21 | - a541f08a: "Redundancy is good only if idempotent" |
| 22 | - 1c21e6c8: "Belt-and-suspenders, but make it idempotent" |
| 23 | - 6a9f2d7a: "Idempotent repair hooks" |