Skip to content

Commit 2656f13

Browse files
committed
docs(skills): require autoreview before bug sweep URLs
1 parent 6fc9d7b commit 2656f13

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.agents/skills/openclaw-landable-bug-sweep/SKILL.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Return exactly five PR URLs, each with:
1616
- bug summary
1717
- why the fix is low-risk
1818
- proof: rebased-head local/Testbox/live commands or run IDs
19+
- autoreview: clean result on the exact head being shown
1920
- CI green on the exact pushed PR head
2021
- issue/duplicate cleanup done or still pending
2122

2223
The five URLs may be existing PRs that were reviewed/fixed, or new PRs created from issues/clusters.
23-
Do not present a PR as one of the five until it has been refreshed on current `main`, left-tested, pushed, and verified green in live GitHub CI.
24+
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+
If code, tests, changelog, PR body, or branch base changes after autoreview, rerun autoreview before showing the URL.
2426

2527
## Companion Skills
2628

@@ -59,6 +61,7 @@ Reject:
5961
- bugs needing live credentials that are unavailable
6062
- PRs with red CI unless you fix, rebase, push, and recheck them green
6163
- PRs you only reviewed locally but did not refresh/push/check live
64+
- PRs whose final head has not passed `$autoreview`
6265
- fixes whose clean shape is a larger architecture move
6366
- speculative reports without reproducible/provable cause
6467
- UI/UX changes requiring product judgment
@@ -90,8 +93,9 @@ Reject:
9093
6. Review, refresh, and publish:
9194
- rebase or otherwise refresh the PR branch on current `origin/main`
9295
- resolve drift, including newly exposed CI failures, rather than counting the PR as ready
96+
- changelog-only conflicts are routine on busy `main`; resolve them mechanically when already refreshing, but do not treat them as a real code conflict, a reason to reject the PR, or evidence that the branch needs extra fixup beyond the changelog entry order
9397
- left-test the rebased head with the smallest meaningful local/Testbox/live command that proves the bug
94-
- run `$autoreview` until no accepted/actionable findings remain
98+
- run `$autoreview` until no accepted/actionable findings remain before creating, updating, or presenting the PR URL
9599
- create/update PR with real body and proof fields
96100
- push the exact reviewed head
97101
- verify live GitHub CI is green for that pushed head; do not count pending, red, dirty, conflicting, or externally blocked PRs in the five
@@ -117,7 +121,7 @@ What was not tested:
117121
## Existing PR Rules
118122

119123
- Review code path beyond the diff before trusting it.
120-
- If PR is good: rebase/refresh on current `main`, fix small issues, left-test, autoreview, push, and get CI green before counting it.
124+
- If PR is good: rebase/refresh on current `main`, fix small issues, left-test, autoreview clean, push, and get CI green before showing or counting it.
121125
- If PR is not good but has a useful idea: recreate locally, co-author when warranted, close original with thanks and explanation.
122126
- If PR is duplicate or fixed on `main`: comment proof, close.
123127
- If maintainer cannot push to contributor branch: create own branch/PR, preserve useful commits or credit.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Docs: https://docs.openclaw.ai
2424
- Diagnostics: emit sanitized `secrets.prepare` timeline spans for Gateway secret preparation so operators can distinguish secret startup latency without exposing provider names, secret ids, or secret values. (#83019) Thanks @samzong.
2525
- Diagnostics: export bounded skill usage metrics/spans and tool source/owner labels for core, plugin, MCP, and channel tool execution without exposing raw paths or session identifiers. (#80370) Thanks @gauravprasadgp.
2626
- Agents/subagents: limit default sub-agent bootstrap context to `AGENTS.md` and `TOOLS.md`, keeping persona, identity, user, memory, heartbeat, and setup files out of delegated workers by default. (#85283) Thanks @100yenadmin.
27+
- Maintainer skills: require clean autoreview before surfacing bug-sweep PR URLs and treat changelog-only conflicts as routine busy-main churn.
2728
- Maintainer skills: exclude plugin SDK/API boundary work from `openclaw-landable-bug-sweep` so bugbash sweeps stay focused on small paper-cut fixes.
2829
- QA-Lab/diagnostics: extend the OpenTelemetry smoke harness to prove trace, metric, and log export, and add first-class Prometheus and observability smoke aliases.
2930
- Plugin SDK: add a generic channel-message poll sender so channel plugins can expose poll delivery without depending on channel-specific SDK facades.

0 commit comments

Comments
 (0)