Lane

@Serializable
value class Lane(val tag: String)

An opaque fair-share lane tag carried on a TaskDescriptor.

A lane is just a stable string name — "acme/interactive", "batch", whatever a scheduler layered on top wants it to mean. Warp core assigns it no meaning: it never inspects the tag, never routes on it, and never depends on any module that interprets it. The tag rides the envelope so an enforcement adapter — the :kuilt-warp-heddle satellite — can bind it to a fair-share leaf and gate execution on entitlement. Warp without that satellite behaves exactly as if the field were not there.

The default ROOT lane means "no lane" — the untagged, un-gated path. A descriptor that never touches a lane is byte-for-byte identical on the wire to a pre-lane descriptor (CBOR omits a field left at its default), so adding the tag costs untagged traffic nothing.

Constructors

Link copied to clipboard
constructor(tag: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val tag: String

the opaque lane name; the empty string is the ROOT (no-lane) sentinel.