Skip to content

HarnessArtifactOutcomeCategory

NexusLabs.Foundry.MicrosoftAgentFramework

NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics

HarnessArtifactOutcomeCategory Enum

The explicit outcome of one artifact offload or rehydration decision. The five members through RecoveryRequired are only ever paired with Offload; the five members from Resolved onward are only ever paired with Rehydration. A single unified enum keeps every outcome inspectable through one categorical dimension without merging the two decisions' otherwise-disjoint state machines.

public enum HarnessArtifactOutcomeCategory

Fields

Inline 0

The content was kept inline; no workspace write occurred.

Offloaded 1

The content was freshly persisted to the workspace and a reference was minted.

ExistingReference 2

Matching content already existed at the content-addressed path; no write was required.

Failed 3

The decision failed closed; no reference was committed.

RecoveryRequired 4

The content was persisted, but the reference could not be committed before the call returned; a retry against the identical content resolves it without re-writing.

Resolved 5

The referenced content resolved successfully and is available for rehydration.

Stale 6

The referenced content exists but no longer matches its recorded digest.

Missing 7

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

Unauthorized 8

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

OverBudget 9

The referenced content exists and matches its digest, but exceeds the caller's budget.