Skip to content
Back to skills

Shadow Execution Gate

ASecurity

Run a Shadow Execution Gate for high-risk changes using isolated replay, objective evidence, and promotion criteria

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
testinggo

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill shadow-execution-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shadow Execution Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shadow Execution Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-shadow-execution-gate/badge)](https://www.skillsdirectory.com/skills/jleechanorg-shadow-execution-gate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Run a Shadow Execution Gate for high-risk changes using isolated replay, objective evidence, and promotion criteria
type: process
scope: project
---

# Shadow Execution Gate

## Purpose
Use a reproducible shadow run before promotion when changes are risky, cross-cutting, or expensive to debug post-merge.

This is a general software technique, not PairV2-specific.

## When to use it
- Runtime/orchestration changes.
- CI workflow or environment changes.
- Refactors touching multiple subsystems.
- Any change where a rollback would be costly.
- Any PR with unclear integration risk.

## Trigger policy (default)
Run Shadow Execution when any condition is true:
1. A critical path file is changed.
2. Changed files >= 8.
3. Core diff size >= 150 lines.
4. Prior incident/flakiness exists in touched area.

## Core workflow
1. Build candidate from current branch.
2. Re-apply/replay in isolated workspace (`/tmp/.../shadow/...`).
3. Execute representative tasks/tests (small + large scenario where relevant).
4. Collect evidence bundle.
5. Compare against gate criteria.
6. Produce explicit decision: `READY_FOR_PROMOTION` or `NOT_READY`.

## Evidence bundle (minimum)
- Exact commit SHA and branch.
- Commands executed.
- Pass/fail summary.
- Runtime/latency and retry metrics where applicable.
- Artifact completeness/missing artifacts.
- Key logs for failed steps.
- Decision rationale tied to acceptance criteria.

## Decision rules
- Promote only if all required criteria pass and no critical regressions are observed.
- If any required criterion fails, block promotion and record targeted follow-up work.

## Reporting template
- Scope tested:
- Scenarios executed:
- Evidence summary:
- Regressions found:
- Decision:
- Required follow-up:

## Anti-patterns
- Treating a single local test run as equivalent to shadow validation.
- Skipping artifact/log capture.
- Declaring success without explicit go/no-go criteria.
- Relying on implicit confidence instead of measured evidence.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.