Failure mode analysis

From FerroxLabs/wayland · View interactive version

Failure mode analysis is an AI agent skill from the GitHub repository FerroxLabs/wayland. Produces a failure mode and effects analysis (FMEA-lite) with failure modes, effects, severity ratings, detection methods, and recommended actions using FMEA methodology. Use when the user asks to perform a failure mode analysis, identify what could go wrong in a process or product, create an FMEA,

How to use this skill

Skill file

Failure Mode Analysis

When to Use

Use this skill when the user presents one of these specific scenarios:

Do NOT use this skill when:


Process

Step 1: Define Scope, Boundaries, and FMEA Type

Before generating any failure modes, establish precise scope. An imprecise scope is the most common reason FMEAs become unwieldy or miss critical failures.


Step 2: Enumerate Failure Modes Using the Function-Failure-Effect-Cause (FFEC) Chain

This is the analytical core of FMEA. Each entry in the worksheet must complete the full FFEC chain. Incomplete chains produce incomplete -- and therefore misleading -- analyses.


Step 3: Rate Severity (S) on a Calibrated 1-10 Scale

Severity rates the impact of the failure effect -- not the failure mode itself -- on a 1-10 scale. Severity is a property of the effect, not of how often it happens.


Step 4: Rate Occurrence (O) on a Data-Anchored 1-10 Scale

Occurrence rates how often this failure mode is expected to occur given current process conditions -- not how often the failure effect is experienced after detection/controls.


Step 5: Rate Detection (D) on a 1-10 Scale

Detection rates the ability of the current control system to identify the failure mode or its cause before the failure effect reaches the next step or customer. Counterintuitively, a high detection number means poor detection.


Step 6: Calculate RPN, Apply Priority Rules, and Identify the Critical Path


Step 7: Develop Recommended Actions and Project Post-Action RPN

Every recommended action must be specific, dimensioned (which of S, O, or D it targets), owned, and time-bound.


Step 8: Document, Review, and Schedule the Re-Assessment


Output Format

## Failure Mode and Effects Analysis: [Process/Product Name]

**FMEA Type:** [DFMEA / PFMEA / SFMEA]
**Scope:** [Start trigger] through [end trigger] -- excluding [explicit exclusions]
**FMEA Team:** [Role 1], [Role 2], [Role 3] (minimum 3 roles)
**Date Initiated:** [YYYY-MM-DD]
**Revision:** [X.X]
**Next Review Date:** [YYYY-MM-DD]
**RPN Action Threshold:** 100+ (Immediate/30-day action required)
**Severity Override Rule:** All S=9 or S=10 items require action regardless of RPN
**Document ID:** FMEA-[ProcessCode]-Rev[X.X]-[YYYYMMDD]

---

### Executive Summary

**Total Failure Modes Analyzed:** [X]
**Severity Override Items (S=9 or S=10):** [X] failure modes -- immediate action required
**Above RPN Threshold (100+):** [X] failure modes
**Highest RPN Identified:** [X] -- [Failure mode name]
**Lowest RPN Identified:** [X] -- [Failure mode name]
**Projected Total RPN Reduction (after all actions closed):** [X%]

**Critical Path of Risk:** [One paragraph narrative describing the sequence of highest-risk
failures and the worst-case end state if they remain unaddressed. Written for a non-technical
executive reader.]

**Top 5 Priorities:**
| Rank | ID | Failure Mode | RPN | Severity | Action Owner | Due Date |
|------|----|-------------|-----|----------|-------------|---------|
| 1 | FM[X] | [Mode] | [X] | [S/10] | [Role] | [Date] |
| 2 | FM[X] | [Mode] | [X] | [S/10] | [Role] | [Date] |
| 3 | FM[X] | [Mode] | [X] | [S/10] | [Role] | [Date] |
| 4 | FM[X] | [Mode] | [X] | [S/10] | [Role] | [Date] |
| 5 | FM[X] | [Mode] | [X] | [S/10] | [Role] | [Date] |

---

### FMEA Worksheet (Complete)

| ID | Process Step | Function | Failure Mode | Failure Effect (Local / Downstream / End Customer) | Failure Cause | S | O | D | RPN | Score Basis | Current Controls | Control Type | Recommended Action | Action Targets |
|----|-------------|----------|-------------|--------------------------------------------------|--------------|---|---|---|-----|------------|-----------------|-------------|-------------------|----------------|
| FM1 | [Step name] | [Function statement] | [Failure mode] | [Local effect / Downstream effect / Customer effect] | [Root cause] | [1-10] | [1-10] | [1-10] | [SxOxD] | [Data / Expert estimate*] | [Existing controls] | [Prevention / Detection / Mitigation] | [Action] | [Reduce O / Improve D / Reduce S] |
| FM2 | [Step name] | [Function] | [Failure mode] | [Effects] | [Cause] | [S] | [O] | [D] | [RPN] | [Basis] | [Controls] | [Type] | [Action] | [Target] |

*Asterisk indicates estimated score -- to be validated with operational data at first re-assessment.

---

### Detailed Analysis (All Items RPN 100+ and All S=9/S=10 Items)

**[FM-ID]: [Failure Mode Name] -- RPN: [X] | S=[X] O=[X] D=[X]**

| Element | Details |
|---------|---------|
| **Process Step** | [Step number and name] |
| **Function** | [Specific, measurable statement of what this step must accomplish] |
| **Failure Mode** | [Precise description of how the function fails -- be specific enough that a team member could recognize it if they saw it] |
| **Failure Effect -- Local** | [What happens at this step immediately] |
| **Failure Effect -- Downstream** | [What happens at the next affected step(s)] |
| **Failure Effect -- End Customer/Output** | [What the customer or final output experiences] |
| **Failure Cause** | [Root cause -- use "Why?" framing. Not the symptom, the cause.] |
| **Severity (S)** | [X/10] -- [Specific justification tied to the calibrated scale. Reference regulatory or contractual impact if applicable.] |
| **Occurrence (O)** | [X/10] -- [Specific justification with data source, estimated rate, or expert elicitation basis. Mark with asterisk if estimated.] |
| **Detection (D)** | [X/10] -- [Specific justification. Name the control and its real-world reliability.] |
| **Current RPN** | [S x O x D = X] |
| **Current Controls** | [List each control, its type (prevention/detection/mitigation), and its actual effectiveness] |
| **Control Gaps** | [What the current controls fail to address] |
| **Recommended Action** | [Specific, implementable action statement. Who does what, using what method, to achieve what outcome.] |
| **Action Targets** | [Which dimension: Reduce O from X to X / Improve D from X to X / Reduce S from X to X] |
| **Action Type** | [Occurrence reduction / Detection improvement / Severity reduction / Error-proofing] |
| **Owner** | [Specific role -- not a department] |
| **Target Completion Date** | [YYYY-MM-DD] |
| **Dependencies** | [Other actions, resources, or approvals required] |
| **Post-Action S** | [X/10] |
| **Post-Action O** | [X/10] |
| **Post-Action D** | [X/10] |
| **Post-Action RPN** | [X] (reduction of [X%] from current RPN of [X]) |
| **Status** | Open |

---

### RPN Distribution and Action Classification

| RPN Band | Label | Count | Action Required | Review Cadence |
|----------|-------|-------|----------------|----------------|
| 200+ | Critical | [X] | Immediate -- owner and due date this week | Weekly until closed |
| 100-199 | High | [X] | Formal action plan within 30 days | Bi-weekly |
| 50-99 | Medium | [X] | Monitor; improve opportunistically | Monthly |
| 25-49 | Low | [X] | Accept with documented rationale; periodic review | Quarterly |
| Under 25 | Negligible | [X] | Accept; note in FMEA for completeness | Annually |

**Severity Override Items (S=9 or S=10, regardless of RPN):**
| ID | Failure Mode | RPN | S | Status |
|----|-------------|-----|---|--------|
| [FM-ID] | [Mode] | [X] | [9/10] | Action Required |

---

### Action Plan Register

| ID | Failure Mode | Current S/O/D | Current RPN | Recommended Action | Targets | Projected S/O/D | Projected RPN | RPN Reduction | Owner | Due Date | Status |
|----|-------------|--------------|-------------|-------------------|---------|----------------|---------------|---------------|-------|----------|--------|
| FM[X] | [Mode] | [S/O/D] | [X] | [Action] | [O/D/S] | [S/O/D] | [X] | [X%] | [Role] | [Date] | Open |

**Total Current RPN (sum of all items):** [X]
**Total Projected RPN (after all actions):** [X]
**Total Portfolio RPN Reduction:** [X%]

---

### Calibrated Scoring Scales (Reference)

**Severity (S) -- Rates the impact of the failure effect:**
| Score | Label | Business/Service Process Anchor | Product/Manufacturing Anchor |
|-------|-------|--------------------------------|------------------------------|
| 1 | No Effect | No impact; failure corrected before any output is affected | No discernible effect on product function |
| 2 | Very Minor | Internal inconvenience; corrected in < 15 minutes | Very slight cosmetic defect; customer unlikely to notice |
| 3 | Minor | Internal rework; < 1-hour delay; no external impact | Minor cosmetic defect; customer may notice but accepts product |
| 4 | Low | Moderate rework; 1-8 hour delay; quality slightly reduced | Moderate cosmetic defect or very minor functional degradation |
| 5 | Moderate | Customer notices; minor SLA risk; complaint possible | Customer notices functional degradation; product still usable |
| 6 | Moderate-High | Customer complaint likely; SLA at risk; escalation possible | Significant functional degradation; customer dissatisfied |
| 7 | High | SLA breach; significant financial impact; management escalation | Product functions but at substantially reduced level |
| 8 | Very High | Customer relationship at risk; major financial loss; contract risk | Product inoperable; non-safety failure |
| 9 | Critical | Regulatory reporting triggered; near-safety event; systemic harm | Potential safety concern without warning |
| 10 | Catastrophic | Injury, major regulatory action, or data breach with systemic harm | Safety hazard without warning; regulatory violation |

**Occurrence (O) -- Rates frequency of failure mode under current conditions:**
| Score | Label | Approximate Failure Rate | Context |
|-------|-------|------------------------|---------|
| 1 | Essentially Impossible | < 1 in 100,000 | Error-proofed or near-Six Sigma process |
| 2 | Extremely Rare | 1 in 10,000 to 1 in 100,000 | Exceptionally well-controlled process |
| 3 | Very Low | 1 in 1,000 to 1 in 10,000 | Occasional isolated incidents |
| 4 | Low | 1 in 200 to 1 in 1,000 | A few times per year at moderate volume |
| 5 | Moderate | 1 in 50 to 1 in 200 | A familiar, recurring problem |
| 6 | Moderate-High | 1 in 20 to 1 in 50 | Appears in monthly quality metrics |
| 7 | High | 1 in 7 to 1 in 20 | Visible, frequent; team has workarounds |
| 8 | Very High | 1 in 3 to 1 in 7 | Failure common; process reliability poor |
| 9 | Near-Certain | 1 in 1.5 to 1 in 3 | Failure expected in adverse conditions |
| 10 | Inevitable | > 1 in 1.5 | Failure is the normal outcome |

**Detection (D) -- Rates ability of current controls to catch failure before downstream impact:**
| Score | Label | Detection Capability | Typical Control Type |
|-------|-------|--------------------|--------------------|
| 1 | Near-Perfect | Automated 100% inspection; physical poka-yoke prevents progression | Error-proofing device or hard interlock |
| 2 | Very High | Automated detection catches > 99% of occurrences | Automated inspection, sensor-based monitoring |
| 3 | High | Multiple independent controls; > 95% detection rate | Statistical sampling + automated alert |
| 4 | Moderately High | Systematic checks catch > 85% | Formal checklist, double-check procedure |
| 5 | Moderate | Controls exist but inconsistently applied; 60-85% detection | Periodic audit, manual review |
| 6 | Low-Moderate | Relies on individual attention; 40-60% detection | Informal spot-check, supervisory review |
| 7 | Low | Controls rarely applied; < 40% detection | Paper procedure, rarely followed |
| 8 | Very Low | Failure difficult to observe; < 20% detection | No systematic control; ad hoc |
| 9 | Near-Zero | Failure usually discovered only by customer | Customer complaint is the detection mechanism |
| 10 | None | No detection mechanism exists | No control of any kind |

Rules

  1. Never omit the full FFEC chain for any failure mode. Every row in the FMEA worksheet must have a Function, a Failure Mode, a Failure Effect (with local, downstream, and end-customer layers), and a Failure Cause. A row with "N/A" or a blank in any of these four fields is incomplete and must be flagged for resolution before the FMEA is used.
  1. Severity is fixed by the effect -- it does not change when controls are added. Controls affect detection (D) only. Teams that reduce S when they add a detection control are double-counting the benefit and producing an artificially low RPN. If someone argues that adding a checkpoint reduces severity, redirect them: it reduces detection from 8 to 3, not severity from 8 to 3.
  1. Occurrence must be rated as if current detection controls did not exist. Rate how often the failure mode would be generated by the process, not how often it would escape detection. A failure mode that occurs 30% of the time but is caught 90% of the time has O=9 and D=2 -- not O=3. This separation is the fundamental logic of the three-factor model.
  1. Any S=9 or S=10 failure mode requires a recommended action, period. This is not optional, even if the RPN is below the threshold. A failure mode that rarely occurs but causes catastrophic harm when it does is not acceptable without a mitigation plan. Document it, own it, close it.
  1. Recommended actions must name a specific mechanism, not a category. "Improve training" is not an action. "Create a 20-minute onboarding module covering [specific failure scenario] for all new hires, assessed by a quiz with a minimum 80% pass mark" is an action. Vague actions cannot be implemented, tracked, or verified.
  1. Every action must specify which dimension (S, O, or D) it targets and by how much. State the expected post-action score for that dimension and compute the projected RPN. Without this projection, it is impossible to prioritize between two competing actions for the same failure mode.
  1. Do not conflate "rare" with "acceptable." Low occurrence scores are not justification for ignoring a failure mode. A failure that occurs once every five years in a safety-critical system may still require mitigation if the severity is 9 or 10. Use the severity override rule.
  1. Occurrence scores must cite a basis. Historical defect rate (cite the source), expert elicitation (document the method and participants), or analogous process data (name the process). "The team thinks it happens sometimes" produces a score that cannot be defended in an audit and will not be trusted in a review. Mark all estimated scores with an asterisk and schedule a data-driven re-assessment.
  1. Detection control types must be explicitly classified. Every current control listed must be labeled as Prevention (stops the cause from creating the failure), Detection (identifies the failure before it progresses), or Mitigation (limits damage after the failure occurs). Only detection controls affect the D score. Prevention controls inform the O score context. Mitigation controls may inform severity considerations but do not change S, O, or D directly.
  1. FMEA scope must be bounded by a maximum of 25 failure modes per document. Beyond 25 rows, cognitive overload prevents meaningful review and the document becomes unusable in team settings. If a process has more failure modes, decompose the scope into sub-processes (e.g., "Invoice Receipt PFMEA" and "Payment Authorization PFMEA" instead of one "Accounts Payable PFMEA"). Create a parent-level FMEA index that links the sub-analyses.
  1. Never produce an FMEA without a scheduled review date and a document revision number. An FMEA without a next review date is implicitly treated as final and complete. It will not be updated. Processes change, failures evolve, and actions close -- the document must reflect current state. The revision number enables traceability when the document is referenced in audits, corrective actions, or customer communication.
  1. Separate RPN ranking from action sequencing. The highest RPN does not always produce the first action. Consider: actions that address multiple failure modes simultaneously, actions with short implementation time and high RPN reduction (quick wins), actions with long lead times that must start immediately to meet review-cycle deadlines, and dependencies between actions. Present the RPN ranking but note when action sequencing differs and explain why.

Edge Cases

1. New Process or Product with No Historical Failure Data

When the process or product has never been operated and no analogous process data exists, occurrence scores are entirely speculative. Handle as follows: use structured expert elicitation -- collect independent estimates from at least 3 subject matter experts, present the range to the group without attribution, discuss the highest and lowest scores, and converge on a consensus. Document the method, the participants, and the final rationale in the FMEA. Mark all estimated occurrence scores with an asterisk (*) and add a note: "Estimated -- to be validated after [X] operating cycles." Set an automatic re-assessment trigger at 30 days and 90 days post-launch. In the interim, use conservative (higher) occurrence estimates -- it is safer to over-invest in prevention for a new process than to under-invest because you guessed low.

2. Regulated Industry Requirements (FDA, Automotive IATF 16949, Aerospace AS9100)

Regulatory FMEAs have formal requirements beyond the standard FMEA-lite structure. For FDA Class II/III medical devices, Design FMEA integrates with ISO 14971 risk management -- severity and occurrence thresholds must be linked to acceptable risk criteria in the risk management file. For automotive processes under IATF 16949, use the AIAG-VDA FMEA 4th edition format, which adds a "Structure Analysis" (boundary diagram), a "Function Analysis" (parameter diagram), a "Failure Analysis" (failure net), and splits the traditional FMEA into seven steps with a standardized Action Priority (AP) table replacing raw RPN. The AP table classifies actions as High (H), Medium (M), or Low (L) based on severity-occurrence and severity-detection matrix lookups rather than a single RPN threshold. For aerospace under AS9100, FMEA must be linked to the product's Design History File and controlled as a configuration-managed document. In all regulated contexts, note the applicable standard at the top of the document and confirm which format applies before producing the analysis.

3. Complex Cascading Failures in Highly Automated or Digital Systems

Software processes, cloud infrastructure, and automated workflows fail differently than manual processes. Key differences: failures can cascade across multiple systems in seconds rather than minutes; a single root cause can trigger multiple simultaneous failure modes; the "occurrence" of a software bug may be 100% once the bug is introduced but 0% otherwise -- making standard occurrence scales awkward. Recommended adaptations: identify system dependencies explicitly using a dependency map before enumerating failure modes. Use fault tree analysis (FTA) in conjunction with FMEA -- the fault tree identifies how failure modes combine to produce system-level failures; the FMEA provides the per-component analysis. For digital systems, add "failure mode category" tags: data corruption, service unavailability, performance degradation, security breach, integration failure. Rate occurrence based on deployment frequency and error budget consumption rather than raw failure rate. Detection in digital systems is often strong (monitoring, logging, alerting) -- but validate that alerts are actually responded to, not just generated.

4. Human-Intensive Processes with High Cognitive Load

Processes that rely heavily on human judgment, such as medical triage, financial underwriting, legal review, or customer service escalations, have failure modes dominated by human error. Standard FMEA underestimates human error occurrence because teams are reluctant to assign high occurrence scores to their own team's mistakes. Handle as follows: use a Human Reliability Analysis (HRA) approach to classify human error types -- skill-based errors (automatic actions gone wrong), rule-based errors (wrong rule applied), and knowledge-based errors (inadequate knowledge for novel situation). Rate occurrence using error probability data from the Human Error Probability (HEP) literature for common task types rather than subjective team estimates. For detection, recognize that peer review is D=4 at best, not D=2 -- human checkers miss roughly 15-20% of errors that they were specifically checking for (the theory of signal detection). Design recommended actions toward error-proofing the interface (forcing functions, defaults, confirmations) rather than additional human checking.

5. FMEA for a Process That Has Already Experienced a Major Failure

When the user presents a process that has already had a significant failure and wants to use FMEA to prevent recurrence, the methodology is the same but the starting point is different. The known failure provides a confirmed data point: set the occurrence score for that failure mode at the level that matches the actual failure rate observed. Set severity based on actual impact experienced. Do not let the team minimize these scores because "we've fixed it" -- the FMEA reflects the process as it currently exists, before new actions are implemented. The known failure becomes FM1 or FM2 with a likely high RPN, and the recommended actions for it are the corrective actions already underway. This grounds the FMEA in reality and prevents the team from treating the known failure as less urgent than novel failure modes with uncertain scores.

6. Customer-Facing Processes with External Contractual or SLA Obligations

When failures can trigger contractual penalties, SLA credits, or customer notification obligations, add two columns to the FMEA worksheet: "Contractual Impact" (does this failure trigger an SLA breach, penalty clause, or reporting obligation?) and "Customer Notification Required" (yes/no, and within what timeframe). Failures that trigger contractual impacts should have their severity anchored to the specific contract terms -- a 0.1% SLA breach credit may not warrant S=8, but a breach that triggers contract termination clause absolutely does. For detection, include customer-facing monitoring and SLA tracking systems as controls. Recovery time is relevant to severity: a failure that causes 15 minutes of downtime vs. a failure that causes 4 hours of downtime may have the same failure mode but very different severity scores based on SLA thresholds.

7. Multi-Site or Cross-Functional Processes Where Ownership Is Ambiguous

When a process crosses departmental, team, or geographic boundaries, failure modes that occur at the handoff points are typically the highest-risk and most difficult to own. Handoff failure modes include: information not transferred, information transferred incorrectly, responsibility gap (each side thinks the other owns the step), and timing failure (transfer happens too late). Handle as follows: explicitly add "handoff" as a process step in the FMEA structure. Assign a "responsible interface owner" -- not a department on either side, but a named coordinating role. For occurrence, handoff failures in unstructured processes typically score 6-8 because informal communication is inherently unreliable. Detection is usually 7-9 because handoff failures are invisible until downstream effects appear. Actions should focus on structuring the handoff with a formal protocol, a shared artifact (a handoff document, a system state, a confirmation trigger), and a defined response if the handoff is not received.


Example

Input: "We're launching a new SaaS product for enterprise clients. I want to do a failure mode analysis on our software deployment process. The steps are: environment setup, code deployment, database migration, smoke testing, client-specific configuration, and go-live authorization. We've had a database migration failure in staging that corrupted test data, and we've had configuration errors that affected two beta clients."


Output:

Failure Mode and Effects Analysis: SaaS Enterprise Product Deployment Process

FMEA Type: Process FMEA (PFMEA)

Scope: Software deployment process from environment setup initiation through go-live authorization sign-off -- excludes post-go-live monitoring and incident response procedures

FMEA Team: DevOps Lead, QA Manager, Customer Success Lead, Database Administrator, Product Manager

Date Initiated: [Current date]

Revision: 1.0

Next Review Date: 30 days post-first production deployment

RPN Action Threshold: 100+ (Immediate/30-day action required)

Severity Override Rule: All S=9 or S=10 items require action regardless of RPN

Document ID: FMEA-DEPLOY-Rev1.0-[YYYYMMDD]


Executive Summary

Total Failure Modes Analyzed: 12

Severity Override Items (S=9 or S=10): 2 failure modes -- immediate action required

Above RPN Threshold (100+): 5 failure modes

Highest RPN Identified: 432 -- Database migration corrupts production data

Lowest RPN Identified: 12 -- Environment setup uses wrong server tier

Critical Path of Risk: The highest-risk sequence in this deployment process runs through database migration and client configuration. A migration failure that corrupts production data (RPN 432) can permanently destroy client data and trigger immediate contract review. Even if migration succeeds, an incorrect client-specific configuration (RPN 288) will surface during go-live and create a high-visibility failure at the worst possible moment -- the client's first real use. These two failure modes share a common upstream cause: insufficient pre-deployment validation of environment-specific parameters. A structured pre-deployment checklist with mandatory sign-off by the database administrator and customer success lead, combined with automated configuration validation, would address both failure modes and reduce the combined RPN by approximately 74%.

Top 5 Priorities:

| Rank | ID | Failure Mode | RPN | Severity | Action Owner | Due Date |

|------|----|-------------|-----|----------|-------------|---------|

| 1 | FM5 | Database migration corrupts production data | 432 | 9/10 | Database Administrator | 2 weeks |

| 2 | FM8 | Client configuration does not match agreed spec | 288 | 8/10 | Customer Success Lead | 3 weeks |

| 3 | FM9 | Smoke tests pass but don't cover client-specific workflows | 200 | 8/10 | QA Manager | 4 weeks |

| 4 | FM6 | Database migration partially applies -- referential integrity broken | 175 | 7/10 | Database Administrator | 3 weeks |

| 5 | FM11 | Go-live authorization given without CS sign-off | 168 | 7/10 | DevOps Lead | 2 weeks |


FMEA Worksheet (Complete)

| ID | Process Step | Function | Failure Mode | Failure Effect (Local / Downstream / Client) | Failure Cause | S | O | D | RPN | Score Basis | Current Controls | Control Type | Recommended Action | Action Targets |

|----|-------------|----------|-------------|---------------------------------------------|--------------|---|---|---|-----|------------|-----------------|-------------|-------------------|----------------|

| FM1 | Environment Setup | Provision an environment matching production specs | Wrong environment tier provisioned (under-resourced) | Performance issues at smoke test / Deployment aborted or retested / Client go-live delayed | Manual selection from environment catalog without validation against spec sheet | 5 | 3 | 2 | 30 | Expert estimate* | Environment spec checklist | Prevention | Automate environment provisioning from IaC template tied to client contract tier | Reduce O: 3→1 |

| FM2 | Environment Setup | Provision matching production specs | Environment provisioned in wrong region | Data residency violation at go-live / Regulatory breach for EU clients / Contract breach, potential regulatory fine | Region not parameterized in deployment script; manual override possible | 8 | 2 | 3 | 48 | Expert estimate* | Manual region confirmation step | Detection | Hard-code region in client deployment profile; add region validation gate before provisioning proceeds | Reduce O: 2→1, Improve D: 3→1 |

| FM3 | Code Deployment | Deploy correct build artifact to environment | Wrong build artifact deployed (previous version or wrong branch) | Deployment completes but with wrong code / Smoke tests may pass against wrong version / Client receives outdated or incorrect product | No mandatory artifact hash verification; branch selection is manual | 7 | 3 | 4 | 84 | Expert estimate* | Deployment log reviewed post-hoc | Detection | Implement SHA-256 artifact hash verification as a mandatory deployment gate; fail deployment if hash does not match release manifest | Improve D: 4→1 |

| FM4 | Code Deployment | Deploy code without service interruption | Deployment causes unplanned downtime during deployment window | Extended deployment window / Client SLA breach if in agreed window / Client-visible outage | Non-zero-downtime deployment strategy; no blue-green or canary deployment | 6 | 4 | 3 | 72 | Historical -- 2 staging incidents | Pre-deployment maintenance window notification | Mitigation | Implement blue-green deployment strategy to eliminate downtime during code switch | Reduce S: 6→2 (eliminate downtime as a failure mode) |

| FM5 | Database Migration | Migrate schema and data without corruption or loss | Migration corrupts production data | Data unreadable or structurally broken / Application non-functional / Client data loss; contract review; potential regulatory breach for regulated data | Migration script not validated on production-equivalent dataset; destructive operations without rollback | 9 | 6 | 8 | 432 | Historical -- staging corruption event confirmed | Post-migration data count check | Detection | 1) Mandatory dry-run on production-equivalent data snapshot before every production migration. 2) Automated rollback procedure tested and validated. 3) Checksum validation of critical tables pre- and post-migration with automated pass/fail gate | Reduce O: 6→2; Improve D: 8→2 |

| FM6 | Database Migration | Migrate schema and data completely | Migration partially applies -- referential integrity constraints broken | Application writes succeed but reads produce errors / Smoke tests may pass for simple paths / Client experiences data inconsistency errors on complex workflows | Multi-step migration not transactional; partial failure leaves database in mixed state | 7 | 5 | 5 | 175 | Expert estimate* | Manual

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.