| name | data-loss-incident-response |
| enabled | true |
| description | Use when performing data loss incident response — data loss and data
corruption incident response playbook covering immediate containment, impact
assessment, recovery procedures from backups and replicas, data integrity
verification, customer notification, and preventive measures. Guides teams
through the critical decisions required when data is lost, corrupted, or
inadvertently modified.
|
| required_connections | [{"prefix":"slack","label":"Slack (for incident coordination)"}] |
| config_fields | [{"key":"data_type","label":"Type of Data Affected","required":true,"placeholder":"e.g., user records, transaction logs, configuration data"},{"key":"incident_description","label":"Incident Description","required":true,"placeholder":"e.g., Accidental deletion of production database table"},{"key":"database_system","label":"Database/Storage System","required":false,"placeholder":"e.g., PostgreSQL, MongoDB, S3"}] |
| features | ["INCIDENT"] |
Data Loss Incident Response
Data Type: {{ data_type }}
Description: {{ incident_description }}
System: {{ database_system }}
CRITICAL: Stop the Bleeding First
Before investigating, prevent further data loss:
- STOP any running migrations, scripts, or batch jobs that may be causing the loss
- BLOCK write access to affected tables/collections/buckets if safe to do so
- DO NOT attempt recovery before understanding the scope — you may overwrite good data with bad data
Phase 1 — Immediate Containment (0-15 min)
Severity Classification for Data Loss
| Severity | Criteria |
|---|
| SEV1 | Production data permanently lost, no backup, customer-facing |
| SEV1 | Active data corruption spreading to replicas/backups |
| SEV2 | Data lost but recoverable from backup within hours |
| SEV2 | Data corruption contained, not spreading |
| SEV3 | Non-critical data lost, minimal customer impact |
| SEV3 | Data recoverable from alternative sources |
Phase 2 — Impact Assessment (15-60 min)
Scope the Loss
Data Classification
| Question | Answer |
|---|
| Is this PII/sensitive data? | yes/no |
| Is this financial/transactional data? | yes/no |
| Is this user-generated content? | yes/no |
| Is this system configuration? | yes/no |
| Regulatory implications? | GDPR/HIPAA/PCI/none |
Phase 3 — Recovery
Recovery Options (in order of preference)
Option 1: Point-in-Time Recovery (PITR)
Option 2: Restore from Backup
Option 3: Recover from Replicas
Option 4: Reconstruct from Alternative Sources
Recovery Execution Checklist
Phase 4 — Data Integrity Verification
Phase 5 — Communication
Internal
Customer Communication (if customer data affected)
Phase 6 — Prevention
Root Cause Remediation
Backup and Recovery Improvements
Counter-Rationalizations
| Shortcut | Counter | Why |
|---|
| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |
| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |
| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |
| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |
| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |