chore: record ClawSweeper comment routing

[skip ci]
This commit is contained in:
clawsweeper 2026-05-08 06:29:11 +00:00
parent dde13c5b20
commit 9f9f3e5735
2 changed files with 128 additions and 64 deletions

View File

@ -0,0 +1,47 @@
---
repo: openclaw/openclaw
cluster_id: automerge-openclaw-openclaw-79282
mode: autonomous
allowed_actions:
- comment
- label
- fix
- raise_pr
blocked_actions:
- close
- merge
require_human_for:
- close
- merge
canonical:
- #79282
candidates:
- #79282
cluster_refs:
- #79282
allow_instant_close: false
allow_fix_pr: true
allow_merge: false
allow_unmerged_fix_close: false
allow_post_merge_close: false
require_fix_before_close: true
security_policy: central_security_only
security_sensitive: false
target_branch: clawsweeper/automerge-openclaw-openclaw-79282
source: pr_automerge
---
# ClawSweeper adopted PR repair candidate
Maintainer opted #79282 into ClawSweeper automerge.
Source PR: https://github.com/openclaw/openclaw/pull/79282
Title: test: cover download parent symlink race
ClawSweeper should use this job only for the bounded ClawSweeper review/fix loop:
- If ClawSweeper emits an explicit repair marker, requests changes, or finds failing checks/rebase work, and the PR branch is safe to update, emit a fix artifact with `repair_strategy: "repair_contributor_branch"` and `source_prs: ["https://github.com/openclaw/openclaw/pull/79282"]`.
- If the PR branch cannot be safely updated, emit a narrow credited replacement only when the artifact can preserve the original contributor credit; otherwise return `needs_human`.
- For user-facing OpenClaw `fix`, `feat`, or `perf` changes, inspect the changelog policy. If a changelog is required, emit `changelog_required: true`, include `CHANGELOG.md` in `likely_files`, and tell the Codex edit pass to add or repair the `CHANGELOG.md` entry with allowed contributor attribution before declaring the branch merge-ready. Never add forbidden `Thanks @codex`, `Thanks @openclaw`, or `Thanks @steipete`; if only those authors are known, keep the required changelog entry without a `Thanks @...` line and preserve credit in PR history/source links.
- Do not merge, close, or bypass review gates from the worker. The comment router owns final merge only after a passing ClawSweeper verdict for the exact current head.
- Keep repair scope limited to actionable ClawSweeper findings, failing relevant checks, and required review feedback on this PR.

View File

@ -1,21 +1,23 @@
{
"status": "executed",
"generated_at": "2026-05-08T06:28:16.768Z",
"generated_at": "2026-05-08T06:29:07.705Z",
"repo": "openclaw/openclaw",
"repair_repo": "openclaw/clawsweeper",
"review_repo": "openclaw/clawsweeper",
"since": "2026-05-08T03:28:14.776Z",
"since": "2026-05-08T03:29:04.168Z",
"execute": true,
"force_reprocess": false,
"max_comments": 1000,
"item_numbers": [
79267
79282
],
"comment_ids": [
4404039837
],
"comment_ids": [],
"max_autoclose_targets": 8,
"scanned_comments": 2,
"scanned_comments": 1,
"commands_seen": 1,
"actionable": 0,
"actionable": 1,
"trusted_bots": [
"clawsweeper[bot]",
"openclaw-clawsweeper[bot]"
@ -30,110 +32,125 @@
"lookup_concurrency": 8,
"commands": [
{
"idempotency_key": "clawsweeper-repair:openclaw/openclaw:79267:4403631014:2026-05-08T06:28:11Z:clawsweeper_needs_human",
"comment_id": "4403631014",
"comment_version_key": "4403631014:2026-05-08T06:28:11Z",
"comment_url": "https://github.com/openclaw/openclaw/pull/79267#issuecomment-4403631014",
"idempotency_key": "comment-router:openclaw/openclaw:79282:4404039837:2026-05-08T06:27:47Z:automerge",
"comment_id": "4404039837",
"comment_version_key": "4404039837:2026-05-08T06:27:47Z",
"comment_url": "https://github.com/openclaw/openclaw/pull/79282#issuecomment-4404039837",
"repo": "openclaw/openclaw",
"issue_number": 79267,
"author": "clawsweeper[bot]",
"author_association": "CONTRIBUTOR",
"comment_created_at": "2026-05-08T05:30:00Z",
"comment_updated_at": "2026-05-08T06:28:11Z",
"trigger": "trusted_bot",
"command": "clawsweeper needs human",
"intent": "clawsweeper_needs_human",
"issue_number": 79282,
"author": "jesse-merhi",
"author_association": "MEMBER",
"comment_created_at": "2026-05-08T06:27:47Z",
"comment_updated_at": "2026-05-08T06:27:47Z",
"trigger": "slash",
"command": "automerge",
"intent": "automerge",
"autoclose_message": null,
"implementation_prompt": null,
"trusted_bot": true,
"trusted_bot_author": "clawsweeper[bot]",
"automation_source": "clawsweeper",
"repair_reason": "No automated repair is needed; maintainers should apply normal PR and CI policy to the remaining architecture check and merge if they accept the unrelated red check.; Cleared: The diff is limited to agent loop-detection logic, tests, and changelog text, with no dependency, workflow, secret, permission, or supply-chain surface added. (sha=9e76446e98d08d6ccb8963329bca5a09ce8db06e)",
"review_summary": "The branch changes agent loop detection to aggregate stable no-progress tool outcomes across a session, adds detector and before-tool-call regression tests, and records the fix in the changelog.\n\nReproducibility: yes. Source inspection on current main shows the global breaker count is tied to the current `toolName` and argument hash, so a different next tool does not inherit the prior no-progress streak.",
"review_followup": "No automated repair is needed; maintainers should apply normal PR and CI policy to the remaining architecture check and merge if they accept the unrelated red check.",
"trusted_bot": false,
"trusted_bot_author": null,
"automation_source": null,
"repair_reason": "automerge enabled; current checks are failing: check-additional-runtime-topology-architecture:FAILURE, check-additional:FAILURE",
"review_summary": null,
"review_followup": null,
"freeform_prompt": null,
"expected_head_sha": "9e76446e98d08d6ccb8963329bca5a09ce8db06e",
"expected_head_sha": null,
"finding_id": null,
"status": "skipped",
"actions": [],
"status": "waiting",
"actions": [
{
"action": "ensure_automerge_job",
"job_path": "jobs/openclaw/inbox/automerge-openclaw-openclaw-79282.md",
"status": "executed",
"mode": "autonomous",
"cluster_id": "automerge-openclaw-openclaw-79282",
"status_detail": "written"
},
{
"action": "label",
"label": "clawsweeper:automerge",
"status": "executed"
},
{
"action": "dispatch_repair",
"workflow": "repair-cluster-worker.yml",
"job_path": "jobs/openclaw/inbox/automerge-openclaw-openclaw-79282.md",
"mode": "autonomous",
"status": "waiting",
"reason": "adopted job must be committed before worker dispatch"
},
{
"action": "comment",
"status": "pending"
}
],
"author_repository_permission": "write",
"target": {
"kind": "pull_request",
"title": "fix(agents): make loop breaker session-global",
"branch": "codex/global-loop-breaker",
"head_sha": "9e76446e98d08d6ccb8963329bca5a09ce8db06e",
"author": "turbotheturtle",
"title": "test: cover download parent symlink race",
"branch": "codex/browser-download-race-test",
"head_sha": "4d28c8f9452408198d0cee1c995f7f704bd9aa32",
"author": "jesse-merhi",
"labels": [
"agents",
"size: S",
"proof: supplied",
"proof: sufficient"
"maintainer",
"size: XS",
"clawsweeper:automerge"
],
"is_clawsweeper_pr": false,
"cluster_id": null,
"job_path": null,
"automerge_cluster_id": "automerge-openclaw-openclaw-79267",
"automerge_job_path": "jobs/openclaw/inbox/automerge-openclaw-openclaw-79267.md",
"cluster_id": "automerge-openclaw-openclaw-79282",
"job_path": "jobs/openclaw/inbox/automerge-openclaw-openclaw-79282.md",
"automerge_cluster_id": "automerge-openclaw-openclaw-79282",
"automerge_job_path": "jobs/openclaw/inbox/automerge-openclaw-openclaw-79282.md",
"mode": "autonomous",
"mergeable": "MERGEABLE",
"merge_state_status": "UNSTABLE",
"review_decision": "",
"checks": {
"total": 135,
"total": 109,
"counts": {
"FAILURE": 5,
"CANCELLED": 4,
"QUEUED": 1,
"CANCELLED": 2,
"SKIPPED": 25,
"SUCCESS": 79,
"IN_PROGRESS": 1,
"SKIPPED": 29,
"SUCCESS": 94,
"NEUTRAL": 1
"FAILURE": 2
},
"blockers": [
"Real behavior proof:FAILURE",
"Real behavior proof:FAILURE",
"Real behavior proof:FAILURE",
"Real behavior proof:CANCELLED",
"Real behavior proof:CANCELLED",
"Real behavior proof:QUEUED",
"Critical Quality (network-runtime-boundary):IN_PROGRESS",
"check-additional-runtime-topology-architecture:FAILURE",
"check-additional:FAILURE"
],
"pending": [
"Real behavior proof:QUEUED"
"Critical Quality (network-runtime-boundary):IN_PROGRESS"
],
"terminalBlockers": [
"Real behavior proof:FAILURE",
"Real behavior proof:FAILURE",
"Real behavior proof:FAILURE",
"Real behavior proof:CANCELLED",
"Real behavior proof:CANCELLED",
"check-additional-runtime-topology-architecture:FAILURE",
"check-additional:FAILURE"
]
}
},
"reason": "PR is not opted into ClawSweeper autofix or automerge"
}
}
],
"ledger_changed": true,
"ledger_changed": false,
"timings": {
"total_ms": 2206,
"total_ms": 6239,
"phases": [
{
"name": "list_candidate_comments",
"ms": 347
"ms": 542
},
{
"name": "prehydrate_command_lookups",
"ms": 1630
"ms": 2980
},
{
"name": "classify_commands",
"ms": 2
"ms": 3
},
{
"name": "execute_commands",
"ms": 202
"ms": 2702
},
{
"name": "append_ledger",