{"id":49283244,"url":"https://github.com/openclaw/projectclownfish","last_synced_at":"2026-04-25T20:00:45.120Z","repository":{"id":353769863,"uuid":"1220500253","full_name":"openclaw/projectclownfish","owner":"openclaw","description":"Clownfish is a maintainer codex harness for resolving clusters of issues identified in bulk at scale.","archived":false,"fork":false,"pushed_at":"2026-04-25T13:01:40.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T14:10:42.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openclaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":["moltbot"]}},"created_at":"2026-04-25T01:05:15.000Z","updated_at":"2026-04-25T13:01:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/openclaw/projectclownfish","commit_stats":null,"previous_names":["openclaw/projectclownfish"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/openclaw/projectclownfish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fprojectclownfish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fprojectclownfish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fprojectclownfish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fprojectclownfish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openclaw","download_url":"https://codeload.github.com/openclaw/projectclownfish/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclaw%2Fprojectclownfish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32274982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-25T20:00:44.273Z","updated_at":"2026-04-25T20:00:45.106Z","avatar_url":"https://github.com/openclaw.png","language":"JavaScript","funding_links":["https://github.com/sponsors/moltbot"],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1584\" height=\"672\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ba1571d9-785e-47df-92b6-ce90681ca8e4\" /\u003e\n\n# 🐠 Project Clownfish\n\nProjectClownfish is a conservative OpenClaw maintainer tool for one-cluster issue and PR cleanup.\n\nIt 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](https://github.com/openclaw/clawsweeper) and act as the second-pass intent based cluster resolution.\n\nAllowed automated close reasons:\n\n- duplicate of a clear canonical thread\n- superseded by a clear canonical thread\n- fixed by a specific candidate fix\n\nEverything else stays open or is escalated for maintainer review.\n\n## Status\n\nProjectClownfish is intentionally smaller than ClawSweeper. ClawSweeper scans the whole OpenClaw backlog on a cadence; ProjectClownfish handles targeted clusters that were already grouped by a human, ghcrawl, or another dedupe tool.\n\nCluster discovery currently comes from [vincentkoc/ghcrawl](https://github.com/vincentkoc/ghcrawl). That repository is expected to migrate into the OpenClaw organization soon.\n\n\u003cimg width=\"3582\" height=\"2160\" alt=\"image\" src=\"https://github.com/user-attachments/assets/20b816cc-72ab-479e-bc18-84f5b2b53745\" /\u003e\n\nThe 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.\n\n## How It Works\n\nEach cluster job:\n\n1. Starts from one markdown job file under `jobs/`.\n2. Hydrates the listed issue/PR refs and first-hop linked refs.\n3. Builds a cluster plan and fix artifact for autonomous jobs.\n4. Runs Codex with repo-local policy prompts and JSON output schema in a read-only sandbox.\n5. Writes structured run artifacts under `.projectclownfish/runs/`.\n6. Reviews the worker artifact with deterministic safety checks.\n7. Applies only safe close/comment actions through `scripts/apply-result.mjs`.\n\nCodex does not receive a GitHub token. The runner preflights GitHub state before model execution, then Codex receives those artifacts and returns JSON only. The applicator re-fetches the target item, checks `updated_at`, blocks maintainer-authored items, writes an idempotent close comment, and closes only supported duplicate/superseded/fixed-by-candidate actions.\n\nRuns for the same job path and mode are queued instead of running concurrently. The workflow uses Node 24 and `ubuntu-latest` for ClawSweeper parity; other hosted runners are opt-in.\n\n## Modes\n\n`plan` produces recommendations only.\n\n`execute` can apply reviewed safe close actions from structured JSON.\n\n`autonomous` adds live cluster preflight and fix-artifact generation. It may recommend a canonical fix path, but direct mutation still goes through the applicator.\n\nAny unclear canonical choice, stale cluster state, failing checks, conflict, broad fix, or independent report should become `needs_human`.\n\nAutonomous PR work must also clear automated reviewer feedback. 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.\n\n## Local Run\n\nRequires Node 24.\n\nValidate jobs:\n\n```bash\nnpm run validate\n```\n\nRender a prompt:\n\n```bash\nnpm run render -- jobs/openclaw/cluster-example.md --mode plan\n```\n\nDry-run a worker without calling Codex:\n\n```bash\nnpm run worker -- jobs/openclaw/cluster-example.md --mode plan --dry-run\n```\n\nBuild an offline autonomous artifact:\n\n```bash\nnpm run build-fix-artifact -- jobs/openclaw/autonomous-example.md --offline\n```\n\n## Checks\n\n```bash\nnpm run validate\nfor f in scripts/*.mjs; do node --check \"$f\" || exit 1; done\nnpm run review-results -- .projectclownfish/runs\ngit diff --check\n```\n\n## GitHub Actions Setup\n\nThe workflow needs:\n\n- Codex/OpenAI authentication for model execution\n- a read-only GitHub token for worker inspection\n- a separate write-scoped GitHub token for the deterministic applicator\n- an execution gate that defaults off\n\nKeep 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclaw%2Fprojectclownfish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenclaw%2Fprojectclownfish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclaw%2Fprojectclownfish/lists"}