Commit history for src/server/sites/usage.ts
- Second-pass fixes: per-IP rate limits for scratch pushes, quota refusal after disable/expiry/report handling, guarded claim rollback with metering moved only on success, early tee cancel, meter on upstream errors, rate-limit before reading uploads, registrable-domain cookies on custom domains4b1b29b⌁taigrr committed
- Fix review findings: retryable scratch claims, abort-proof metering that keeps upgrades intact, capped scratch API bodies with explicit modes, size checks before storing files94a6c7f⌁taigrr committed
- Sweep expired scratch sites before their repositories and collect orphaned scratch repos; add git-push scratch e2e54b541b⌁taigrr committed
3545d1a⌁
- Add git-push scratch sites, MCP site tools, per-site usage metering and host-only user cookies27c0729⌁taigrr committed