Skip to content

Runtime Control Value Registries

All multi-value fields in runtime control fixed metadata use the registries in this page. Values outside the listed standard ranges are invalid unless the field explicitly names a private/vendor range. Private/vendor values are not valid in mandatory conformance scenarios.

Receivers MUST reject fixed metadata that sets a reserved flag bit, uses a reserved enum value, or sets a reserved field to a non-zero value.

Role Codes

ValueNameMeaning
0x00unspecifiedOnly valid when the role field is optional.
0x01clientClient-side SDK, caller, or browser endpoint.
0x02serverServer-side SDK or service endpoint.
0x03runtimeRuntime host or local execution engine.
0x04subagentAgent worker or delegated execution unit.
0x05toolTool host or tool executor.
0x06schedulerScheduler, router, or admission controller.
0x07conformance_runnerWire-level conformance runner.
0x08..0x7fReservedReserved for future standard role codes.
0x80..0xffPrivate/vendorPrivate extension range; excluded from conformance.

Reason And Stage Codes

FieldValueNameMeaning
reason_code0x0000unspecifiedGeneric reason.
reason_code0x0001user_cancelledUser or caller cancelled the work.
reason_code0x0002supersededReplaced by a newer operation.
reason_code0x0003deadline_expiredDeadline or expiration timestamp passed.
reason_code0x0004budget_exceededCompute, memory, bandwidth, or token budget.
reason_code0x0005dependency_failedRequired dependency failed.
reason_code0x0006transport_closingTransport is closing.
reason_code0x0007shutdownRuntime or service shutdown.
reason_code0x0008conformance_injectionInjected by conformance runner.
drop_reason_code0x0000noneNo drop reason.
drop_reason_code0x0001deadline_expiredDropped after deadline.
drop_reason_code0x0002supersededDropped because a newer operation superseded.
drop_reason_code0x0003peer_cancelledDropped after peer cancellation.
drop_reason_code0x0004backpressureDropped due to pressure policy.
drop_reason_code0x0005capability_mismatchRequired capability was unavailable.
drop_reason_code0x0006budget_exceededBudget exceeded.
drop_reason_code0x0007object_invalidatedReferenced object was invalidated.
drop_reason_code0x0008transport_closedTransport closed before result delivery.
drop_reason_code0x0009conformance_injectionInjected by conformance runner.
stage_code0x0000unspecifiedStage not specified.
stage_code0x0001queuedAccepted into a queue.
stage_code0x0002admittedAdmitted for execution.
stage_code0x0003input_receivedRequired input has arrived.
stage_code0x0004preprocessingPre-processing input.
stage_code0x0005executingMain execution is running.
stage_code0x0006waiting_dependencyWaiting for dependency or upstream result.
stage_code0x0007producing_partialProducing partial results.
stage_code0x0008finalizingFinalizing output.
stage_code0x0009completedCompleted normally.
stage_code0x000adroppedResult or operation was dropped.
stage_code0x000bfailedExecution failed.
Any listed field0x000c..0x00ffReservedReserved for future standard values.
stage_code0x0100..0x7fffProfile-standard stagesStandard stages owned by a specific profile.
Any listed field0x8000..0xffffPrivate/vendor extensionPrivate extension range; excluded from tests.

Pressure, Cost, Route, Object, And Cache Codes

FieldValueNameMeaning
pressure_level0x0000noneNo active pressure.
pressure_level0x0001softSender should slow down.
pressure_level0x0002hardSender must stop or wait for credit.
pressure_level0x0003pausedScope is paused until further notice.
pressure_reason0x0000unspecifiedGeneric pressure reason.
pressure_reason0x0001receiver_queue_fullReceiver queue is full.
pressure_reason0x0002sender_queue_fullSender queue is full.
pressure_reason0x0003memory_pressureMemory pressure.
pressure_reason0x0004bandwidth_pressureBandwidth pressure.
pressure_reason0x0005compute_pressureCompute capacity pressure.
pressure_reason0x0006deadline_pressureDeadline or freshness pressure.
pressure_reason0x0007fairness_policyFairness policy throttled the scope.
pressure_reason0x0008conformance_injectionInjected by conformance runner.
cost_model_id0x0000unspecifiedCost model not specified.
cost_model_id0x0001bytes_onlyCost entries are byte counts.
cost_model_id0x0002compute_unitsCost entries are compute units.
cost_model_id0x0003token_unitsCost entries are token units.
cost_model_id0x0004memory_bytesCost entries are memory byte budgets.
cost_model_id0x0005bandwidth_bytesCost entries are bandwidth byte budgets.
cost_model_id0x0006weighted_unitsCost entries use negotiated weighted units.
executor_class0x0000unspecifiedExecutor class not specified.
executor_class0x0001local_runtimeLocal runtime executor.
executor_class0x0002remote_runtimeRemote runtime executor.
executor_class0x0003gpu_workerGPU worker.
executor_class0x0004cpu_workerCPU worker.
executor_class0x0005subagentAgent worker.
executor_class0x0006tool_hostTool host.
executor_class0x0007model_serverModel server.
executor_class0x0008render_workerRender worker.
affinity_class0x0000noneNo affinity requested.
affinity_class0x0001same_processPrefer same process.
affinity_class0x0002same_hostPrefer same host.
affinity_class0x0003same_gpuPrefer same GPU.
affinity_class0x0004same_numaPrefer same NUMA node.
affinity_class0x0005same_regionPrefer same region.
affinity_class0x0006storage_localPrefer local storage.
object_kind0x0000unspecifiedObject kind not specified.
object_kind0x0001tensorTensor or tensor shard.
object_kind0x0002token_blockToken block.
object_kind0x0003image_tileImage or render tile.
object_kind0x0004feature_mapFeature map.
object_kind0x0005tool_resultTool result artifact.
object_kind0x0006trace_segmentTrace segment artifact.
object_kind0x0007opaque_bytesOpaque byte object.
object_kind0x0008document_chunkDocument chunk.
object_kind0x0009audio_chunkAudio chunk.
object_kind0x000avideo_chunkVideo chunk.
object_kind0x000broute_planRoute plan artifact.
object_kind0x000ccache_manifestCache manifest artifact.
memory_location_hint0x0000unspecifiedLocation not specified.
memory_location_hint0x0001host_memoryHost memory.
memory_location_hint0x0002device_memoryDevice memory.
memory_location_hint0x0003shared_memoryShared memory.
memory_location_hint0x0004remote_memoryRemote memory.
memory_location_hint0x0005mmap_fileMemory-mapped file.
memory_location_hint0x0006object_storeExternal object store.
ownership_hint0x0000unspecifiedOwnership not specified.
ownership_hint0x0001producer_ownedProducer retains ownership.
ownership_hint0x0002consumer_ownedConsumer takes ownership.
ownership_hint0x0003session_ownedSession owns object lifecycle.
ownership_hint0x0004borrowedBorrowed reference.
ownership_hint0x0005transfer_on_refOwnership transfers on reference.
ownership_hint0x0006release_on_dropRelease when result is dropped.
release_reason0x0000completedNormal release after completion.
release_reason0x0001cancelledReleased after cancellation.
release_reason0x0002expiredReleased after expiration.
release_reason0x0003replacedReleased because replaced.
release_reason0x0004invalidatedReleased due to invalidation.
release_reason0x0005owner_closedOwner closed.
release_reason0x0006lease_expiredLease expired.
release_reason0x0007conformance_injectionInjected by conformance runner.
reuse_scope0x0000operationReuse within one operation.
reuse_scope0x0001sessionReuse within one session.
reuse_scope0x0002connectionReuse within one connection.
reuse_scope0x0003globalReuse across connections.
reuse_scope0x0004tenantReuse within one tenant.
reuse_scope0x0005profileReuse within one profile namespace.
miss_reason0x0000unknownUnknown miss reason.
miss_reason0x0001not_foundCache key was not found.
miss_reason0x0002expiredEntry expired.
miss_reason0x0003invalidatedEntry was invalidated.
miss_reason0x0004schema_mismatchEntry schema or profile did not match.
miss_reason0x0005producer_unavailableProducer or owner is unavailable.
miss_reason0x0006lease_requiredLease was required but missing.
miss_reason0x0007permission_deniedAccess denied.
Any listed fieldFirst unused..0x7fffReservedReserved for future standard values.
Any listed field0x8000..0xffffPrivate/vendor extensionPrivate extension range; excluded from tests.

Flag Masks

Metadata layoutFieldValid maskDefined bits
Control Request Metadataflags0x03bit 0: cooperative allowed; bit 1: hard abort allowed.
Scheduling Metadataflags0x00000003bit 0: discard stale work; bit 1: emit drop reason.
Supersede Metadataflags0x0001bit 0: abort old operation immediately.
Budget Metadataflags0x00000003bit 0: replace; bit 1: increment.
Partial Result Metadataflags0x00000003bit 0: final partial; bit 1: object ref present.
Pressure Metadataflags0x00000003bit 0: applies to connection; bit 1: applies to operation.
Capability Metadataflags0x00000003bit 0: hard requirement; bit 1: downgrade allowed.
Route Hint Metadataflags0x00000003bit 0: must honor; bit 1: best effort.
Trace Context Metadataflags0x0003bit 0: sampled; bit 1: error.
Result Drop Metadataflags0x03bit 0: final; bit 1: retryable.
Recoverable Error Metadataflags0x03bit 0: retryable now; bit 1: retry after required.
Retry After Metadataflags0x03bit 0: applies to connection; bit 1: applies to operation.
Object Reference Metadataflags0x00000007bit 0: borrowed; bit 1: mutable; bit 2: region present.
Object Release Metadataflags0x03bit 0: final release; bit 1: invalidates dependents.
Object Delta Metadataflags0x00000007bit 0: replaces region; bit 1: compressed; bit 2: final delta.
Cache Reference Metadataflags0x00000003bit 0: lease required; bit 1: body fallback present.

NNRP Documentation