Require routable ClawSweeper commands before fast ack#233
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed May 30, 2026, 3:33 PM ET / 19:33 UTC. Summary Reproducibility: yes. source-reproducible: current main's loose fast-ack regex matches the reported inline mention while 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: Merge a narrow parser-compatible fast-ack gate after redacted real webhook or hosted-worker proof shows inline prose is ignored and own-line re-review commands still dispatch. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main's loose fast-ack regex matches the reported inline mention while Is this the best way to solve the issue? Yes, the shared parser-compatible command-line detector is the narrow maintainable fix. The remaining blocker is proof that the same behavior works in a real webhook or hosted-worker run. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 83cb99d7a283. Label changesLabel 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
|
7386adb to
49d2fd5
Compare
49d2fd5 to
c636d95
Compare
|
@clawsweeper re-review Updated to extract the shared command-line detector so the router parser and hosted dashboard worker no longer maintain separate command-shape regexes. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper automerge |
|
🦞👀 Command router queued. I will update this comment with the next step. |
Summary
Fixes #232.
This makes the fast-ack paths reject comments that only mention
@clawsweeperinline inside prose, unless the same comment is actually routable by the command parser.Changes:
parseCommand(...)before posting the visible fast ack@clawsweeperthen next-linere-reviewpattern used by issue authorsTesting
pnpm run build:allpnpm run lintnode --test test\\repair\\comment-router-core.test.ts test\\repair\\comment-webhook.test.ts test\\dashboard-worker.test.tsnode --test --test-name-pattern "sweep workflow_dispatch input count|sweep review continuations|repair workflows preserve" test\\clawsweeper.test.tspnpm exec oxfmt --check src/repair/comment-command-text.ts src/repair/comment-router-core.ts dashboard/worker.tsNote: I also tried
pnpm run checklocally on Windows earlier. The relevant build/lint/regression parts pass, but the full suite still hits unrelated Windows/local-environment failures around spawningcodexand POSIX file-mode assertions. A repository-wideformat:checkalso reports existing unrelated formatting noise on this Windows checkout, while the touched files pass targeted format check.