mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-26 10:07:24 +01:00
A comment request with nativeCommand "swarm" and an empty body failed the ordinary non-empty body check and got a generic 400, while docs/api/issues.md documents 422 antigravity_swarm_unavailable for a request with no text. The route now validates /swarm requests with addIssueSwarmCommentSchema, which allows an empty body so the swarm refusal answers it; ordinary comments keep addIssueCommentSchema and its unchanged non-empty check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>