Skip to content

ExecutorStep

Namespace: E2E

public sealed class ExecutorStep

One step handed to an executor. An Act plans and executes a flow. An Assert judges a condition and must not change the app.

Inheritance: object

View source

public int Index { get; init; }

The zero-based position of this step among the agent steps of the attempt.

Value: int

View source

public required string Instruction { get; init; }

The instruction or assertion the test passed.

Value: string

View source

public required ExecutorStepKind Kind { get; init; }

Value: ExecutorStepKind

View source

public IReadOnlyDictionary<string, JsonElement>? Params { get; init; }

The call params as JSON. A Secret is projected to {"kind":"secret","name":...,"purpose":...}: the plaintext never reaches the executor, which fills fields through CancellationToken).

Value: IReadOnlyDictionary<string, JsonElement>

View source

public IReadOnlyList<ExecutorSecret> Secrets { get; init; }

The secrets declared in the params, which CancellationToken) may fill.

Value: IReadOnlyList<ExecutorSecret>

View source