Use turn environment permissions for context and discovery - #37040
Merged
copyberry[bot] merged 1 commit intoAug 5, 2026
Conversation
## What changed - Build filesystem and permission context from the primary turn environment's permission profile, working directory, and workspace roots, falling back to the thread context when no primary environment is available. - Build capability-discovery sandbox contexts from each environment's permission profile and treat discovery as restricted when any selected environment has restricted filesystem access. ## Testing - Add regression tests covering environment-specific capability discovery and permission context updates. GitOrigin-RevId: 6bbbd9b88aafa5e6583971ce4e427fc7557f2d93
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/6bbbd9b88aafa5e6583971ce4e427fc7557f2d93
branch
from
August 5, 2026 06:44
8588b0c to
ed2f985
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/6bbbd9b88aafa5e6583971ce4e427fc7557f2d93
branch
August 5, 2026 06:45
molamola-git
temporarily deployed
to
issue-triage
August 5, 2026 06:57 — with
GitHub Actions
Inactive
molamola-git
temporarily deployed
to
issue-triage
August 5, 2026 06:57 — with
GitHub Actions
Inactive
molamola-git
temporarily deployed
to
issue-triage
August 5, 2026 06:57 — with
GitHub Actions
Inactive
xinyuan0801
temporarily deployed
to
issue-triage
August 5, 2026 07:23 — with
GitHub Actions
Inactive
xinyuan0801
temporarily deployed
to
issue-triage
August 5, 2026 07:23 — with
GitHub Actions
Inactive
xinyuan0801
temporarily deployed
to
issue-triage
August 5, 2026 07:23 — with
GitHub Actions
Inactive
xinyuan0801
temporarily deployed
to
issue-triage
August 5, 2026 07:23 — with
GitHub Actions
Inactive
DaniFloresFu
temporarily deployed
to
issue-triage
August 5, 2026 07:52 — with
GitHub Actions
Inactive
DaniFloresFu
temporarily deployed
to
issue-triage
August 5, 2026 07:52 — with
GitHub Actions
Inactive
DaniFloresFu
temporarily deployed
to
issue-triage
August 5, 2026 07:52 — with
GitHub Actions
Inactive
ricky-sensei
temporarily deployed
to
issue-triage
August 5, 2026 07:53 — with
GitHub Actions
Inactive
ricky-sensei
temporarily deployed
to
issue-triage
August 5, 2026 07:53 — with
GitHub Actions
Inactive
ricky-sensei
temporarily deployed
to
issue-triage
August 5, 2026 07:53 — with
GitHub Actions
Inactive
DaniFloresFu
temporarily deployed
to
issue-triage
August 5, 2026 07:54 — with
GitHub Actions
Inactive
ricky-sensei
temporarily deployed
to
issue-triage
August 5, 2026 07:54 — with
GitHub Actions
Inactive
nikoisthebest
temporarily deployed
to
issue-triage
August 5, 2026 07:58 — with
GitHub Actions
Inactive
nikoisthebest
temporarily deployed
to
issue-triage
August 5, 2026 07:58 — with
GitHub Actions
Inactive
nikoisthebest
temporarily deployed
to
issue-triage
August 5, 2026 07:58 — with
GitHub Actions
Inactive
nikoisthebest
temporarily deployed
to
issue-triage
August 5, 2026 07:59 — with
GitHub Actions
Inactive
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Use turn environment permissions for context and discovery
What changed
Testing