chore(agents): add Windows autoreview harness support#592
Conversation
Extract the autoreview smoke harness into Python so Bash and PowerShell wrappers can share the same fixture logic. Use PATHEXT-aware command resolution for reviewer CLIs and make parallel test shell selection explicit while preserving existing defaults. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs maintainer review before merge. Reviewed May 29, 2026, 7:07 PM ET / 23:07 UTC. Summary Reproducibility: not applicable. this is a tooling enhancement PR, not a bug report with a failing current-main reproduction path. The relevant checks are source review and the PR body's reported helper/harness validation. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Land the scoped tooling update after normal merge checks accept the reported validation, keeping the release-owned changelog untouched. Do we have a high-confidence way to reproduce the issue? Not applicable; this is a tooling enhancement PR, not a bug report with a failing current-main reproduction path. The relevant checks are source review and the PR body's reported helper/harness validation. Is this the best way to solve the issue? Yes; extracting the smoke harness into shared Python while keeping Bash and PowerShell wrappers is a narrow maintainable path for Windows support, and the new shell selector preserves the existing default behavior. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 8af4b70360a9. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
vincentkoc
left a comment
There was a problem hiding this comment.
Maintainer pass: scoped autoreview tooling update. Checked PR diff, no whitespace errors, helper help exposes --parallel-tests-shell, and the Bash smoke wrapper help runs from the PR head. ClawSweeper reported no actionable findings.
Summary
shutil.which()and a clear missing-engine diagnostic.--parallel-testsshell behavior by default while adding explicit--parallel-tests-shell powershell|pwshsupport.Validation
.\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore— 2027 passed, 29 skippeddotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore— 868 passedcodex.cmdthrough Python and PowerShell wrappersAUTOREVIEW_ALLOW_UNSANDBOXED_TOOLS=1 python .agents\skills\autoreview\scripts\autoreview --mode local --engine copilot— clean