Issue #21: implement worker bootstrap and options #61

Merged
dohertj2 merged 1 commits from agent-3/issue-21-implement-worker-bootstrap-and-options into main 2026-04-26 16:56:54 -04:00
Owner

Implements issue #21.

Summary:

  • adds worker bootstrap option parsing for --session-id, --pipe-name, and --protocol-version
  • reads MXGATEWAY_WORKER_NONCE from the worker environment
  • adds structured bootstrap exit codes and wires WorkerApplication.Run to return them
  • adds minimal key/value bootstrap logging with redaction for nonce, secrets, passwords, tokens, credentials, and API keys
  • documents the bootstrap exit-code contract

Verification:

  • dotnet format src\MxGateway.sln
  • dotnet msbuild src\MxGateway.Worker\MxGateway.Worker.csproj /restore /p:Configuration=Debug /p:Platform=x86
  • dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86
  • dotnet build src\MxGateway.sln
  • dotnet test src\MxGateway.sln --no-build
Implements issue #21. Summary: - adds worker bootstrap option parsing for --session-id, --pipe-name, and --protocol-version - reads MXGATEWAY_WORKER_NONCE from the worker environment - adds structured bootstrap exit codes and wires WorkerApplication.Run to return them - adds minimal key/value bootstrap logging with redaction for nonce, secrets, passwords, tokens, credentials, and API keys - documents the bootstrap exit-code contract Verification: - dotnet format src\MxGateway.sln - dotnet msbuild src\MxGateway.Worker\MxGateway.Worker.csproj /restore /p:Configuration=Debug /p:Platform=x86 - dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86 - dotnet build src\MxGateway.sln - dotnet test src\MxGateway.sln --no-build
dohertj2 added 1 commit 2026-04-26 16:55:21 -04:00
dohertj2 merged commit 9cb2f1c5cd into main 2026-04-26 16:56:54 -04:00
Sign in to join this conversation.