The guard double-counted staged uploads and read a stale count for every file in a batch, so a 60-file drop bypassed the cap while a nearly-full pack refused early. Partition the batch with a running count. Fixes #31 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA