Fixes from the code-review workflow (7 findings): page the poll cursor past the 100-msg window (no false timeout behind bot/overflow messages); honor 429 retry_after and bail fast on permanent Discord errors (10003/50001/...) instead of burning the timeout; status-check overflow follow-up chunks (warn, don't silently truncate); clamp --read limit safely (guard >64-bit overflow); add --wait --after for precise resumption; DRY the newline-trim; set LC_ALL=C.UTF-8 for codepoint-safe slicing. SKILL.md gains the tested bot capability/limit map (can: post/read/edit-own/react; cannot without a grant: delete/archive/unlock/pin) and a robustness section. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 KiB
12 KiB