You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
obs-mcp: Windows named-pipe attachment transport #4455
Follow-up to Control API transport slice #4448, parent #4444. Implement Windows named-pipe transport using the same newline JSON-RPC Server and typed client as Unix sockets. Restrict the pipe ACL to the current user and reject remote clients. Implement attach/proxy, deterministic multi-client and lifecycle tests in the existing shared category harnesses, with RED then GREEN. Until this lands, Windows attachment and the in-app socket module return an explicit unsupported error; stdio stays supported. Keep host code inside src/platform or src/ffi. Do not add a workflow or test executable.
Claiming: #4455 — Windows named-pipe attachment transport on branch port/4455-win-named-pipe. 1. Reuse the newline JSON-RPC server and typed client over a Windows named pipe via src/platform windows selection, ACL to the current user, remote clients rejected. 2. RED deterministic attach/proxy, multi-client and lifecycle cases in the existing shared harnesses, then GREEN. 3. No new workflow or test executable.
Continuing: resuming my earlier claim, rebased onto current master (33c2d86). Reviewing the earlier branch against the issue's requirements turned up two gaps, now fixed:
Owner-only ACL. The pipe was created with a NULL security descriptor (every local user). \CreateNamedPipeW\ now takes a protected DACL from SDDL \D:P(A;;GA;;;OW)\ — one ACE for the object's owner, the creating user. Verified on Windows 11 24H2 with \GetNamedSecurityInfoW: \D:P(A;;FA;;;OW).
Remote clients. \PIPE_REJECT_REMOTE_CLIENTS\ is now set.
Also: the instance is a byte stream (same newline JSON-RPC as Unix), \ConnectNamedPipe\ is overlapped so shutdown is prompt instead of a \PIPE_NOWAIT\ busy loop, and \proxy_with\ makes the relay testable.
Tests in obs-tests-core (5 passing on Windows): client round-trip and name removal with the last server handle, second bind refused, a second client served after the first disconnects, proxy request/response, absent name fails. Opening the PR next.
Claiming: #4455 — Windows named-pipe attachment transport, continuing branch port/4455-win-named-pipe and PR #5969.
Keep the transport: byte-stream named pipe carrying the same newline JSON-RPC as the Unix socket, with the typed client and Server unchanged.
Keep the security: CreateNamedPipeW gets a protected owner-only DACL (D:P(A;;GA;;;OW); Windows reports D:P(A;;FA;;;OW)) and PIPE_REJECT_REMOTE_CLIENTS.
Keep the lifecycle: overlapped ConnectNamedPipe so shutdown is prompt, PeekNamedPipe before reads, clients served one after another.
Tests in obs-tests-core: lifecycle, second bind refused, sequential clients, proxy relay, absent name. ./lint green on Windows.
Implemented and merged: #5969 landed as 6f2f795. The control pipe uses an owner-only DACL, refuses remote clients, authenticates the server's owner and drops client impersonation.
Implemented and merged: #5969 landed as 6f2f795. The control pipe uses an owner-only DACL, refuses remote clients, authenticates the server's owner and drops client impersonation. A maintainer can close this.
Done in #5969 (merged 2026-11-30 as 6f2f795): obs-mcp has a Windows named-pipe control transport with an owner-only ACL. The PR named this issue only in its title, so GitHub did not link it and the merge did not close it. Closing by hand.
Activity
KelboLive commentedon Nov 11, 2026
Claiming: #4455 — Windows named-pipe attachment transport on branch port/4455-win-named-pipe. 1. Reuse the newline JSON-RPC server and typed client over a Windows named pipe via src/platform windows selection, ACL to the current user, remote clients rejected. 2. RED deterministic attach/proxy, multi-client and lifecycle cases in the existing shared harnesses, then GREEN. 3. No new workflow or test executable.
docs(features): add Windows control pipe entry (obs-rust#4455)
KelboLive commentedon Nov 29, 2026
Continuing: resuming my earlier claim, rebased onto current master (33c2d86). Reviewing the earlier branch against the issue's requirements turned up two gaps, now fixed:
Also: the instance is a byte stream (same newline JSON-RPC as Unix), \ConnectNamedPipe\ is overlapped so shutdown is prompt instead of a \PIPE_NOWAIT\ busy loop, and \proxy_with\ makes the relay testable.
Tests in obs-tests-core (5 passing on Windows): client round-trip and name removal with the last server handle, second bind refused, a second client served after the first disconnects, proxy request/response, absent name fails. Opening the PR next.
test(obs-mcp): Windows pipe transport tests (obs-rust#4455)
feat(obs-mcp): Windows named-pipe transport (obs-rust#4455)
docs(features): add Windows control pipe entry (obs-rust#4455)
fix(obs-mcp): owner-only pipe ACL and remote-client refusal (obs-rust…
KelboLive commentedon Nov 30, 2026
Claiming: #4455 — Windows named-pipe attachment transport, continuing branch
port/4455-win-named-pipeand PR #5969.Serverunchanged.CreateNamedPipeWgets a protected owner-only DACL (D:P(A;;GA;;;OW); Windows reportsD:P(A;;FA;;;OW)) andPIPE_REJECT_REMOTE_CLIENTS.ConnectNamedPipeso shutdown is prompt,PeekNamedPipebefore reads, clients served one after another.obs-tests-core: lifecycle, second bind refused, sequential clients, proxy relay, absent name../lintgreen on Windows.PR #5969 is open and mergeable; the earlier claim expired while the branch sat unreviewed.
ci: rerun the claim check after re-claiming obs-rust#4455
fix(obs-mcp): authenticate the control pipe server and drop client im…
KelboLive commentedon Nov 30, 2026
Implemented and merged: #5969 landed as 6f2f795. The control pipe uses an owner-only DACL, refuses remote clients, authenticates the server's owner and drops client impersonation.
KelboLive commentedon Nov 30, 2026
Implemented and merged: #5969 landed as 6f2f795. The control pipe uses an owner-only DACL, refuses remote clients, authenticates the server's owner and drops client impersonation. A maintainer can close this.
obs-mcp: Windows named-pipe control transport with an owner-only ACL (F…
vpacher commentedon Dec 1, 2026
Done in #5969 (merged 2026-11-30 as 6f2f795): obs-mcp has a Windows named-pipe control transport with an owner-only ACL. The PR named this issue only in its title, so GitHub did not link it and the merge did not close it. Closing by hand.