Skip to content

HarnessArtifactDecisionReason

NexusLabs.Foundry.MicrosoftAgentFramework

NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics

HarnessArtifactDecisionReason Enum

The stable, explicit reason category behind one HarnessArtifactOutcomeCategory. Every value is assigned by a deterministic mapping at the point a decision is made — never derived by parsing a human-readable evidence string. The first ten members are only ever paired with an offload outcome; the last five are only ever paired with a rehydration outcome.

public enum HarnessArtifactDecisionReason

Fields

BelowThreshold 0

The serialized content was at or under the configured inline byte threshold.

RecoverableSegmentBypass 1

The content was a recoverable context segment, which always inlines unconditionally, bypassing the byte threshold entirely.

ThresholdExceeded 2

The serialized content exceeded the configured inline byte threshold.

ExistingContentMatch 3

Content already existed at the content-addressed path with a matching digest, so no write was required.

NoAuthorizedWorkspace 4

No authorized workspace was available to offload to (no execution binding, no bound workspace, or no execution context accessor).

WorkspaceReadFailed 5

Reading existing content at the content-addressed path failed.

ContentAddressMismatch 6

Existing content at the content-addressed path did not match its expected digest.

WorkspaceWriteFailed 7

Writing fresh content to the workspace failed.

CanceledAfterWrite 8

The request token became canceled after a successful write but before the reference could be committed.

CheckpointFailed 9

The configured post-write checkpoint threw after a successful write.

DigestVerified 10

The recomputed digest matched the reference's recorded digest.

DigestMismatch 11

The recomputed digest no longer matched the reference's recorded digest.

Missing 12

No content exists at the reference's recorded workspace path.

OwnerMismatch 13

The reference's recorded owner did not match the current trusted execution binding.

BudgetExceeded 14

The observed content size exceeded the caller-supplied maximum byte budget.