Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / MechanicalGateProfile

Type Alias: MechanicalGateProfile

ts
type MechanicalGateProfile = (artifacts) => MechanicalGateVerdict;

Defined in: packages/core/src/runtime/agent-loop.ts:94

A mechanical acceptance gate: an engine-registered NAMED pure function over AgentResult.artifacts. The registry is per engine like every other registry; the ladder driver journals each evaluation as a decision entry, so the ladder fold consumes only journaled verdicts, never live re-evaluation.

Parameters

ParameterType
artifactsreadonly Artifact[]

Returns

MechanicalGateVerdict