[codex] Adopt global instructions contributors - #26834
Closed
anp-oai wants to merge 4 commits into
Closed
Conversation
This was referenced Jun 6, 2026
anp-oai
force-pushed
the
codex/global-instructions-adoption
branch
from
June 6, 2026 22:40
88f4111 to
137a907
Compare
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 6, 2026 22:42
6dae8e0 to
33ae45b
Compare
anp-oai
force-pushed
the
codex/global-instructions-adoption
branch
from
June 6, 2026 22:44
137a907 to
dd786f1
Compare
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
7 times, most recently
from
June 7, 2026 00:41
c7d7742 to
1b4f2bf
Compare
This was referenced Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 8, 2026 15:46
1b4f2bf to
c3a04a9
Compare
anp-oai
force-pushed
the
codex/global-instructions-adoption
branch
from
June 8, 2026 16:25
dd786f1 to
801d563
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 8, 2026
anp-oai
force-pushed
the
codex/global-instructions-adoption
branch
from
June 8, 2026 17:02
801d563 to
77bd16f
Compare
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 8, 2026 19:06
5df5f8b to
4c16e36
Compare
anp-oai
force-pushed
the
codex/global-instructions-adoption
branch
from
June 8, 2026 19:25
77bd16f to
a64a858
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
With the extension API, CODEX_HOME contributor, and durable snapshot semantics in place, core can stop owning global instruction loading through
Config. Completing the migration makes freshness points explicit, lets hosts choose their contributor, and prevents history-sharing thread creation from unexpectedly re-resolving instructions.What changed
GlobalInstructionsContributorfor fresh-history creation and full-context rebuilding.EventMsg::Warningwhen a compaction refresh fails.CodexHomeInstructionsContributorin app-server, MCP server, prompt-debug, and the thread-manager sample.Breaking changes
Config.user_instructions.LoadedAgentsMdconfiguration and testing escape hatch.CodexHomeInstructionsContributorin their extension registry.Stack
Test plan
just test -p codex-extension-apijust test -p codex-homeinstructionSourcestestsjust test -p codex-protocol -p codex-state -p codex-rolloutjust bazel-lock-check