Skip to content

docs(adr): 0028 the uplink carries byte channels and small messages go first - #554

Merged
V3RON merged 13 commits into
mainfrom
feature/552-adr
Oct 14, 2026
Merged

V3RON merged 13 commits into
mainfrom
feature/552-adr

Conversation

@V3RON

@V3RON V3RON commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Proposes ADR 0028 for #552 (fast transfers of big artifacts between gateway and workers). It narrows ADR 0026 §2.

It decides:

  • A link module wraps each uplink connection and gives its users text messages and byte channels (opaque id, Web streams, credit). Envelopes, credit and send order stay inside it.
  • Channel bytes go as binary WebSocket messages; small messages go first and bulk is never starved; credit is 4 MiB per channel per direction.
  • Every wait in the link is bounded; a peer that breaks a rule fails one channel, not the uplink.
  • A relay becomes one channel plus relay.request, relay-head and relay.cancel; the old body messages and relay slots are gone.
  • The agent-device host caps every response at 2 GiB.
  • The protocol goes up by one.

Stays open as the bottom of #552's stack until the feature's last task merges.

Status

  • ADR drafted at Proposed, index row added
  • Spec check findings folded in
  • Maintainer accepts the ADR (Accepted — not yet implemented)

Assumptions

None.

Review

Spec review: skipped. Code review: skipped. Claims review: skipped.
Rounds: 0. Tokens: 11M.

The maintainer accepted the ADR and asked for the merge gate.

Written by an agent.

@V3RON
V3RON added this pull request to stack #566 October 14, 2026 12:56
@V3RON
V3RON marked this pull request as ready for review October 14, 2026 15:04
@V3RON
V3RON merged commit b2b7046 into main Oct 14, 2026
22 checks passed
@V3RON
V3RON deleted the feature/552-adr branch October 14, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant