An outsider's report or offer is limited per address per hour (#14500)
Anyone may file a report or send an offer with no account, so each address is counted twice: over a minute and over an hour. The address is clientBucket (src/http/peer.ts).
- The settings.
report.per_source(a minute) andreport.per_source_hour(default 20) for reports;OFFERS_PER_SOURCE(3 a minute, a constant) andoffer.per_source_hour(default 10) for offers. The hour settings are on/admin/limits, read on every request, each with its reason. - The order. The hour slot is taken first and given back when the forge-wide, per-repository or per-minute limit refuses instead, so a refusal never spends an address's hour.
- The refusal.
429withRetry-After: <seconds>and{error: "rate_limited", message, hint, retryAfter}. The message is "too many reports (offers) from this address; wait and send again"; the hint names both numbers and their settings and says when to send again.Retry-Afteris bounded (retryAfterOf), at least 1. - Every door.
POST /api/v1/repos/:owner/:name/reportsand/offers, the MCPreportandoffertools and the terminal's offer all say the same words (rateWords,src/actions/outside_limits.ts, one source). The web form keeps its own friendlier line. Doors with no headers print them as one line:rate_limited: <message>: <hint>. - Not touched. A full queue is still
queue_full, with its own wait.
Tests: test/reports.test.ts, test/offer-limits.test.ts (both over HTTP and the MCP).