[codex] Add CODEX_HOME instructions contributor - #26832
Closed
anp-oai wants to merge 3 commits into
Closed
Conversation
This was referenced Jun 6, 2026
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 6, 2026 22:38
664b277 to
785bae7
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 6, 2026
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 6, 2026 22:42
7755e57 to
c3df12e
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 6, 2026 23:41
785bae7 to
035d36c
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 6, 2026 23:43
38f08fd to
8c53e24
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 6, 2026 23:50
035d36c to
9457850
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 6, 2026 23:52
8c53e24 to
928c7ca
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 6, 2026 23:53
9457850 to
c7dc495
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 6, 2026 23:55
928c7ca to
dbb73cc
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 7, 2026 00:14
c7dc495 to
c70089d
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 7, 2026 00:16
6357493 to
346915c
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 7, 2026 00:21
c70089d to
246e1ac
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 7, 2026 00:22
346915c to
ff93380
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 7, 2026 00:29
246e1ac to
a8b37f8
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 7, 2026 00:30
ff93380 to
5a5f942
Compare
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 7, 2026 00:37
a8b37f8 to
6298c6f
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 7, 2026 00:38
5a5f942 to
1387a82
Compare
This was referenced Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 8, 2026 15:12
6298c6f to
177060c
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 8, 2026
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 8, 2026 15:21
1387a82 to
161abd3
Compare
anp-oai
commented
Jun 8, 2026
| @@ -0,0 +1,76 @@ | |||
| use std::io; | |||
Contributor
Author
There was a problem hiding this comment.
this should have a doc comment
anp-oai
force-pushed
the
codex/global-instructions-extension-api
branch
from
June 8, 2026 18:26
177060c to
7809eac
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 8, 2026 18:29
161abd3 to
67bb15a
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
CODEX_HOME instruction discovery is currently implemented inside
codex-core, even though it is a host-level source of global instructions. Moving that behavior into a dedicated crate keeps core focused on rendering and lifecycle semantics and creates a natural home for future CODEX_HOME-specific behavior.What changed
codex-homecrate.CodexHomeInstructionsContributor, constructed from a CODEX_HOME path without depending oncodex-core.AGENTS.override.mdprecedence and fallback toAGENTS.md.codex-core-api.This PR defines the contributor but does not register or resolve it in production hosts yet.
Stack
Test plan
just test -p codex-homejust bazel-lock-check