Implement Pipe Client And Frame Protocol #22

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

Source: $file
Milestone: $currentMilestone

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

Deliverables:

  • connect to named pipe,
  • frame reader/writer,
  • envelope validation,
  • WorkerHello,
  • GatewayHello validation,
  • WorkerReady,
  • WorkerFault.

Acceptance criteria:

  • session id, protocol, and nonce are validated before MXAccess creation,
  • protocol mismatch fails session,
  • malformed frames fault worker,
  • all pipe writes go through one writer.

Tests:

  • frame round-trip,
  • wrong session/protocol/nonce,
  • malformed frame,
  • writer serialization.
Source: $file Milestone: $currentMilestone Labels: `area:worker`, `area:contracts`, `type:feature`, `priority:p0` Deliverables: - connect to named pipe, - frame reader/writer, - envelope validation, - `WorkerHello`, - `GatewayHello` validation, - `WorkerReady`, - `WorkerFault`. Acceptance criteria: - session id, protocol, and nonce are validated before MXAccess creation, - protocol mismatch fails session, - malformed frames fault worker, - all pipe writes go through one writer. Tests: - frame round-trip, - wrong session/protocol/nonce, - malformed frame, - writer serialization.
dohertj2 added this to the mxaccess-worker-foundation milestone 2026-04-26 15:22:32 -04:00
dohertj2 added the area:contractsarea:workertype:featurepriority:p0 labels 2026-04-26 15:22:32 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:36 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:36 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:36 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:37 -04:00
dohertj2 added a new dependency 2026-04-26 15:28:39 -04:00
Author
Owner

Worker 2 is taking this issue.

Branch: agent-2/issue-22-implement-pipe-client-and-frame-protocol
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-2

Worker 2 is taking this issue. Branch: agent-2/issue-22-implement-pipe-client-and-frame-protocol Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-2
Author
Owner

Implemented and merged via PR #65: #65

Commit: d5a9821
Merge commit on main: 603aff7004
Branch: agent-2/issue-22-implement-pipe-client-and-frame-protocol

Verification:

  • dotnet build src\MxGateway.sln passed with 0 warnings and 0 errors.
  • dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86 passed: 32 tests.
  • dotnet test src\MxGateway.sln --no-build passed: 145 total tests.

Acceptance criteria verified: worker pipe client/session framing, envelope validation, protocol mismatch/error handling, and focused worker IPC tests are in place.

Implemented and merged via PR #65: https://gitea.dohertylan.com/dohertj2/mxaccessgw/pulls/65 Commit: d5a9821 Merge commit on main: 603aff7004e7360dde87ba8856dec3696ffa8242 Branch: agent-2/issue-22-implement-pipe-client-and-frame-protocol Verification: - dotnet build src\\MxGateway.sln passed with 0 warnings and 0 errors. - dotnet test src\\MxGateway.Worker.Tests\\MxGateway.Worker.Tests.csproj -p:Platform=x86 passed: 32 tests. - dotnet test src\\MxGateway.sln --no-build passed: 145 total tests. Acceptance criteria verified: worker pipe client/session framing, envelope validation, protocol mismatch/error handling, and focused worker IPC tests are in place.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#22