算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
miro-rate-limits【设计与创意】Design and implement repository-side Miro REST traffic controls from credit weights, supplied headers, bounded queues, and reset-aware retries. Use when preventing or recovering from Miro 429 responses. Trigger with "Miro rate limit".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: miro-rate-limits description: "Design and implement repository-side Miro REST traffic controls from credit weights, supplied headers, bounded queues, and reset-aware retries. Use when preventing or recovering from Miro 429 responses. Trigger with "Miro rate limit"." argument-hint: "[traffic-window] [workload]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.9.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Plan capacity in credits rather than raw request count and preserve headroom across every caller sharing a user/application quota; use the evidence produced here to make the next decision explicit and reviewable.
Use Read, Glob, and Grep to inspect the repository, configuration names, adapters, tests, and evidence. Use WebFetch only for current official Miro documentation. Use Write or Edit after confirming the requested mode, target environment, tenant, board, and approval boundary. These declared tools do not call authenticated Miro APIs or deployment CLIs; implement client, configuration, and test changes, then return exact operator commands or an approval-gated handoff for live execution.
X-RateLimit-Limit, X-RateLimit-Remaining, and Unix-epoch X-RateLimit-Reset; published limits are subject to change.For REST work, use OAuth 2.0 Authorization Code with the narrowest Miro scopes. Bind each encrypted token record to its user, application, authorized team, and granted scopes. Never print access tokens, refresh tokens, client secrets, authorization codes, or board content.
Do not add installations or identities to multiply quota, request Enterprise capacity, or starve interactive traffic without account and service-owner approval. Pause when the responsible owner or exact target is uncertain.
Return observed budget/reset, weighted demand, allocations, headroom, queue policy, test results, and 429 recovery evidence. State what was not inspected or changed so the receipt cannot overclaim coverage.
| Condition | Response |
|---|---|
| Headers conflict with assumed limits | Trust the authorized observation and re-check current official docs. |
| Reset is malformed | Stop automatic retry and use conservative review. |
| Queue exceeds freshness SLO | Reduce demand or seek an approved architecture change. |
| Retry storm appears | Open the circuit and drain through one scheduler. |
The example is a redacted operator receipt; identifiers are hashes or bounded labels, not board content or credentials.
budget=100000cr/min; demand=62000; reserved=20000; headroom=18%; queue-p95=3.8s; 429=0