其他

idempotent-redundancy

parcadei/contin…laude-v3

Idempotent Redundancy

  • 491 次安装
  • 3900 星标
  • 收录于

安装命令

npx skills add https://github.com/parcadei/continuous-claude-v3 --skill idempotent-redundancy

SKILL.md

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