Fix PR status routing for security owner review#264
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 13, 2026, 4:39 PM ET / 20:39 UTC. Summary Reproducibility: yes. Source inspection on current main shows every security Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the focused routing fix after redacted live or dry-run output shows a durable review with Do we have a high-confidence way to reproduce the issue? Yes. Source inspection on current main shows every security Is this the best way to solve the issue? Yes, likely. Reusing the existing recommended merge-risk option category is a narrow fix that preserves waiting-on-author for ambiguous or author-remediable security findings. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7d76b7996ffb. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper automerge |
|
🦞🧹
Draft PRs stay fix-only until GitHub marks them ready for review. Pause with Automerge progress:
Re-review progress:
|
|
🦞✅ Source: Why human review is needed: What the maintainer can do as a next step: I added |
Summary
Fixes #263.
This changes PR status label routing so
securityReview.status: needs_attentionis not always treated as contributor-facing work.When the durable review has:
accept_risk,ClawSweeper now routes the PR to the existing
status: 👀 ready for maintainer looklabel instead ofstatus: ⏳ waiting on author.Security reviews that recommend
fix_before_merge, or security reviews with no structured recommendedaccept_riskoption, still route as unresolved contributor work. That preserves the safer default for real author-remediable security defects.Validation
pnpm run build:allnode --test --test-name-pattern "ClawSweeper PR status" test/clawsweeper.test.tspnpm exec oxfmt --check src/clawsweeper.ts test/clawsweeper.test.tspnpm run check:active-surfacepnpm run check:limitspnpm run lint:srcpnpm run lint:scriptsI also attempted the full
node --test test/clawsweeper.test.tslocally, but this Windows desktop environment hits unrelated existing subprocess assumptions around Codex proof checks and/usr/bin/git. The focused status-label tests pass afterbuild:all.