Implement Worker Frame Protocol #9

Closed
opened 2026-04-26 15:22:29 -04:00 by dohertj2 · 2 comments
Owner

Source: $file
Milestone: $currentMilestone

Labels: area:gateway, area:contracts, type:feature, priority:p0

Deliverables:

  • little-endian uint32 length-prefixed frame reader/writer,
  • max message size enforcement,
  • protobuf envelope validation,
  • protocol violation errors.

Acceptance criteria:

  • valid frames round-trip,
  • partial reads are handled,
  • oversized frames fail before allocation,
  • wrong protocol/session id is detected.

Tests:

  • round-trip,
  • partial read,
  • malformed length,
  • max size,
  • wrong protocol/session.
Source: $file Milestone: $currentMilestone Labels: `area:gateway`, `area:contracts`, `type:feature`, `priority:p0` Deliverables: - little-endian uint32 length-prefixed frame reader/writer, - max message size enforcement, - protobuf envelope validation, - protocol violation errors. Acceptance criteria: - valid frames round-trip, - partial reads are handled, - oversized frames fail before allocation, - wrong protocol/session id is detected. Tests: - round-trip, - partial read, - malformed length, - max size, - wrong protocol/session.
dohertj2 added this to the gateway-sessions-ipc milestone 2026-04-26 15:22:29 -04:00
dohertj2 added the area:contractsarea:gatewaytype:featurepriority:p0 labels 2026-04-26 15:22:29 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:33 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:35 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:36 -04:00
Author
Owner

Worker 1 is taking this issue.

Branch: agent-1/issue-9-implement-worker-frame-protocol
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-1

Worker 1 is taking this issue. Branch: agent-1/issue-9-implement-worker-frame-protocol Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-1
Author
Owner

Implemented and merged via PR #55: #55

Commit: a5098e6
Merge commit on main: 0c539834dc
Branch: agent-1/issue-9-implement-worker-frame-protocol

Verification:

  • dotnet build src\MxGateway.sln passed with 0 warnings and 0 errors.
  • dotnet test src\MxGateway.sln passed: 43 total tests.

Acceptance criteria verified for the frame protocol: length-prefixed little-endian framing, envelope validation, size/error handling, and focused reader/writer tests are in place.

Implemented and merged via PR #55: https://gitea.dohertylan.com/dohertj2/mxaccessgw/pulls/55 Commit: a5098e6 Merge commit on main: 0c539834dc28077d86d17a4bb0a8d75dac77d1eb Branch: agent-1/issue-9-implement-worker-frame-protocol Verification: - dotnet build src\\MxGateway.sln passed with 0 warnings and 0 errors. - dotnet test src\\MxGateway.sln passed: 43 total tests. Acceptance criteria verified for the frame protocol: length-prefixed little-endian framing, envelope validation, size/error handling, and focused reader/writer tests are in place.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#9