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
Copy file name to clipboardExpand all lines: .agents/skills/openclaw-landable-bug-sweep/SKILL.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
1
---
2
2
name: openclaw-landable-bug-sweep
3
-
description: "Find or repair small high-confidence non-SDK-boundary OpenClaw bugfix PRs until five are landable."
3
+
description: "Find or repair a requested batch of small high-confidence non-SDK-boundary OpenClaw bugfix PRs until they are landable."
4
4
---
5
5
6
6
# OpenClaw Landable Bug Sweep
7
7
8
-
Autonomous maintainer workflow for producing five landable OpenClaw bugfix PR URLs.
8
+
Autonomous maintainer workflow for producing a requested batch of landable OpenClaw bugfix PR URLs.
9
9
Use for broad issue/PR sweeps where the bar is high and the output is PRs, not notes.
10
10
Do not use for plugin SDK/API boundary work; those need separate architecture review.
11
11
12
12
## Target
13
13
14
-
Return exactly five PR URLs, each with:
14
+
Use `batch_size` from the request, defaulting to `5` and capped at `20`.
15
+
Return up to that many qualified PR URLs, each with:
15
16
16
17
- bug summary
17
18
- why the fix is low-risk
@@ -20,9 +21,18 @@ Return exactly five PR URLs, each with:
20
21
- CI green on the exact pushed PR head
21
22
- issue/duplicate cleanup done or still pending
22
23
23
-
The five URLs may be existing PRs that were reviewed/fixed, or new PRs created from issues/clusters.
24
+
The URLs may be existing PRs that were reviewed/fixed, or new PRs created from issues/clusters.
24
25
Do not present a PR URL to the maintainer until it has been refreshed on current `main`, left-tested, autoreviewed clean, pushed, and verified green in live GitHub CI.
25
26
If code, tests, changelog, PR body, or branch base changes after autoreview, rerun autoreview before showing the URL.
27
+
Do not pad a batch when the bounded search yields fewer qualified PRs.
28
+
29
+
## Inputs
30
+
31
+
-`batch_size`: requested number of landable PRs; default `5`, maximum `20`.
32
+
-`source_mode`: `discovery` or `provided-prs`; default `discovery`.
33
+
-`provided_prs`: explicit PR refs when `source_mode=provided-prs`.
34
+
35
+
In `provided-prs` mode, inspect only the supplied PRs plus directly linked duplicate/canonical refs unless broader discovery is required to prove the best fix.
26
36
27
37
## Companion Skills
28
38
@@ -103,7 +113,7 @@ Reject:
103
113
- close duplicates and fixed-on-main issues/PRs with proof as soon as you notice them during the sweep
104
114
- never mutate more than five associated items in one cluster without explicit confirmation
105
115
- comments must be kind, concrete, and include proof/PR/commit links
106
-
8. Repeat until five landable PR URLs are ready.
116
+
8. Repeat until `batch_size` landable PR URLs are ready or the bounded qualified queue is exhausted.
107
117
108
118
## PR Body Proof
109
119
@@ -151,7 +161,7 @@ closed:
151
161
152
162
Final answer:
153
163
154
-
-exactly five accepted PR URLs
164
+
-the requested number of accepted PR URLs, or the smaller qualified count with the exhausted-search reason
Copy file name to clipboardExpand all lines: extensions/active-memory/index.ts
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1090,6 +1090,8 @@ function buildRecallPrompt(params: {
1090
1090
"Questions like 'what is my favorite food', 'do you remember my flight preferences', or 'what do i usually get' should normally return memory when relevant results exist.",
1091
1091
"If the provided conversation context already contains recalled-memory summaries, debug output, or prior memory/tool traces, ignore that surfaced text unless the latest user message clearly requires re-checking it.",
1092
1092
"Return memory only when it would materially help the other model answer the user's latest message.",
1093
+
"Mutable operational facts (cron/job health, automation status, deployments, incidents, service availability) go stale quickly: include the source timestamp when available, say when the memory may be stale, and tell the answering model to verify live before relying on it.",
1094
+
"Do not summarize mutable operational facts as simply current/running/healthy unless the memory result itself contains a current source timestamp and matching health state.",
1093
1095
"If the connection is weak, broad, or only vaguely related, reply with NONE.",
1094
1096
"If nothing clearly useful is found, reply with NONE.",
0 commit comments