Expand description
Pure event → state classifier.
The classifier is deterministic: given the same event log and the
same now, it produces identical output. That is the property
that makes snapshot tests cheap, replay meaningful, and bugs
reproducible.
§What the classifier does
- Ingest
Events in timestamp order. - Compute the
StateVectorfields from sliding-window reductions. - Apply the label rules from Addendum A §2.3 and §10.2 to
produce a
Label. - Hand both to a
Snapshot.
§What the classifier deliberately does not do
- It does not talk to the engine.
- It does not read or write files.
- It does not emit friction side effects.
zero-commandsapplies the friction gate usingcrate::FrictionGate, not this type. - It does not decide what to render.
zero-tuireads theSnapshot.
Separation keeps the classifier exhaustively testable and snapshot-safe.
Structs§
- Classifier
- Incremental classifier. Feed events in, snapshot out.