Add autoban remediation command#2302
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: needs real behavior proof before merge. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. Source inspection shows PR rating Rank-up moves:
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. PR egg Where did the egg go?
Real behavior proof Risk before merge
Maintainer options:
Next step before merge Security Review findings
Review detailsBest possible solution: Land this after Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows Is this the best way to solve the issue? No. The backend approach may be workable, but the CLI write path needs the existing confirmation pattern and live proof before this is the safest maintainable solution. Label justifications:
Full review comments:
Overall correctness: patch is incorrect Security concerns:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 2aa2a449e5fc. |
Summary
POST /api/v1/users/remediate-autobansfor malware autoban remediationclawhub-mod users remediate-autobanswith dry-run default, apply mode, targeting, limit, since, JSON, and reason optionsTests
bun run test packages/clawhub-mod/src/commands/moderation.test.ts convex/httpApiV1.handlers.test.ts convex/autobanRemediation.test.tsbun run lint -- convex/users.ts convex/packages.ts convex/skills.ts convex/autobanRemediation.test.ts packages/schema/src/schemas.ts packages/clawhub/src/schema/schemas.ts packages/clawhub-mod/src/commands/moderation.ts packages/clawhub-mod/src/commands/moderation.test.tsbunx tsc --noEmit && bunx tsc -p packages/schema/tsconfig.json --noEmit && bunx tsc -p packages/clawhub/tsconfig.json --noEmit && bun run --cwd packages/clawhub-mod typecheckAUTOREVIEW_AUTO_TESTS=0 .agents/skills/autoreview/scripts/autoreview --mode local