Shared progress-frame contract for Delegate attach observation.
pixir delegate attach --progress=stderr-jsonl has two producers: the ordinary
snapshot path and the daemon-backed follow path. This module keeps their JSONL frame
shape aligned so orchestrators can consume one stable contract while Pixir preserves
the Log as the source of truth.
Summary
Functions
Attach progress metadata to the final Delegate payload.
Build a recoverable progress error frame.
Build a Delegate progress, terminal, or heartbeat frame from a payload.
Whether a source comes from a live owner.
Source vocabulary for a payload observation.
Whether a payload is terminal for attach observation.
Functions
Attach progress metadata to the final Delegate payload.
@spec error_frame(map(), pos_integer(), map(), keyword()) :: map()
Build a recoverable progress error frame.
@spec frame(map(), pos_integer(), keyword()) :: map()
Build a Delegate progress, terminal, or heartbeat frame from a payload.
Whether a source comes from a live owner.
Source vocabulary for a payload observation.
Whether a payload is terminal for attach observation.