[BREAKGLASS] Clownfish is a maintainer codex harness for resolving clusters of issues identified in bulk at scale. 🐠
Go to file
2026-04-28 20:04:55 -07:00
.agents/skills/projectclownfish-cluster-worker fix(workflow): leave timeout room for reports 2026-04-27 21:14:15 -07:00
.github/workflows fix(auth): narrow clownfish app token permissions 2026-04-28 13:05:44 -07:00
.projectclownfish/runs feat: scaffold cluster worker orchestration 2026-04-24 18:05:06 -07:00
docs fix: run agentic merge prep 2026-04-25 19:06:00 -07:00
instructions fix(ops): move closed records under jobs 2026-04-27 23:01:27 -07:00
jobs/openclaw chore(queue): park failed clownfish drip jobs 2026-04-28 20:04:55 -07:00
prompts fix(engine): require executable calibrated pr repairs 2026-04-27 01:45:25 -07:00
results chore: publish cluster result 2026-04-28 18:43:19 +00:00
schemas fix: scope cluster escalation and requeue jobs 2026-04-25 21:03:38 -07:00
scripts chore(auth): use clownfish app tokens 2026-04-28 13:02:17 -07:00
.env.example fix: run agentic merge prep 2026-04-25 19:06:00 -07:00
.gitignore feat: add safe closure applicator 2026-04-25 04:14:37 -07:00
AGENTS.md fix: require hydrated closeout refs 2026-04-26 12:40:09 -07:00
apply-report.json chore: publish cluster result 2026-04-28 18:43:19 +00:00
package.json fix(ops): move closed records under jobs 2026-04-27 23:01:27 -07:00
README.md fix(auth): narrow clownfish app token permissions 2026-04-28 13:05:44 -07:00

image

🐠 Clownfish

Clownfish is a conservative OpenClaw maintainer tool for one-cluster issue and PR cleanup.

It takes a curated GitHub issue/PR cluster, asks a Codex worker to classify the items, and applies only narrow, auditable cleanup actions when the evidence is strong. This compliments the pre-pass work on clawsweeper and act as the second-pass intent based cluster resolution.

Allowed automated close reasons:

  • duplicate of a clear canonical thread
  • superseded by a clear canonical thread
  • fixed by a specific candidate fix

Manual backlog-cleanup jobs may also use instructions/low-signal-prs.md for drive-by PRs that are clearly blank-template, docs-only discoverability churn, test-only coverage spam, refactor-only noise, third-party capabilities that belong on ClawHub, risky unapproved infra, or dirty branches. This policy is opt-in per job and should return needs_human for plausible bug fixes or anything with active maintainer signal.

Everything else stays open or is escalated for maintainer review.

Security-sensitive reports are deliberately out of scope. Clownfish routes those refs to central OpenClaw security handling and keeps processing unrelated ordinary bugs, provider gaps, and duplicate cleanup in the same cluster. It follows OpenClaw SECURITY.md: trusted-operator exec behavior, provider gaps, feature gaps, and hardening-only parity drift are not treated as vulnerabilities unless there is a real trust-boundary bypass.

Status

Clownfish is intentionally smaller than ClawSweeper. ClawSweeper scans the whole OpenClaw backlog on a cadence; Clownfish handles targeted clusters that were already grouped by a human, gitcrawl, or another dedupe tool.

Cluster discovery currently comes from openclaw/gitcrawl.

image

The default workflow is proposal-first. It does not comment or close unless a job is explicitly promoted and the deterministic applicator confirms live GitHub state has not changed.

Dashboard

Last dashboard update: Apr 28, 2026, 18:43 UTC

State: Failed clusters need inspection

Scope: 220 active latest cluster reports. 1 policy-archived cluster(s) are excluded from health stats; run attempts are tracked as audit history only.

Metric Count Rate
Latest clusters reviewed 220 100%
Policy-archived clusters 1 audit
Clean completed clusters 98 44.5%
Needs-human clusters 40 18.2%
Latest successful clusters 218 99.1%
Latest failed clusters 2 0.9%
Latest cancelled clusters 0 0.0%
Run attempts archived 453 audit
Fix action attempts 151 audit
Fix actions executed 0 0.0%
Fix actions failed 34 22.5%
Fix actions blocked 44 29.1%
Latest clusters with fix failures 40 18.2%
Distinct PRs touched 813 100%
Open PRs tracked 325 40.0%
Closed unmerged PRs tracked 395 48.6%
Completed close actions 30 11.0%
Completed merge actions 23 8.5%
Duplicate closes 22 73.3%
Superseded closes 0 0.0%
Fixed-by-candidate closes 0 0.0%
Low-signal PR closes 0 0.0%
Blocked mutation attempts 100 36.8%
Skipped mutation attempts 119 43.8%

Clusters Needing Inspection

Cluster State Source job Reason Report Run
ghcrawl-156679-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156679-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25070625859
ghcrawl-156675-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156675-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25070590154
ghcrawl-156682-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156682-autonomous-smoke.md target is not listed in job candidates report 25070632559
ghcrawl-156720-autonomous-smoke apply skipped jobs/openclaw/inbox/ghcrawl-156720-autonomous-smoke.md Closeout is blocked on the canonical fix path landing. report 25070819579
ghcrawl-156594-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156594-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25069740030
ghcrawl-156593-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156593-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25069738606
ghcrawl-156627-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156627-autonomous-smoke.md fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 report 25070489790
ghcrawl-156585-autonomous-smoke fix failed jobs/openclaw/inbox/ghcrawl-156585-autonomous-smoke.md Codex produced no target repo changes after 3 edit attempt(s). report 25069725706
ghcrawl-156586-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156586-autonomous-smoke.md Codex /review failed: structured output was not written to replacement-codex-review-1.json; stdout={"type":"thread.started","thread_id":"... report 25069727471
ghcrawl-156582-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156582-autonomous-smoke.md validation command failed (pnpm check:changed): [check:changed] lanes=all [check:changed] extension-impacting surface; extension typechec... report 25069721873
ghcrawl-156595-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156595-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25069741964
ghcrawl-156860-autonomous-smoke fix failed jobs/openclaw/inbox/ghcrawl-156860-autonomous-smoke.md base branch advanced after validation and projectclownfish/repair-ghcrawl-156860-autonomous-smoke-53667 needs a fresh rebase pass: Rebasi... report 25043323244
ghcrawl-156991-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156991-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25040442199
ghcrawl-157006-autonomous-smoke fix failed jobs/openclaw/inbox/ghcrawl-157006-autonomous-smoke.md Codex /review failed: structured output was not written to repair-codex-review-1.json; stdout={"type":"thread.started","thread_id":"019dd... report 25040511075
ghcrawl-156843-autonomous-smoke fix failed jobs/openclaw/inbox/ghcrawl-156843-autonomous-smoke.md base branch advanced after validation and projectclownfish/repair-ghcrawl-156843-autonomous-smoke-49981 needs a fresh rebase pass: Rebasi... report 25039684300
ghcrawl-156899-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156899-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25040053806
ghcrawl-156914-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156914-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25040098128
ghcrawl-156832-autonomous-smoke fix failed jobs/openclaw/inbox/ghcrawl-156832-autonomous-smoke.md Codex /review did not pass after 2 attempt(s): Blocked: the branch is narrow and pnpm check:changed plus git diff --check pass, but t... report 25039623993
ghcrawl-156946-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156946-autonomous-smoke.md fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 report 25040211577
ghcrawl-156873-autonomous-smoke apply blocked jobs/openclaw/inbox/ghcrawl-156873-autonomous-smoke.md merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review report 25039876456
ghcrawl-156879-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156879-autonomous-smoke.md fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 report 25039930706
ghcrawl-156868-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156868-autonomous-smoke.md fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 report 25039867359
ghcrawl-156864-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156864-autonomous-smoke.md fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 report 25039821052
ghcrawl-156741-autonomous-smoke fix failed jobs/openclaw/inbox/ghcrawl-156741-autonomous-smoke.md base branch advanced after validation and projectclownfish/repair-ghcrawl-156741-autonomous-smoke-59382 needs a fresh rebase pass: Rebasi... report 25039129783
ghcrawl-156805-autonomous-smoke fix blocked jobs/openclaw/inbox/ghcrawl-156805-autonomous-smoke.md validation command failed (pnpm check:changed): [check:changed] lanes=extensions, extensionTests, docs [check:changed] extensions/telegra... report 25039479679

Fix Failure Queue

Cluster Status Target Branch/PR Reason Run
ghcrawl-156627-autonomous-smoke blocked fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 25070489790
ghcrawl-156585-autonomous-smoke failed Codex produced no target repo changes after 3 edit attempt(s). 25069725706
ghcrawl-156585-autonomous-smoke blocked Codex produced no target repo changes after 3 edit attempt(s). 25069725706
ghcrawl-156586-autonomous-smoke blocked Codex /review failed: structured output was not written to replacement-codex-review-1.json; stdout={"type":"thread.started","thread_id":"... 25069727471
ghcrawl-156582-autonomous-smoke blocked validation command failed (pnpm check:changed): [check:changed] lanes=all [check:changed] extension-impacting surface; extension typechec... 25069721873
ghcrawl-156860-autonomous-smoke failed base branch advanced after validation and projectclownfish/repair-ghcrawl-156860-autonomous-smoke-53667 needs a fresh rebase pass: Rebasi... 25043323244
ghcrawl-156860-autonomous-smoke blocked base branch advanced after validation and projectclownfish/repair-ghcrawl-156860-autonomous-smoke-53667 needs a fresh rebase pass: Rebasi... 25043323244
ghcrawl-157006-autonomous-smoke failed Codex /review failed: structured output was not written to repair-codex-review-1.json; stdout={"type":"thread.started","thread_id":"019dd... 25040511075
ghcrawl-157006-autonomous-smoke blocked Codex /review failed: structured output was not written to repair-codex-review-1.json; stdout={"type":"thread.started","thread_id":"019dd... 25040511075
ghcrawl-156843-autonomous-smoke failed base branch advanced after validation and projectclownfish/repair-ghcrawl-156843-autonomous-smoke-49981 needs a fresh rebase pass: Rebasi... 25039684300
ghcrawl-156843-autonomous-smoke blocked base branch advanced after validation and projectclownfish/repair-ghcrawl-156843-autonomous-smoke-49981 needs a fresh rebase pass: Rebasi... 25039684300
ghcrawl-156832-autonomous-smoke failed Codex /review did not pass after 2 attempt(s): Blocked: the branch is narrow and pnpm check:changed plus git diff --check pass, but t... 25039623993
ghcrawl-156832-autonomous-smoke blocked Codex /review did not pass after 2 attempt(s): Blocked: the branch is narrow and pnpm check:changed plus git diff --check pass, but t... 25039623993
ghcrawl-156946-autonomous-smoke blocked fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 25040211577
ghcrawl-156879-autonomous-smoke blocked fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 25039930706
ghcrawl-156868-autonomous-smoke blocked fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 25039867359
ghcrawl-156864-autonomous-smoke blocked fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 25039821052
ghcrawl-156741-autonomous-smoke failed base branch advanced after validation and projectclownfish/repair-ghcrawl-156741-autonomous-smoke-59382 needs a fresh rebase pass: Rebasi... 25039129783
ghcrawl-156741-autonomous-smoke blocked base branch advanced after validation and projectclownfish/repair-ghcrawl-156741-autonomous-smoke-59382 needs a fresh rebase pass: Rebasi... 25039129783
ghcrawl-156805-autonomous-smoke blocked validation command failed (pnpm check:changed): [check:changed] lanes=extensions, extensionTests, docs [check:changed] extensions/telegra... 25039479679
ghcrawl-156789-autonomous-smoke failed validation command failed (pnpm check:changed): [check:changed] lanes=apps, docs [check:changed] apps/shared/OpenClawKit/Sources/OpenClaw... 25039373452
ghcrawl-156789-autonomous-smoke blocked validation command failed (pnpm check:changed): [check:changed] lanes=apps, docs [check:changed] apps/shared/OpenClawKit/Sources/OpenClaw... 25039373452
ghcrawl-156782-autonomous-smoke blocked fix artifact is too broad for autonomous execution; split into narrower jobs or explicitly set CLOWNFISH_ALLOW_BROAD_FIX_ARTIFACTS=1 25039337140
ghcrawl-156739-autonomous-smoke failed validation command failed (pnpm check:changed): [check:changed] lanes=core, coreTests, docs [check:changed] src/daemon/launchd-plist.ts: ... 25039125475
ghcrawl-156739-autonomous-smoke blocked validation command failed (pnpm check:changed): [check:changed] lanes=core, coreTests, docs [check:changed] src/daemon/launchd-plist.ts: ... 25039125475

Top Blocked Reasons

Reason Latest count Example cluster
action status is blocked 89 ghcrawl-156636-autonomous-smoke
close requires ProjectClownfish fix PR opened/pushed or merge executed first 12 ghcrawl-156722-autonomous-smoke
merge requires CLOWNFISH_ALLOW_MERGE=1; labeled for human review 11 ghcrawl-156679-autonomous-smoke
merge state status is UNSTABLE 10 ghcrawl-156647-autonomous-smoke
target changed since worker review 9 ghcrawl-156624-autonomous-smoke
mergeable state is CONFLICTING 5 ghcrawl-156651-autonomous-smoke
target is not listed in job candidates 4 ghcrawl-156682-autonomous-smoke
candidate fix is not merged 2 ghcrawl-191459-agentic-merge
canonical is not listed in job refs 2 ghcrawl-156658-autonomous-smoke
Clearly superseded by the canonical PR path, but closure is blocked until the canonical fix lands. 2 ghcrawl-156879-autonomous-smoke
Fix-first policy blocks superseded closeout until #49430 is repaired and merged. 2 ghcrawl-156585-autonomous-smoke
maintainer issue comment blocks low-signal auto-close 2 low-signal-pr-sweep-20260425T2346-01
require_fix_before_close blocks superseded PR closeout until the canonical fix path is landed or opened as a concrete fix PR. 2 ghcrawl-156789-autonomous-smoke
Clear covered issue, but closeout is blocked on the canonical fix path landing. 1 ghcrawl-156739-autonomous-smoke
Clear duplicate of the live canonical umbrella, but closeout is blocked on the canonical fix path or fix PR because require_fix_before_cl... 1 ghcrawl-156756-autonomous-smoke

Open PR Finalizer Queue

PR Title Cluster Branch Blockers Next action
#73744 feat(ui): show persistent chat context usage ghcrawl-156717-autonomous-smoke clownfish/ghcrawl-156717-autonomous-smoke needs_merge_state:UNSTABLE, needs_checks:CI / checks-fast-bundled:IN_PROGRESS; CI / checks-node-extensions-shard-4:FAILURE; CI / checks-n... repair failing checks or document unrelated main flake with touched-surface proof
#73739 fix(feishu): recover WebSocket after SDK retry exhaustion ghcrawl-156682-autonomous-smoke clownfish/ghcrawl-156682-autonomous-smoke needs_merge_state:UNSTABLE, unresolved review threads remain, needs_checks:CI / checks-fast-bundled:IN_PROGRESS; CI / checks-node-extensi... repair failing checks or document unrelated main flake with touched-surface proof
#73737 fix(gateway): reduce session-store clone memory growth ghcrawl-156648-autonomous-smoke clownfish/ghcrawl-156648-autonomous-smoke needs_merge_state:UNSTABLE, unresolved review threads remain, needs_checks:CI / checks-fast-bundled:FAILURE; CI / checks-node-extensions-... repair failing checks or document unrelated main flake with touched-surface proof
#73724 fix(cli): avoid false local gateway unreachable on probe timeout ghcrawl-156625-autonomous-smoke clownfish/ghcrawl-156625-autonomous-smoke security_hold, needs_rebase:CONFLICTING, needs_merge_state:DIRTY, needs_checks:CI / checks-fast-bundled:FAILURE; CI / checks-node-extensi... route to central security triage
#73403 fix(agent): route explicit channel targets per recipient ghcrawl-157028-autonomous-smoke clownfish/ghcrawl-157028-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_checks:ClawSweeper Dispatch / dispatch:FAILURE... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73402 fix(tui): subscribe to live session transcript updates ghcrawl-156978-autonomous-smoke clownfish/ghcrawl-156978-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_checks:ClawSweeper Dispatch / dispatch:FAILURE... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73401 fix(agents): load symlinked workspace bootstrap files ghcrawl-156975-autonomous-smoke clownfish/ghcrawl-156975-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_checks:ClawSweeper Dispatch / dispatch:FAILURE... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73399 fix(feishu): carry forward DM fallback and topic labels ghcrawl-156980-autonomous-smoke clownfish/ghcrawl-156980-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_checks:ClawSweeper Dispatch / dispatch:FAILURE... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73395 fix(discord): cool down Cloudflare HTML 429 REST failures ghcrawl-156979-autonomous-smoke clownfish/ghcrawl-156979-autonomous-smoke security_hold, needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_checks:ClawSweeper Dispatch / d... route to central security triage
#73393 feat(whatsapp): support newsletter targets in message tool ghcrawl-156943-autonomous-smoke clownfish/ghcrawl-156943-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, needs_merge_preflight, needs_result_backfill resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73388 Fix Trinity main-session compatibility mismatch ghcrawl-156908-autonomous-smoke clownfish/ghcrawl-156908-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, needs_checks:CI / checks-node-core-fast-support:FAILURE; CI / checks-node-core:FAILURE... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73374 fix: gate same-model retries to idempotent calls ghcrawl-156725-autonomous-smoke clownfish/ghcrawl-156725-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, needs_checks:Parity gate / Run the OpenAI / Opus 4.6 parity gate against the qa-lab mo... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73365 fix: allow steer messages during active non-streaming runs ghcrawl-156681-autonomous-smoke clownfish/ghcrawl-156681-autonomous-smoke needs_merge_state:UNSTABLE, needs_checks:Parity gate / Run the OpenAI / Opus 4.6 parity gate against the qa-lab mock:FAILURE; CI / checks... repair failing checks or document unrelated main flake with touched-surface proof
#72409 fix(plugins): suppress false duplicate-id warnings across origins ghcrawl-207039-agentic-merge clownfish/ghcrawl-207039-agentic-merge security_route, needs_rebase:CONFLICTING, needs_merge_state:DIRTY, needs_checks:CI / checks-fast-bundled:FAILURE; CI / checks-node-agenti... route to central security triage
#73732 fix(whatsapp): recover group inbound after reconnect churn ghcrawl-156581-autonomous-smoke clownfish/ghcrawl-156581-autonomous-smoke needs_merge_state:UNSTABLE, needs_checks:CI / checks-fast-bundled:FAILURE; CI / checks-node-extensions-shard-4:FAILURE; CI / checks-node-... repair failing checks or document unrelated main flake with touched-surface proof
#73725 fix(webchat): create dashboard sessions from New Chat ghcrawl-156619-autonomous-smoke clownfish/ghcrawl-156619-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_checks:CI / checks-fast-bundled:FAILURE; CI / ... resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73390 Add configurable WebChat send shortcut ghcrawl-156934-autonomous-smoke clownfish/ghcrawl-156934-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, unresolved review threads remain, needs_merge_preflight, needs_result_backfill resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73389 feat(slack): publish App Home tab views ghcrawl-156940-autonomous-smoke clownfish/ghcrawl-156940-autonomous-smoke needs_rebase:CONFLICTING, needs_merge_state:DIRTY, needs_merge_preflight, needs_result_backfill resume branch, rebase onto current main, repair conflicts, run changed checks, rerun review
#73385 fix: gate sandbox write tools on writable workspace access ghcrawl-156881-autonomous-smoke clownfish/ghcrawl-156881-autonomous-smoke needs_merge_state:UNSTABLE, needs_checks:Parity gate / Run the OpenAI / Opus 4.6 parity gate against the qa-lab mock:FAILURE; CI / checks... repair failing checks or document unrelated main flake with touched-surface proof

Latest ProjectClownfish Closures

Target Type Title Closed Action Cluster Report Run
#59439 pull_request Use daemon auth for unmanaged restart probes Apr 28, 2026, 05:25 UTC close_superseded ghcrawl-207050-agentic-merge report 25035228706
#59431 pull_request fix(feishu): correct Chinese filename encoding in attachments Apr 28, 2026, 05:23 UTC close_superseded ghcrawl-199239-agentic-merge report 25035231796
#59409 issue [Bug]: Feishu plugin: Chinese filenames in attachments display as garbled (Latin-1 encoding issue) Apr 28, 2026, 05:23 UTC close_fixed_by_candidate ghcrawl-199239-agentic-merge report 25035231796
#50435 pull_request fix(feishu): recover Chinese filenames from Latin-1 mojibake in Content-Disposition Apr 28, 2026, 05:23 UTC close_superseded ghcrawl-199239-agentic-merge report 25035231796
#48388 issue [Bug]: Feishu file names with Chinese characters are garbled (UTF-8 encoding issue) Apr 28, 2026, 05:23 UTC close_fixed_by_candidate ghcrawl-199239-agentic-merge report 25035231796
#61016 pull_request fix(media): anchor sanitizeMimeType regex and make case-insensitive per RFC 2045 Apr 28, 2026, 04:48 UTC close_superseded ghcrawl-156640-autonomous-smoke report 25034019917
#49961 pull_request fix: restore compact JS placeholders in session export template Apr 28, 2026, 04:36 UTC close_superseded ghcrawl-156664-autonomous-smoke report 25033552424
#49957 issue Bug: Session export HTML is empty due to reformatted JS placeholders in template Apr 28, 2026, 04:36 UTC close_duplicate ghcrawl-156664-autonomous-smoke report 25033552424
#54429 issue Gateway Service Installation Failure: Missing systemd Service File Apr 26, 2026, 03:04 UTC close_duplicate ghcrawl-166002-agentic-merge report 24946559138
#67622 issue [Feature Request] Support file/image upload in browser Control UI (webchat) Apr 26, 2026, 03:03 UTC close_duplicate ghcrawl-165992-agentic-merge report 24946558493
#63094 issue [Feature Request] WebChat/Control UI support file upload Apr 26, 2026, 03:03 UTC close_duplicate ghcrawl-165992-agentic-merge report 24946558493
#56298 issue [Feature Request] Webchat supports image/attachment upload in UI Apr 26, 2026, 03:03 UTC close_duplicate ghcrawl-165992-agentic-merge report 24946558493
#43242 issue [Feature Request] Add file upload support to Control UI (Web) Apr 26, 2026, 03:03 UTC close_duplicate ghcrawl-165992-agentic-merge report 24946558493
#41992 issue [Feature Request] WebChat file upload support Apr 26, 2026, 03:03 UTC close_duplicate ghcrawl-165992-agentic-merge report 24946558493
#67406 issue image tool doesn't recognise Ollama cloud vision models Apr 25, 2026, 19:58 UTC close_duplicate ghcrawl-143816-autonomous-smoke report 24939009401
#66758 issue Image tool fails with 'Unknown model' for all ollama/ provider models despite #59943 fix Apr 25, 2026, 19:57 UTC close_duplicate ghcrawl-143816-autonomous-smoke report 24939009401
#65832 issue [Bug]: image tool fails with custom provider — ModelRegistry doesn't recognize custom providers from models.json Apr 25, 2026, 19:57 UTC close_duplicate ghcrawl-143816-autonomous-smoke report 24939009401
#70180 issue Bug: Image tool reports 'Unknown model' for all custom providers Apr 25, 2026, 19:57 UTC close_duplicate ghcrawl-143816-autonomous-smoke report 24939009401
#71133 issue memory-core: narrative session cleanup fails with missing scope: operator.admin Apr 25, 2026, 19:53 UTC close_duplicate ghcrawl-143819-autonomous-smoke report 24939011554
#70395 issue memory-core dreaming cleanup requires operator.admin and logs failure despite successful promotion Apr 25, 2026, 19:53 UTC close_duplicate ghcrawl-143819-autonomous-smoke report 24939011554
#70353 issue memory-core: dreaming subagent lacks operator.admin to delete its own session Apr 25, 2026, 19:53 UTC close_duplicate ghcrawl-143819-autonomous-smoke report 24939011554
#69886 issue memory-core narrative session cleanup fails with missing scope: operator.admin Apr 25, 2026, 19:53 UTC close_duplicate ghcrawl-143819-autonomous-smoke report 24939011554
#67029 issue [Bug]: memory-core dreaming: narrative session cleanup fails with missing scope operator.admin Apr 25, 2026, 19:53 UTC close_duplicate ghcrawl-143819-autonomous-smoke report 24939011554
#50691 issue openclaw status reports missing operator.read while gateway is healthy; gateway probe times out on same loopback endpoint Apr 25, 2026, 19:46 UTC close_duplicate ghcrawl-143815-autonomous-smoke report 24939008778
#50541 issue [Bug]: CLI cannot connect to Gateway (missing scope: operator.read) - Downgrade to 2026.3.11 works Apr 25, 2026, 19:46 UTC close_duplicate ghcrawl-143815-autonomous-smoke report 24939008778

How It Works

Each cluster job:

  1. Starts from one markdown job file under jobs/.
  2. Hydrates the listed issue/PR refs and first-hop linked refs.
  3. Builds a cluster plan and fix artifact for autonomous jobs.
  4. Runs Codex with repo-local policy prompts and JSON output schema in a read-only sandbox.
  5. Writes structured run artifacts under .projectclownfish/runs/.
  6. Reviews the worker artifact with deterministic safety checks.
  7. Executes credited fix artifacts through scripts/execute-fix-artifact.mjs when the fix gate is open: repair a maintainer-editable contributor branch first, otherwise raise a narrow replacement PR and close the uneditable source PR after the replacement push succeeds.
  8. Applies guarded close/comment and explicit merge actions through scripts/apply-result.mjs.
  9. Publishes a sanitized result ledger back to this repo under results/, jobs/openclaw/closed/, apply-report.json, and this README dashboard.

Codex does not receive a GitHub token during classification. The runner preflights GitHub state before model execution, then Codex receives those artifacts and returns JSON only. The preferred GitHub auth path is a short-lived installation token minted from CLOWNFISH_APP_ID and CLOWNFISH_APP_PRIVATE_KEY; legacy CLOWNFISH_READ_GH_TOKEN and CLOWNFISH_GH_TOKEN secrets remain fallbacks. The read token is narrowed to read-only issue, PR, content, checks, and status access. When a reviewed fix artifact is executed, Codex gets a temporary target checkout without GitHub credentials; the deterministic executor owns commit, push, PR creation, and source-PR closeout using a write-scoped GitHub App token or CLOWNFISH_GH_TOKEN. Commit author metadata defaults to projectclownfish and can be overridden with CLOWNFISH_GIT_USER_NAME and CLOWNFISH_GIT_USER_EMAIL; this is separate from the GitHub token used to push. The applicator re-fetches the target item, checks updated_at, blocks unsafe closeouts, writes idempotent close comments, closes supported duplicate/superseded/fixed-by-candidate actions, and can squash-merge explicitly allowed clean PR actions.

Merge is deliberately harder than closeout. A merge action must include merge_preflight proving security clearance, resolved human comments, resolved review-bot findings, a passed Codex /review, addressed review findings, and clean validation commands. The fix executor runs an agentic edit/review loop before it writes a fix PR: edit, validate, Codex /review, address findings, revalidate, and resolve PR review threads when permitted. The applicator also checks live unresolved GitHub review threads immediately before merge.

Replacement fix work uses a recoverable target branch named clownfish/<cluster-id>. The executor resumes that branch if it already exists and pushes checkpoint commits after agent edits and review-fix edits, then opens or updates the PR only after validation and Codex /review pass. If /review still blocks the merge after retries, the run writes a blocked fix report and leaves the checkpoint branch recoverable instead of losing the patch.

Runs for the same job path and mode are queued instead of running concurrently. The workflow uses Node 24, blacksmith-4vcpu-ubuntu-2404 for cluster planning/review, and blacksmith-16vcpu-ubuntu-2404 for fix/apply execution. Fix execution prepares the target checkout with Corepack and the target pnpm package manager before validation; the execution job caches Codex, npm, Corepack, and the target pnpm store. Fix validation is pinned to OpenClaw's fast changed-lane posture by default: pnpm check:changed plus diff checks are the hard local gate, and target validation commands normalize to pnpm check:changed unless CLOWNFISH_TARGET_VALIDATION_MODE=strict or CLOWNFISH_STRICT_TARGET_VALIDATION=1 is explicitly set. Unrelated flaky main CI, broad pnpm check, full tests, live, docker, and e2e lanes do not block narrow ProjectClownfish fixes by default.

Full worker prompts, Codex transcripts, and raw artifacts stay in GitHub Actions. The committed ledger keeps only the cluster summary, run URL, action counts, apply outcomes, closed targets, and needs-human entries.

GitHub App Auth

Create a GitHub App installed on openclaw/openclaw and openclaw/clownfish. Give it Contents: write, Issues: write, and Pull requests: write; leave webhooks disabled. Store the App ID as repository variable CLOWNFISH_APP_ID and the downloaded private key PEM as repository secret CLOWNFISH_APP_PRIVATE_KEY in openclaw/clownfish. The workflows mint per-job tokens with the minimum permission level needed for that job, so classification stays read-only and execution gets write access only after the execution gate opens. Merge remains disabled unless CLOWNFISH_ALLOW_MERGE=1.

Modes

  • plan: produces recommendations only.
  • execute: can apply reviewed safe close and explicit clean merge actions from structured JSON.
  • autonomous: adds live cluster preflight and fix-artifact generation. It may recommend and drive a canonical fix path; direct mutation still goes through the fix executor and applicator gates.
  • route_security: quarantines true security-sensitive refs without poisoning unrelated cluster work.
  • needs_human: only product-direction, trust-boundary, canonical-choice, merge-path, or contributor-credit decisions that remain unclear after the hydrated artifact and single-item review/check/decide pass.
  • Automated reviewer feedback must be cleared during autonomous PR work. Greptile, Codex, Asile, CodeRabbit, Copilot, and similar bot comments must be addressed, proven non-actionable, or escalated before any merge or post-merge closeout recommendation.
  • Merge preflight: no PR can merge until CLOWNFISH_ALLOW_MERGE=1, security issues are cleared, comments are resolved, Codex /review has passed, findings are addressed, and changed-surface validation is clean. With the merge gate closed, ProjectClownfish applies the single clownfish label and leaves the final merge to a maintainer.
  • Repair ladder: make the useful contributor PR mergeable when its branch is maintainer-editable; otherwise replace draft, stale, unmergeable, uneditable, or unsafe branches with a narrow credited fix PR. When fix PR mode is enabled, "wait or replace" is already answered: replace, preserve credit, then supersede only the source PR that could not be safely updated.

Local Run

Requires Node 24.

# Validate all job files.
npm run validate

# Render a plan-mode prompt without running Codex.
npm run render -- jobs/openclaw/inbox/cluster-example.md --mode plan

# Dry-run a worker without calling Codex.
npm run worker -- jobs/openclaw/inbox/cluster-example.md --mode plan --dry-run

# Build an offline autonomous cluster/fix artifact.
npm run build-fix-artifact -- jobs/openclaw/inbox/autonomous-example.md --offline

# Stage low-signal PR sweep jobs from local gitcrawl data.
npm run import-gitcrawl-low-signal -- --limit 20 --batch-size 5 --mode autonomous --sort stale

# Stage the next largest active gitcrawl clusters, skipping already-imported and
# fully security-sensitive clusters by default. Mixed clusters can route security
# refs while continuing ordinary bug/dedupe work.
npm run import-gitcrawl -- --from-gitcrawl --limit 40 --mode autonomous --suffix autonomous-smoke --allow-instant-close --allow-merge --allow-fix-pr --allow-post-merge-close

# Dispatch reviewed jobs. Dispatch, requeue, and self-heal refuse to exceed
# 50 live cluster-worker runs by default; tune with CLOWNFISH_MAX_LIVE_WORKERS
# or --max-live-workers. With --wait-for-capacity, dispatch can drain a larger
# file list in capacity-sized waves instead of refusing the whole batch.
CLOWNFISH_MAX_LIVE_WORKERS=50 npm run dispatch -- jobs/openclaw/inbox/cluster-example.md \
  --mode autonomous \
  --runner blacksmith-4vcpu-ubuntu-2404 \
  --execution-runner blacksmith-16vcpu-ubuntu-2404

# Find failed cluster jobs that have not been superseded by a later success.
npm run self-heal

# Resolve a job from a run id or job path and show the requeue plan.
npm run requeue -- 24947178021

# Requeue one reviewed job/run into the live queue. This briefly opens both
# write gates when the job is execute/autonomous, waits for the run to start,
# then closes the gates.
npm run requeue -- 24947178021 --execute --open-execute-window \
  --runner blacksmith-4vcpu-ubuntu-2404 \
  --execution-runner blacksmith-16vcpu-ubuntu-2404

# Execute a reviewed fix artifact locally. Requires both execution gates and a write token.
CLOWNFISH_ALLOW_EXECUTE=1 CLOWNFISH_ALLOW_FIX_PR=1 npm run execute-fix -- jobs/openclaw/inbox/cluster-example.md --latest --dry-run

# Rebuild the open Clownfish PR finalization report without mutating GitHub.
npm run finalize-open-prs -- --write-report

# Dry-run job hygiene: classify old smoke jobs, outbox-ready jobs, unprocessed
# jobs, and requeue candidates without deleting, moving, or dispatching.
npm run sweep-openclaw-jobs -- --live

# Apply reviewed job hygiene. This deletes old smoke jobs, moves finalized jobs
# to jobs/openclaw/outbox/finalized, and parks never-run backlog in
# jobs/openclaw/outbox/stuck; it never dispatches workers.
npm run sweep-openclaw-jobs -- --live --apply-delete-tests --apply-outbox --apply-stuck

# Dry-run a parked-backlog promotion from outbox/stuck back into inbox.
npm run promote-stuck-jobs -- --limit 20

# Promote the largest parked-backlog jobs into the active queue.
npm run promote-stuck-jobs -- --sort size --limit 20 --apply

# Promote every parked-backlog job, largest clusters first.
npm run promote-stuck-jobs -- --sort size --limit all --apply

# Dry-run the Clownfish label backfill. This verifies live GitHub state and
# reports the exact PRs/issues that would receive the "clownfish" label.
npm run tag-clownfish -- --live

# Apply the label backfill after reviewing the dry-run report.
CLOWNFISH_ALLOW_EXECUTE=1 npm run tag-clownfish -- --live --apply

# Retry failed jobs once. This briefly opens the execution gate, waits for the
# dispatched workers to start, records the self-heal ledger, and closes the gate.
npm run self-heal -- --execute --open-execute-window --max-jobs 5 \
  --max-live-workers 50 \
  --runner blacksmith-4vcpu-ubuntu-2404 \
  --execution-runner blacksmith-16vcpu-ubuntu-2404

Checks

npm run validate
for f in scripts/*.mjs; do node --check "$f" || exit 1; done
npm run review-results -- .projectclownfish/runs
npm run publish-result -- .projectclownfish/runs
git diff --check

GitHub Actions Setup

The workflow needs:

  • Codex/OpenAI authentication for model execution
  • a read-only GitHub token for worker inspection
  • a separate write-scoped GitHub token for the deterministic applicator
  • execution gates that default on for execute/autonomous jobs: set CLOWNFISH_ALLOW_EXECUTE=0 or CLOWNFISH_ALLOW_FIX_PR=0 only when intentionally pausing live work
  • merge is separately gated by CLOWNFISH_ALLOW_MERGE; it defaults to 0, and merge-ready PRs keep only the orange clownfish label for a maintainer to merge manually
  • optional CLOWNFISH_CODEX_CLI_VERSION variable to pin and refresh the cached Codex CLI
  • optional CLOWNFISH_MODEL override for dispatch scripts; default Codex model is gpt-5.5
  • optional CLOWNFISH_MAX_LIVE_WORKERS variable for dispatch/requeue/self-heal worker fan-out; default is 50
  • optional CLOWNFISH_CODEX_TIMEOUT_MS and CLOWNFISH_FIX_CODEX_TIMEOUT_MS variables; worker planning defaults to 30 minutes, while fix execution defaults to a 20 minute Codex budget inside the 30 minute build-PR step so timeout artifacts can be written
  • optional CLOWNFISH_CODEX_REVIEW_ATTEMPTS and CLOWNFISH_RESOLVE_REVIEW_THREADS variables for agentic merge-prep review loops

Keep exact secret names, token scopes, and execution-window procedures in private operations docs or repository settings notes. Do not put token values or live operational credentials in job files.