算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
resilience-and-recovery【设计与创意】Design, exercise, and evidence graceful degradation, disaster recovery, and restoration behavior across systems and dependencies. Covers failure-mode analysis, RTO/RPO decision records, restore testing, game days, failover drills, data integrity verification, and recovery communication. Do not use for live incident command or incident response; route…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Design, exercise, and evidence resilience and recovery behavior across systems and their dependencies. This skill joins failure modes, dependency behavior, degradation choices, restore testing, disaster recovery, game days, failover, data integrity, and recovery communication into a single method — producing an exercise-backed resilience plan, not only a design document.
| Trigger | What it covers |
|---|---|
| "Design a resilience plan for this system" | Failure-mode mapping, dependency analysis, degradation choices, RTO/RPO decision record, recovery plan template |
| "Run a game day or restore test" | Exercise design, scenario definition, evidence recording, follow-up work ledger |
| "Assess our disaster recovery readiness" | DR plan review against exercise evidence, gap analysis, data integrity verification |
| "What happens if this dependency fails?" | Dependency-loss scenarios, degradation paths, circuit-breaker and fallback strategy |
| "Define our RTO and RPO" | Context-specific decision record with tradeoff analysis, not universal prescription |
| "Verify data integrity after a restore" | Post-restore validation procedures, checksum and consistency checks, reconciliation protocol |
| "Plan a failover drill" | Failover exercise design, pre-conditions, success criteria, rollback/failback plan, evidence recording |
| File | Load when |
|---|---|
| references/failure-modes-and-dependencies.md | Mapping failure modes, analyzing dependency loss, or designing degradation paths |
| references/recovery-plan-template.md | Building or reviewing a resilience/recovery plan with structured fields |
| references/exercise-design-and-evidence.md | Designing a game day, restore test, failover drill, or recording exercise evidence |
| references/rto-rpo-decision-record.md | Defining RTO/RPO with context-specific tradeoffs and a decision-record template |
| references/data-integrity-verification.md | Verifying data correctness and consistency after restore or failover |
| references/recovery-communication.md | Planning who to notify and when during recovery events |
| references/follow-up-work-ledger.md | Converting exercise findings into owned implementation, test, and operational work |
| references/discovery-brief.md | Understanding ownership boundaries with adjacent skills |
Resilience is proven by exercise, not design. A recovery plan that has never been tested is a hope, not a capability. Every resilience claim must be backed by exercise evidence: a game day, a restore test, a failover drill, or a chaos experiment. Design documentation alone is not sufficient. Recovery plans require evidence from exercises — not just design claims. Exercise evidence, not only design documentation, is the standard of proof.
High availability is not recoverability. HA (redundancy, failover, clustering) keeps a system running through component failure. Recovery (backup, restore, disaster recovery) rebuilds a system after it has failed. HA is not a substitute for recovery: redundant systems can still experience data corruption, logical errors, or cascading failures that propagate across replicas. A system with 99.99% availability but no tested restore capability is not resilient — it is available but unrecoverable. Both HA and recovery are required; neither replaces the other.
RTO and RPO are context-dependent, not universal. Recovery time and recovery point objectives depend on the system's role, data classification, user impact, regulatory requirements, and cost. There is no universal "RTO should be < 1 hour." A payment system, an internal wiki, and a batch analytics pipeline have fundamentally different RTO/RPO profiles. Define RTO/RPO per system through a decision record with explicit tradeoffs, not by copying a template value. See the RTO/RPO decision record reference for the structured template.
Dependencies define your blast radius. Every upstream and downstream dependency is a failure mode. A resilience plan that does not account for dependency behavior under failure is incomplete. Map what happens when each dependency is unavailable, degraded, or slow — and what your system promises to its own consumers in each case.
Degrade gracefully, not completely. When a dependency or internal component fails, the system should continue operating in a reduced-but-acceptable mode rather than failing completely. Define acceptable degradation paths: which features are shed, which remain, and what user experience results. Not every failure justifies a full outage.
Exercise failures are gifts. When an exercise exposes a gap — a restore that took too long, a failover that lost data, a dependency loss that cascaded unexpectedly — that finding is an asset. Convert every exercise finding into owned follow-up work with a named owner, a target date, and a verification method. An exercise that reveals no gaps was not thorough enough or the system is untested.
Recovery communication is part of recovery. During a recovery event, stakeholders need to know: what happened, what is affected, what is being done, when to expect resolution, and who to contact. Pre-plan communication templates, notification channels, and escalation paths. Communication failures during recovery compound technical failures.
The system continues operating in a reduced-but-acceptable mode when a component or dependency fails. This is not a full outage — it is a deliberate choice to shed non-critical capability while preserving core function.
Decision criteria for degradation:
Examples:
Feature shedding by tier:
The system is recovered from a backup, snapshot, or replica after a failure that cannot be mitigated through redundancy or degradation. This covers disaster recovery, data corruption recovery, and full-system rebuild.
Decision criteria for restore:
Examples:
Restore testing requirements:
Every resilience plan must include these structured fields:
| Field | Description | Required evidence |
|---|---|---|
| System boundary | What is in scope and out of scope for this plan | Architecture diagram or boundary document |
| Failure modes | How the system can fail: component, dependency, region, data, operator error | Failure-mode analysis with likelihood and impact |
| Dependency map | Upstream systems this system depends on; downstream systems that depend on this system | Named systems, failure behavior per dependency, consumer contracts |
| Degradation choices | What is shed and what is preserved under each failure scenario | Tier assignments with rationale, user-impact assessment |
| RTO/RPO decision record | Context-specific recovery objectives per system and scenario | Decision-record template with tradeoffs, not hardcoded numbers |
| Data integrity | How data correctness and consistency are verified after recovery | Post-restore validation procedure, checksums, reconciliation protocol |
| Recovery procedure | Step-by-step recovery process with pre-conditions and success criteria | Versioned procedure, owner assignment, last-exercise date |
| Communication plan | Who to notify, when, and through what channels during each recovery scenario | Notification templates, stakeholder list, escalation contacts |
| Exercise schedule | When each recovery scenario was last exercised and when it will be re-exercised | Exercise evidence: date, scenario, result, findings |
| Follow-up work ledger | Exercise findings converted to owned implementation/test/operational work | Owner, target date, verification method, status per finding |
This skill composes capabilities from and routes to:
This skill feeds the production-excellence bundle (wave 6) as a component capability: resilience evidence — exercise results, RTO/RPO decision records, follow-up work ledgers — flows into the production-excellence evidence packet for go/no-go/defer/exception readiness decisions.