Skip to content

fix: keep scan output dirs private across shared parents - #110

Closed
batmnnn wants to merge 1 commit into
openai:mainfrom
batmnnn:fix/pin-scan-output-directory-identity
Closed

fix: keep scan output dirs private across shared parents#110
batmnnn wants to merge 1 commit into
openai:mainfrom
batmnnn:fix/pin-scan-output-directory-identity

Conversation

@batmnnn

@batmnnn batmnnn commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • bun test --timeout 60000 ./tests-ts/runtime.test.ts ./tests-ts/contract.test.ts ./tests-ts/api.test.ts (129 pass)
  • Confirm CI node-ci passes on this branch

Made with Cursor

Reject group/world-writable non-sticky output parents at prepare time, and
re-check scan-directory ownership/mode whenever the workbench or contract
loader resolves the path, so a mid-scan rename under a shared parent cannot
substitute forged completion artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings July 29, 2026 22:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@batmnnn

batmnnn commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

@mldangelo should I close this ?

@mldangelo-oai

Copy link
Copy Markdown
Collaborator

Thanks for working on output-directory privacy. A stronger version of the same protection has already landed on main, and this older branch now conflicts with it. I'll close the PR as superseded. We'd be glad to review another contribution.

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.

Scan output under a shared parent can be replaced before completion

3 participants