Repository navigation
fix(disk-hygiene): samefile only separator-carrying marker-free words (#3527) - #5068
Closed
kyle-sexton wants to merge 1 commit into
Closed
kyle-sexton wants to merge 1 commit into
kyle-sexton wants to merge 1 commit into
Conversation
Contributor
|
PR body contract — issue linkage This PR body does not yet satisfy the issue-linkage contract:
Edit the body and this comment updates itself on the next run. |
The engine gate's marker-free fallback identity-checked every token of every shell command. It now checks separator-carrying words and Win32 filename aliases of hygiene.py, which is the set the contract already described. Marker-carrying branches are unchanged. Closes #3527 Co-authored-by: Kyle Sexton <[email protected]>
cursor
Bot
force-pushed
the
cursor/3527-samefile-separator-37e9
branch
from
September 28, 2026 12:38
c1f5209 to
4b766e6
Compare
Member
Author
|
Closing by operator decision (2026-09-28): as written, the new marker-free identity filter skips main's engine-directory samefile check for bare relative words, so an alternate name for the engine file (a Windows 8.3 short name, or a hard link in the scripts directory) runs the engine ungated where main gates it. Re-file with that check kept and a regression test run from the scripts directory. #3527 stays open. |
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.
Closes #3527.
Summary
The engine gate's marker-free fallback identity-checked every token of every shell command. It now checks separator-carrying words and Win32 filename aliases of
hygiene.py(trailing dots/spaces,::$DATA). Marker-carrying branches are unchanged. A hard link still gates when the invocation has a separator; a bare name stays the accepted PATH residual.Companion corpus tests: PR #5051 (
Refs).Test plan
git log --oneline --graph --decorate origin/main—samefileran 4 times againstorigin/main