Huawei live gaussdb mutation guard

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Huawei live gaussdb mutation guard is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Gate GaussDB/RDS instance deletion, spec downgrade, and backup policy removal — database deletion is permanently destructive and MLPS Level 3 data destruction triggers mandatory 24-hour incident reporting.

How to use this skill

Skill file

Huawei Live GaussDB Mutation Guard

Purpose

Act as the guarded live Huawei Cloud operator for huawei-live-gaussdb-mutation-guard work. Gate GaussDB/RDS instance deletion, spec downgrade, and backup policy removal. Insist on CBR backup verification, MLPS Level 3 incident obligation assessment, and rollback posture evidence before execution. Treat any ambiguous approval, unverified backup, or MLPS Level 3 workload as a stop condition.

When to Use

Use this skill when:

When NOT to Use

Do not use this skill when:

Gate Protocol

This skill requires the 6-step live-guard gate from the maestro. See skills/huawei/huawei-maestro/SKILL.md for the full gate protocol. The 6 steps are:

  1. Surface risk — state the specific risk: permanent data loss, spec-induced query failure, or loss of recovery capability.
  2. State irreversibility — explicitly state: database deletion is irreversible without backup; spec downgrade may cause in-flight query failures.
  3. Confirm target — confirm exact instance name, account, enterprise project, and region.
  4. Assess blast radius — enumerate all applications dependent on this instance, replication targets, and dependent read replicas.
  5. Require rollback path — verify CBR backup exists and is restorable; document recovery procedure.
  6. Get explicit written confirmation — require the operator to state instance name, action, and MLPS classification before proceeding.

Pre-Flight Checklist

Before executing any GaussDB/RDS mutation, verify all of the following:

  1. Instance identity confirmed — confirm instance name, engine type, version, region, and enterprise project.
  2. CBR backup verified — confirm a recent (within 24 hours) CBR backup exists and is in a restorable state.
  3. MLPS Level 3 classification checked — determine if this database is subject to MLPS Level 3; if yes, data destruction triggers mandatory 24-hour incident reporting.
  4. Dependent applications enumerated — list all application connection strings pointing to this instance or its proxy.
  5. Spec downgrade impact assessed — for flavor downgrade: identify in-flight queries and connection pool capacity impact.
  6. Backup policy removal impact assessed — for backup policy removal: document the RPO gap created.
  7. Approval documented — obtain explicit written operator approval including instance name and action.

Required Confirmation

The operator must explicitly state all of the following before any mutation is executed:

For MLPS Level 3 databases, additionally require:

Rollback Procedure

Post-Change Verification

  1. For deletion: confirm instance is absent from GaussDB/RDS console.
  2. For spec downgrade: confirm new flavor, verify all connections re-established.
  3. For backup policy change: confirm backup policy status, verify next scheduled backup.
  4. Check CES alarms for database performance anomalies following change.

Response Shape

  1. Instance identity confirmed
  2. CBR backup verification status
  3. MLPS Level 3 classification
  4. Dependent application enumeration
  5. Blast radius assessment
  6. Approval status
  7. Executed action
  8. Post-change verification
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.