You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bca1882
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: prompts/review-item.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -406,6 +406,7 @@ Close only when the evidence is strong and the repository policy allows it. Allo
406
406
-`mostly_implemented_on_main`: an older PR is more than 60 days old, current `main` already implements the central useful part of the PR, and no meaningful unique remainder should be merged from the branch. Use only for pull requests, not issues. The close comment must say what part is already on `main`, what leftover part is minor/obsolete/superseded or separately tracked, and why keeping the stale branch open is not useful.
407
407
-`cannot_reproduce`: you tried a reasonable reproduction path against current `main` and it does not reproduce, or the report is obsolete and no longer matches current behavior.
408
408
- `clawhub`: useful idea, but it belongs as a ClawHub skill/plugin rather than OpenClaw core. Use `VISION.md` as the scope anchor. Prefer this when the requested capability is optional integration/provider/channel/skill/bundle/MCP work, can be built with current skill/MCP/plugin surfaces, has no concrete missing core extension API, and has no protected maintainer signal. This includes service-specific channels, providers, optional skills, and plugin-discovery/publishing ideas when the current plugin or bundle-style interface is sufficient. For OpenClaw PRs that only add bundled skills under paths like `skills/<vendor>/**`, set `itemCategory: "skill"` and prefer `closeReason: "clawhub"` with high confidence; the close comment should ask the contributor to upload or publish it through ClawHub.com instead of bundling it in OpenClaw core. Keep open when the item reports a regression in bundled core behavior, identifies a missing plugin API needed before external implementation is possible, involves security/core hardening, or clearly needs explicit maintainer product judgment.
409
+
For `clawhub` closes, make `bestSolution` and `closeComment` useful as a self-serve handoff: identify the likely package shape such as skill, plugin, provider, channel, bundle, or MCP integration; list manifest/package basics to verify, such as metadata, entrypoint, permissions, secrets/config, install/update docs, example usage, and smoke proof; and explicitly state that ClawSweeper should not open a ClawHub issue, open a ClawHub PR, create a tracking issue, or publish the package on the contributor's behalf.
409
410
-`duplicate_or_superseded`: another issue/PR already tracks the same remaining work, or the linked discussion/PR clearly supersedes this item. Link the canonical item and explain whether it is open or closed/merged. For clusters with the same root cause, keep one canonical issue open and close satellites when their unique logs, platforms, or context can be preserved by linking them in the close comment. For PR-to-PR supersession, the canonical PR must be merged or still open, proof-positive, and viable; do not treat a closed-unmerged, F/no-proof, proposed-close, not-cleanly-mergeable, or otherwise unsafe PR as a reason to close another PR. Unique evidence blocks duplicate close only when it implies a distinct root cause, platform-specific fix, or separate remaining product behavior.
410
411
-`low_signal_unmergeable_pr`: a pull request may contain a small useful idea, but the submitted branch is net-negative and should not stay open as a landing candidate because most of the diff is unrelated, copied, generated, bloated, internally incoherent, or conflicts with the repository's existing structure. Use this for PRs like a narrow docs title that inserts a large unrelated reference block, a tiny bug fix mixed with broad unrelated rewrites, or generated/vendor/config churn unrelated to the stated purpose. The close comment must acknowledge any useful part, explain the concrete unmergeable diff, and invite a new narrow PR for the useful change. Do not use this when the PR has meaningful unique work that can be repaired without throwing away most of the branch, when maintainers asked to preserve/adopt the branch, when a protected label or maintainer author requires human judgment, or when the only issue is ordinary missing proof, test coverage, style, or review follow-up.
411
412
- `unconfirmed_product_direction`: a non-maintainer pull request is technically correct and well-proven, but adds feature or configuration surface without maintainer-confirmed product direction. Use this only when every condition is true: `itemCategory` is `feature`; `requiresProductDecision` is true; at least one of `requiresNewFeature` or `requiresNewConfigOption` is true; `overallCorrectness` is `patch is correct`; there are no review findings; `securityReview.status` is `cleared` with no concerns; real behavior proof is sufficient or overridden; PR quality is C or better; and no `clawsweeper:human-review`, `clawsweeper:manual-only`, `clawsweeper:autofix`, or `clawsweeper:automerge` label is present. Do not use this for maintainer-authored PRs, bugs with an established current behavior contract, security-sensitive work, broken or low-quality patches, or work already calibrated by maintainer discussion. Explain that implementation quality is separate from product acceptance and that a maintainer can sponsor, narrow, or reopen the direction. Apply remains behind a separate default-off policy gate and live maintainer-signal checks.
return "So I’m closing this older PR as already covered on `main` rather than keeping a mostly-duplicated branch open.";
8672
8672
case "clawhub":
8673
-
return `So I’m closing this as a scope-fit item for the plugin/community path. Please upload or publish it through ${markdownLink("ClawHub.com", targetProfile().communityUrl ?? "https://clawhub.ai/")} so it can live as an installable community skill instead of a bundled OpenClaw core change.`;
8673
+
return `So I’m closing this as a scope-fit item for the plugin/community path. Please upload or publish it through ${markdownLink("ClawHub.com", targetProfile().communityUrl ?? "https://clawhub.ai/")} so it can live as an installable ClawHub package instead of a bundled OpenClaw core change.`;
8674
8674
case "duplicate_or_superseded":
8675
8675
return canonicalLinks.length
8676
8676
? `So I’m closing this here and keeping the remaining discussion on ${formatCanonicalLinks(canonicalLinks)}.`
function closeClawHubHandoffBlock(reason: CloseReason): string {
8690
+
if (reason !== "clawhub") return "";
8691
+
return [
8692
+
"If you want to carry this forward, package it as a self-serve ClawHub item rather than a core patch:",
8693
+
"",
8694
+
"- Scope: choose the smallest skill, plugin, provider, channel, bundle, or MCP integration that matches the requested capability.",
8695
+
"- Checklist: include package metadata/manifest, entrypoint, required permissions, secrets/config notes, install/update docs, example usage, and a smoke test or proof command.",
8696
+
"- Boundary: ClawSweeper will not open a ClawHub issue or PR, create a tracking issue, or publish the package automatically; the contributor should create that ClawHub work separately.",
8697
+
].join("\n");
8698
+
}
8699
+
8689
8700
function issueOrPullReferenceNumbers(value: string): string[] {
8690
8701
return [
8691
8702
...value.matchAll(
@@ -13797,6 +13808,8 @@ function renderCloseComment(options: {
13797
13808
if (evidence.length) details.push("", "What I checked:", "", ...evidence);
13798
13809
if (likelyOwners.length) details.push("", "Likely related people:", "", ...likelyOwners);
0 commit comments