惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
B
Blog
博客园_首页
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
罗磊的独立博客
Jina AI
Jina AI
C
Check Point Blog
Martin Fowler
Martin Fowler
J
Java Code Geeks
博客园 - 司徒正美
美团技术团队
MongoDB | Blog
MongoDB | Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
有赞技术团队
有赞技术团队
U
Unit 42
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
小众软件
小众软件

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: update Clownfish automerge skill · openclaw/opencla...
steipete · 2026-04-29 · via Recent Commits to openclaw:main

@@ -1,20 +1,42 @@

11

---

22

name: clownfish-cloud-pr

3-

description: Use when launching Clownfish in GitHub Actions to create or update one guarded GitHub implementation PR from issue/PR refs, a ClawSweeper report, or a custom maintainer prompt.

3+

description: Use when launching Clownfish in GitHub Actions to create or update one guarded GitHub implementation PR from issue/PR refs, a ClawSweeper report, a custom maintainer prompt, or to opt an existing Clownfish PR into ClawSweeper-reviewed cloud automerge.

44

---

5566

# Clownfish Cloud PR

7788

Use this skill when the user wants Codex to ask Clownfish to create a PR in the

99

cloud from issue/PR refs plus a custom prompt.

101011-

## Create One Job

11+

## Start

12121313

```bash

1414

cd ~/Projects/clownfish

1515

git status --short --branch

1616

gh variable list --repo openclaw/clownfish --json name,value \

1717

--jq 'map(select(.name|test("^CLOWNFISH_"))) | sort_by(.name) | .[] | {name,value}'

18+

```

19+20+

Keep merge gated unless Peter explicitly opens it. Execute/fix gates are closed

21+

unless the repo variables are literally `1`; normal fix-PR work needs an

22+

intentional execution window:

23+24+

```bash

25+

gh variable set CLOWNFISH_ALLOW_EXECUTE --repo openclaw/clownfish --body 1

26+

gh variable set CLOWNFISH_ALLOW_FIX_PR --repo openclaw/clownfish --body 1

27+

gh variable set CLOWNFISH_ALLOW_MERGE --repo openclaw/clownfish --body 0

28+

gh variable set CLOWNFISH_ALLOW_AUTOMERGE --repo openclaw/clownfish --body 0

29+

```

30+31+

Reset `CLOWNFISH_ALLOW_EXECUTE=0` and `CLOWNFISH_ALLOW_FIX_PR=0` after the

32+

window. If those vars are absent or not `1`, execute/autonomous workflow runs

33+

stay plan-only/no-mutation.

34+35+

## Create One Job

36+37+

From refs and a custom prompt:

38+39+

```bash

1840

npm run create-job -- \

1941

--repo openclaw/openclaw \

2042

--refs 123,456 \

@@ -30,7 +52,8 @@ npm run create-job -- \

30523153

The script checks for an existing open PR/body match and remote branch named

3254

`clownfish/<cluster-id>` before writing a duplicate job. Use `--dry-run` to

33-

inspect the exact job body.

55+

inspect the exact job body and `--force` only after deciding the duplicate check

56+

is stale.

34573558

## Ask For A Replacement PR

3659

@@ -68,18 +91,7 @@ npm run dispatch -- jobs/openclaw/inbox/clawsweeper-openclaw-openclaw-123.md \

6891

```

69927093

Do not use `--dispatch` until the job is committed and pushed; the workflow

71-

reads the job path from GitHub. Execute/fix gates are closed unless the repo

72-

variables are literally `1`; open them only for the execution window:

73-74-

```bash

75-

gh variable set CLOWNFISH_ALLOW_EXECUTE --repo openclaw/clownfish --body 1

76-

gh variable set CLOWNFISH_ALLOW_FIX_PR --repo openclaw/clownfish --body 1

77-

gh variable set CLOWNFISH_ALLOW_MERGE --repo openclaw/clownfish --body 0

78-

```

79-80-

Reset `CLOWNFISH_ALLOW_EXECUTE=0` and `CLOWNFISH_ALLOW_FIX_PR=0` after the

81-

window. Keep `CLOWNFISH_ALLOW_MERGE=0` unless Peter explicitly opens the merge

82-

gate.

94+

reads the job path from GitHub.

83958496

## Maintainer Comment Commands

8597

@@ -94,6 +106,7 @@ Supported commands:

94106

/clownfish fix ci

95107

/clownfish address review

96108

/clownfish rebase

109+

/clownfish automerge

97110

/clownfish explain

98111

/clownfish stop

99112

@openclaw-clownfish fix ci

@@ -112,12 +125,47 @@ npm run comment-router -- --repo openclaw/openclaw --execute --wait-for-capacity

112125

Scheduled routing stays dry until `CLOWNFISH_COMMENT_ROUTER_EXECUTE=1` is set in

113126

`openclaw/clownfish` repo variables.

114127128+

## Bounded ClawSweeper-Reviewed Automerge

129+130+

Use this only for an existing Clownfish PR that maps back to a `clownfish/*`

131+

branch and job file:

132+133+

```text

134+

/clownfish automerge

135+

```

136+137+

The router verifies the commenter is a maintainer, adds

138+

`clownfish:automerge`, dispatches ClawSweeper for the current PR head, and

139+

waits for trusted ClawSweeper markers. `needs-changes` / `fix-required`

140+

dispatches the normal repair worker. `pass`, `approved`, or `no-changes` may

141+

merge only when the marker SHA matches the current PR head, checks are green,

142+

GitHub says the PR is mergeable, no `clownfish:human-review` label is present,

143+

and both merge gates are open:

144+145+

```bash

146+

gh variable set CLOWNFISH_ALLOW_MERGE --repo openclaw/clownfish --body 1

147+

gh variable set CLOWNFISH_ALLOW_AUTOMERGE --repo openclaw/clownfish --body 1

148+

```

149+150+

The actual merge command is pinned with GitHub's head-match guard, so a branch

151+

push after ClawSweeper reviewed cannot merge an unreviewed head. If either

152+

merge gate is closed when ClawSweeper passes, Clownfish labels the PR

153+

`clownfish:merge-ready` only after readiness checks have passed; failing checks,

154+

stale heads, conflicts, draft state, or human-review labels must not get that

155+

label. Pause with `/clownfish stop`, which adds `clownfish:human-review`.

156+157+

The repair loop is capped by `CLOWNFISH_CLAWSWEEPER_MAX_REPAIRS_PER_PR`

158+

(default `5`) and `CLOWNFISH_CLAWSWEEPER_MAX_REPAIRS_PER_HEAD` (default `1`).

159+115160

## Guardrails

116161117162

- One cluster, one branch, one PR: `clownfish/<cluster-id>`.

118163

- No security-sensitive work.

119164

- New replacement PRs are capped per touched area by

120165

`CLOWNFISH_MAX_ACTIVE_PRS_PER_AREA`.

166+

- Do not merge from Clownfish unless Peter explicitly asks.

167+

- Do not open `CLOWNFISH_ALLOW_AUTOMERGE` unless Peter explicitly asks for an

168+

automerge window.

121169

- Do not close duplicates before the fix PR path exists, lands, or is proven

122170

unnecessary.

123171

- Codex workers do not get GitHub tokens; deterministic scripts own writes.