Skip to content

test: add fixture-only Rust Windows support experiment - #123

Merged
abruption merged 5 commits into
mainfrom
research/rust-windows-experiment
Oct 14, 2026
Merged

abruption merged 5 commits into
mainfrom
research/rust-windows-experiment

Conversation

@abruption

@abruption abruption commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Windows support needs evidence for native locking and cooperative recovery before the production CLI can support it. Add an unpublished, dependency-free Rust laboratory under experimental/rust/ to test the first part using disposable fixtures, with separate Ubuntu, macOS, and Windows CI.

Refs #122. This is the first experiment, not completion of Windows support; keep the research issue open.

Type

  • chore / refactor / test / perf / ci

Safety impact

The separate codex-unlock-lab binary exposes capability information and a fixture-only self-test. It has no real-session inspect/unlock command. Results explicitly do not authorize recovery. A cooperating child owns synthetic locks and exits itself; the harness does not signal processes. The existing TypeScript implementation, JSON v1, npm package allowlist, and release configuration remain unchanged.

The design notes identify the unimplemented gates: Windows file identity/SID/reparse-point checks, actual holder attribution, process identity, Codex interoperability, transcript stability, and cooperative Windows release. Passing synthetic Rust file-lock tests is not proof of production Codex compatibility.

Validation

  • Production checks and package smoke passed previously; the Rust lab remains excluded from npm.
  • At current head 2c619995c4e003da6c2854b39352e0af02312512, all 36 visible PR checks pass, including the three-OS Rust experiment and repository CI.
  • Local Rust 1.90 formatting, Clippy and four tests pass. The latest changes only clarify comments/documentation about timeout, cleanup and CI evidence.
  • Supplemental current-head read-only Codex CLI review completed with no required fixes: review record. Actual model identity was not returned by the isolated default-model CLI invocation.
  • Hosted Code Review completed at current 2c61999 without major issues. Hosted Security Review was requested, but its summary still points to efa1223; current dedicated security completion remains unconfirmed. The older security result is not represented as current.

Checklist

  • Existing production checks pass
  • Conventional Commit title
  • Experiment scope and remaining safety gates documented
  • No credentials or real process/transcript data included

No crates.io/npm publishing, release creation, installation migration, or automatic Windows recovery is introduced.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T06:00:39.056198Z 2c61999 Manual request
🔒 Security Review ✅ Completed 2026-10-13T05:02:29.416198Z efa1223 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption abruption left a comment •

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supplemental read-only Codex CLI review of the current commit 6e854deff6f4fcc2e0cf18143239bfa0819c7a8c completed with no required fixes. The frozen input included all lab source/tests, workflow, manifest, safety instructions, and the revision delta; no tools/tests/network were executed by the reviewer. CLI 0.162.1 used its isolated default model; actual model identity was not returned in response metadata. This supplements the older hosted review at efa1223, rather than claiming that hosted review was rerun.

The earlier review's timeout/cleanup recommendations were applied in this commit: command-receive/response waits are bounded but blocking file I/O or stdout are not a hard wall-clock deadline; initialization or unconfirmed-exit failures can retain disposable scratch. The follow-up reviewer found these descriptions accurate and offered nonblocking wording/evidence suggestions. Runner labels and CI conclusions are checked separately; the source reviewer did not independently establish host architecture.

Local Rust 1.90 formatting, Clippy, and four tests passed. Current-head Rust CI and repository CI passed (runs 38353134667 and 38353134604); the source review itself does not prove runtime or production Windows support.

@abruption

Copy link
Copy Markdown
Owner Author

@codex review

Please review the current commit 2c619995c4e003da6c2854b39352e0af02312512. The existing automated summary names an earlier revision. Latest changes clarify fixture timeout/cleanup limits; the stacked PR has been rebased onto its updated parent.

@abruption

Copy link
Copy Markdown
Owner Author

@codex security review

Please review the current commit 2c619995c4e003da6c2854b39352e0af02312512. The existing automated summary names an earlier revision. Latest changes clarify fixture timeout/cleanup limits; the stacked PR has been rebased onto its updated parent.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 2c619995c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@abruption abruption left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supplemental read-only Codex CLI review completed for the current commit 2c619995c4e003da6c2854b39352e0af02312512 with no required fixes. The frozen final input (SHA-256 fdb0b15cf456d5be2d9e9051435e059ca125ff19dcadf97ec44f29019da64a7a) included both current lab source trees, the interop harness, documentation, and deltas. CLI 0.162.1 used its isolated default model; actual model identity was not present in response metadata. No tools/tests/network were executed by the reviewer.

The latest timeout/cleanup wording matches the implementation: Rust's parent uses one shared exit/response deadline, Node uses a separate bound per response/exit wait, child command-receive budgets do not impose a wall-clock I/O/termination limit, and failure cleanup remains best effort on known disposable fixture paths after exit is confirmed. The source-only review does not establish Windows production recovery or actual Codex interoperability. Nonblocking cleanup/error-reporting improvements remain laboratory research concerns.

This CLI review supplements, and does not impersonate, the separately requested current-head hosted Code/Security reviews. CI results and hosted review status are recorded independently in the PR description.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 2c619995c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@abruption
abruption merged commit b82c9a3 into main Oct 14, 2026
36 checks passed
@abruption
abruption deleted the research/rust-windows-experiment branch October 14, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant