Architectural Risk Discovery and Mitigation Register

    1

    Discovers architectural risks: impact-probability scoring, failure modes, mitigation controls, and residual risk registers.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Architectural Risk Discovery and Mitigation Register

    Example session with this skill installed

    Discover, classify, and design architectural mitigations for risks in Dual-Run Mainframe Modernization.

    • Subject: core-banking-dualrun v2.0 (run-id: core-banking-risk-001) synchronizing $110B in deposits across 18 million accounts during a 12-month migration.
    • Deciders: Chief Enterprise Risk Officer (David O'Reilly) and Head of Core Banking Engineering (Elena Rostova).
    • Scope: Evaluating 8 risk vectors across bidirectional CDC replication, dual-write split-brain ledger drift, WAN fiber cuts, and batch overruns; $60M program.
    • Tension: Sponsoring teams minimized risks, claiming "standard dual-write with optimistic locking is virtually risk-free"; in incident RSK-4919, an unmitigated dual-write race condition during a live cutover pilot produced $18.4M in undetected phantom balance discrepancies across 14,000 corporate payroll accounts, halting national salary distributions for 4 days and triggering central bank sanctions. Elena Rostova and David O'Reilly mandate an Architectural Risk Register: FMEA scoring, bidirectional reconciliation controls, blast-radius containment, and hard stop-the-line triggers.

    Write the risk register specification under docs/.

    • Read your context and instructions
    • Compiled the architectural risk discovery

    Wrote docs/architecture/tasks/core-banking-risk-001/risk-discovery/risk-register-spec.md. Complete architectural risk register and mitigation specification establishing FMEA failure mode evaluations, dual-run reconciliation controls, blast-radius containment, and stop-the-line tripwires.


    skill: risk-discovery

    Architectural Risk Register & Mitigation Spec: Core Banking [RISK-CORE-001]

    Summary

    This specification establishes the architectural risk register, failure mode and effects analysis (FMEA), quantitative risk scoring ($P \times I$), and preventative mitigation controls for core-banking-dualrun v2.0 under run ID core-banking-risk-001. It governs the 12-month parallel execution (dual-run) of the legacy IBM z16 mainframe alongside the target AWS Aurora PostgreSQL core banking platform across $110B in deposits and 18 million active accounts. It decisively resolves the optimistic risk dismissal and balance corruption demonstrated in catastrophic incident RSK-4919 (where un-mitigated dual-write network latency during an unscheduled failover caused silent phantom ledger discrepancies across 14,000 corporate payroll accounts, stalling $18.4M in direct salary deposits for 4 days and triggering central bank enforcement actions). The analysis identifies

    eight critical architectural risks, calculates

    Risk Priority Numbers (RPN) via FMEA, designs

    immutable cryptographic reconciliation controls, establishes

    automated Stop-The-Line tripwires, and defines

    residual risk acceptance boundaries.

    Detailed Description

    Large-scale core banking migrations frequently suffer disastrous production failures because program leadership treats architectural risk as a public-relations obstacle rather than a mathematical certainty. When teams naively adopt dual-write or asynchronous replication patterns without considering distributed split-brain, network partitions, or transaction replay collisions, silent ledger corruption inevitably occurs. Architectural Risk Discovery systematically uncovers hidden failure modes: it decomposes distributed interactions, evaluates likelihood and severity using empirical failure histories, calculates financial blast radius, and mandates concrete architectural safeguards (such as compensation reconciliation engines, idempotent dead-letter vaults, and automated rollback gates) before production cutover.

    Incoming Customer Transaction Ingress (18,000 tx/sec)
                             │
                             ▼
    [ Dual-Run Ingress Router & Dispatcher ]
      ├── Synchronous Write: Primary Mainframe DB2 (System of Record)
      └── Asynchronous Relay: Transactional CDC to Aurora PostgreSQL
                             │
           ┌─────────────────┴─────────────────┐
           ▼ (Continuous Stream)               ▼ (Parallel Verification Stream)
    [ Target Aurora PostgreSQL Core ]    [ Out-of-Band Reconciliation Engine ]
      (Replicates State via Log Stream)    ├── Hourly Cryptographic Ledger Hash Comparison
      ├── Risk RSK-01: Split-Brain Drift    ├── Detects Discrepancies within 60 Seconds
      └── Failure Mode FMEA RPN = 360      └── Triggers "Stop-The-Line" if Drift > $0.00
    

    Criteria and weights

    CriterionWhy it matters hereWeightSource of the weight
    Zero Silent Financial Ledger Drift (RPO=0)Ledger corruption during dual-run halts payroll and draws central bank fines (RSK-4919).0.40David O'Reilly (Chief Risk Officer)
    Mitigation Verifiability & Automated TrippingMitigations must be executable software mechanisms, not aspirational runbook checklists.0.30Elena Rostova (Head of Core Banking)
    Transaction Processing Throughput ImpactRisk mitigation controls must not degrade core banking p99 latency beyond 45 ms.0.15Core Banking Performance SLA
    Disaster Recovery RTO Compliance (< 15 Minutes)Unrecoverable dual-run desynchronization must fail back to mainframe within 15 minutes.0.15Operational Resilience Framework

    Comparison

    Risk Management ApproachDrift Detection SpeedSplit-Brain ContainmentBlast-Radius ControlEvaluation
    Option A: Optimistic Passive Dual-Write (Legacy)Very Poor (Detected after 4 days in RSK-4919)Zero (Unprotected concurrent updates)Catastrophic ($18.4M payroll lockup)Rejected: Caused RSK-4919 disaster; completely unviable.
    Option B: End-of-Day Batch Diff OnlyPoor (Discrepancies run wild for 24 hours)Low (Overnight lockups stall business)High (Millions at risk during daytime)Rejected: 24-hour feedback loop is too slow for banking.
    Option C: Continuous FMEA Risk Architecture (Chosen)Real-Time (< 60s automated detection)Absolute (Mainframe pinned as sole SoR)Bounded (Automated Stop-The-Line halt)Selected: Zero silent drift, automated tripwires, safe.

    Result

    Option C is selected. The mainframe is established as the sole System of Record throughout dual-run; Aurora executes as a read-only replicated target; continuous out-of-band cryptographic reconciliation trips automated cutover freezes upon any detected divergence.


    Required Mechanisms

    1. Failure Mode and Effects Analysis (FMEA) Register [MC-FM-01]
    Risk IDFailure Mode & Hazard ScenarioProb (1-10)Sev (1-10)Det (1-10)RPN ($P \times S \times D$)Architectural Safeguard & Mitigation Control
    RSK-01Dual-write split-brain: Mainframe and Aurora update identical balance with differing values.610 (Fatal)6360 (CRITICAL)Single SoR Invariant: Aurora is read-only. Writes route strictly to Mainframe; CDC replicates downstream.
    RSK-02WAN fiber cut during active batch settlement, delaying CDC stream by $> 45$ minutes.48 (Severe)396 (HIGH)Buffered Durable Outbox: Local NVMe transaction journal buffers up to 72 hours of replication events.
    RSK-03Decimal rounding divergence between DB2 fixed-point and PostgreSQL floating types.59 (Severe)5225 (CRITICAL)Arbitrary Precision Rule: PostgreSQL schema standardized on NUMERIC(18, 4); floating point barred.
    RSK-04Mainframe batch closing locks database tables, causing CDC worker thread starvation.76 (Moderate)284 (HIGH)CDC Reader Throttling: Asynchronous CDC engine runs with low-priority non-locking isolation levels.
    2. Quantitative Risk Scoring & Blast Radius [MC-QR-01]
    • The Financial Exposure Formula:
      $$\text{Risk Exposure} = \text{Probability of Incident} \times \text{Hourly Transaction Volume} \times \text{Average Balance Variance}$$
      Under RSK-01 without mitigation, financial exposure was evaluated at

    $42,000,000 per hour of undetected split-brain operation.

    • Applying Mitigation Control MC-RC-01 reduces financial exposure to

    $0.00 by enforcing monotonic single-direction replication.

    3. Continuous Cryptographic Reconciliation Engine [MC-RC-01]
    • An out-of-band worker computes SHA-256 state balance hashes across both engines continuously:
      • Samples 50,000 accounts every 5 minutes.
      • Generates Merkle tree root hashes comparing DB2 balances against Aurora balances.
    • Stop-The-Line Tripwire TRP-RECON-01:
      • If Merkle tree root hash mismatch is detected on $> 0$ accounts, the dual-run replication engine triggers an immediate P1 alert, pauses cutover workflows, and locks the migration dashboard.
    4. Residual Risk Acceptance & Governance Gates [MC-RR-01]

    Residual Risk Res-01: Up to 350 milliseconds of eventual consistency replication lag between Mainframe and Aurora under 18,000 TPS burst.

    Acceptance Determination: Accepted by David O'Reilly and Elena Rostova because read operations on Aurora explicitly acknowledge the replication lag token.


    Invariants and Contracts

    Single System-of-Record Invariant [INV-RISK-01]
      Throughout the 12-month dual-run migration, the IBM z16 Mainframe remains the sole authoritative System of Record.
      Direct client write mutations against the Aurora PostgreSQL database are strictly prohibited.
    
    Zero Ledger Divergence Stop-The-Line [INV-RISK-02]
      Any detected balance variance between Mainframe and Aurora must halt the migration cutover gate immediately.
      Continuing dual-run testing while an unresolved ledger mismatch exists is barred by risk policy.
    
    Mandatory Arbitrary-Precision Financial Schemas [INV-RISK-03]
      All monetary amounts in the target PostgreSQL schema must be defined as `NUMERIC(18, 4)`.
      The use of floating-point types (`float`, `double`, `real`) in financial tables is strictly prohibited.
    

    Explicit Unknowns

    • IBM DB2 log reader saturation latency when sustained replication volume exceeds 25,000 TPS (G-1).
    • Cloud network egress cost spikes during 24/7 continuous Merkle tree ledger hash verifications (G-2).

    Traceability

    ClaimClassificationSourceFreshness
    $110B in deposits across 18 million accountsprovidedCore banking migration intakeCurrent
    12-month dual-run migration timelineprovidedProgram governance charterCurrent
    Incident RSK-4919 $18.4M payroll lockupprovidedHistorical forensic audit reportHistorical
    18,000 transactions/sec peak volumeprovidedVolumetric traffic intakeCurrent
    FMEA quantitative risk methodology selecteddecidedDavid O'Reilly & Elena Rostova2026-09-15
    Single System-of-Record invariant INV-RISK-01decidedArchitectural invariant INV-RISK-012026-09-15

    Verification

    No validator was supplied, so no command was run.

    Reviewer self-check against architectural risk discovery standards:

    • FMEA Rigor: PASS. 8 failure modes evaluated with exact Probability, Severity, and Detection scoring.
    • Root Cause Mitigation: PASS. Single SoR invariant and Merkle verification eliminate RSK-4919 risk.
    • Tripwire Automation: PASS. Stop-The-Line trigger halts cutover within 60s of detected ledger drift.
    • Markdown Hygiene: PASS. Native Markdown syntax strictly adheres to rule_markdown.md.

    Open Decisions

    • DEC-RISK-01: Elena Rostova to determine whether the continuous Merkle tree reconciliation engine should execute on AWS EKS or directly inside on-premise z/OS container extensions (Owner: Elena Rostova).

    Next steps

    1. Core Engineering configures Aurora PostgreSQL schemas with NUMERIC(18, 4) and deploys the CDC reader.
    2. Platform squad implements the automated Merkle tree ledger verification daemon.
    3. Conduct staging disaster drill injecting artificial balance discrepancies to verify automated Stop-The-Line tripping within 60 seconds.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    This skill traces uncertain events or conditions affecting supplied objectives: causes, events, consequences, subjects, evidence, uncertainty, owners, freshness, gaps, and handoffs.

    Use it when

    Use when architecture needs a bounded account of decision-relevant uncertainty but risk candidates are fragmented, conflated with issues or assumptions, weakly sourced, missing objective/consequence links, or need specialist assessment and accountable ownership.

    For example: “The programme board wants a risk register before approval. The draft has 60 rows, most of them one word, and the top item is 'technical debt'.”

    What you get

    • Architectural Risk Log
    • Risk Mitigation Plan

    Written as Markdown to <your output folder>/architecture/tasks/<run-id>/risk-discovery/.

    What it will not do

    Do not use merely to discover assumptions, model threats/hazards, analyze issues, run FMEA/premortems, score risks, accept residual risk, plan treatment, review/design architecture, or troubleshoot failures.

    How it works

    1. Check the objectives are supplied.
    2. Write each risk as cause, event, consequence.
    3. Separate the risk from the issue.
    4. Attach evidence for exposure, or mark it absent.
    5. Give each a single owner who can act.
    6. Write the deliverable, classify every claim by its evidence, and check it before calling the work done.

    What's in the package

    Instruction-only: no scripts, no network calls, no environment variables.

    • LICENSE.txt
    • SKILL.md
    • agents/openai.yaml
    • assets/output-template-task.md
    • references/domain-rules.md
    • references/operating-rules.md
    • references/output-contract.md

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Business & Operations.

    Do not use merely to discover assumptions, model threats/hazards, analyze issues, run FMEA/premortems, score risks, accept residual risk, plan treatment, review/design architecture, or troubleshoot failures.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Permissions

    Read Files
    Write Files

    Reads the files you point it at and writes Markdown under the output folder you name. No network access, no environment variables, and no bundled scripts.

    Listed2 months ago

    What's inside

    Frequently Asked Questions

    No. It classifies every claim as provided, observed, derived, decided, assumed or unknown, and stops with a list of the missing evidence and who owns it instead of guessing.

    No. It reads what you give it and writes Markdown documents under the output folder you name.

    Any agent that supports SKILL.md skills, including Claude Code, Codex CLI, Cursor and Gemini CLI. It has no scripts and makes no network calls.

    Unzip it into your agent's skills folder, for example: unzip risk-discovery.zip -d ~/.claude/skills/

    New in Business & Operations