Skip to content
Back to skills

Regression Sentinel

ASecurity

Pre-flight and post-flight test suite baseline verification with automatic rollback on test failures

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsgit

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add D-Shey/autoharness --skill regression-sentinel --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regression Sentinel?

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

Security grade badge for Regression Sentinel
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/d-shey-regression-sentinel/badge)](https://www.skillsdirectory.com/skills/d-shey-regression-sentinel)

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
---
name: regression-sentinel
description: Pre-flight and post-flight test suite baseline verification with automatic rollback on test failures
---

# regression-sentinel

## When to use
Use during autonomous or batch task execution loops to protect codebase integrity by catching test regressions immediately and reverting destructive modifications.

## Steps
1. Capture pre-flight baseline:
   - Check clean git working tree state or save SHA/stash.
   - Run baseline test suite command (or fast smoke test).
2. During task execution:
   - Allow modifications within task workspace boundary.
3. Post-flight verification:
   - Run full regression test suite.
   - Compare exit code and failure logs.
4. If regression is detected:
   - Perform atomic rollback (`git restore` or tree restoration).
   - Log the failure reason into `.autoharness/drive_state.json`.
   - Prevent downstream corrupted state from propagating.
5. If verification succeeds:
   - Approve state for commit and milestone completion.

## How to verify
1. Test clean state approval: run verification on passing code, verify status passes.
2. Test regression rejection: introduce an intentional syntax error or failing assertion, verify sentinel triggers rollback and returns non-zero.

## Facts found here
- Automated safety rollbacks eliminate the need for manual intervention during autonomous overnight runs.

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 ai-agents →

Comments

Loading comments…

Newsletter

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