📌 openclaw/clawsweeper — Scan issues/PRs and suggest what to clos(1,351 stars)

8 至 12 分鐘

1,869 個字元

📌 專案簡介 這是 GitHub 上一個備受關注的開源專案,致力於掃描 issues/PRs 並建議關閉 an…

📌 專案簡介

這是 GitHub 上一個備受關注的開源專案,致力於掃描 issues/PRs 並建議關閉 and suggest what to close。該專案目前已獲得 1,351 stars,受到開發者社群的廣泛關注。

🔑 主要特色

ClawSweeper

ClawSweeper is the conservative maintenance bot for OpenClaw repositories. It

currently covers `openclaw/openclaw`, `openclaw/clawhub`, and self-review for

`openclaw/clawsweeper`.

It has two independent lanes:

  • issue/PR sweeper: keeps one markdown report per open issue or PR, publishes

one durable Codex automated review comment when useful, and only closes items

when the evidence is strong

  • commit sweeper: reviews code-bearing commits that land on `main`, writes one

canonical markdown report per commit, and optionally publishes a GitHub Check

Run for that commit

Capabilities

  • **Repository profiles:** per-repository rules live in

`src/repository-profiles.ts`, so OpenClaw, ClawHub, and ClawSweeper can share

the same engine while keeping different apply limits.

  • **Issue and PR intake:** scheduled runs scan open issues and pull requests,

while target repositories can forward exact issue/PR events with

`repository_dispatch` for low-latency one-item reviews.

  • **Codex review reports:** each issue or PR becomes

`records//items/.md` with the decision, evidence, proposed

maintainer-facing comment, runtime metadata, and GitHub snapshot hash.

  • **Durable review comments:** ClawSweeper syncs one marker-backed public review

comment per item and edits it in place instead of posting repeated comments.

When a review starts and no ClawSweeper comment exists yet, it posts a short

crustacean-friendly status placeholder first, then replaces that same comment

with the completed review. Completed comments include a dedicated security

review section for supply-chain, permission, secret-handling, and code

execution concerns. Pull request comments include hidden verdict markers, and

actionable PR follow-up includes a hidden

`clawsweeper-action:fix-required` marker for the trusted ClawSweeper repair

loop. See

`docs/pr-review-comments.md`.

  • **Guarded apply:** apply mode re-fetch

📦 安裝與使用

請參考官方 README 文件中的安裝說明。通常的安裝方式包括:

  • 克隆專案到本地
  • 按照 README 中的指示進行配置
  • 運行相關命令啟動專案

🔗 相關連結

💡 想了解更多開源 AI 專案?歡迎持續關注我們的更新!

「mosiwang」的個人頭像

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *