Skip to content

Reference call lane

Once an endpoint is authenticated, everything it exchanges is a typed frame on the reference call lane. The lane defines the closed set of frames, admits the protocol version before reading a body, bounds the size of every frame and its attachments, and correlates each completion to the request that caused it. It is the correctness baseline: every faster transport carries the same frames with the same outcomes. This page covers the frame set, the admission order, the bounds, and correlation.

Frames between two endpoints

flowchart LR
  subgraph A["REQUESTING ENDPOINT"]
    direction TB
    RQ[("Request queue")]
    PD[("Pending correlations")]
  end
  subgraph B["RESPONDING ENDPOINT"]
    direction TB
    CQ[("Completion queue")]
  end
  RQ -->|"call, by AttemptId<br/>authority delivery, by EffectId"| B
  CQ -->|"completion, by AttemptId<br/>authority outcome, effect outcome, by EffectId"| PD
  B -.->|"fault"| A

The frame set

Frame Carries Correlated by
Registration Process id, cell id, cell epoch, role Sent once, at bootstrap
Call Provider frame bytes and descriptor attachments AttemptId
Completion Provider outcome bytes and descriptor attachments AttemptId
Fault A transport fault code and detail AttemptId, when the fault concerns one
Authority delivery Nucleus authority bytes: a grant or a revocation EffectId
Authority outcome The endpoint's receipt bytes EffectId
Effect outcome A host effect's outcome bytes EffectId

Call and completion payloads are provider frames already encoded by the runtime-provider codec. Authority payloads are encoded and admitted by the nucleus. The lane validates framing and correlation and leaves both payloads opaque.

Admission order

The protocol version is admitted first, before any body is decoded. A frame is then accepted when:

  • its size and attachment count are within the bounds;
  • its body decodes into one of the closed frame types;
  • its type is one the sending role may send;
  • a completion or outcome matches a pending request.

A frame that fails any check becomes a typed fault frame or transport fact. See Cell control channel for the facts.

Bounds

Bound Value
Protocol version 1
Largest frame 16 MiB
Attachments per frame 16
Largest authority payload 64 KiB

Queues and the pending-correlation table have their own limits. See Bounded queues.

Authority on the lane

The lane carries channel-grant installation and revocation frames, and returns each endpoint's receipt correlated to the originating EffectId. Channel activation requires both endpoint receipts, admitted by the nucleus. A transport result is an input to that admission. See Channel authority.