Repository navigation
fix(ssh): preserve Windows exits and refresh published skill guidance - #134
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #133. Closes #118. Refs #20; Windows-client jump remains open.
$LASTEXITCODEafter Windows-destination--versionand--stdio-request. Invocation without a native exit fails with 1. Keep strict framing/native evidence validation and exact-version/host-key protections.Reproduction and physical verification
Base: public npm 0.3.3 source c0ed302.
Physical Windows 10 x64 / PowerShell 5.1.19041.6456 / Node 24.16.0 with macOS arm64 / Node 24.16.0 client: all 24 isolated SSH fixture scenarios passed. Native exit 2 now returns client exit 2; complete success+native 255 retains queued/submitted:true/queueId with transport failure, client exit 1 and no retry. Malformed/missing outputs remain unknown/submitted:null. Nonzero/mismatched preflight dispatches no request; two aliases of one physical machine retain ordered mixed results. Missing native executable returns 1. Owned remote fixture root was removed and absence rechecked.
These are synthetic native responses, not real Codex/Claude queue, injection or ACK evidence. No agent session or live message was used. Native arguments contain only the fixed flag; the fixture receives body data through stdin. Captured decoded raw stdout matches the legacy/forwarding controls. The tested compiled launcher matches the final rebuilt launcher.
Local checks
Initial full-suite run failed because the physical-harness type:module package boundary affected temporary CommonJS fake executables (149 passed / 36 failed / 5 skipped). A separate owned test root fixed that setup. The next run found two old exact-command assertions requiring the new suffix (183 passed / 2 failed / 5 skipped); updating those complete-command expectations led to the successful final run. These failures are not hidden as all-green results.
Review and boundaries
Initial CI run
38187131255at238da70passed both macOS/Ubuntu contract matrices, CodeQL, policy and GitGuardian. Both Windows jobs passed the added native-exit case but the following existing SSH contract inherited its call log (16 calls versus its own expected 2). Commit12765bbinitializes that subtest's own log and preserves exact call-count assertions; types/repository/diff checks passed before pushing. Runtime source is unchanged by this correction. Final head12765bb561db14f0dae9ea68bd92e976342d71a4passed all 12 checks: CLI run 38187343010, CodeQL run 38187340609, and GitGuardian. Both Windows-native Node 22/24 jobs are successful. The initial failed-head result is retained above, not reported as all green.The automatically triggered Code Review and Security Review both completed on original head
238da70a0530260eaebda7556b645c7fa3178ae6, with no findings: review summary. The later commit changes only two files (Windows subtest log initialization and its validation record), with no runtime source change. It has full current-head CI but no separate current-head automatic review was requested or claimed. No manual review mentions are needed. Actual Windows CI must validate the added native-PowerShell subtest; macOS skips are not Windows evidence.Human merge gate. No merge, release/tag/npm publication, version bump, SSH configuration/key/known_hosts change, skill installation, operational change, or 0.4 feature promotion. Existing draft PRs/worktrees are preserved. 0.3.4 milestone is planning only.