Pre-flight Checklist
📝 Bug Description
Five reviewer-provider process tests are skipped on Windows with the reason the helper process uses POSIX argument handling.
The current helpers do not invoke a POSIX shell. They execute the Go test binary directly through exec.CommandContext.
I verified on current main that removing only the five Windows skip guards and the three now-unused runtime imports makes all five affected tests—and the complete internal/reviewerprovider package—pass on Windows.
The proposed correction is test-only: 0 additions and 18 deletions across three files.
🔄 Steps to Reproduce
-
Check out current main at 26d7ceed225e16d45378a78333a5e4068d8287e7.
-
On Windows, run:
go test ./internal/reviewerprovider -count=1 -v
-
Observe that these five tests are skipped:
TestClaudeAdapterUsesStdinAndReturnsUntouchedRawOutput
TestCodexAdapterUsesStdinAndReturnsUntouchedRawOutput
TestCodexAdapterConfiguresApprovedLoopbackProvider
TestPiAdapterUsesStdinLockedDownArgumentsAndReturnsUntouchedRawOutput
TestPiAdapterFailsClosedOnProcessFailureAndEmptyOutput
-
Remove only their Windows skip guards and the three now-unused runtime imports.
-
Run the same package test again.
All five affected tests and the complete package pass on Windows.
✅ Expected Behavior
The five reviewer-provider process tests should execute and pass on Windows, covering stdin transport, locked-down arguments, untouched raw output, approved loopback configuration, and fail-closed Pi behavior.
❌ Actual Behavior
All five tests are skipped on Windows because of a stale assumption that their helper processes require POSIX argument handling, leaving these reviewer-provider transport contracts untested on Windows.
Gentle AI Version
Current main at commit 26d7ceed225e16d45378a78333a5e4068d8287e7.
Operating System
Windows
AI Agent / Client
Other
📋 Affected Area
CLI (commands, flags)
💡 Logs / Error Output
SKIP: TestClaudeAdapterUsesStdinAndReturnsUntouchedRawOutput
SKIP: TestCodexAdapterUsesStdinAndReturnsUntouchedRawOutput
SKIP: TestCodexAdapterConfiguresApprovedLoopbackProvider
SKIP: TestPiAdapterUsesStdinLockedDownArgumentsAndReturnsUntouchedRawOutput
SKIP: TestPiAdapterFailsClosedOnProcessFailureAndEmptyOutput
Reason: the helper process uses POSIX argument handling
After removing only the skip guards:
PASS
ok github.com/gentleman-programming/gentle-ai/v2/internal/reviewerprovider 0.641s
Additional Context
Affected files:
internal/reviewerprovider/claude_adapter_test.go
internal/reviewerprovider/codex_adapter_test.go
internal/reviewerprovider/pi_adapter_test.go
The verified correction removes 18 lines and adds none. It changes no production code.
Searches using the skip reason and all five exact test names found no equivalent open or closed issue or pull request.
Related precedent: PR #3227 replaced other POSIX-only provider test fakes with cross-platform helpers, but it did not cover these reviewer-provider package tests.
Pre-flight Checklist
status:approved📝 Bug Description
Five reviewer-provider process tests are skipped on Windows with the reason
the helper process uses POSIX argument handling.The current helpers do not invoke a POSIX shell. They execute the Go test binary directly through
exec.CommandContext.I verified on current
mainthat removing only the five Windows skip guards and the three now-unusedruntimeimports makes all five affected tests—and the completeinternal/reviewerproviderpackage—pass on Windows.The proposed correction is test-only: 0 additions and 18 deletions across three files.
🔄 Steps to Reproduce
Check out current
mainat26d7ceed225e16d45378a78333a5e4068d8287e7.On Windows, run:
Observe that these five tests are skipped:
TestClaudeAdapterUsesStdinAndReturnsUntouchedRawOutputTestCodexAdapterUsesStdinAndReturnsUntouchedRawOutputTestCodexAdapterConfiguresApprovedLoopbackProviderTestPiAdapterUsesStdinLockedDownArgumentsAndReturnsUntouchedRawOutputTestPiAdapterFailsClosedOnProcessFailureAndEmptyOutputRemove only their Windows skip guards and the three now-unused
runtimeimports.Run the same package test again.
All five affected tests and the complete package pass on Windows.
✅ Expected Behavior
The five reviewer-provider process tests should execute and pass on Windows, covering stdin transport, locked-down arguments, untouched raw output, approved loopback configuration, and fail-closed Pi behavior.
❌ Actual Behavior
All five tests are skipped on Windows because of a stale assumption that their helper processes require POSIX argument handling, leaving these reviewer-provider transport contracts untested on Windows.
Gentle AI Version
Current
mainat commit26d7ceed225e16d45378a78333a5e4068d8287e7.Operating System
Windows
AI Agent / Client
Other
📋 Affected Area
CLI (commands, flags)
💡 Logs / Error Output
After removing only the skip guards:
Additional Context
Affected files:
internal/reviewerprovider/claude_adapter_test.gointernal/reviewerprovider/codex_adapter_test.gointernal/reviewerprovider/pi_adapter_test.goThe verified correction removes 18 lines and adds none. It changes no production code.
Searches using the skip reason and all five exact test names found no equivalent open or closed issue or pull request.
Related precedent: PR #3227 replaced other POSIX-only provider test fakes with cross-platform helpers, but it did not cover these reviewer-provider package tests.