fix(windows): let Glob skip nested junctions - #3952
Conversation
Generated-by: OpenAI Codex
|
I reviewed this PR at exact head Spec: GO — no P0–P3
Standards: NO-GO — 1 hard P1 + 1 judgment-only P3
Other checks: What I did not check: full local test suite beyond the focused checks noted. Gate: exact head has no P0–P2, but the P1 standards finding and the failing required
|
Generated-by: OpenAI Codex
Generated-by: OpenAI Codex
Generated-by: OpenAI Codex
…s-glob-junction # Conflicts: # package-lock.json
Generated-by: OpenAI Codex
|
Addressed at head
Local results include Rust The specialized implementation incorporates the three functional commits from #3955 by @sunrioa and @Ling with authorship preserved. The branch is also merged with current |
|
Follow-up: all current checks are green at 82c8766. The CI test job passed in 16m45s, and the Windows release package job passed in 17m28s, including Package the Windows installer and ZIP, Verify the Windows release, packaged adversarial evidence, upgrade/autoupdate, and rollback checks. |
Summary
nonFollowingReadRootto the Windows broker manifest digest and expose it only for read-only recursive Glob operations**/*resultsFixes #3938
The specialized-policy implementation incorporates the three functional commits from #3955 by @sunrioa and @Ling. Their commit authorship and
Generated-bytrailers are preserved in this branch; the unrelated dependency-only commit was not copied. The final lockfile instead keeps the newer audit fixes already merged tomain.Verification
npm run build:testnpm run lintnpm run format:checknpm run typechecknpm run windows:inventorynpm audit --registry=https://registry.npmjs.org --audit-level=high(0 vulnerabilities)cargo fmt --manifest-path experiments/windows-sandbox/launcher/Cargo.toml -- --checkcargo test --locked --manifest-path experiments/windows-sandbox/launcher/Cargo.toml(62 passed)node --test packages/runtime/dist/__tests__/filesystem-worker-windows-smoke.test.js(5 passed)verify:windows-x64on a locally generated package, including packaged dependency closure, broker/stdio/ACL recovery, 64-launch soak, adversarial matrix, real packaged Electron worker Glob, node-pty/ConPTY, renderer, installer and ZIP hashesThe local machine has no Visual Studio C++ Build Tools, so the verification package used the already installed patched node-pty binaries (
npmRebuild=false) and the exact local Electron 43.4.1 distribution instead of rebuilding native dependencies. The normal package path is left to CI.check:releasereached one unrelated standalone-launcher WSL path failure after all dependency-notice and release-closure checks passed;check:asf-sourceis locally blocked by unavailable file-symlink privileges andgzip.Security review focus
nonFollowingReadRootis validated as a declared recursive read root, rejects every writable launch, and is included in the launch digest.**/*patterns.AI use
Select exactly one:
Tool(s) and scope: OpenAI Codex implemented and integrated the specialized Windows ACL policy, non-following Glob traversal, documentation, regression coverage, conflict resolution, and local verification. Affected commits retain the required
Generated-by: OpenAI Codextrailers.Checklist
Does this PR entail a change in behavior?