计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
miro-cost-tuning【效率与协作】Diagnose Miro API credit demand and implement repository-side traffic controls that preserve freshness, completeness, and user experience. Use when right-sizing polling or synchronization. Trigger with "reduce Miro API usage".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: miro-cost-tuning description: "Diagnose Miro API credit demand and implement repository-side traffic controls that preserve freshness, completeness, and user experience. Use when right-sizing polling or synchronization. Trigger with "reduce Miro API usage"." argument-hint: "[workload] [freshness-slo]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.9.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Treat API credits as capacity, not currency. Attribute demand by operation and caller, then remove waste without inventing a dollar price; 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.
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 represent credits as direct monetary savings or weaken contractual freshness/completeness without product and service-owner approval. Pause when the responsible owner or exact target is uncertain.
Return baseline credits, waste sources, options, selected policy, expected reduction, SLO tradeoffs, test results, and rollback threshold. State what was not inspected or changed so the receipt cannot overclaim coverage.
| Condition | Response |
|---|---|
| No operation-level telemetry | Instrument before claiming savings. |
| Savings depend on retired webhooks | Reject that option. |
| Cache invalidation is unproved | Limit cache scope/TTL and retain reconciliation. |
| One tenant monopolizes budget | Enforce per-tenant queues and priority reserves. |
The example is a redacted operator receipt; identifiers are hashes or bounded labels, not board content or credentials.
baseline=74000cr/min; duplicates=18%; selected=cursor+dedupe; forecast=51000cr/min; freshness=5m; completeness=daily-reconcile