Raxol.Harness.Fixture.Envelope (Raxol v2.6.1)

View Source

One decoded fixture line beyond the header — the %Envelope{} wire shape from harness-spec-protocol.md §2, with body decoded into a Raxol.Harness.Fixture.Event.

offset is the 1-based line number in the source file; per the fixture design ("offset = line number", 06-projection §1.1) this is what attach{from_offset} / seek{to_offset} replay-from-offset tests key off. It is set by the loader, never present in the JSON on disk.

Summary

Types

t()

@type t() :: %Raxol.Harness.Fixture.Envelope{
  body: Raxol.Harness.Fixture.Event.t(),
  kind: :event | :command,
  offset: pos_integer() | nil,
  session_id: String.t(),
  v: pos_integer()
}