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
SucceededIReadOnlyList<string>Tools that have succeeded so far.
AttemptsIReadOnlyDictionary<string, int>Attempt counts per tool.
TerminatedBystringThe terminal tool already called, if any.
TaintedboolWhether untrusted content has entered the run.
TaintSourcestringThe tool that introduced the taint, if any.
Properties
Attempts
Attempt counts per tool.
public IReadOnlyDictionary<string, int> Attempts { get; init; }
Property Value
Succeeded
Tools that have succeeded so far.
public IReadOnlyList<string> Succeeded { get; init; }
Property Value
TaintSource
The tool that introduced the taint, if any.
public string? TaintSource { get; init; }
Property Value
Tainted
Whether untrusted content has entered the run.
public bool Tainted { get; init; }
Property Value
TerminatedBy
The terminal tool already called, if any.
public string? TerminatedBy { get; init; }