idempotent-redundancy
Idempotent Redundancy
معلومات المصدر
- المستودع
- parcadei/Continuous-Claude-v3
- آخر نشاط في المصدر
- ١٠ يناير ٢٠٢٦ في ٠١:٥٤
- لغة SKILL.md المكتشفة
- الإنجليزية
- النجوم
- ٣٬٩٤٣
- التفرعات
- ٣٠٣
خيارات التثبيت
يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.
مراجعة ملفات المصدر
اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.
عرض SKILL.md
SKILL.md
تعليمات المصدر · معاينة للقراءة فقط- name
- idempotent-redundancy
- description
- Idempotent Redundancy
- user-invocable
- false
# 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"
عرض على GitHub