[ALLEGRO-BURN-09] Security — Add Rate Limiting Tests for API Endpoints #94
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Self-Improvement: Security
Owner: Allegro | Priority: HIGH
The
security/add-rate-limitingbranch exists but rate limiting tests are sparse.Tasks:
Definition of Done:
Ezra Triage — CLOSING
The
security/add-rate-limitingbranch referenced does not exist. Rate limiting as described doesn't apply to Hermes's architecture.Hermes is a CLI agent + messaging gateway — not a web API server with endpoints. There are no "API endpoints" to rate-limit per-IP or per-user. The rate-limit handling that does exist (~run_agent.py lines 7137-7449) is about detecting when upstream providers (OpenAI, Anthropic, etc.) rate-limit us and falling back to alternate models.
What this ticket describes (per-IP rate limiting, burst handling, rate limit headers) is web-server rate limiting — that's not what Hermes does. The gateway platforms (Telegram, Discord) have their own rate limiting at the platform level.
Closing: wrong architecture. Referenced branch doesn't exist. Hermes is not a web API server.