Skip to main content

Module events

Module events 

Source
Expand description

Domain events emitted by the Corpus aggregate.

Exactly four event variants exist, matching tinyquant_cpu.corpus.events one-for-one. No new variants are added in Phase 18; see the plan for the parity table and rationale.

§Events NOT raised (parity with Python)

  • No VectorsRemovedCorpus::remove is a silent mutation.
  • No VectorDecompressed (singular) — only decompress_all emits.
  • No CorpusCleared — not a method on the Python aggregate.
  • No PolicyChangedCompressionPolicy is immutable after the first insert.

Enums§

CorpusEvent
A domain event emitted by the Corpus aggregate.
ViolationKind
Category of a policy or configuration violation detected by the corpus.