qa-release-gate

Synthesizes diff forensics, coverage adequacy, and open-defect posture into a human-confirmed Go, Conditional-Go, or No-Go release gate decision.

Qu'est-ce que qa-release-gate ?

qa-release-gate is a Claude Code agent skill that synthesizes diff forensics, coverage adequacy, and open-defect posture into a human-confirmed Go, Conditional-Go, or No-Go release gate decision.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HBaHa1303/qa-skills/tree/HEAD/skills/qa-release-gate

Installed? Explore more Développement et programmation skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

QA Release Gate

Synthesize release diff forensics, coverage adequacy, migration/rollback readiness, and open Defect posture into an evidence-backed Go, Conditional-Go, or No-Go Release Gate decision governed by a mandatory 2-step Draft-then-Confirm human gate and structured 7-field Waiver accountability.

Guardrails, Language & Boundaries

  • Read-only on code, tests, and external trackers: Inspect repository files, .qa/reports/, .qa/suites/, .qa/bugs/, and tracker records read-only; leave application source code, tests, schemas, and external tracker records untouched. Persist output solely to .qa/reports/<slug>-release-gate.md when chaining .qa/reports/<slug>-* checkpoints or explicitly requested by the user.
  • No Raw Secrets Rule: Never read .env, private keys, or credential dumps, and never echo literal tokens, passwords, or keys found in configs or logs; mask any discovered literal as <REDACTED> and cite only file:line and variable name.
  • Zero-config context load: Read GLOSSARY.md, docs/qa/context.md, docs/qa/bug-tracker.md, and docs/agents/issue-tracker.md if present; fall back silently to .qa/ defaults (.qa/reports/, .qa/suites/, .qa/bugs/) when absent.
  • Bilingual policy: Keep SKILL.md schema keys, report headings, Waiver field names, GLOSSARY.md terms, Severity (S1-Blocker–S4-Minor) & Priority (P0-Immediate–P3-Low) codes, coverage verdicts (Adequate, Needs Hardening, Inadequate), Unverified tags, and Release Gate verdicts (Go, Conditional-Go, No-Go) in English. Adapt conversational output (Draft Gate Summary, confirmation questions, Final Release Gate narrative) to the user's prompt language (English or Vietnamese), and honor Artifact language in docs/qa/context.md when persisting .qa/reports/<slug>-release-gate.md.
  • Gating-only boundary: Synthesize readiness evidence, enforce the gating rubric, and govern Waiver confirmation. Route root-cause debugging to qa-investigate-defect, tracker mutations or retests to qa-triage-defect, and deep forensics to qa-audit-diff or qa-audit-coverage.

Step 1 — Intake Release Evidence & Apply Missing-Evidence Fail-Safe

  1. Resolve release target & <slug>: Identify the release tag, branch/PR, or .qa/reports/<slug>-* bundle and derive a kebab-case <slug> (^[a-z0-9-]+$).
  2. Collect the 4 evidence pillars (context-light first): When .qa/reports/<slug>-<stage>.md checkpoints exist, read their YAML frontmatter and <= 25-line ## Handoff Summary first, zooming into full bodies only where needed:
    • Diff Forensics & Rollback Readiness (.qa/reports/<slug>-diff-audit.md or user-supplied diff): Extract Diff Risk Posture, outward Blast Radius, Opaque Blind Spots, and Migration & Compatibility Defect / schema rollback readiness.
    • Coverage Adequacy (.qa/reports/<slug>-coverage-audit.md or user-supplied audit): Extract overall coverage verdict (Adequate | Needs Hardening | Inadequate), P0 / Auth & Permission Leak / Data Integrity gaps, False-Confidence Test findings, and failing or blocked critical test results.
    • Open Defect Posture (.qa/reports/<slug>-defect-scan.md or read-only metadata-only scan of docs/qa/bug-tracker.md / docs/agents/issue-tracker.md / .qa/bugs/): Query metadata-only fields (ID, title, labels/Severity/Priority, state, touched module/file, URL)—omit full descriptions and comment threads unless zooming into an S1-Blocker/P0-Immediate candidate—to collect repo-wide open S1-Blocker / S2-Critical / P0-Immediate / P1-High Defects, open Defects touching changed modules, and any wontfix residual risks.
    • Operational Context: Check migration/rollback runbooks, feature flags/kill switches, release deadline, and runtime verification notes.
  3. Missing-Evidence Fail-Safe (when upstream Pillar 2/5 reports are absent):
    • Run a lightweight inline gap check whenever repository files, tests, .qa/suites/, or tracker records are accessible (inspect changed critical paths, auth/data-integrity/migration changes, recent test execution output, and metadata-only .qa/bugs/ or tracker records).
    • Explicitly tag every unchecked or inaccessible pillar or module Unverified in the criteria matrix—never assume clean status without evidence.
    • Block a clean Go: Missing critical diff or coverage evidence prevents Go (resulting in Conditional-Go at best with explicit Waivers for non-critical Unverified areas, or No-Go when P0, Auth & Permission Leak, Data Integrity, or migration rollback readiness remains Unverified).
    • Recommend running qa-audit-diff and qa-audit-coverage in separate fresh sessions to replace Unverified gaps with full evidence.

Completion criterion: All 4 evidence pillars are inventoried, every absent or inaccessible area is tagged Unverified via the lightweight inline check, and clean Go is blocked whenever required evidence is missing.


Step 2 — Apply Gating Rubric & Structure Waiver Governance

Load references/gating-rubric-and-waivers.md before locking the verdict or drafting any Waiver. Evaluate verdicts strictly from top to bottom (No-Go -> Conditional-Go -> Go):

  1. No-Go (Hard Blockers — evaluated first): Any condition below mandates No-Go:
    • Any open S1-Blocker or P0-Immediate Defect (cannot be directly waived; the human team must fix the Defect before release or explicitly downgrade Severity with documented technical justification, such as a proven disabled feature flag or bounded Blast Radius evidence, recorded via qa-triage-defect).
    • Inadequate coverage on P0, Auth & Permission Leak, or core Data Integrity flows (or Unverified critical P0 / Auth / Data Integrity paths).
    • Missing or unsafe database/schema migration rollback plan, or an unmitigated Migration & Compatibility Defect under rolling deployment.
    • Unexplained failing or blocked critical (P0/P1) tests.
  2. Conditional-Go (100% Waiver-Governed): Permitted only when zero S1-Blocker or P0-Immediate Defects are open, all P0 flows are verified, migration and rollback readiness pass, and 100% of accepted S2-Critical / S3-Major Defects, Needs Hardening coverage exceptions, or non-critical Unverified areas carry a complete 7-field Waiver:
    • Waiver ID (WVR-01, WVR-02, ...)
    • Item / Defect Ref
    • Risk Description
    • Mitigation / Workaround
    • Follow-up Ticket & Target Deadline
    • Approver (Human Owner) (named person—never "TBD" or "team")
    • Confirmed (Yes/No)
  3. Go (Clean Release): Permitted only when zero S1-Blocker or S2-Critical open Defects exist, zero P0-Immediate open Defects exist, critical coverage is Adequate, Blast Radius and migration/rollback readiness pass, all critical tests pass, and zero required evidence areas are Unverified.

Completion criterion: Proposed verdict strictly obeys the No-Go -> Conditional-Go -> Go precedence, zero S1-Blocker / P0-Immediate Defects are waived, and every non-blocker exception is drafted with all 7 Waiver fields.


Step 3 — Execute Mandatory 2-Step Draft-then-Confirm Human Gate

Follow references/report-template.md for exact Draft and Final report formats:

  1. Gate Step A — Present Draft Gate Summary & Pause: Output the Draft Gate Summary in chat showing:
    • Proposed verdict (Go | Conditional-Go | No-Go) and evidence rationale.
    • Criteria matrix (Pass | Fail | Waived | Unverified).
    • Open Defects (S1–S4, P0–P3) and any S1/P0 hard blockers requiring a fix or justified Severity downgrade.
    • Coverage, Blast Radius, and migration/rollback gaps.
    • Pending 7-field Waiver table (Confirmed (Yes/No) set to No (Pending), highlighting any missing owner, ticket, or deadline).
    • Missing context / Unverified items and specific confirmation questions for the human decision-maker.
  2. Wait for explicit human confirmation: Pause before emitting any final verdict. Collect explicit human approval or edits for every Waiver (Confirmed: Yes, named Approver (Human Owner), Follow-up Ticket & Target Deadline), any missing operational context, or any justified Severity downgrade. If any S1/P0 blocker remains unresolved or any required Waiver is rejected or incomplete, the final verdict remains No-Go.
  3. Gate Step B — Emit Final Release Gate Report: After receiving explicit human response, recompute the verdict strictly from verified evidence and confirmed 7-field Waivers (Confirmed: Yes across 100% of accepted exceptions) and emit the Final Release Gate Report in chat.

Completion criterion: Draft Gate Summary was presented first, explicit human confirmation resolved every Waiver and missing-context item, and Final Release Gate Report reflects only confirmed decisions.


Step 4 — Persist Checkpoint Report (Conditional)

Persist .qa/reports/<slug>-release-gate.md only when chaining .qa/reports/<slug>-* checkpoints or explicitly requested by the user:

  • Open with the standardized checkpoint YAML frontmatter (skill: qa-release-gate, stage: release-gate, status, target, slug, date, artifact_language, confidence, upstream_refs, skipped_stages) and a <= 25-line ## Handoff Summary from references/report-template.md, followed by the Final Release Gate Report.
  • Redact any secrets (<REDACTED>) and leave source code, tests, and external trackers untouched.

Completion criterion: .qa/reports/<slug>-release-gate.md (when written) contains valid checkpoint YAML frontmatter, a <= 25-line ## Handoff Summary, and the confirmed Final Release Gate Report with zero unredacted secrets.

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

Skills associés