sweep-reds

GitHub

用于修复CI失败并恢复队列的技能。首先验证基础分支健康状态,随后逐个处理受影响PR,通过精确证据进行故障复现与最小化修复,严禁合并或弱化测试,确保CI流程合规恢复。

config/quality/skill-templates/sweep-reds/SKILL.md cheaper-inference/OmniRoute

触发场景

请求清理CI红色构建(sweep reds) 需要恢复CI队列以继续开发

安装

npx skills add cheaper-inference/OmniRoute --skill sweep-reds -g -y
更多选项

非标准路径

npx skills add https://github.com/cheaper-inference/OmniRoute/tree/release/v3.8.53/config/quality/skill-templates/sweep-reds -g -y

不安装直接使用

npx skills use cheaper-inference/OmniRoute@sweep-reds

指定 Agent (Claude Code)

npx skills add cheaper-inference/OmniRoute --skill sweep-reds -a claude-code -g -y

安装 repo 全部 skill

npx skills add cheaper-inference/OmniRoute --all -g -y

预览 repo 内 skill

npx skills add cheaper-inference/OmniRoute --list

SKILL.md

Frontmatter
{
    "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.

版本历史

  • d804179 当前 2026-10-19 14:20

同 Skill 集合

config/quality/skill-templates/green-prs/SKILL.md
config/quality/skill-templates/merge-batch/SKILL.md
config/quality/skill-templates/merge-prs/SKILL.md
config/quality/skill-templates/quality-scan/SKILL.md
config/quality/skill-templates/validate-release-green/SKILL.md
skills/cli-a2a/SKILL.md
skills/cli-backup-sync/SKILL.md
skills/cli-batches/SKILL.md
skills/cli-chat/SKILL.md
skills/cli-compression/SKILL.md
skills/cli-contexts/SKILL.md
skills/cli-cost-usage/SKILL.md
skills/cli-eval/SKILL.md
skills/cli-health/SKILL.md
skills/cli-keys/SKILL.md
skills/cli-mcp/SKILL.md
skills/cli-models/SKILL.md
skills/cli-plugins-skills/SKILL.md
skills/cli-policy-audit/SKILL.md
skills/cli-providers/SKILL.md
skills/cli-resilience/SKILL.md
skills/cli-routing/SKILL.md
skills/cli-serve/SKILL.md
skills/cli-setup/SKILL.md
skills/cli-skill-collector/SKILL.md
skills/cli-tunnel/SKILL.md
skills/config-codex-cli/SKILL.md
skills/omni-agents-a2a/SKILL.md
skills/omni-api-keys/SKILL.md
skills/omni-auth/SKILL.md
skills/omni-budget/SKILL.md
skills/omni-cache/SKILL.md
skills/omni-cli-tools/SKILL.md
skills/omni-combos-routing/SKILL.md
skills/omni-compression/SKILL.md
skills/omni-context-rtk/SKILL.md
skills/omni-db-backups/SKILL.md
skills/omni-github-skills/SKILL.md
skills/omni-inference/SKILL.md
skills/omni-mcp/SKILL.md
skills/omni-models/SKILL.md
skills/omni-providers/SKILL.md
skills/omni-proxies/SKILL.md
skills/omni-resilience/SKILL.md
skills/omni-settings/SKILL.md
skills/omni-sync-cloud/SKILL.md
skills/omni-tunnels/SKILL.md
skills/omni-usage-logs/SKILL.md
skills/omni-version-manager/SKILL.md

元信息

文件数
0
版本
5dbd2eb
Hash
7ff04919
收录时间
2026-10-19 14:20

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 01:03
浙ICP备14020137号-1