HarnessArtifactRehydrationDecisionEvent
NexusLabs.Foundry.MicrosoftAgentFramework¶
NexusLabs.Foundry.MicrosoftAgentFramework.Progress¶
HarnessArtifactRehydrationDecisionEvent Class¶
One explicit artifact rehydration decision made by resolving a caller-supplied artifact reference. Emitted exactly once per explicit rehydration request/outcome — every resolution status, not only Resolved. Never emitted when resolution throws before reaching a decision (for example a pre-canceled token or a stale execution binding), because no decision was made in that case.
public sealed record HarnessArtifactRehydrationDecisionEvent : NexusLabs.Foundry.MicrosoftAgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Progress.HarnessArtifactRehydrationDecisionEvent>
Inheritance System.Object 🡒 HarnessArtifactRehydrationDecisionEvent
Implements IProgressEvent, System.IEquatable<HarnessArtifactRehydrationDecisionEvent>
Constructors¶
HarnessArtifactRehydrationDecisionEvent(DateTimeOffset, string, string, string, int, long, HarnessArtifactDiagnostics) Constructor¶
One explicit artifact rehydration decision made by resolving a caller-supplied artifact reference. Emitted exactly once per explicit rehydration request/outcome — every resolution status, not only Resolved. Never emitted when resolution throws before reaching a decision (for example a pre-canceled token or a stale execution binding), because no decision was made in that case.
public HarnessArtifactRehydrationDecisionEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics.HarnessArtifactDiagnostics Diagnostics);
Parameters¶
Timestamp System.DateTimeOffset
When the decision was made.
WorkflowId System.String
Top-level workflow correlation ID.
AgentId System.String
Which agent emitted this event, or null for workflow-level events.
ParentAgentId System.String
Parent agent ID for sub-agent runs, enabling tree reconstruction.
Depth System.Int32
Nesting depth: 0 = workflow, 1 = agent, 2 = sub-agent, etc.
SequenceNumber System.Int64
Globally ordered sequence number for event ordering.
Diagnostics HarnessArtifactDiagnostics
The privacy-safe, structured evidence for this decision. The identical instance is also attached to the internal rehydration result this decision produced.
Properties¶
HarnessArtifactRehydrationDecisionEvent.AgentId Property¶
Which agent emitted this event, or null for workflow-level events.
Implements AgentId
Property Value¶
HarnessArtifactRehydrationDecisionEvent.Depth Property¶
Nesting depth: 0 = workflow, 1 = agent, 2 = sub-agent, etc.
Implements Depth
Property Value¶
HarnessArtifactRehydrationDecisionEvent.Diagnostics Property¶
The privacy-safe, structured evidence for this decision. The identical instance is also attached to the internal rehydration result this decision produced.
public NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics.HarnessArtifactDiagnostics Diagnostics { get; init; }
Property Value¶
HarnessArtifactRehydrationDecisionEvent.ParentAgentId Property¶
Parent agent ID for sub-agent runs, enabling tree reconstruction.
Implements ParentAgentId
Property Value¶
HarnessArtifactRehydrationDecisionEvent.SequenceNumber Property¶
Globally ordered sequence number for event ordering.
Implements SequenceNumber
Property Value¶
HarnessArtifactRehydrationDecisionEvent.Timestamp Property¶
When the decision was made.
Implements Timestamp
Property Value¶
HarnessArtifactRehydrationDecisionEvent.WorkflowId Property¶
Top-level workflow correlation ID.
Implements WorkflowId