Parent
#2
What to build
Attachments ride moss streams: the attachment blob channel keeps its chunk protocol (requests, retry, dedup — mid-transfer wobble still recovers) and changes only its carrier. The moss stream API gives a direct-session fast path (no discovery, no overlay stall on a hot loop) with a wrapped-relay fallback inside the library for peers without a direct leg, plus a fallback to the room wire for counterpart libraries that predate streams. User-visible effect: large files arrive noticeably sooner on direct sessions; relayed and mixed-version paths behave exactly as today.
The carrier swap must not touch the chunk protocol or its retry bookkeeping — it is a wire change behind an existing mini-protocol, and the measure-first note from the spec applies: this ticket is where the stream technique gets proven before any decision about directed sends for message data.
Acceptance criteria
Blocked by
None (can start immediately).
Parent
#2
What to build
Attachments ride moss streams: the attachment blob channel keeps its chunk protocol (requests, retry, dedup — mid-transfer wobble still recovers) and changes only its carrier. The moss stream API gives a direct-session fast path (no discovery, no overlay stall on a hot loop) with a wrapped-relay fallback inside the library for peers without a direct leg, plus a fallback to the room wire for counterpart libraries that predate streams. User-visible effect: large files arrive noticeably sooner on direct sessions; relayed and mixed-version paths behave exactly as today.
The carrier swap must not touch the chunk protocol or its retry bookkeeping — it is a wire change behind an existing mini-protocol, and the measure-first note from the spec applies: this ticket is where the stream technique gets proven before any decision about directed sends for message data.
Acceptance criteria
Blocked by
None (can start immediately).