Refresh step world state for all sessions - #33665
Merged
copyberry[bot] merged 1 commit intoJul 16, 2026
Merged
Conversation
## Why Changes to the selected working directory can select different `AGENTS.md` instructions. These updates need to reach the model even when the deferred executor feature is disabled. ## What changed - Refresh environment readiness and `AGENTS.md` before capturing each step. - Record model-visible world-state changes for every session instead of gating them on the deferred executor feature. - Preserve the initial environment context without duplicating it. ## Testing - Cover `AGENTS.md` replacement after a working-directory change. - Verify that initial environment context remains unique with the deferred executor both enabled and disabled. GitOrigin-RevId: ea5dbe590cc049170259e7eccb6a3346fb2ed8e6
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/ea5dbe590cc049170259e7eccb6a3346fb2ed8e6
branch
from
July 16, 2026 18:46
73e0e52 to
71448a2
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/ea5dbe590cc049170259e7eccb6a3346fb2ed8e6
branch
July 16, 2026 18:48
t6106118-cell
temporarily deployed
to
issue-triage
July 16, 2026 18:55 — with
GitHub Actions
Inactive
t6106118-cell
temporarily deployed
to
issue-triage
July 16, 2026 18:55 — with
GitHub Actions
Inactive
t6106118-cell
temporarily deployed
to
issue-triage
July 16, 2026 18:55 — with
GitHub Actions
Inactive
PradeepVelugu
temporarily deployed
to
issue-triage
July 16, 2026 19:14 — with
GitHub Actions
Inactive
PradeepVelugu
temporarily deployed
to
issue-triage
July 16, 2026 19:14 — with
GitHub Actions
Inactive
PradeepVelugu
temporarily deployed
to
issue-triage
July 16, 2026 19:14 — with
GitHub Actions
Inactive
smastraccidana
temporarily deployed
to
issue-triage
July 16, 2026 19:28 — with
GitHub Actions
Inactive
smastraccidana
temporarily deployed
to
issue-triage
July 16, 2026 19:28 — with
GitHub Actions
Inactive
smastraccidana
temporarily deployed
to
issue-triage
July 16, 2026 19:28 — 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.
Refresh step world state for all sessions
Why
Changes to the selected working directory can select different
AGENTS.mdinstructions. These updates need to reach the model even when the deferred
executor feature is disabled.
What changed
AGENTS.mdbefore capturing each step.them on the deferred executor feature.
Testing
AGENTS.mdreplacement after a working-directory change.executor both enabled and disabled.