ReadonlychannelReadonlymeReadonlymembersRead-only snapshot of all messages this session has signed or accepted.
Validate an incoming ChannelMessage. Throws with a precise reason
on any failure — caller should treat throw as channel-fatal per
§8.12 (a single tampered message invalidates the session's record).
Build, sign, append-to-local-transcript, and return the next
outgoing ChannelMessage. Sequence is highestSeen + 1 so it is
monotonic across both directions.
OptionalrepliesOptionalsent
Per-channel session — owns the monotonic sequence counter and applies the four invariants from §8.3.3 / §8.12 on every message:
A single counter is shared across senders, as the brief specifies (
sequence: number // monotonic per channel, starts at 1). Outgoing messages getcurrent + 1; incoming messages must use a sequence strictly greater than every value already seen.