Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Cost Federation

Skill Verifiziert Aktiv

Consumer-side wiring for ADR-097 Phase 3 federation_spend events — per-peer rolling windows + suspension-threshold check

Zweck

To provide essential consumer-side monitoring for federation spend events, enabling the tracking of per-peer usage and facilitating automated suspension of peers exceeding configured thresholds, in preparation for ADR-097 Phase 3.

Funktionen

  • Consumer-side wiring for federation spend events
  • Per-peer rolling window aggregation (1h, 24h, 7d)
  • Suspension threshold check for peers
  • Handles interim 'no events found' state cleanly
  • Configurable output format (JSON/Markdown) and namespace

Anwendungsfälle

  • Establish baseline spend before opening federation traffic to a new peer.
  • Periodically monitor per-peer spend across defined time windows.
  • Verify suspension reasoning after ADR-097 Phase 2/3 lands.
  • Integrate with existing cost-tracking systems by processing event data.

Nicht-Ziele

  • Acting as the producer of federation spend events.
  • Managing or directly enforcing peer suspension (it reports the check).
  • Processing events from namespaces other than the configured one.
  • Providing real-time alerting beyond periodic script execution.

Code Execution

  • info:LoggingThe script outputs results to stdout/stderr, which is captured by the agent. Explicit audit logging to a local file is not implemented but is not strictly necessary for this read-only skill.

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-cost-tracker@ruflo

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert about 22 hours ago

Vertrauenssignale

Letzter Commitabout 24 hours ago
Sterne50.2k
LizenzMIT
Status
Quellcode ansehen