Repository navigation
Reject linked output paths before creating research drafts - #5734
Merged
Merged
Conversation
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.
The draft generator validates source paths but can create its output through a symlinked research directory. Check the output path with the existing repository symlink/junction validator before any Git reads or staging writes. A checkout root alias remains allowed; a linked component below that root is rejected.
Validation: 6 scaffold tests and all onboarding tests pass on Python 3.12; the 3 new alias tests pass under
-O. Tests preserve an external sentinel file, reject a dangling package alias without staging, and retain normal validation through a linked checkout root. Existing exact-pin and no-overwrite controls pass.git diff --checkpasses. Native Windows junction handling uses the existing validator; no native Windows run was made.Fresh canonical main/priorities and live PR/Discussion overlap checked. No other active PR touches this generator. This changes draft creation only, with no selected-frontier effect. Hosted CI is pending.
Base:
df0137efd35e11b4445734bf612bdd4c7ebc330c. Verified head:9a49794b08658da52f83b3a3b214366136808740.Prepared for aliromman with OpenAI Codex assistance. Existing tool and predecessor credits remain in place. No selected-frontier change.