Skip to main content

Module events

Module events 

Source
Expand description

Event types for hyprstream

This module defines event types for P2P messaging between hyprstream instances. Events will be delivered via DHT-based peer discovery (future work).

§Topics

Events use dot-notation topics:

  • inference.generation_complete - Generation completed with metrics
  • inference.generation_failed - Generation failed with error
  • metrics.threshold_breach - Quality metric threshold breached
  • metrics.window_rollover - Time window closed with stats
  • training.started - Training job started
  • training.completed - Training job completed
  • training.checkpoint_saved - Checkpoint committed to git
  • git2db.repository_cloned - Repository cloned
  • git2db.commit_created - Commit created
  • git2db.adapter_saved - Adapter saved to repository

Structs§

EventEnvelope
Envelope containing event metadata and payload
GenerationMetrics
Generation quality metrics (matches GenerationQualityMetrics)
TrainingConfig
Training configuration summary
WindowedStats
Windowed statistics from Welford’s algorithm

Enums§

EventPayload
Event payload variants
EventSource
Source of an event