
























@@ -0,0 +1,63 @@
1+---
2+name: openclaw-small-bugfix-sweep
3+description: Fix only small, high-certainty OpenClaw bugs from a pasted issue/PR list after deep code review.
4+---
5+6+# OpenClaw Small Bugfix Sweep
7+8+Batch workflow for pasted OpenClaw issue/PR refs.
9+Execute, do not summarize.
10+Triage does not commit, push, create PRs, comment, close, label, land, or merge.
11+12+## Companion Skills
13+14+Use `$gitcrawl` first, `$openclaw-pr-maintainer` for live GitHub hygiene, `$github-deep-review` posture for source tracing, and `$openclaw-testing` for proof.
15+16+## Loop
17+18+For each ref:
19+20+1. Read live target with `gh`.
21+2. Check `gitcrawl` for related, duplicate, closed, or already-fixed threads.
22+3. Read body, comments, linked refs, changed files, current code, adjacent tests, and dependency contracts when relevant.
23+4. Trace the real runtime path.
24+5. For issues: fix locally only if this is a bug, current code proves root cause, the implicated path is clear, and a narrow patch is cleaner than refactor.
25+6. For PRs: decide `ready-to-merge`, `needs-fixup`, or `skip`; do not alter PR branches unless explicitly asked.
26+7. Add focused regression proof when practical for local issue fixes or PR readiness checks.
27+8. Run the smallest meaningful gate.
28+9. Continue until every pasted ref is fixed or classified.
29+30+No subagents unless explicitly requested.
31+32+## Skip If
33+34+- not a bug
35+- config/docs/workflow/release/support/dependency/product work
36+- repro or root cause is uncertain
37+- larger refactor or owner-boundary change is cleaner
38+- already fixed on current `main`
39+- dependency behavior is guessed
40+- no focused proof is feasible
41+42+Skip with terse reason. Do not pad with low-confidence fixes.
43+44+## Fix Rules
45+46+- owner module first; generic seam only when required
47+- existing patterns/helpers/types
48+- no drive-by refactors
49+- tests near failing surface
50+- docs only for changed public behavior
51+- no commit/push/create PR/comment/close/label/land/merge unless explicitly asked
52+53+## PR Rules
54+55+- `ready-to-merge`: code is good, current head checked, required proof is green or clearly pending only external CI; list for maintainer merge or `@clawsweeper automerge`
56+- `needs-fixup`: small bug is clear, but PR branch needs changes; list exact files/tests and wait for explicit fix/push/automerge instruction
57+- `skip`: broad, stale, speculative, config/product/security/release, owner-boundary, or refactor-sized
58+- if source PR is untrusted/uneditable, do not create a replacement PR during sweep
59+60+## Output Shape
61+62+Ledger: `fixed-local`, `ready-to-merge`, `needs-fixup`, `skipped`, `needs-human`.
63+Final: issue files left on disk, PRs ready for merge/automerge, tests/gates, skip reasons.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。