← 返回列表
全部 Skill›DevOps›openclaw-repair-sweep

openclaw-repair-sweep

作者 @openclaw · 语言 en
Orchestrate worker fleets over OpenClaw issues and PRs: prove root causes, prefer clean refactors over quick patches, land verified repairs, and close items proven fixed or no longer useful.
DevOpsGit 工作流通用访问网络待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
395,109
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

OpenClaw Repair Sweep

Use for a multi-item repair campaign. Root AGENTS.md owns repair and safety

policy; $openclaw-pr-maintainer owns item review, GitHub writes, and landing.

The lead remains hands-on and delegates independent work where useful.

Scope and authority

  • Explicit refs imply a bounded ref campaign. Otherwise discovery defaults to

five qualified items (maximum twenty per batch); a whole-queue request means

continuing through that queue. Do not pad low-confidence findings.

  • Honor requested workers and focus. Ref/discovery campaigns normally use up to

eight item owners; a queue campaign can assign up to sixty-four, but actual

active proof workers must fit host/remote capacity. Start small and scale on

observed resource health; assigned is not the same as running.

  • An explicit autonomous fix-and-land/sweep invocation covers scoped investigation,

repairs, commits, pushes, PRs, verified landings and proven closures. Review,

triage, or list wording stays read-only; fix-only stops before publication.

Never infer release, schema/config/protocol, credential, security, or product

approval from campaign authority.

Use $gitcrawl for available archive discovery, $openclaw-testing for proof,

$autoreview for independent code review, and $crabbox when the proof requires

remote environment or untrusted-source isolation. Author-history research is

conditional on a concrete question, not a campaign prerequisite.

Coordinate ownership

Assign each item or shared root-cause cluster one owner, a checkout, frozen

source SHA, authorized actions, and a useful stopping condition. Duplicate

symptoms share an owner; repeated defect classes should be repaired in the

canonical owner rather than by parallel near-identical patches.

Use isolated issue/PR worktrees and preserve unrelated files. Serialize shared

fetch/ref/branch/worktree operations, PR preparation, and merges in short slots;

never hold the slot across coding, tests, or a remote wait. Each remote lease has

one owner and one active command. Pause only campaign-owned work under resource

pressure, and preserve patches, claims, proof, and checkpoints before replacement.

The lead may take over stalled work safely; it is not an orchestration-only role.

Read root and scoped guides before acting. Each verdict-bearing worker inspects

its relevant dependency contracts directly, including the root's personal Codex

source requirement. The lead verifies consequential results, not just summaries.

Use independent challenge for nontrivial repairs and closure evidence; one

independent autoreview is enough for the code-review requirement.

Investigate and repair

Search existing work before creating another fix: current body/comments, related

archive results, live state when it matters, and current source/history. Use bare

PATH gh with narrow JSON fields; reuse shared evidence and avoid unnecessary

pagination or repeated item fetches.

Prefer, in order:

  1. Prove the original behavior is already fixed on current main and close under

the authorized scope with the canonical fix and evidence.

  1. Finish and verify an existing useful editable PR, preserving human credit.
  2. If that PR cannot safely be updated, create a credited replacement before

closing it. Do not squash a contributor PR after replacing its ancestry.

  1. Implement a new high-confidence repair when no suitable fix exists.
  2. Record a concrete blocker or product/owner decision. A useful independent

simplification may land under its own scope, but it does not close the bug.

A candidate needs a demonstrated current defect, an understood owner and

bounded impact, relevant dependency proof, and feasible validation. Repairs

requiring new dependencies/configuration, public-contract changes, security,

persistence design, or product judgment require their root approvals before

implementation or landing as applicable. Preserve useful investigation; do not

work around the gate or count review-required work as an accepted fix.

Repair the invariant at its owner, cover relevant siblings, and remove connected

obsolete paths when justified. Do not add speculative fallback layers or hardcode

the reported example. Prefer simplicity without a LOC quota. Keep release-note

context and credit in the PR; CHANGELOG.md remains release-owned. Do not force a

second refactor PR after each completed item.

Proof and landing

Choose proportional proof through $openclaw-testing. Trusted development can

run locally; remote compute needs an environment or isolation reason. Untrusted

repository tooling never runs locally or on a credential-hydrated host. Preserve

explicit live requirements and never describe a mock, skipped test, old head, or

unfinished soak as live proof.

Run $autoreview on the completed nontrivial candidate and resolve verified

findings. Re-review substantive changes or unresolved concerns; do not multiply

reviews for mechanical head movement. Address actionable human/bot findings

without a separate Rank-up checklist or score-refresh gate.

Land through the native maintainer workflow only with current required CI and

review evidence. Verify remote merge state and ancestry before counting success.

A timed-out merge request may have succeeded; reconcile it before retrying.

Refresh/rebase for conflicts, failed guards, explicit requests, or material stale

base risk, not merely because main advanced. Delete only owned temporary state.

For broad campaigns, a shared-main failure may justify one separately scoped

repair worker. Check for an existing fix first. Do not duplicate that repair in

every PR or silently expand a bounded ref request to unrelated CI work.

Closure and reporting

Before closing, prove the reporter's primary outcome and affected s

评论
Oopenclaw
openclaw
openclaw/openclaw
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@openclaw
所属大类DevOps / Git 工作流
国内可用性通用
最近源活动—
风险提示访问网络
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。