UAIX.LmRuntime / Package guide

UAIX.LmRuntime.Abstractions

Runtime-neutral inference contracts, runtime settings, diagnostics, and governance interfaces.

Required For runtime-neutral contracts

UAIX.LmRuntime.Abstractions

Stable runtime contracts, request and response models, diagnostics, and governance interfaces.

Overview

Stable public interfaces, canonical inference contracts, runtime settings, and diagnostics for pure C# local LLM runtime packages.

Who should use it Runtime authors, adapter authors, orchestration layers, and applications that need common contracts without taking a model-format or execution dependency.
Execution status Runtime-neutral contracts and governance interfaces are implemented; this package does not parse a model or execute inference by itself.

Install

.NET CLI
dotnet add package UAIX.LmRuntime.Abstractions
Project file
<PackageReference Include="UAIX.LmRuntime.Abstractions" />

Version policy: The documentation deliberately omits UAIX.LmRuntime package version numbers. Resolve and pin versions through your normal dependency-management and lock-file process.

Direct package dependencies

None within the UAIX.LmRuntime package family.

Package role and boundaries

Required For runtime-neutral contracts

  • Implementing IInferenceRuntime, IInferenceSession, IModelAdapter, ITokenizer, or IUaiMemoryStore.
  • Canonical chat, tool, streaming, token-count, usage, error, and runtime-setting contracts.
  • Budget, claim-boundary, constraint, review-gate, memory-firewall, or Teleodynamic governance contracts.

Boundary

  • Reading GGUF files, running tensor kernels, or generating tokens by itself.
  • Granting tools, commands, network access, or execution authority through memory or governance metadata.

Contracts first

Applications can depend on stable requests, responses, messages, usage records, streaming deltas, model descriptors, tools, and response formats while leaving the concrete runtime replaceable.

Async and streaming

The inference contract exposes both a complete response and IAsyncEnumerable streaming deltas, with cooperative CancellationToken flow.

Governance is explicit

Budget, review, evidence, claim-boundary, constraint, quarantine, and memory-firewall APIs are separate policies. They do not silently alter model mathematics.

Key types

These are the main public entry points. The generated reference below includes the documented public package surface.

Coding examples

Examples use the documented public package surface. Paths, identities, runtime identifiers, device evidence, and application policy remain host inputs.

Create and execute an inference request

Accept any IInferenceRuntime implementation and construct a provider-neutral request.

InferenceExample.cs
using UAIX.LmRuntime.Abstractions;
using UAIX.LmRuntime.Contracts;

public static class InferenceExample
{
    /// <summary>
    /// Executes one provider-neutral inference request.
    /// </summary>
    /// <param name="runtime">The runtime implementation that will execute the request.</param>
    /// <param name="model">The model identifier understood by the runtime.</param>
    /// <param name="prompt">The user prompt to submit.</param>
    /// <param name="cancellationToken">A token used to cancel the operation.</param>
    /// <returns>The normalized inference response.</returns>
    public static Task<InferenceResponse> GenerateAsync(
        IInferenceRuntime runtime,
        string model,
        string prompt,
        CancellationToken cancellationToken)
    {
        ArgumentNullException.ThrowIfNull(runtime);
        ArgumentException.ThrowIfNullOrWhiteSpace(model);
        ArgumentException.ThrowIfNullOrWhiteSpace(prompt);

        var request = new InferenceRequest
        {
            Model = model,
            Messages =
            [
                LlmMessage.System("Answer directly and identify uncertainty."),
                LlmMessage.User(prompt)
            ],
            MaxOutputTokens = 256,
            Temperature = 0,
            TopP = 1,
            UseMemory = false
        };

        return runtime.GenerateAsync(request, cancellationToken);
    }
}

Consume streaming deltas

Stream text without coupling the caller to a concrete runtime implementation.

StreamingExample.cs
using System.Runtime.CompilerServices;
using UAIX.LmRuntime.Abstractions;
using UAIX.LmRuntime.Contracts;

public static class StreamingExample
{
    /// <summary>
    /// Yields non-empty text fragments from a streaming inference operation.
    /// </summary>
    /// <param name="runtime">The runtime implementation that produces deltas.</param>
    /// <param name="request">The normalized inference request.</param>
    /// <param name="cancellationToken">A token used to cancel enumeration and generation.</param>
    /// <returns>An asynchronous sequence of text fragments.</returns>
    public static async IAsyncEnumerable<string> StreamTextAsync(
        IInferenceRuntime runtime,
        InferenceRequest request,
        [EnumeratorCancellation] CancellationToken cancellationToken)
    {
        ArgumentNullException.ThrowIfNull(runtime);
        ArgumentNullException.ThrowIfNull(request);

        await foreach (StreamingDelta delta in runtime
            .StreamAsync(request, cancellationToken)
            .WithCancellation(cancellationToken))
        {
            if (!string.IsNullOrEmpty(delta.Text))
            {
                yield return delta.Text;
            }
        }
    }
}

Count chat tokens through the common tokenizer contract

Use ITokenizer when an orchestration layer should not know which concrete tokenizer is active.

TokenCountingExample.cs
using UAIX.LmRuntime.Abstractions;
using UAIX.LmRuntime.Contracts;

/// <summary>
/// Counts the tokens consumed by a normalized chat transcript.
/// </summary>
/// <param name="tokenizer">The tokenizer implementation used by the target model.</param>
/// <param name="messages">The ordered chat messages to count.</param>
/// <returns>The token count and tokenizer identity.</returns>
static TokenCountResult CountChatTokens(
    ITokenizer tokenizer,
    IReadOnlyList<LlmMessage> messages)
{
    ArgumentNullException.ThrowIfNull(tokenizer);
    ArgumentNullException.ThrowIfNull(messages);

    return tokenizer.CountTokens(messages);
}

Configure explicit runtime-policy defaults

RuntimeOptions exposes governance and resource settings as normal application configuration; enabling a flag does not substitute for implementing the corresponding policy.

RuntimeOptionsExample.cs
using UAIX.LmRuntime.Contracts;

var options = new RuntimeOptions
{
    DefaultModel = "local-model",
    MaxContextTokens = 8_192,
    MaxMemoryEntries = 0,
    EnableTeleodynamicGovernance = false,
    EnableConstraintPolicy = true,
    EnableClaimBoundaryPolicy = true,
    EnableReviewGatePolicy = true,
    ReturnNoOpResponseOnGovernanceDenial = true,
    ReturnNoOpResponseOnClaimBoundaryViolation = true,
    ReturnNoOpResponseOnReviewGateRequired = true,
    QuarantineGeneratedNeedsHumanReview = true,
    FailOnEvidenceLedgerError = true
};

Boundary: Policy flags describe orchestration intent. The application must supply and test concrete policy implementations.

Generated API reference

Expand a type to review its documented public fields, properties, constructors, methods, parameter descriptions, and return descriptions.

AdapterStatusUAIX.LmRuntime.Contracts 3 members

Represents normalized adapter status information.

Property StatusCode

Gets the provider status code, if applicable.

Property RequestId

Gets the provider request identifier, if supplied by the backend.

Property Message

Gets a normalized warning or diagnostic message.

FinishReasonUAIX.LmRuntime.Contracts 8 members

Identifies why an inference response stopped.

Field Unknown

The provider or backend did not return a reason.

Field Stop

The model naturally stopped.

Field Length

The model hit the configured maximum output token budget.

Field ToolCall

The model emitted or requested a tool call.

Field ContentFilter

The runtime stopped generation because content was filtered.

Field Cancelled

The request was cancelled.

Field Error

The backend reported an execution error.

Field PolicyDenied

The runtime selected no-op because policy, budget, or claim-boundary rules blocked automatic execution.

InferenceRequestUAIX.LmRuntime.Contracts 14 members

Represents a provider-neutral inference request.

Property Model

Gets the requested model identifier.

Property ConversationId

Gets the conversation identifier when one is present.

Property Messages

Gets the message sequence.

Property MaxOutputTokens

Gets the maximum output token budget.

Property Temperature

Gets the sampling temperature.

Property TopP

Gets the nucleus sampling probability cutoff.

Property TopK

Gets the top-k sampling cutoff when one is present.

Property Seed

Gets the deterministic sampler seed when one is present.

Property StopSequences

Gets stop sequences used to terminate generation.

Property Tools

Gets tool definitions available to the model.

Property ToolChoice

Gets tool selection guidance.

Property ResponseFormat

Gets the requested response format.

Property Metadata

Gets caller-supplied metadata propagated to adapters and diagnostics.

Property UseMemory

Gets a value indicating whether .uai memory should be injected before execution.

InferenceResponseUAIX.LmRuntime.Contracts 11 members

Represents a normalized inference response.

Property ResponseId

Gets the response identifier.

Property ConversationId

Gets the conversation identifier when one is present.

Property Model

Gets the resolved model identifier.

Property Provider

Gets the provider or backend name.

Property OutputText

Gets the output text.

Property FinishReason

Gets the legacy textual finish reason.

Property FinishReasonKind

Gets the strongly typed finish reason.

Property CreatedUtc

Gets the UTC creation timestamp.

Property Usage

Gets normalized usage data.

Property AdapterStatus

Gets normalized adapter status information.

Property GovernanceReceipt

Gets the governance receipt emitted by budget or claim-boundary policy.

InferenceUsageUAIX.LmRuntime.Contracts 4 members

Represents normalized model usage data.

Property InputTokens

Gets the input token count.

Property OutputTokens

Gets the output token count.

Property CachedInputTokens

Gets the provider-cached input token count when available.

Property EstimatedCostMicros

Gets the estimated cost in one-millionth currency units, if known.

LlmMessageUAIX.LmRuntime.Contracts 8 members

Represents a canonical chat or completion message.

Property Role

Gets the message role.

Property Content

Gets the text content for the message.

Property ToolCallId

Gets the tool call identifier associated with a tool message when one is present.

Method System(string)

Creates an immutable system-role LLM message from caller-supplied content.

content
The content processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: A new system-role message whose content is never null.

Method Developer(string)

Creates an immutable developer-role LLM message from caller-supplied content.

content
The content processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: A new developer-role message whose content is never null.

Method User(string)

Creates an immutable user-role LLM message from caller-supplied content.

content
The content processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: A new user-role message whose content is never null.

Method Assistant(string)

Creates an immutable assistant-role LLM message from caller-supplied content.

content
The content processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: A new assistant-role message whose content is never null.

Method Tool(string,string)

Creates an immutable tool-role LLM message correlated to the supplied tool call.

toolCallId
The caller-owned tool call id used for deterministic correlation by Tool; it must satisfy the documented range and grammar and grants no additional authority.
content
The content processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: A new tool-role message containing the supplied correlation identifier and non-null content.

LlmRoleUAIX.LmRuntime.Contracts 5 members

Identifies the role of a message in a canonical inference request.

Field System

System-level instruction context.

Field Developer

Developer-level instruction context.

Field User

End-user message content.

Field Assistant

Assistant message content.

Field Tool

Tool input or output content.

MemoryQueryUAIX.LmRuntime.Contracts 3 members

Represents a query against .uai memory entries.

Property ConversationId

Gets the conversation identifier filter when one is present.

Property Text

Gets full-text query text when one is present.

Property MaxEntries

Gets the maximum number of entries to return.

ModelDescriptorUAIX.LmRuntime.Contracts 6 members

Describes a model visible to the runtime.

Property ModelId

Gets the model identifier.

Property Provider

Gets the provider or backend name.

Property SupportsStreaming

Gets a value indicating whether streaming is supported.

Property IsLocal

Gets a value indicating whether the model executes locally.

Property ContextLength

Gets the maximum context length in tokens.

Property Capabilities

Gets capability names exposed by the model.

ProviderErrorUAIX.LmRuntime.Contracts 4 members

Represents a normalized adapter or provider error.

Property Code

Gets the normalized error code.

Property Message

Gets the error message.

Property Retriable

Gets a value indicating whether retry may be safe.

Property RetryAfter

Gets the suggested retry delay when available.

ResponseFormatUAIX.LmRuntime.Contracts 3 members

Describes structured output requirements for a response.

Property Kind

Gets the response format kind.

Property JsonSchema

Gets the JSON schema document used when is .

Property Strict

Gets a value indicating whether the backend should enforce strict schema adherence when supported.

ResponseFormatKindUAIX.LmRuntime.Contracts 3 members

Identifies the canonical output format mode.

Field Text

Free-form text response.

Field JsonObject

JSON object response.

Field JsonSchema

JSON schema-constrained response.

RuntimeOptionsUAIX.LmRuntime.Contracts 24 members

Defines runtime orchestration settings.

Property DefaultModel

Gets the default model identifier.

Property MaxMemoryEntries

Gets the maximum number of memory entries injected into a request.

Property MaxMemoryCharacters

Gets the maximum memory characters injected into the system context.

Property MaxContextTokens

Gets the maximum context tokens accepted by the orchestrator before adapter execution.

Property EnableTeleodynamicGovernance

Gets a value indicating whether Teleodynamic governance gates are evaluated before execution.

Property ReturnNoOpResponseOnGovernanceDenial

Gets a value indicating whether budget-denied requests return a no-op response instead of throwing.

Property EnableConstraintPolicy

Gets a value indicating whether request-side constraint rules are evaluated before adapter execution.

Property EnableClaimBoundaryPolicy

Gets a value indicating whether generated text is evaluated against claim-boundary rules.

Property ReturnNoOpResponseOnClaimBoundaryViolation

Gets a value indicating whether claim-boundary violations return a no-op response.

Property EnableReviewGatePolicy

Gets a value indicating whether slow-loop review gates are evaluated before execution.

Property ReturnNoOpResponseOnReviewGateRequired

Gets a value indicating whether review-gated requests return a no-op response instead of throwing.

Property QuarantineGeneratedNeedsHumanReview

Gets a value indicating whether generated items needing human review are written to the quarantine ledger.

Property FailOnEvidenceLedgerError

Gets a value indicating whether ledger append errors should fail inference.

Property AvailableResourceBudget

Gets the available resource budget used by the default governor.

Property ViabilityFloor

Gets the minimum resource reserve below which automatic actions are blocked.

Property MaxToolDefinitions

Gets the maximum number of tool definitions exposed to a request.

Property MaxUncertaintyScore

Gets the maximum uncertainty score accepted in the automatic lane.

Property TokenCostWeight

Gets the resource weight assigned to each token.

Property ToolDefinitionCost

Gets the resource weight assigned to each exposed tool definition.

Property MemoryEntryCost

Gets the resource weight assigned to each injected memory entry.

Property ReviewMinuteCost

Gets the resource weight assigned to each declared review minute.

Property UncertaintyCost

Gets the resource weight assigned to normalized uncertainty.

Property ClaimBoundaryRules

Gets additional claim-boundary rules used by the default claim policy.

Property ConstraintRules

Gets additional request-side constraint rules used by the default constraint policy.

StreamingDeltaUAIX.LmRuntime.Contracts 8 members

Represents a normalized streaming inference event.

Property Type

Gets the event type.

Property ResponseId

Gets the response identifier.

Property Text

Gets the text delta for text events.

Property ToolCallId

Gets the tool-call identifier for tool deltas.

Property ToolArgumentsDelta

Gets a tool-call argument delta.

Property Usage

Gets the usage payload when available.

Property Error

Gets an error message for error events.

Property CreatedUtc

Gets the UTC event timestamp.

StreamingEventTypeUAIX.LmRuntime.Contracts 6 members

Identifies the type of a streaming inference event.

Field Start

The stream has started.

Field Delta

The event contains text delta content.

Field ToolCallDelta

The event contains a tool-call delta.

Field Usage

The event contains usage information.

Field Completed

The stream completed successfully.

Field Error

The stream completed with an error.

TokenCountResultUAIX.LmRuntime.Contracts 2 members

Represents tokenizer count output.

Property TokenCount

Gets the token count.

Property Tokenizer

Gets the tokenizer name.

ToolChoiceUAIX.LmRuntime.Contracts 2 members

Defines runtime guidance for model tool selection.

Property Automatic

Gets a value indicating whether tool selection is automatic.

Property RequiredToolName

Gets a required tool name when a specific tool must be used.

ToolDefinitionUAIX.LmRuntime.Contracts 3 members

Defines a callable tool exposed through the canonical inference contract.

Property Name

Gets the tool name.

Property Description

Gets the tool description.

Property JsonSchema

Gets the JSON schema document used to validate tool arguments.

UaiFileMemoryOptionsUAIX.LmRuntime.Contracts 6 members

Defines settings for the .uai file memory store.

Property RootDirectory

Gets the root directory for .uai memory files.

Property MemoryFileName

Gets the memory file name.

Property IncludeShortTermMemoryFiles

Gets a value indicating whether short-term .sui memory files are included when reading memory.

Property ShortTermMemoryDirectoryName

Gets the directory name under the .uai root that contains short-term .sui memory files.

Property ShortTermMemoryFilePattern

Gets the file search pattern used to discover short-term memory units.

Property SkipInvalidEntries

Gets a value indicating whether invalid entries should be skipped instead of throwing.

UaiMemoryEntryUAIX.LmRuntime.Contracts 6 members

Represents a persisted .uai memory entry.

Property EntryId

Gets the memory entry identifier.

Property ConversationId

Gets the associated conversation identifier.

Property Role

Gets the memory role.

Property Content

Gets the persisted memory content.

Property CreatedUtc

Gets the UTC creation timestamp.

Property ContentSha256

Gets the SHA-256 hash of normalized content.

RuntimeTelemetryNamesUAIX.LmRuntime.Diagnostics 16 members

Defines stable telemetry names emitted by the runtime core.

Field SourceName

The ActivitySource and Meter name.

Field RequestCounter

Request counter metric name.

Field FailureCounter

Failure counter metric name.

Field RequestDurationMs

Request duration histogram metric name.

Field BudgetDecisionCounter

Teleodynamic budget decision counter metric name.

Field BlockedActionCounter

Teleodynamic blocked action counter metric name.

Field ClaimBoundaryViolationCounter

Claim-boundary violation counter metric name.

Field ReviewGateDecisionCounter

Slow-loop review-gate decision counter metric name.

Field QuarantineRecordCounter

Quarantine record counter metric name.

Field ConstraintDecisionCounter

Request-side constraint decision counter metric name.

Field ConstraintViolationCounter

Request-side constraint violation counter metric name.

Field EvidenceReceiptCounter

Evidence receipt counter metric name.

Field TeleodynamicControlDecisionCounter

Explicit teleodynamic control-cycle decision counter metric name.

Field TeleodynamicNoOpCounter

Explicit teleodynamic control-cycle no-op counter metric name.

Field MemoryFirewallDecisionCounter

Memory-firewall decision counter metric name.

Field MemoryQuarantineCounter

Memory-firewall quarantine counter metric name.

BudgetDecisionStatusUAIX.LmRuntime.Governance 4 members

Identifies the outcome of a runtime budget evaluation.

Field Unknown

The decision has not been evaluated.

Field Approved

The requested action is affordable under the configured viability budget.

Field Blocked

The requested action is blocked and should not execute automatically.

Field NoOpSelected

No-op was selected as the dominant safe action.

ClaimBoundaryDecisionUAIX.LmRuntime.Governance 6 members

Represents the result of applying claim-boundary rules to text.

Property Allowed

Gets a value indicating whether the text stayed within claim boundaries.

Property ViolatedRuleIds

Gets violated rule identifiers.

Property NoOpReason

Gets the selected no-op reason when the decision blocks output.

Property Message

Gets a bounded decision message.

Property SafeReplacementText

Gets a replacement text that can be emitted in automatic lanes.

Property CreatedUtc

Gets the UTC decision timestamp.

ClaimBoundaryRuleUAIX.LmRuntime.Governance 5 members

Defines a bounded claim-boundary rule applied to generated text or runtime claims.

Property RuleId

Gets the stable rule identifier.

Property Pattern

Gets the case-insensitive text pattern that triggers the rule.

Property Severity

Gets the rule severity.

Property NoOpReason

Gets the no-op reason associated with this rule.

Property Message

Gets the human-readable rule message.

ClaimBoundarySeverityUAIX.LmRuntime.Governance 3 members

Identifies how strongly a claim-boundary rule should affect runtime behavior.

Field Advisory

The rule adds advisory context only.

Field Warning

The rule should be logged and surfaced for review.

Field Block

The rule should block or replace output in automatic lanes.

ClaimLifecycleStatusUAIX.LmRuntime.Governance 6 members

Identifies the bounded evidence lifecycle assigned to a runtime or release claim.

Field Raw

The claim has been captured but has not received an evidence review.

Field Reviewed

The claim and cited evidence have received an initial review.

Field Bounded

The claim is constrained to an explicit domain, digest, environment, and evidence scope.

Field Promoted

The bounded claim has received explicit human approval for its intended publication lane.

Field Restricted

The claim remains usable only under narrower restrictions than originally requested.

Field Rejected

The claim has been rejected and cannot be promoted without a new evidence cycle.

ClaimStatusUAIX.LmRuntime.Governance 6 members

Identifies the evidence status assigned to a claim, generated artifact, or externally visible output.

Field Unknown

No claim status was supplied.

Field PublicReadyTemplate

The artifact is a buyer-safe methodology template and does not claim a specific client outcome.

Field GeneratedNeedsHumanReview

The artifact was generated or transformed by automation and requires human review before promotion.

Field ApprovedPublicOutcome

The artifact is an approved public outcome with reviewed evidence.

Field MachineReadableEvidence

The artifact is a machine-readable evidence payload intended for agents and due-diligence workflows.

Field Quarantined

The artifact is quarantined and cannot be promoted automatically.

ClaimTransitionDecisionUAIX.LmRuntime.Governance 5 members

Reports whether a requested claim-lifecycle transition is permitted by evidence and authority rules.

Property ClaimId

Gets the stable claim identifier.

Property Allowed

Gets a value indicating whether the requested transition is allowed.

Property EffectiveStatus

Gets the status that remains effective after policy evaluation.

Property NoOpReason

Gets the no-op reason when the requested transition is denied.

Property Message

Gets the bounded policy explanation.

ClaimTransitionRequestUAIX.LmRuntime.Governance 11 members

Describes one requested transition in the explicit claim-evidence lifecycle.

Property ClaimId

Gets the stable claim identifier.

Property CurrentStatus

Gets the currently recorded claim lifecycle status.

Property RequestedStatus

Gets the requested claim lifecycle status.

Property IndependentEvidenceCount

Gets the number of independent evidence references attached to the claim.

Property DomainBounded

Gets a value indicating whether the claim has an explicit domain and applicability boundary.

Property ResourceTracePresent

Gets a value indicating whether a candidate-bound resource trace supports the claim.

Property AuditTracePresent

Gets a value indicating whether an auditable decision trace supports the claim.

Property HumanApproved

Gets a value indicating whether an authorized human reviewer approved the requested promotion.

Property ProximityOnlyEvidence

Gets a value indicating whether the transition is justified only by association with a nearby approved claim.

Property BoundaryViolation

Gets a value indicating whether a claim-boundary violation was identified.

Property Rationale

Gets the bounded reviewer rationale attached to restrictive or terminal transitions.

ConstraintClosureReportUAIX.LmRuntime.Governance 6 members

Reports whether active work and constraint nodes participate in closed maintenance cycles.

Property RegistryId

Gets the analyzed registry identifier.

Property Closed

Gets a value indicating whether every active work and constraint node participates in a closed cycle.

Property StronglyConnectedComponents

Gets strongly connected components in deterministic node-identifier order.

Property OpenNodeIds

Gets active node identifiers that do not participate in a closed directed cycle.

Property RetirementCandidateIds

Gets active nodes marked for bounded retirement because maintenance burden exceeds evidence strength.

Property Diagnostics

Gets validation diagnostics for duplicate identifiers, missing endpoints, or invalid values.

ConstraintDecisionUAIX.LmRuntime.Governance 8 members

Represents the result of request-side constraint evaluation.

Property Allowed

Gets a value indicating whether automatic execution may proceed.

Property RequiresReview

Gets a value indicating whether the resulting artifact requires review before promotion.

Property NoOpReason

Gets the selected no-op reason when automatic execution is blocked.

Property MatchedRuleIds

Gets matched rule identifiers.

Property EvidenceReferences

Gets evidence references associated with this decision.

Property Message

Gets a bounded explanation suitable for logs and receipts.

Property SafeReplacementText

Gets the safe replacement text when no-op is selected.

Property CreatedUtc

Gets the UTC decision timestamp.

ConstraintEdgeUAIX.LmRuntime.Governance 4 members

Defines one directed maintenance or channeling relationship in a work-constraint graph.

Property SourceNodeId

Gets the source node identifier.

Property TargetNodeId

Gets the target node identifier.

Property Relationship

Gets the bounded relationship label, such as maintains, channels, depends-on, or verifies.

Property Strength

Gets the normalized relationship strength in the inclusive range from zero through one.

ConstraintNodeUAIX.LmRuntime.Governance 6 members

Defines one bounded node in the work-constraint closure graph.

Property NodeId

Gets the stable node identifier.

Property Kind

Gets the semantic role of the node.

Property Status

Gets the lifecycle state of the node.

Property MaintenanceBurden

Gets the non-negative recurring maintenance burden attributed to the node.

Property EvidenceStrength

Gets the non-negative evidence strength associated with the node.

Property Metadata

Gets bounded metadata attached to the node.

ConstraintNodeKindUAIX.LmRuntime.Governance 4 members

Identifies the role a node plays in a work-constraint registry.

Field Unknown

No node role was supplied.

Field Work

The node represents work that consumes resources and maintains constraints.

Field Constraint

The node represents a constraint that channels or limits work.

Field Evidence

The node represents evidence that supports a work or constraint decision.

ConstraintNodeStatusUAIX.LmRuntime.Governance 3 members

Identifies the current lifecycle state of a work-constraint registry node.

Field Active

The node is active and participates in closure analysis.

Field Frozen

The node is frozen and remains auditable but cannot be expanded automatically.

Field Retired

The node is retired and excluded from active closure analysis.

ConstraintRegistrySnapshotUAIX.LmRuntime.Governance 4 members

Captures one immutable work-constraint graph supplied to closure analysis.

Property RegistryId

Gets the stable registry identifier.

Property Nodes

Gets the graph nodes.

Property Edges

Gets the directed graph edges.

Property CapturedUtc

Gets the UTC time at which the registry snapshot was captured.

ConstraintRuleUAIX.LmRuntime.Governance 5 members

Defines an evidence-bounded runtime constraint rule.

Property RuleId

Gets the stable rule identifier.

Property Scope

Gets the inspected request surface.

Property Pattern

Gets the case-insensitive substring pattern matched by the default policy.

Property Severity

Gets the severity applied when the pattern is matched.

Property Message

Gets the bounded explanation for the decision receipt.

ConstraintScopeUAIX.LmRuntime.Governance 5 members

Identifies the request surface inspected by a constraint rule.

Field All

Inspect all supported request surfaces.

Field Messages

Inspect message content.

Field Metadata

Inspect metadata keys and values.

Field Tools

Inspect tool names, descriptions, and schemas.

Field ResponseFormat

Inspect response-format hints and schemas.

ConstraintSeverityUAIX.LmRuntime.Governance 3 members

Identifies how strongly a runtime constraint rule affects automatic execution.

Field Information

The rule only records an informational observation.

Field ReviewRequired

The rule permits execution but marks the artifact as needing review before promotion.

Field Block

The rule blocks automatic execution and selects no-op.

EvidenceReferenceUAIX.LmRuntime.Governance 5 members

Identifies a source used to justify a governance decision.

Property Source

Gets the evidence source name.

Property Path

Gets the evidence path or stable identifier.

Property Sha256

Gets the SHA-256 hash when the evidence is file-backed.

Property Span

Gets the line, byte, or section span when one is present.

Property Note

Gets a bounded note describing why the evidence is relevant.

GovernanceActionKindUAIX.LmRuntime.Governance 8 members

Identifies a Teleodynamic structural operator selected by the runtime control plane.

Field Unknown

No operator was specified.

Field Add

Add a bounded structure such as a tool, memory edge, adapter, or prompt template.

Field Merge

Merge overlapping structures after evidence shows lower maintenance burden.

Field Split

Split a structure into narrower lanes when evidence shows ambiguous or overloaded behavior.

Field Retire

Retire a structure whose maintenance burden is no longer justified.

Field NoOp

Select no mutation because evidence, budget, or claim boundaries do not justify action.

Field Reactivate

Reactivate a previously frozen structure after fresh evidence repays its maintenance burden.

Field Freeze

Freeze a structure so it remains auditable while automatic expansion and promotion are disabled.

GovernanceDecisionReceiptUAIX.LmRuntime.Governance 14 members

Represents an immutable evidence-bearing receipt for a runtime governance decision.

Property ReceiptId

Gets the stable receipt identifier.

Property PackageVersion

Gets the package version that emitted the receipt.

Property Model

Gets the associated model identifier.

Property ConversationId

Gets the conversation identifier when one is present.

Property Action

Gets the selected structural operator.

Property NoOpReason

Gets the selected no-op reason when applicable.

Property BudgetDecision

Gets the budget decision that contributed to the receipt.

Property ClaimBoundaryDecision

Gets the claim-boundary decision that contributed to the receipt.

Property ConstraintDecision

Gets the request-side constraint decision that contributed to the receipt.

Property ReviewGateDecision

Gets the slow-loop review-gate decision that contributed to the receipt.

Property QuarantineRecord

Gets the quarantine record emitted for the receipt, when one was written.

Property EvidenceReferences

Gets evidence references associated with the receipt.

Property Metadata

Gets bounded metadata for downstream audit and telemetry correlation.

Property CreatedUtc

Gets the UTC receipt timestamp.

MemoryFirewallPolicyUAIX.LmRuntime.Governance 8 members

Defines source, freshness, contradiction, entropy, and review boundaries for memory promotion.

Property MaximumEntropyScore

Gets the maximum entropy accepted in the automatic memory lane.

Property MinimumTrustScore

Gets the minimum source trust accepted in the automatic memory lane.

Property MaximumShortTermAge

Gets the maximum age of short-term packets before retirement.

Property MaximumMediumTermAge

Gets the maximum age of medium-term packets before retirement.

Property MaximumLongTermAge

Gets the maximum age of long-term packets before re-review is required.

Property MinimumLongTermEvidenceReferences

Gets the minimum evidence count required for durable long-term promotion.

Property RequireHumanReviewForLongTerm

Gets a value indicating whether long-term promotion requires explicit human review.

Property ReviewContradictions

Gets a value indicating whether contradiction always routes a packet to review.

MemoryPacketUAIX.LmRuntime.Governance 14 members

Describes a privacy-preserving memory packet using provenance and integrity metadata rather than raw content.

Property PacketId

Gets the stable packet identifier.

Property Tier

Gets the requested source-routed memory tier.

Property Source

Gets the bounded provenance source.

Property DeclaredContentSha256

Gets the content SHA-256 declared by the producer.

Property ObservedContentSha256

Gets the independently observed content SHA-256 supplied to the firewall.

Property EntropyScore

Gets the normalized entropy or unresolved uncertainty score.

Property TrustScore

Gets the normalized trust score assigned to the packet source.

Property IsCorrupt

Gets a value indicating whether an upstream integrity check marked the packet corrupt.

Property HasContradiction

Gets a value indicating whether the packet contradicts active memory.

Property ContradictionReferences

Gets bounded references to memories or evidence involved in a contradiction.

Property EvidenceReferences

Gets evidence references supporting provenance, trust, or contradiction analysis.

Property Metadata

Gets bounded metadata that excludes raw memory content.

Property CreatedUtc

Gets the UTC packet creation time.

Property ExpiresUtc

Gets the explicit UTC expiry time when one is present.

MemoryFirewallRequestUAIX.LmRuntime.Governance 4 members

Describes the requested disposition and review proof evaluated by the memory firewall.

Property Packet

Gets the packet to evaluate.

Property RequestedStatus

Gets the requested packet status.

Property HumanReviewed

Gets a value indicating whether explicit human review was completed.

Property ReviewReference

Gets a bounded review reference when human review was completed.

MemoryFirewallDecisionUAIX.LmRuntime.Governance 7 members

Represents the memory-firewall disposition for one packet.

Property PacketId

Gets the packet identifier.

Property Status

Gets the resulting firewall status.

Property Reason

Gets the primary firewall reason.

Property TargetTier

Gets the target memory tier when promotion is allowed.

Property Message

Gets a bounded explanation of the disposition.

Property CreatedUtc

Gets the UTC time at which the firewall decision was produced.

Property PromotionAllowed

Gets a value indicating whether the requested promotion was approved.

MemoryTierUAIX.LmRuntime.Governance 3 members

Identifies a source-routed memory tier managed by the memory firewall.

Field ShortTerm

Ephemeral context retained only for the immediate execution window.

Field MediumTerm

Reviewable working memory retained across a bounded sequence of interactions.

Field LongTerm

Durable memory that requires provenance, contradiction checks, and governed promotion.

MemoryPacketStatusUAIX.LmRuntime.Governance 6 members

Identifies the current firewall disposition of a memory packet.

Field Candidate

The packet has not yet passed a firewall decision.

Field Quarantined

The packet is isolated from active retrieval while evidence or integrity is unresolved.

Field ReviewRequired

The packet is structurally valid but requires an explicit human or policy review.

Field Promoted

The packet may be persisted in the approved target tier.

Field Rejected

The packet is invalid or unsafe to retain as active memory.

Field Retired

The packet is no longer eligible for active retrieval because it expired or was superseded.

MemoryFirewallReasonUAIX.LmRuntime.Governance 11 members

Identifies the primary reason for a memory-firewall disposition.

Field None

No firewall restriction was required.

Field MissingSource

The packet does not identify a bounded source.

Field InvalidDigest

A declared or observed content digest is not a valid SHA-256 value.

Field DigestMismatch

The observed content digest does not match the packet declaration.

Field CorruptPacket

The packet was explicitly marked corrupt.

Field StalePacket

The packet exceeded its freshness or expiry boundary.

Field ExcessiveEntropy

The packet entropy or uncertainty exceeds the automatic-lane threshold.

Field LowTrust

The packet source trust score is below the configured threshold.

Field Contradiction

The packet conflicts with one or more active memory references.

Field ReviewRequired

The requested tier or disposition requires explicit review.

Field EvidenceRequired

The requested promotion does not carry sufficient evidence references.

NoOpReasonUAIX.LmRuntime.Governance 16 members

Identifies why the runtime selected no-op.

Field None

No no-op reason applies.

Field InsufficientBudget

The requested work would exceed the available runtime budget.

Field ViabilityFloor

The requested work would cross the configured viability floor.

Field ExcessiveUncertainty

The uncertainty score is too high for an automatic action.

Field ReviewRequired

The requested work requires human review before promotion.

Field ClaimBoundaryViolation

The request or output crosses a claim boundary.

Field UnsupportedAction

The requested operator is not supported in the current lane.

Field WeakEvidence

The evidence packet is too weak to justify a structural mutation.

Field HardLimitExceeded

The request exceeds a hard token, memory, or tool-count limit.

Field ConstraintViolation

The request crossed a configured runtime constraint.

Field NoFeasibleImprovement

No feasible proposal produced enough bounded benefit to dominate explicit no-op.

Field MaintenanceCycleOpen

The work-constraint registry contains active structure outside a closed maintenance cycle.

Field PromotionEvidenceMissing

The requested claim promotion lacks candidate-bound evidence required by the lifecycle policy.

Field ProximityOnlyEvidence

The requested claim promotion relies only on proximity to another approved claim.

Field PhaseUnstable

The current structural phase is unstable and does not permit the requested automatic action.

Field IrreversibleAction

The proposed action lacks a documented rollback path required for automatic execution.

QuarantineRecordUAIX.LmRuntime.Governance 11 members

Represents an append-only quarantine ledger record for generated or unreviewed runtime artifacts.

Property RecordId

Gets the stable quarantine record identifier.

Property PackageVersion

Gets the package version that emitted the quarantine record.

Property ArtifactKind

Gets the artifact kind associated with the quarantine record.

Property Model

Gets the associated model identifier.

Property ConversationId

Gets the conversation identifier when one is present.

Property ClaimStatus

Gets the evidence status assigned to the quarantined item.

Property ReviewGateStatus

Gets the review-gate status that caused the record.

Property Reason

Gets the reason the item was quarantined or review-gated.

Property EvidenceReferences

Gets evidence references associated with the quarantined item.

Property Metadata

Gets bounded metadata for downstream review tools.

Property CreatedUtc

Gets the UTC record timestamp.

ResourceEconomyInputUAIX.LmRuntime.Governance 13 members

Describes the measured benefits and burdens of one observation or proposed structural action.

Property CorrelationId

Gets the stable correlation identifier copied into the transition record.

Property PredictiveGain

Gets observed predictive-loss reduction expressed as a non-negative raw gain.

Property ActionCost

Gets the estimated one-time cost of validating and applying the action.

Property MaintenanceCost

Gets the estimated recurring cost of retaining and reviewing the resulting structure.

Property EnergyCost

Gets the estimated energy or compute cost associated with the action.

Property MemoryCost

Gets the estimated memory cost associated with the action.

Property ReviewCost

Gets the estimated human-review cost associated with the action.

Property UncertaintyCost

Gets an explicit uncertainty cost already expressed in resource units.

Property UncertaintyScore

Gets normalized proposal uncertainty in the inclusive range from zero through one.

Property CountAsObservation

Gets a value indicating whether the committed transition represents a fast-loop observation.

Property CountAsStructuralReservation

Gets a value indicating whether the committed transition represents a structural reservation.

Property EvidenceReferences

Gets evidence references supporting the gain and cost measurements.

Property TransitionUtc

Gets the zero-offset UTC timestamp assigned to the transition.

ResourceEconomyPolicyUAIX.LmRuntime.Governance 13 members

Defines the bounded resource-economy policy used when structural proposals and observations are evaluated.

The policy makes predictive gain, action cost, maintenance burden, compute, memory, review, uncertainty, viability, and capacity explicit so a structural action cannot be justified by accuracy alone.

Property InitialResource

Gets the resource balance assigned to a newly created stateful economy.

Property Capacity

Gets the maximum resource balance retained after a transition.

Property ViabilityFloor

Gets the minimum resource balance required for an automatically approved action.

Property DecayRate

Gets the fraction of the current resource balance removed as natural decay during each observation.

Property PredictiveGainWeight

Gets the multiplier applied to measured predictive gain.

Property ActionCostWeight

Gets the multiplier applied to one-time action cost.

Property MaintenanceCostWeight

Gets the multiplier applied to recurring maintenance cost.

Property EnergyCostWeight

Gets the multiplier applied to estimated compute or energy cost.

Property MemoryCostWeight

Gets the multiplier applied to memory cost.

Property ReviewCostWeight

Gets the multiplier applied to human-review cost.

Property UncertaintyReserve

Gets the resource reserve charged for a fully uncertain proposal.

Property UncertaintyReserveRatio

Gets the fraction of the current balance protected in addition to the viability floor.

Property MinimumNetGain

Gets the minimum positive net resource change required before growth is preferred over no-op.

ResourceEconomyStateUAIX.LmRuntime.Governance 16 members

Captures the endogenous resource state carried between fast observations and structural-control cycles.

This state is independent from model weights and inference tensors. It records bounded accounting context used by the slow-loop control plane and cannot alter deterministic parity mode without an explicit external actuator.

Property Cycle

Gets the monotonically increasing committed transition number.

Property CurrentResource

Gets the current resource balance available to sustain runtime structure.

Property CumulativePredictiveGain

Gets the cumulative weighted predictive gain accepted by the resource economy.

Property CumulativeDecay

Gets the cumulative endogenous decay charged by the resource economy.

Property CumulativeActionCost

Gets the cumulative weighted one-time action cost charged by the resource economy.

Property CumulativeMaintenanceCost

Gets the cumulative weighted maintenance cost charged by the resource economy.

Property CumulativeEnergyCost

Gets the cumulative weighted energy or compute cost charged by the resource economy.

Property CumulativeMemoryCost

Gets the cumulative weighted memory cost charged by the resource economy.

Property CumulativeReviewCost

Gets the cumulative weighted human-review cost charged by the resource economy.

Property CumulativeUncertaintyReserve

Gets the cumulative uncertainty reserve charged by the resource economy.

Property ObservationCount

Gets the number of accepted fast-loop observations.

Property StructuralReservationCount

Gets the number of approved structural reservations.

Property Capacity

Gets the configured capacity used to normalize resource-retention metrics.

Property ViabilityFloor

Gets the configured viability floor used by the current economy.

Property UpdatedUtc

Gets the UTC time at which the state was produced.

Property ViabilityMargin

Gets current resource minus the configured viability floor.

ResourceEconomyTransitionUAIX.LmRuntime.Governance 20 members

Reports the deterministic resource transition associated with an observation or structural proposal.

Property CorrelationId

Gets the observation or reservation identifier associated with the transition.

Property PreviousState

Gets the state supplied before the transition.

Property NextState

Gets the candidate state after gain, decay, costs, and capacity bounds are applied.

Property WeightedGain

Gets the weighted gain credited to the transition.

Property DecayCost

Gets the natural decay charged to the transition.

Property ProtectedReserve

Gets the resource reserve protected in proportion to the previous balance.

Property EffectiveViabilityFloor

Gets the effective viability boundary after the protected reserve is added to the policy floor.

Property WeightedActionCost

Gets the weighted one-time action cost.

Property WeightedMaintenanceCost

Gets the weighted recurring maintenance cost.

Property WeightedEnergyCost

Gets the weighted compute or energy cost.

Property WeightedMemoryCost

Gets the weighted memory cost.

Property WeightedReviewCost

Gets the weighted human-review cost.

Property WeightedUncertaintyCost

Gets the uncertainty cost and reserve charged to the transition.

Property WeightedCost

Gets the total weighted action, maintenance, compute, memory, review, and uncertainty cost.

Property NetChange

Gets the unconstrained net resource change before capacity clamping.

Property Viable

Gets a value indicating whether the transition remains above the configured viability floor.

Property NoOpReason

Gets the no-op reason when the transition is not viable or does not repay its burden.

Property EvidenceReferences

Gets the evidence references supporting the transition inputs.

Property Message

Gets the bounded diagnostic explaining the transition outcome.

Property CreatedUtc

Gets the UTC time at which the transition was produced.

ReviewGateDecisionUAIX.LmRuntime.Governance 9 members

Represents the result of slow-loop review gate evaluation.

Property Status

Gets the review-gate status.

Property Allowed

Gets a value indicating whether automatic execution may proceed.

Property NoOpReason

Gets the no-op reason when automatic execution is blocked.

Property ReviewState

Gets the review-state label assigned to the work.

Property TriggeredRuleIds

Gets triggered review rule identifiers.

Property EvidenceReferences

Gets evidence references used by the review decision.

Property Metadata

Gets bounded metadata for review and audit systems.

Property Message

Gets the bounded review-gate message.

Property CreatedUtc

Gets the UTC review-gate timestamp.

ReviewGateRequestUAIX.LmRuntime.Governance 9 members

Describes runtime work that may require slow-loop review before execution or promotion.

Property Model

Gets the model identifier associated with the request.

Property ConversationId

Gets the conversation identifier when one is present.

Property Action

Gets the requested structural operator.

Property UncertaintyScore

Gets the normalized uncertainty score declared by the caller or derived by the orchestrator.

Property ToolDefinitions

Gets the number of tool definitions exposed to the request.

Property EstimatedReviewMinutes

Gets the estimated review effort in minutes.

Property EvidenceReferences

Gets evidence references used to justify the action.

Property Metadata

Gets bounded request metadata used by the policy.

Property CreatedUtc

Gets the UTC timestamp when the review request was created.

ReviewGateStatusUAIX.LmRuntime.Governance 5 members

Identifies the slow-loop review gate disposition.

Field Unknown

No review decision has been made.

Field NotRequired

No additional review is required for the selected lane.

Field Approved

The work is already approved for the selected lane.

Field ReviewRequired

Human review is required before promotion or mutation.

Field Blocked

The work is blocked by review policy and must select no-op.

RuntimeBudgetUAIX.LmRuntime.Governance 12 members

Defines resource-economy limits used by the runtime budget governor.

Property AvailableResource

Gets the available resource budget for the evaluated action.

Property ViabilityFloor

Gets the minimum reserve below which automatic structural growth is blocked.

Property MaxInputTokens

Gets the maximum accepted input-token count before a hard limit block.

Property MaxOutputTokens

Gets the maximum accepted output-token count before a hard limit block.

Property MaxToolDefinitions

Gets the maximum number of tool definitions accepted before a hard limit block.

Property MaxMemoryEntries

Gets the maximum number of injected memory entries accepted before a hard limit block.

Property MaxUncertaintyScore

Gets the maximum uncertainty score accepted in an automatic lane.

Property TokenCostWeight

Gets the resource cost assigned to each token considered by the request.

Property ToolDefinitionCost

Gets the resource cost assigned to each exposed tool definition.

Property MemoryEntryCost

Gets the resource cost assigned to each injected memory entry.

Property ReviewMinuteCost

Gets the resource cost assigned to each declared review minute.

Property UncertaintyCost

Gets the resource cost assigned to uncertainty after normalization.

RuntimeBudgetDecisionUAIX.LmRuntime.Governance 10 members

Represents a resource-economy decision for a runtime action.

Property Status

Gets the decision status.

Property Action

Gets the selected or requested structural operator.

Property NoOpReason

Gets the no-op reason when no-op was selected.

Property Approved

Gets a value indicating whether the action may continue automatically.

Property ActionCost

Gets the computed action cost.

Property AvailableResource

Gets the configured available resource value used during evaluation.

Property ViabilityFloor

Gets the configured viability floor used during evaluation.

Property Message

Gets a bounded decision message.

Property CreatedUtc

Gets the UTC decision timestamp.

Property EvidenceReferences

Gets evidence references used by the decision.

RuntimeBudgetRequestUAIX.LmRuntime.Governance 12 members

Describes a request or structural action being evaluated by the runtime budget governor.

Property Model

Gets the model identifier associated with the action.

Property ConversationId

Gets the conversation identifier associated with the action when one is present.

Property Action

Gets the requested structural operator.

Property InputTokens

Gets the input-token count after prompt and memory preparation.

Property OutputTokens

Gets the requested output-token count.

Property ToolDefinitions

Gets the number of tool definitions exposed to the model.

Property MemoryEntries

Gets the number of memory entries injected into the prompt.

Property RetrievalFanOut

Gets the retrieval fan-out declared by the caller or retriever.

Property EstimatedReviewMinutes

Gets the expected human review burden in minutes.

Property UncertaintyScore

Gets the normalized uncertainty score in the range zero to one.

Property Source

Gets a bounded source label for the evaluated action.

Property EvidenceReferences

Gets evidence references associated with the decision.

StructuralChangeDecisionUAIX.LmRuntime.Governance 9 members

Represents the budget, review, and evidence disposition for a proposed structural change.

Property Status

Gets the decision status.

Property Action

Gets the selected structural operator.

Property NoOpReason

Gets the no-op reason when no mutation may occur.

Property BudgetDecision

Gets the resource-budget decision.

Property ReviewGateDecision

Gets the review-gate decision.

Property GovernanceReceipt

Gets the governance receipt emitted for the decision.

Property QuarantineRecord

Gets the quarantine record when the decision is held for review.

Property Message

Gets the bounded decision message.

Property CreatedUtc

Gets the UTC decision timestamp.

StructuralChangeDecisionStatusUAIX.LmRuntime.Governance 3 members

Identifies the disposition of a proposed structural change.

Field Approved

The proposal was approved for the caller's mutation lane.

Field RequiresReview

The proposal was converted to slow-loop review.

Field NoOpSelected

No mutation is allowed.

StructuralChangeRequestUAIX.LmRuntime.Governance 16 members

Describes a slow-loop structural change proposed for runtime configuration, memory, tools, prompts, or backend routing.

Property ChangeId

Gets the caller-provided change identifier.

Property Action

Gets the requested structural operator.

Property TargetKind

Gets the type of structure being changed.

Property TargetName

Gets the structure name or stable key.

Property Model

Gets the model affected by the change when one is present.

Property ConversationId

Gets the conversation affected by the change when one is present.

Property EstimatedTokens

Gets the estimated token cost of validating or applying the change.

Property EstimatedOutputTokens

Gets the estimated generated-token cost of validation or rollback evidence.

Property ToolDefinitions

Gets the number of tool definitions affected by the change.

Property MemoryEntries

Gets the number of memory entries affected by the change.

Property RetrievalFanOut

Gets the retrieval fan-out required to validate the change.

Property EstimatedReviewMinutes

Gets the estimated human review minutes required before promotion.

Property UncertaintyScore

Gets the normalized uncertainty score for the change.

Property ClaimText

Gets claim text associated with the change, if any.

Property EvidenceReferences

Gets evidence references supporting the requested change.

Property Metadata

Gets bounded metadata used for receipts and audit correlation.

StructuralObservationWindowUAIX.LmRuntime.Governance 10 members

Captures bounded fast-loop measurements used by the slow-loop structural phase detector.

Property SampleCount

Gets the number of observations represented by the window.

Property CurrentLoss

Gets the current normalized predictive loss.

Property PreviousLoss

Gets the normalized predictive loss from the preceding window.

Property CurrentComplexity

Gets the current normalized structural complexity.

Property PreviousComplexity

Gets the normalized structural complexity from the preceding window.

Property ActionRate

Gets the normalized rate of structural actions in the current window.

Property DriftScore

Gets the normalized cross-context or cross-window behavioral drift score.

Property ViabilityMargin

Gets the resource balance minus the configured viability floor.

Property MaintenancePressure

Gets the normalized recurring maintenance pressure.

Property ReviewPressure

Gets the normalized human-review pressure associated with recent changes.

StructuralPhaseUAIX.LmRuntime.Governance 7 members

Identifies the bounded structural regime inferred from a recent observation window.

Field Unknown

The observation window is too small or invalid for classification.

Field UnderStructured

Loss remains high while complexity is low and viable growth remains available.

Field Growth

Loss is improving while bounded structural change remains economically viable.

Field PhaseLocked

Loss, complexity, and action rate are stable within configured tolerances.

Field OverStructured

Complexity and maintenance burden are growing without sufficient predictive improvement.

Field ResourceConstrained

The resource margin is too small to support additional automatic structure.

Field Drifting

Behavior has changed materially across contexts or observation periods.

StructuralPhaseAssessmentUAIX.LmRuntime.Governance 5 members

Reports the structural phase and bounded reasoning derived from an observation window.

Property Phase

Gets the classified structural phase.

Property Confidence

Gets the normalized confidence in the classification.

Property LossDelta

Gets the current-minus-previous loss delta.

Property ComplexityDelta

Gets the current-minus-previous complexity delta.

Property Message

Gets the bounded explanation for the classification.

StructuralPhasePolicyUAIX.LmRuntime.Governance 11 members

Defines deterministic thresholds for structural phase classification.

Property MinimumSampleCount

Gets the minimum number of observations required for classification.

Property HighLossThreshold

Gets the loss level above which a low-complexity system is considered under-structured.

Property LowComplexityThreshold

Gets the complexity level below which a high-loss system may be considered under-structured.

Property GrowthImprovementThreshold

Gets the minimum loss improvement required to classify a window as bounded growth.

Property StableLossDelta

Gets the maximum absolute loss change accepted as phase-locked stability.

Property StableComplexityDelta

Gets the maximum absolute complexity change accepted as phase-locked stability.

Property StableActionRate

Gets the maximum action rate accepted as phase-locked stability.

Property DriftThreshold

Gets the drift score at or above which the phase is classified as drifting.

Property ComplexityGrowthThreshold

Gets the complexity-growth threshold used to identify over-structured behavior.

Property MaintenancePressureThreshold

Gets the maintenance-pressure threshold used to identify over-structured behavior.

Property ReviewPressureThreshold

Gets the review-pressure threshold used to identify over-structured behavior.

StructuralProposalUAIX.LmRuntime.Governance 15 members

Describes one reversible candidate considered by the slow structural-control loop.

Property ProposalId

Gets the stable proposal identifier used by evidence and trace records.

Property Action

Gets the proposed structural operator.

Property Target

Gets the stable name of the affected structure.

Property ExpectedPredictiveGain

Gets the expected predictive-loss reduction produced by the proposal.

Property ComplexityDelta

Gets the signed structural-complexity change; negative values reduce complexity.

Property ActionCost

Gets the one-time cost of validating and applying the proposal.

Property MaintenanceCost

Gets the recurring cost of retaining the resulting structure.

Property EnergyCost

Gets the estimated energy or compute cost of the proposal.

Property MemoryCost

Gets the estimated memory cost of the proposal.

Property ReviewCost

Gets the expected human-review cost of the proposal.

Property UncertaintyScore

Gets the normalized proposal uncertainty in the inclusive range from zero through one.

Property Reversible

Gets a value indicating whether the proposal can be rolled back through a documented inverse action.

Property RequiresHumanReview

Gets a value indicating whether the proposal requires explicit human approval before application.

Property EvidenceReferences

Gets the evidence references that justify the proposal estimates.

Property Metadata

Gets bounded metadata attached to the proposal.

StructuralProposalEvaluationUAIX.LmRuntime.Governance 6 members

Reports the viability and local objective for one structural proposal.

Property Proposal

Gets the evaluated proposal.

Property ResourceTransition

Gets the resource transition predicted for the proposal.

Property Objective

Gets the local objective, where lower values represent a more favorable bounded action.

Property Feasible

Gets a value indicating whether all automatic-action gates were satisfied.

Property NoOpReason

Gets the reason the proposal was excluded when it was not feasible.

Property Message

Gets the bounded diagnostic explaining the evaluation.

TeleodynamicControlRequestUAIX.LmRuntime.Governance 11 members

Aggregates one opt-in slow-loop evaluation without exposing or mutating model inference state.

Property CycleId

Gets the stable control-cycle identifier.

Property Proposals

Gets the structural proposals considered during the cycle.

Property ResourceState

Gets the resource state observed before the cycle.

Property ResourcePolicy

Gets the resource-economy policy.

Property DecisionPolicy

Gets the proposal-scoring and safety policy.

Property ConstraintRegistry

Gets the work-constraint registry snapshot.

Property ObservationWindow

Gets the recent fast-loop observation window.

Property PhasePolicy

Gets the structural-phase threshold policy.

Property ClaimTransition

Gets a claim-lifecycle transition evaluated during the cycle when one is present.

Property CreatedUtc

Gets the zero-offset UTC time assigned to the control cycle and trace entry.

Property Metadata

Gets bounded metadata copied into the decision trace.

TeleodynamicControlResultUAIX.LmRuntime.Governance 5 members

Reports the complete bounded output of one opt-in teleodynamic control cycle.

Property PhaseAssessment

Gets the structural phase inferred from the observation window.

Property ConstraintClosure

Gets the work-constraint closure analysis.

Property Decision

Gets the selected structural proposal or explicit no-op decision.

Property ClaimDecision

Gets the claim-lifecycle decision when one is present.

Property TraceEntry

Gets the tamper-evident trace entry appended for the cycle.

TeleodynamicDecisionUAIX.LmRuntime.Governance 8 members

Reports the deterministic selection made across structural proposals and the explicit no-op candidate.

Property DecisionId

Gets the stable decision identifier.

Property SelectedAction

Gets the selected action, including explicit no-op.

Property SelectedProposalId

Gets the selected proposal identifier, or when no-op wins.

Property NoOpReason

Gets the reason no-op was selected, or for an actionable proposal.

Property Evaluations

Gets all bounded proposal evaluations in stable proposal-identifier order.

Property SelectedTransition

Gets the resource transition associated with the selected proposal or the unchanged no-op state.

Property Message

Gets the bounded explanation for the selected action.

Property CreatedUtc

Gets the UTC time at which the decision was produced.

TeleodynamicDecisionPolicyUAIX.LmRuntime.Governance 8 members

Defines deterministic scoring and safety rules for choosing among structural proposals and no-op.

Property MaximumProposals

Gets the maximum number of proposals accepted in one bounded evaluation.

Property MaximumUncertainty

Gets the maximum uncertainty accepted for an automatically actionable proposal.

Property MinimumEvidenceCount

Gets the minimum evidence-reference count required for an automatically actionable proposal.

Property ComplexityWeight

Gets the weight applied to absolute structural-complexity growth in the local objective.

Property UncertaintyWeight

Gets the weight applied to uncertainty in the local objective.

Property NoOpAdvantage

Gets the non-negative advantage a proposal must have over no-op before it can be selected.

Property RequireReversibleAutomaticAction

Gets a value indicating whether automatic proposal selection requires a documented rollback path.

Property DeferHumanReviewProposals

Gets a value indicating whether proposals requiring human review are excluded from automatic selection.

TeleodynamicTraceEntryUAIX.LmRuntime.Governance 4 members

Represents one immutable entry in the SHA-256-linked teleodynamic decision trace.

Property Sequence

Gets the one-based sequence number assigned by the trace chain.

Property Request

Gets the canonical event request stored by the entry.

Property PreviousHash

Gets the preceding entry hash, or 64 zero characters for the first entry.

Property ContentHash

Gets the lowercase SHA-256 digest covering the sequence, previous hash, and canonical request fields.

TeleodynamicTraceRequestUAIX.LmRuntime.Governance 8 members

Describes the canonical fields appended to the tamper-evident teleodynamic decision trace.

Property EventId

Gets the stable decision or event identifier.

Property EventKind

Gets the bounded event kind.

Property Action

Gets the selected governance action.

Property NoOpReason

Gets the no-op reason when no structural action was selected.

Property ResourceBefore

Gets the resource balance observed before the event.

Property ResourceAfter

Gets the resource balance selected after the event.

Property CreatedUtc

Gets the UTC event time supplied by the orchestrator.

Property Metadata

Gets bounded metadata serialized in ordinal key order.

TraceChainVerificationResultUAIX.LmRuntime.Governance 3 members

Reports whether a teleodynamic trace chain is structurally and cryptographically intact.

Property Valid

Gets a value indicating whether every sequence, predecessor hash, and content hash is valid.

Property FirstInvalidSequence

Gets the one-based sequence number of the first invalid entry, or zero when the chain is valid.

Property Message

Gets the bounded verification diagnostic.

IClaimBoundaryPolicyUAIX.LmRuntime.Abstractions 1 member

Evaluates generated text against bounded claim-boundary rules.

Method EvaluateAsync(string,System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.ClaimBoundaryRule>,System.Threading.CancellationToken)

Evaluates the async against the supplied policy and bounded observation state.

text
The text processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.
rules
The claim-boundary rules. Implementations may use defaults when this collection is empty.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<ClaimBoundaryDecision> that completes with the result of IClaimBoundaryPolicy.EvaluateAsync: Evaluates the async against the supplied policy and bounded observation state. Fault and cancellation states are propagated without a successful partial result.

IClaimLifecyclePolicyUAIX.LmRuntime.Abstractions 1 member

Enforces explicit evidence, boundary, and human-authority transitions for runtime claims.

Method Evaluate(UAIX.LmRuntime.Governance.ClaimTransitionRequest)

Evaluates the supplied request against the supplied policy and bounded observation state.

request
The requested transition and its bounded evidence signals.

Returns: The ClaimTransitionDecision result produced by IClaimLifecyclePolicy.Evaluate for this contract: Evaluates the supplied request against the supplied policy and bounded observation state. It is published only after all documented validation and ownership transitions succeed.

IConstraintClosureAnalyzerUAIX.LmRuntime.Abstractions 1 member

Analyzes a bounded work-constraint registry for closed maintenance cycles and retirement candidates.

Method Analyze(UAIX.LmRuntime.Governance.ConstraintRegistrySnapshot)

Computes deterministic graph closure information for the supplied registry snapshot.

snapshot
The immutable state snapshot being validated, serialized, restored, or analyzed without retaining caller-owned mutable aliases.

Returns: The closure report, including validation diagnostics and retirement candidates.

IConstraintPolicyUAIX.LmRuntime.Abstractions 1 member

Evaluates request-side constraints before budgeted execution is allowed.

Method EvaluateAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.ConstraintRule>,System.Threading.CancellationToken)

Evaluates the request against configured constraint rules.

request
The InferenceRequest containing the complete caller-owned inputs for EvaluateAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
rules
The rules sequence used by this operation; its required length, ordering, and element bounds are validated before access.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<ConstraintDecision> that completes with the result of IConstraintPolicy.EvaluateAsync: Evaluates the request against configured constraint rules. Fault and cancellation states are propagated without a successful partial result.

IEvidenceLedgerUAIX.LmRuntime.Abstractions 1 member

Appends immutable governance evidence receipts.

Method AppendAsync(UAIX.LmRuntime.Governance.GovernanceDecisionReceipt,System.Threading.CancellationToken)

Appends the async to the current IEvidenceLedger state after validating capacity, ordering, and ownership constraints.

receipt
The immutable governance decision receipt appended to the caller-owned evidence ledger in the supplied order.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: A task that represents completion of the asynchronous operation.

IInferenceRuntimeUAIX.LmRuntime.Abstractions 2 members

Defines the public runtime orchestration API.

Method GenerateAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)

Generates the async through the deterministic execution path owned by IInferenceRuntime.

request
The InferenceRequest containing the complete caller-owned inputs for GenerateAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous Task<InferenceResponse> that completes with the result of IInferenceRuntime.GenerateAsync: Generates the async through the deterministic execution path owned by IInferenceRuntime. Fault and cancellation states are propagated without a successful partial result.

Method StreamAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)

Streams the async in observable sequence order while honoring caller cancellation.

request
The InferenceRequest containing the complete caller-owned inputs for StreamAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: The normalized streaming events, enumerated in source order with caller cancellation and failure propagation governed by StreamAsync.

IInferenceSessionUAIX.LmRuntime.Abstractions 3 members

Defines a stateful inference session with explicit prefill and decode phases.

Property SessionId

Gets the session identifier.

Method PrefillAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)

Prefills the async into the current model state after validating token and cache bounds.

request
The InferenceRequest containing the complete caller-owned inputs for PrefillAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: The number of prompt tokens accepted by the session.

Method DecodeNextAsync(System.Threading.CancellationToken)

Decodes the next token or text chunk from the session.

cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<StreamingDelta> that completes with the result of IInferenceSession.DecodeNextAsync: Decodes the next token or text chunk from the session. Fault and cancellation states are propagated without a successful partial result.

IMemoryFirewallUAIX.LmRuntime.Abstractions 1 member

Evaluates source-routed memory packets before they can enter an active retrieval tier.

Method Evaluate(UAIX.LmRuntime.Governance.MemoryFirewallRequest)

Evaluates packet provenance, integrity, freshness, entropy, trust, contradiction, evidence, and review state.

request
The MemoryFirewallRequest containing the complete caller-owned inputs for Evaluate; required fields are validated and mutable collections are snapshotted before state changes or large allocations.

Returns: The memory region containing the supplied request, bounded to the validated range owned by the result.

IModelAdapterUAIX.LmRuntime.Abstractions 4 members

Defines the execution boundary for provider-hosted or local models.

Property ProviderName

Gets the provider or backend name.

Method GetModelAsync(string,System.Threading.CancellationToken)

Gets model metadata for the requested model.

model
The model whose validated metadata, tensors, or runtime state are consumed by this operation.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<ModelDescriptor> that completes with the result of IModelAdapter.GetModelAsync: Gets model metadata for the requested model. Fault and cancellation states are propagated without a successful partial result.

Method GenerateAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)

Generates the async through the deterministic execution path owned by IModelAdapter.

request
The InferenceRequest containing the complete caller-owned inputs for GenerateAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous Task<InferenceResponse> that completes with the result of IModelAdapter.GenerateAsync: Generates the async through the deterministic execution path owned by IModelAdapter. Fault and cancellation states are propagated without a successful partial result.

Method StreamAsync(UAIX.LmRuntime.Contracts.InferenceRequest,System.Threading.CancellationToken)

Streams the async in observable sequence order while honoring caller cancellation.

request
The InferenceRequest containing the complete caller-owned inputs for StreamAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: The normalized streaming event sequence, enumerated in source order with caller cancellation and failure propagation governed by StreamAsync.

IQuarantineLedgerUAIX.LmRuntime.Abstractions 1 member

Writes append-only records for generated or unreviewed artifacts that require quarantine.

Method AppendAsync(UAIX.LmRuntime.Governance.QuarantineRecord,System.Threading.CancellationToken)

Appends the async to the current IQuarantineLedger state after validating capacity, ordering, and ownership constraints.

record
The immutable quarantine record appended to the caller-owned ledger without altering its evidence fields.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: A task that represents completion of the asynchronous operation.

IResourceEconomyEngineUAIX.LmRuntime.Abstractions 1 member

Advances the structural-control resource economy using explicit gain and cost inputs.

Method Evaluate(UAIX.LmRuntime.Governance.ResourceEconomyState,UAIX.LmRuntime.Governance.ResourceEconomyInput,UAIX.LmRuntime.Governance.ResourceEconomyPolicy)

Evaluates the supplied state against the supplied policy and bounded observation state.

state
The immutable state observed before the candidate action.
input
The gain and burden estimates for the candidate action.
policy
The policy that define validation limits and execution behavior; required values are checked before use.

Returns: The ResourceEconomyTransition result produced by IResourceEconomyEngine.Evaluate for this contract: Evaluates the supplied state against the supplied policy and bounded observation state. It is published only after all documented validation and ownership transitions succeed.

IReviewGatePolicyUAIX.LmRuntime.Abstractions 1 member

Evaluates slow-loop review gates before consequential runtime work proceeds.

Method EvaluateAsync(UAIX.LmRuntime.Governance.ReviewGateRequest,System.Threading.CancellationToken)

Evaluates whether a request can continue in the automatic lane.

request
The ReviewGateRequest containing the complete caller-owned inputs for EvaluateAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<ReviewGateDecision> that completes with the result of IReviewGatePolicy.EvaluateAsync: Evaluates whether a request can continue in the automatic lane. Fault and cancellation states are propagated without a successful partial result.

IRuntimeBudgetGovernorUAIX.LmRuntime.Abstractions 1 member

Evaluates whether runtime work can proceed under the configured resource economy.

Method EvaluateAsync(UAIX.LmRuntime.Governance.RuntimeBudgetRequest,UAIX.LmRuntime.Governance.RuntimeBudget,System.Threading.CancellationToken)

Evaluates the requested runtime work against a resource budget.

request
The RuntimeBudgetRequest containing the complete caller-owned inputs for EvaluateAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
budget
The immutable runtime budget whose quantitative limits constrain the evaluated operation or proposal.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<RuntimeBudgetDecision> that completes with the result of IRuntimeBudgetGovernor.EvaluateAsync: Evaluates the requested runtime work against a resource budget. Fault and cancellation states are propagated without a successful partial result.

IStructuralChangePlannerUAIX.LmRuntime.Abstractions 1 member

Evaluates proposed structural mutations through budget, no-op, evidence, and review gates.

Method PlanAsync(UAIX.LmRuntime.Governance.StructuralChangeRequest,UAIX.LmRuntime.Governance.RuntimeBudget,System.Threading.CancellationToken)

Plans the disposition for a proposed structural change.

request
The StructuralChangeRequest containing the complete caller-owned inputs for PlanAsync; required fields are validated and mutable collections are snapshotted before state changes or large allocations.
budget
The immutable runtime budget whose quantitative limits constrain the evaluated operation or proposal.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<StructuralChangeDecision> that completes with the result of IStructuralChangePlanner.PlanAsync: Plans the disposition for a proposed structural change. Fault and cancellation states are propagated without a successful partial result.

IStructuralOperatorEngineUAIX.LmRuntime.Abstractions 1 member

Converts resource and claim-boundary decisions into an auditable structural operator receipt.

Method DecideAsync(UAIX.LmRuntime.Governance.RuntimeBudgetDecision,UAIX.LmRuntime.Governance.ClaimBoundaryDecision,System.Threading.CancellationToken)

Selects the structural operator for the current decision context.

budgetDecision
The prior budget decision that must authorize the structural operation before any proposal can advance.
claimBoundaryDecision
The claim-boundary decision used to constrain the resulting action, or null when no claim evaluation applies.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<GovernanceDecisionReceipt> that completes with the result of IStructuralOperatorEngine.DecideAsync: Selects the structural operator for the current decision context. Fault and cancellation states are propagated without a successful partial result.

IStructuralPhaseDetectorUAIX.LmRuntime.Abstractions 1 member

Classifies the current structural regime from bounded fast-loop measurements.

Method Detect(UAIX.LmRuntime.Governance.StructuralObservationWindow,UAIX.LmRuntime.Governance.StructuralPhasePolicy)

Classifies one observation window using deterministic threshold precedence.

window
The immutable observation window whose ordered measurements are evaluated to determine the structural phase.
policy
The policy that define validation limits and execution behavior; required values are checked before use.

Returns: The StructuralPhaseAssessment result produced by IStructuralPhaseDetector.Detect for this contract: Classifies one observation window using deterministic threshold precedence. It is published only after all documented validation and ownership transitions succeed.

ITeleodynamicControlPlaneUAIX.LmRuntime.Abstractions 1 member

Coordinates the resource, proposal, closure, phase, claim, and trace components on a slow timescale.

Method Evaluate(UAIX.LmRuntime.Governance.TeleodynamicControlRequest)

Evaluates one complete control cycle without mutating model weights, tokenizer state, or generated output.

request
The TeleodynamicControlRequest containing the complete caller-owned inputs for Evaluate; required fields are validated and mutable collections are snapshotted before state changes or large allocations.

Returns: The phase, closure, structural decision, claim decision when present, and tamper-evident trace entry.

ITeleodynamicDecisionEngineUAIX.LmRuntime.Abstractions 1 member

Selects a bounded structural proposal or explicit no-op using resource and evidence constraints.

Method Decide(string,System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.StructuralProposal>,UAIX.LmRuntime.Governance.ResourceEconomyState,UAIX.LmRuntime.Governance.ResourceEconomyPolicy,UAIX.LmRuntime.Governance.TeleodynamicDecisionPolicy,System.DateTimeOffset)

Evaluates the proposal set and returns one deterministic, no-op-aware decision.

decisionId
The stable identifier assigned by the caller to the decision cycle.
proposals
The proposals sequence used by this operation; its required length, ordering, and element bounds are validated before access.
state
The validated state value consumed by the operation; mutations, when applicable, are limited to the explicitly documented state owner.
resourcePolicy
The immutable resource-economy policy that defines allowed transitions and quantitative thresholds for the decision.
decisionPolicy
The immutable decision policy that constrains proposal selection, no-op behavior, and review requirements.
createdUtc
The caller-supplied UTC timestamp recorded in the deterministic decision receipt; non-UTC offsets must be normalized by the caller.

Returns: The TeleodynamicDecision result produced by ITeleodynamicDecisionEngine.Decide for this contract: Evaluates the proposal set and returns one deterministic, no-op-aware decision. It is published only after all documented validation and ownership transitions succeed.

ITeleodynamicTraceChainUAIX.LmRuntime.Abstractions 3 members

Maintains an append-only, SHA-256-linked trace of bounded structural-control decisions.

Method Snapshot

Gets an immutable snapshot of the current trace entries.

Returns: The current trace entries in ascending sequence order.

Method Append(UAIX.LmRuntime.Governance.TeleodynamicTraceRequest)

Appends one canonical event to the trace.

request
The TeleodynamicTraceRequest containing the complete caller-owned inputs for Append; required fields are validated and mutable collections are snapshotted before state changes or large allocations.

Returns: The immutable trace entry assigned to the event.

Method Verify(System.Collections.Generic.IReadOnlyList<UAIX.LmRuntime.Governance.TeleodynamicTraceEntry>)

Verifies an arbitrary trace snapshot without mutating the current chain.

entries
The entries to verify in their supplied order.

Returns: The first detected chain error or a valid result.

ITokenizerUAIX.LmRuntime.Abstractions 6 members

Defines tokenization behavior for runtime token budgeting and model parity work.

Property Name

Gets the tokenizer name.

Method Tokenize(string)

Tokenizes the supplied text with the configured metadata and preserves deterministic token order.

text
The text processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: An ordered read-only collection of token text values produced by the configured tokenizer.

Method Encode(string,bool,bool)

Encodes text into token identifiers when the tokenizer has a vocabulary.

text
The text processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.
addBos
A value indicating whether add BOS applies to this operation.
addEos
A value indicating whether add EOS applies to this operation.

Returns: An ordered read-only collection of token identifiers produced by the configured tokenizer.

Method Decode(System.Collections.Generic.IEnumerable<int>)

Decodes token identifiers into text when the tokenizer has a vocabulary.

tokenIds
The ordered token identifiers to process; sequence order is preserved and each identifier is validated where required.

Returns: The decoded text produced from the validated token sequence in the original sequence order.

Method CountTokens(string)

Counts tokens in a single text value.

text
The text processed by the configured encoding or normalization rules; it must satisfy the declared nullability contract.

Returns: The int value computed by ITokenizer.CountTokens for this contract: Counts tokens in a single text value. Range, finite-value, and overflow checks are completed before the value is returned.

Method CountTokens(System.Collections.Generic.IEnumerable<UAIX.LmRuntime.Contracts.LlmMessage>)

Counts tokens across a set of model messages.

messages
The messages sequence used by this operation; its required length, ordering, and element bounds are validated before access.

Returns: The TokenCountResult result produced by ITokenizer.CountTokens for this contract: Counts tokens across a set of model messages. It is published only after all documented validation and ownership transitions succeed.

IUaiMemoryStoreUAIX.LmRuntime.Abstractions 2 members

Defines append and query behavior for .uai-backed runtime memory.

Method AppendAsync(UAIX.LmRuntime.Contracts.UaiMemoryEntry,System.Threading.CancellationToken)

Appends the async to the current IUaiMemoryStore state after validating capacity, ordering, and ownership constraints.

entry
The entry examined or transformed by this operation; it must satisfy the declared type and range constraints.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: A task that completes when the entry has been written.

Method ReadAsync(UAIX.LmRuntime.Contracts.MemoryQuery,System.Threading.CancellationToken)

Reads the async from the current IUaiMemoryStore state using the component's validated representation.

query
The bounded memory query defining the caller-authorized selection criteria and result ceiling.
cancellationToken
The caller-provided token used to cancel the operation before additional work or results are published.

Returns: An asynchronous ValueTask<IReadOnlyList<UaiMemoryEntry>> that completes with the result of IUaiMemoryStore.ReadAsync: Reads the async from the current IUaiMemoryStore state using the component's validated representation. Fault and cancellation states are propagated without a successful partial result.

RuntimePackageVersionUAIX.LmRuntime.Abstractions 2 members

Provides the runtime package version emitted by the centrally configured assembly metadata.

Package projects obtain their version from Directory.Build.props. Runtime components should use this type instead of repeating a version literal, which keeps evidence, session, CLI, and governance records aligned with the assembly that produced them.

Property Current

Gets the normalized three-part package version of the active runtime distribution.

Method Resolve(System.Reflection.Assembly)

Resolves a normalized three-part package version from an assembly identity.

assembly
The assembly whose centrally generated version metadata is authoritative.

Returns: A major.minor.build version string, or 0.0.0 when the assembly has no version metadata.

Frequently asked questions

Can I generate text with only this package?

No. It defines contracts and policy interfaces. Use LocalEndpoint for the high-level local GGUF facade, or compose the lower-level GGUF, tokenization, kernel, sampling, and LLaMA packages.

Are the governance interfaces mandatory?

No. They are explicit policy surfaces. A runtime should advertise and test the policies it actually applies rather than implying that contract presence equals enforcement.

Does a memory object grant model, command, network, or tool authority?

No. Memory and governance evidence remain data. Execution authority belongs to separately implemented and user-approved application gates.