Table of Contents

Class GuardSnapshot

Namespace
Emissary
Assembly
Emissary.dll

Serializable snapshot of the tool-call guard for durable suspension.

public sealed record GuardSnapshot : IEquatable<GuardSnapshot>
Inheritance
GuardSnapshot
Implements
Inherited Members

Constructors

GuardSnapshot(IReadOnlyList<string>, IReadOnlyDictionary<string, int>, string?, bool, string?)

Serializable snapshot of the tool-call guard for durable suspension.

public GuardSnapshot(IReadOnlyList<string> Succeeded, IReadOnlyDictionary<string, int> Attempts, string? TerminatedBy, bool Tainted, string? TaintSource)

Parameters

Succeeded IReadOnlyList<string>

Tools that have succeeded so far.

Attempts IReadOnlyDictionary<string, int>

Attempt counts per tool.

TerminatedBy string

The terminal tool already called, if any.

Tainted bool

Whether untrusted content has entered the run.

TaintSource string

The tool that introduced the taint, if any.

Properties

Attempts

Attempt counts per tool.

public IReadOnlyDictionary<string, int> Attempts { get; init; }

Property Value

IReadOnlyDictionary<string, int>

Succeeded

Tools that have succeeded so far.

public IReadOnlyList<string> Succeeded { get; init; }

Property Value

IReadOnlyList<string>

TaintSource

The tool that introduced the taint, if any.

public string? TaintSource { get; init; }

Property Value

string

Tainted

Whether untrusted content has entered the run.

public bool Tainted { get; init; }

Property Value

bool

TerminatedBy

The terminal tool already called, if any.

public string? TerminatedBy { get; init; }

Property Value

string