Expand description
The runtime session spec, its limits, and the report a finished run returns.
Structs§
- Episode
Summary - One completed episode’s summary, recorded in completion order across all
lanes. The pull counterpart of the
episode_completedhook event, so a caller without hooks (e.g. the in-processrun_localloop) still gets per-episode results on the report. - Peer
Ceiling - What one served peer can decode, learned at its handshake. The driver checks
every payload it relays against the target leg’s ceiling through the
session’s
RelayPolicy, not against the session edition alone. - Runtime
Limits - Per-op timeouts and the telemetry window for one session. Serialized with
explicit millisecond field names (
*Ms); legacy unsuffixed fields are rejected. - Runtime
Report - What a finished or aborted session returns: totals plus the durable telemetry aggregate.
- Runtime
Session Spec - Everything one route needs to run: its identity, the negotiated env
contract, and the per-op limits.
validategates a spec before the driver runs it.
Constants§
- ENV_
RESET_ OPTIONS_ KEY - Key under which an env declares, in its contract metadata, which reserved
reset-option keys it wants delivered (a list of strings). The runtime sends a
reserved
ResetRequest.optionskey only to an env that named it here, so an env that forwardsoptionsblindly into a third-partyresetnever receives one it cannot interpret. Mirrored in Python asrlmesh.ENV_RESET_OPTIONS_KEY. - TRIAL_
INDEX_ OPTION - The reserved reset option carrying the ordinal of the episode a reset
starts. Declared by an env under
ENV_RESET_OPTIONS_KEY; read in Python asrlmesh.trial_index(options).
Functions§
- declares_
reset_ option - Whether
contractnamedkeyin its metadata underENV_RESET_OPTIONS_KEY, as either a list of strings or a bare string. - reset_
options_ for - The
ResetRequest.optionsmap deliveringtrialsunderoption_key— the trial-index key the session’s edition governs (EditionDefaults::trial_index_option_key, mirrored for env-side callers byTRIAL_INDEX_OPTION) — orNonewhen there are no trials or the env never declared the key.