ExecutorAttempt
Namespace: E2E
public sealed class ExecutorAttemptThe attempt a step belongs to: identity and lifecycle. It lets an executor keep state across the ActAsync calls of
one test, a running conversation or a plan or notes, without mixing it with the next test’s or a retry’s.
Inheritance: object
Properties
Section titled “Properties”AttemptId
Section titled “AttemptId”public required string AttemptId { get; init; }Value: string
CancellationToken
Section titled “CancellationToken”public CancellationToken CancellationToken { get; init; }Ends when the attempt ends: passed, failed, or cancelled. An executor that holds state for the attempt releases it
on this token. Upstream’s signal.
Value: CancellationToken
public int Index { get; init; }The zero-based retry index of this attempt.
Value: int
Memory
Section titled “Memory”public IDictionary<string, object?> Memory { get; init; }Scratch space for the attempt, kept by the runtime for the attempt’s life and never persisted, reported, or shown to a model by the runtime: what goes in is the executor’s, redaction included. Keyed, so several executors, or an executor and its tools, can share it.
Value: IDictionary<string, object>
TestId
Section titled “TestId”public required string TestId { get; init; }Value: string
TitlePath
Section titled “TitlePath”public IReadOnlyList<string> TitlePath { get; init; }The test’s title path, outermost describe first, redacted; empty outside a test (a session with no test file, as for
e2e mcp).
Value: IReadOnlyList<string>