Skip to content

Reject linked output paths before creating research drafts - #5734

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
aliromman:codex/contributor-15-10
Oct 26, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
aliromman:codex/contributor-15-10

Conversation

@aliromman

Copy link
Copy Markdown
Contributor

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 --check passes. 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.

@Mister-Meeseeks
Mister-Meeseeks merged commit c297a40 into CrocSwap:main Oct 26, 2026
1 of 2 checks passed
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.

2 participants