Skip to content

Type Alias: TraceProperty

@kortexya/reasoninglayer


@kortexya/reasoninglayer / TraceProperty

TraceProperty = { NoToolUseMatchingRegex: { inputRegex: string; toolName: string; }; } | { ToolAlwaysSucceeds: { toolName: string; }; } | { MustPrecede: { first: string; second: string; }; } | { All: TraceProperty[]; }

Defined in: src/types/verification.ts:261

A purely syntactic predicate over an agent trace, externally tagged.

  • NoToolUseMatchingRegex — no step uses toolName (empty matches any tool) with a JSON-serialized input matching inputRegex.
  • ToolAlwaysSucceeds — every step using toolName has success = true.
  • MustPrecede — every second step is preceded by a first step.
  • All — every predicate holds.