## Rate Limiting / Throttle Layer **Mirror of: Piboonsak/Openclaw#3** ### Requirements 1. Per-user rate limiting (e.g. 10 msg/min) 2. Global rate limiting for API cost protection 3. Configurable via openclaw config 4. Graceful rejection with friendly message 5. Channel-aware limits ### Implementation - Add src/infra/rate-limiter.ts with token bucket or sliding window - Integrate at message routing layer - Config keys: rateLimit.perUser, rateLimit.global, rateLimit.windowMs - Add tests
Activity