Implement Worker Bootstrap And Options #21

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

Source: $file
Milestone: $currentMilestone

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

Deliverables:

  • parse --session-id,
  • parse --pipe-name,
  • parse --protocol-version,
  • read MXGATEWAY_WORKER_NONCE,
  • configure minimal structured logging,
  • redact nonce and secrets.

Acceptance criteria:

  • missing required arguments fail fast,
  • invalid protocol version fails fast,
  • nonce is never logged,
  • bootstrap returns structured exit codes.

Tests:

  • parser tests,
  • missing/invalid values,
  • redaction.
Source: $file Milestone: $currentMilestone Labels: `area:worker`, `type:feature`, `priority:p0` Deliverables: - parse `--session-id`, - parse `--pipe-name`, - parse `--protocol-version`, - read `MXGATEWAY_WORKER_NONCE`, - configure minimal structured logging, - redact nonce and secrets. Acceptance criteria: - missing required arguments fail fast, - invalid protocol version fails fast, - nonce is never logged, - bootstrap returns structured exit codes. Tests: - parser tests, - missing/invalid values, - redaction.
dohertj2 added this to the mxaccess-worker-foundation milestone 2026-04-26 15:22:32 -04:00
dohertj2 added the area: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:37 -04:00
Author
Owner

Worker 3 is taking this issue.

Branch: agent-3/issue-21-implement-worker-bootstrap-and-options
Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-3

Worker 3 is taking this issue. Branch: agent-3/issue-21-implement-worker-bootstrap-and-options Worktree: C:\Users\dohertj2\Desktop\mxaccessgw-agent-3
Author
Owner

Implemented and merged via PR #61: #61

Commit: 0af1427859
Merge commit on main: 9cb2f1c5cd
Branch: agent-3/issue-21-implement-worker-bootstrap-and-options

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: 20 tests.
  • dotnet test src\MxGateway.sln --no-build passed: 95 total tests.

Acceptance criteria verified: worker bootstrap parses options/environment, redacts sensitive logs, returns explicit exit codes, and has focused bootstrap/options tests.

Implemented and merged via PR #61: https://gitea.dohertylan.com/dohertj2/mxaccessgw/pulls/61 Commit: 0af1427859613221fed9b925fd4ab317cecdf8a9 Merge commit on main: 9cb2f1c5cde3fca527880acf220b3f33231931e6 Branch: agent-3/issue-21-implement-worker-bootstrap-and-options 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: 20 tests. - dotnet test src\\MxGateway.sln --no-build passed: 95 total tests. Acceptance criteria verified: worker bootstrap parses options/environment, redacts sensitive logs, returns explicit exit codes, and has focused bootstrap/options tests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: dohertj2/mxaccessgw#21