Table of Contents

Namespace Cress.Recorder.Inference

Classes

InferenceOptions

Controls how StepInferenceEngine processes a sequence of RecordedEvent objects into InferredStep objects.

InferredStep

Intermediate representation of one inferred Cress flow step. This is the engine's output format; YAML serialization happens in R3.

Locator

Describes which element to act on. All fields are nullable; at least one of AutomationId or Name should be non-null for the locator to be useful at replay time.

StepInferenceEngine

Pure, stateless inference engine that converts a sequence of RecordedEvent objects into InferredStep objects using deterministic rules.

Design notes:

  • No desktop-driver dependency — safe to unit-test without launching any real application.
  • No mutation of input events.
  • Thread-safe: all methods are pure transformations on value types.
  • Single engine for both Desktop and Web domains — branching is via Domain. Desktop path is unchanged from R1-R6.

Enums

InferenceDomain

The recording domain that determines event-to-step mapping rules.

StepKind

The vocabulary of step kinds the inference engine can produce. Maps directly to operations supported by FlawrightRuntimeDriver.