Repository navigation
Describe context and permissions per environment behind a feature flag - #61494
Merged
copyberry[bot] merged 1 commit intoNov 14, 2026
Conversation
#61494) ## Why Selected environments can have different filesystem and network permissions, but context previously described only the primary environment's rules. ## What changed - Add the disabled-by-default `per_environment_context` feature. - Group filesystem and network access under each environment ID, including when only one environment is selected. Label shared network requirements separately. - Scope permission instructions and incremental updates to each environment. Withdraw stale descriptions and use labeled thread defaults when no environment is ready. - Track approved command prefixes separately so new approvals do not require repeating unchanged permission instructions. ## Testing Extend rendering and permission snapshots for scoped context, removed scopes, thread defaults, and format transitions. Update the active-turn scenario to cover two environments with different permissions, changing only the second environment's workspace and permissions and restoring its defaults on the next turn. GitOrigin-RevId: c948089c12da7b15eee378d8c5a23a233d24502b
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/c948089c12da7b15eee378d8c5a23a233d24502b
branch
from
November 14, 2026 09:44
e479b81 to
b1573f1
Compare
Contributor
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/c948089c12da7b15eee378d8c5a23a233d24502b
branch
November 14, 2026 09:44
yingfengjie7-max
temporarily deployed
to
issue-triage
November 14, 2026 09:47 — with
GitHub Actions
Inactive
yingfengjie7-max
temporarily deployed
to
issue-triage
November 14, 2026 09:47 — with
GitHub Actions
Inactive
yingfengjie7-max
temporarily deployed
to
issue-triage
November 14, 2026 09:47 — with
GitHub Actions
Inactive
yingfengjie7-max
temporarily deployed
to
issue-triage
November 14, 2026 09:48 — with
GitHub Actions
Inactive
leonaiuv
temporarily deployed
to
issue-triage
November 14, 2026 09:58 — with
GitHub Actions
Inactive
leonaiuv
temporarily deployed
to
issue-triage
November 14, 2026 09:58 — with
GitHub Actions
Inactive
leonaiuv
temporarily deployed
to
issue-triage
November 14, 2026 09:58 — with
GitHub Actions
Inactive
leonaiuv
temporarily deployed
to
issue-triage
November 14, 2026 09:59 — with
GitHub Actions
Inactive
MysticEntry-Nova64
temporarily deployed
to
issue-triage
November 14, 2026 10:06 — with
GitHub Actions
Inactive
MysticEntry-Nova64
temporarily deployed
to
issue-triage
November 14, 2026 10:06 — with
GitHub Actions
Inactive
MysticEntry-Nova64
temporarily deployed
to
issue-triage
November 14, 2026 10:06 — with
GitHub Actions
Inactive
MysticEntry-Nova64
temporarily deployed
to
issue-triage
November 14, 2026 10:06 — with
GitHub Actions
Inactive
viettran-edgeAI
temporarily deployed
to
issue-triage
November 14, 2026 10:17 — with
GitHub Actions
Inactive
viettran-edgeAI
temporarily deployed
to
issue-triage
November 14, 2026 10:17 — with
GitHub Actions
Inactive
viettran-edgeAI
temporarily deployed
to
issue-triage
November 14, 2026 10:17 — with
GitHub Actions
Inactive
q3579338
temporarily deployed
to
issue-triage
November 14, 2026 10:50 — with
GitHub Actions
Inactive
q3579338
temporarily deployed
to
issue-triage
November 14, 2026 10:50 — with
GitHub Actions
Inactive
Iyanu1396
temporarily deployed
to
issue-triage
November 14, 2026 11:27 — with
GitHub Actions
Inactive
Iyanu1396
temporarily deployed
to
issue-triage
November 14, 2026 11:27 — with
GitHub Actions
Inactive
Iyanu1396
temporarily deployed
to
issue-triage
November 14, 2026 11:28 — with
GitHub Actions
Inactive
serhatkaraca1988-collab
temporarily deployed
to
issue-triage
November 14, 2026 11:29 — with
GitHub Actions
Inactive
serhatkaraca1988-collab
temporarily deployed
to
issue-triage
November 14, 2026 11:29 — with
GitHub Actions
Inactive
serhatkaraca1988-collab
temporarily deployed
to
issue-triage
November 14, 2026 11:29 — with
GitHub Actions
Inactive
serhatkaraca1988-collab
temporarily deployed
to
issue-triage
November 14, 2026 11:30 — with
GitHub Actions
Inactive
hodgemann
temporarily deployed
to
issue-triage
November 14, 2026 11:35 — with
GitHub Actions
Inactive
hodgemann
temporarily deployed
to
issue-triage
November 14, 2026 11:35 — with
GitHub Actions
Inactive
hodgemann
temporarily deployed
to
issue-triage
November 14, 2026 11:35 — with
GitHub Actions
Inactive
hodgemann
temporarily deployed
to
issue-triage
November 14, 2026 11:35 — with
GitHub Actions
Inactive
Peter-P779
temporarily deployed
to
issue-triage
November 14, 2026 12:06 — with
GitHub Actions
Inactive
Peter-P779
temporarily deployed
to
issue-triage
November 14, 2026 12:06 — with
GitHub Actions
Inactive
Peter-P779
temporarily deployed
to
issue-triage
November 14, 2026 12:06 — with
GitHub Actions
Inactive
Peter-P779
temporarily deployed
to
issue-triage
November 14, 2026 12:07 — with
GitHub Actions
Inactive
ddrachev
temporarily deployed
to
issue-triage
November 14, 2026 12:11 — with
GitHub Actions
Inactive
ddrachev
temporarily deployed
to
issue-triage
November 14, 2026 12:11 — with
GitHub Actions
Inactive
ddrachev
temporarily deployed
to
issue-triage
November 14, 2026 12:11 — with
GitHub Actions
Inactive
ddrachev
temporarily deployed
to
issue-triage
November 14, 2026 12:12 — with
GitHub Actions
Inactive
MalinaNeag
temporarily deployed
to
issue-triage
November 14, 2026 12:58 — with
GitHub Actions
Inactive
MalinaNeag
temporarily deployed
to
issue-triage
November 14, 2026 12:58 — with
GitHub Actions
Inactive
MalinaNeag
temporarily deployed
to
issue-triage
November 14, 2026 12:58 — with
GitHub Actions
Inactive
jacint-collab
temporarily deployed
to
issue-triage
November 14, 2026 13:04 — with
GitHub Actions
Inactive
jacint-collab
temporarily deployed
to
issue-triage
November 14, 2026 13:04 — with
GitHub Actions
Inactive
jacint-collab
temporarily deployed
to
issue-triage
November 14, 2026 13:04 — with
GitHub Actions
Inactive
jacint-collab
temporarily deployed
to
issue-triage
November 14, 2026 13:05 — with
GitHub Actions
Inactive
Philomoon
temporarily deployed
to
issue-triage
November 14, 2026 13:07 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Describe context and permissions per environment behind a feature flag
Why
Selected environments can have different filesystem and network permissions, but context previously described only the primary environment's rules.
What changed
per_environment_contextfeature.Testing
Extend rendering and permission snapshots for scoped context, removed scopes, thread defaults, and format transitions. Update the active-turn scenario to cover two environments with different permissions, changing only the second environment's workspace and permissions and restoring its defaults on the next turn.