Repository navigation
feat(experimental): add diagnostic-only Rust Windows prototype - #164
Merged
Merged
Conversation
abruption
marked this pull request as ready for review
October 21, 2026 07:31
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9022cc2f95
ℹ️ 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".
This was referenced Oct 21, 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.
Problem and resulting behavior
The existing Rust lab exercises synthetic locks but cannot inspect Windows file or process identity. This adds an unpublished diagnostic-only NTFS prototype with explicit home/thread inputs, 128-bit file IDs, exact-user ownership checks, requested-PID observations and a coordinator-guarded lock probe. Every result retains
safeToUnlock=false; the requested PID is never treated as a proven holder.Synthetic fixtures create private objects and exit cooperatively. A separate operator-run observer starts its own disposable-home Codex 0.163.0 app-server, submits no model turn, checks its effective configuration, records diagnostics, and closes its own stdin normally. Startup uses a fresh file-auth store and no-auth loopback provider with hooks/plugins/snapshots disabled. Normal read-only profile skill discovery is explicitly recorded; full profile isolation is not claimed.
Measured results
unknown/file_owner_not_self. The High-token-created home/lock objects were Administrators-owned. The ownership refusal occurred before the native lock probe; real Codex whole-range interoperability is not established.Pinned sources, executable/result hashes, failed first attempts and limits
Validation and review
_hasShrinkwrapmetadata as the cause of local-file pin drift. The smoke now serves the newly packed bytes through a read-only loopback registry, shuts it down after cache priming, and installs offline into a fresh consumer. Exact runtime pins, complete runtime inventory, artifact/link checks, native CLI/JSON and type-only checks remain required. Synthetic regression covers metadata true vs false and local-file installation with a deliberately newer compatible dependency. No runtime pins or production behavior changed.9022cc2f95c62ad156225245c7af5a777f8ec3a1: 41/41 successful, including Linux/macOS package artifacts, package-smoke, supported-tests and CodeQL. User-authorized Draft removal follows these passing gates; no merge or publication is performed.Recovery assessment
Rust diagnostic primitives are viable under the measured synthetic conditions. Automatic recovery remains no-go: native High ownership needs policy review and genuine Medium measurement, while W4 holder attribution and W5 cooperative release remain unresolved. The observer's EOF controls only its own server; it is not a third-party recovery API.
Related: #163, #146–#152. W1–W7 remain open. Production TypeScript, npm contents, version and supported-platform claims are unchanged.
Proxy review correction
Commit
af5ab64addresses the Codex P2 finding: both npm callers now share a proxy environment helper that merges inherited exclusions and forces127.0.0.1,localhost, and::1into bothNO_PROXYandno_proxy. External proxy settings remain available for dependency downloads. The regression runs real npm installs against a rejecting proxy with conflicting exclusions and verifies zero loopback requests reach that proxy.Validation for this correction: npm ci/check/lint and package smoke passed; full suite 275 total / 271 passed / 4 environment skips / 0 failures. Both focused tests passed with Node 24/npm 11 and CI-equivalent Node 22.13.0/npm 10.9.2; package smoke also passed on Node 22.13.0/npm 10.9.2. A read-only subagent found no blocking issue. GitHub checks for final head
af5ab6410d9323209d8b87b716b1665e06499290passed 41/41. The Codex automatic reviews at9022cc2completed; their P2 proxy finding was addressed inaf5ab64and its thread resolved. No separate automatic review result was posted foraf5ab64. The PR merged as22857b3eb14b89976673830c601e54f52a42c217, and main CI passed. No release or publication was performed.