Skip to content
Back to skills

Sweep Reds

ASecurity

Repair confirmed CI failures base-first, then prepare affected PRs one at a time with exact-candidate evidence. Use when asked to sweep reds or restore the queue. Never merges, closes PRs, weakens tests, or changes CI under ordinary sweep authority.

  • 72,229 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
ai-agentsrust

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add diegosouzapw/OmniRoute --skill sweep-reds --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sweep Reds?

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

Security grade badge for Sweep Reds
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-sweep-reds/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-sweep-reds)

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: sweep-reds
description: Repair confirmed CI failures base-first, then prepare affected PRs one at a time with exact-candidate evidence. Use when asked to sweep reds or restore the queue. Never merges, closes PRs, weakens tests, or changes CI under ordinary sweep authority.
---

# Sweep reds: base first, then affected PRs

Read `../_shared/base-green.md` and `../_shared/validation-gate.md`.
Success means verified required checks, not a disappearing incident or green wrapper.

## Boundaries

- Never merge, close PRs or change release-freeze state through this skill.
- Never stash, alter the shared checkout, or touch another session's active worktree.
- Never weaken assertions, expand tolerances, suppress failures or raise a baseline
  to make a check green. A proven workflow defect requires an explicitly scoped
  gate-repair task; ordinary sweep authorization does not authorize CI mutation.
- Run live credentialed/paid tests, deployment or trust approvals only with the
  appropriate owner authorization. Missing access is HOLD, not PASS.

## A. Base health

1. Resolve live main/release refs and freeze state read-only. Confirm the intended
   development branch; a frozen branch remains off limits.
2. Follow the shared exact-SHA evidence protocol. Closed/missing incidents mean
   UNKNOWN unless current applicable executions establish PASS. A quick observer
   receipt is partial; the last incident comment is only a diagnostic worklist.
3. Reproduce each signature on an isolated pinned base. Keep setup/install failures
   separate from assertions. Open one owned branch/worktree per independently
   reviewable repair, with RED-to-GREEN proof; avoid duplicating another session's PR.
4. Prepare/babysit the fix PR under the authorized scope, then hand it to the owner.
   Do not claim the base is repaired until the fix is integrated and the new exact
   base passes. The authorized observer, not this skill, manages its incident.

## B. PR queue

Inventory requested open PRs and their current head/base/candidate identities.
Classify required failure, advisory failure, pending, stale, cancelled and approval
needed separately. Work one PR at a time, checking ownership before each mutation.

An inherited label requires the same measured signature on the exact base, not
membership in an old incident list. For stale evidence, obtain a newly constructed
candidate under the current base; a rerun still uses the original run identity.
Updating a contributor branch or approving a fork run needs its own authority.

An advisory check is nonblocking only if the current policy says so. Its failure
may be a real product defect; advisory is not an infrastructure diagnosis. A PR
with advisory failures is admissible only after all required applicable gates
pass on the current candidate and the remaining risks are reported.

For proven PR defects use the `/babysit` repair discipline: RED, minimal fix,
focused/affected suites and complete candidate validation. Preserve contributor
credit. If five iterations do not converge, report the evidence and owner decision
needed, then continue eligible independent items; never relabel failure as green.

## Report

Record base and PR SHAs, failure signatures/counts, causal confidence, commits,
run/attempt/artifact evidence, full versus partial validation and holds. Keep
advisory debt visible. Hand the owner the prepared PRs and unresolved decisions;
this skill never authorizes their merge.

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.

Comments

Loading comments…