Rebind memory consolidation workspace roots#32197
Merged
copyberry[bot] merged 1 commit intoJul 10, 2026
Merged
Conversation
## Why The memory consolidation agent changes its working directory to the memory root, but applying its sandbox policy directly to the permissions object can leave workspace roots inherited from the parent configuration. ## What changed Apply the consolidation sandbox policy through `Config` so its workspace roots are synchronized with the memory root. Add a test covering the working directory, workspace roots, and effective legacy sandbox policy. GitOrigin-RevId: dc6e75aef1ffa84a2f66fec6ed3a6fedcf9aa672
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/dc6e75aef1ffa84a2f66fec6ed3a6fedcf9aa672
branch
from
July 10, 2026 15:46
eacf7a8 to
601b61a
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/dc6e75aef1ffa84a2f66fec6ed3a6fedcf9aa672
branch
July 10, 2026 15:47
for-opencode-tmp
temporarily deployed
to
issue-triage
July 10, 2026 15:49 — with
GitHub Actions
Inactive
for-opencode-tmp
temporarily deployed
to
issue-triage
July 10, 2026 15:49 — with
GitHub Actions
Inactive
for-opencode-tmp
temporarily deployed
to
issue-triage
July 10, 2026 15:49 — with
GitHub Actions
Inactive
for-opencode-tmp
temporarily deployed
to
issue-triage
July 10, 2026 15:50 — 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.
Rebind memory consolidation workspace roots
Why
The memory consolidation agent changes its working directory to the memory
root, but applying its sandbox policy directly to the permissions object can
leave workspace roots inherited from the parent configuration.
What changed
Apply the consolidation sandbox policy through
Configso its workspace rootsare synchronized with the memory root. Add a test covering the working
directory, workspace roots, and effective legacy sandbox policy.