Repository navigation
ci: add ClawSweeper dispatch workflow - #1193
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 26, 2026, 9:58 PM ET / July 27, 2026, 01:58 UTC. ClawSweeper reviewWhat this changesThis PR adds a 202-line GitHub Actions workflow that receives issue, comment, and pull-request events, filters them, and dispatches review work to the central ClawSweeper repository. Merge readiness⛔ Blocked until real behavior proof is added - 6 items remain Keep this PR open for maintainer security review and live dispatch evidence. The visible patch is a focused, pinned-action workflow addition, but it introduces a cross-repository GitHub App token path and the supplied PR context does not show an after-fix dispatch run. Priority: P2 Review scores
Verification
How this fits togetherThe new workflow sits at Crabbox’s GitHub-event boundary. It receives repository activity, applies event/comment filtering, obtains a narrowly targeted GitHub App token, and asks the central ClawSweeper service to review the matching item. flowchart LR
A[Issue or pull request event] --> B[Crabbox dispatch workflow]
B --> C[Event and comment filters]
C --> D[GitHub App token]
D --> E[Central ClawSweeper dispatcher]
E --> F[Review job and result]
Decision needed
Why: The workflow’s intended behavior requires privileged cross-repository dispatch; whether its filtering and token scope are acceptable is a repository security decision rather than a mechanical contributor repair. Before merge
Findings
Agent review detailsSecurityNeeds attention: The visible patch uses pinned actions and avoids PR-code checkout, but its pull_request_target and cross-repository App-token boundary needs maintainer confirmation before merge. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the narrowly scoped dispatcher, but merge only after a maintainer confirms the untrusted-event boundary and a redacted live run shows one allowed event dispatching successfully while an excluded event does not. Do we have a high-confidence way to reproduce the issue? No high-confidence live reproduction is supplied. The relevant verification is a redacted real GitHub Actions run showing an allowed Crabbox event reaches ClawSweeper and a filtered event does not. Is this the best way to solve the issue? Unclear. A centralized dispatcher is a plausible organization-wide solution, but this repository should first verify the complete event filters, payload handling, and App-token boundary rather than relying only on static workflow review. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 54a2ae3de064. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Adds the standard ClawSweeper dispatch workflow so this repo's issues and PRs are reviewed by ClawSweeper (org-wide rollout, see openclaw/clawsweeper#875).