Module env

Module env 

Source
Expand description

Structs§

DebugConfig
Debug instrumentation settings.
EnvInfo
Metadata describing the current environment state for info payloads.
FaultRecord
Latched per-env runtime fault metadata.
GameEnv
A single Weiss Schwarz environment instance with deterministic RNG state.
StepOutcome
Outcome from applying a single decision action.

Enums§

EngineErrorCode
Engine error codes surfaced in outputs.
FaultSource
Stable source location for a latched env fault.

Constants§

CHECK_TIMING_QUIESCENCE_CAP
Maximum check-timing iterations allowed before faulting (prevents infinite loops).
HAND_LIMIT
End-of-turn hand limit enforced by cleanup rules.
STACK_AUTO_RESOLVE_CAP
Maximum stack depth the engine will auto-resolve before faulting.

Functions§

legal_action_ids_cached_into
Compute legal action ids into a reusable output buffer.