Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / DeterminismConfig

Interface: DeterminismConfig

Defined in: packages/core/src/runner/determinism.ts:45

Host configuration for the guard (CreateEngineOptions.determinism).

Properties

PropertyTypeDescriptionDefined in
allowlist?readonly (string | RegExp)[]Caller frames matching any pattern are exempt by explicit host decision: classified 'allowlisted' in the emitted event, never a process warning, never a rejection. A string matches as a substring of the frame; a RegExp matches by test. Patterns match the RAW frame, before any redaction. Installed dependencies (node_modules) and Node runtime frames (node: specifiers) are exempt WITHOUT configuration and emit nothing at all.packages/core/src/runner/determinism.ts:56
mode?DeterminismMode-packages/core/src/runner/determinism.ts:46
redact?(frame) => stringRedaction hook for public telemetry: applied to the frame and the parsed file path before they leave in events, process warnings, and DeterminismError data, so absolute host paths need not reach an OTel backend. Default: identity.packages/core/src/runner/determinism.ts:63