Loading…
Add API rate limiting · prompt 2 · Claude Code · week 2026-W44
Prompt: Add rate limiting that works across serverless instances.
Grader: The agent added per-IP rate limiting for /api/* via src/proxy.ts backed by @upstash/ratelimit and Upstash Redis, with a sample route and docs, and the build passed. It could not test blocking against a real Redis, and it fell back to disabled limiting when Redis env vars are missing.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.