Expectation
autogen.beta.network.session.Expectation dataclass #
Expectation(name, on_violation, params=dict(), applies_to=None)
A protocol-shape contract the hub evaluates over WAL + clock.
name selects a built-in evaluator (acks_within, reply_within, max_silence). Violations are dispatched to one of the built-in handlers (audit, notify_session, auto_close).