[codex] Persist structured instruction snapshots#26833
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-home
branch
from
June 6, 2026 22:42
7755e57 to
c3df12e
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-snapshots
branch
from
June 6, 2026 23:29
81f505c to
b394621
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
3 times, most recently
from
June 6, 2026 23:55
928c7ca to
dbb73cc
Compare
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 7, 2026 00:00
b394621 to
b2f10a1
Compare
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 7, 2026 00:13
b2f10a1 to
76b526b
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-snapshots
branch
from
June 7, 2026 00:17
76b526b to
66e4dcc
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 7, 2026 00:22
346915c to
ff93380
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 7, 2026 00:25
66e4dcc to
421a743
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-snapshots
branch
from
June 7, 2026 00:31
421a743 to
c7d7742
Compare
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 7, 2026 00:38
5a5f942 to
1387a82
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 7, 2026 00:41
c7d7742 to
1b4f2bf
Compare
This was referenced Jun 7, 2026
anp-oai
force-pushed
the
codex/global-instructions-home
branch
from
June 8, 2026 15:21
1387a82 to
161abd3
Compare
anp-oai
added a commit
that referenced
this pull request
Jun 8, 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-home
branch
from
June 8, 2026 18:29
161abd3 to
67bb15a
Compare
anp-oai
force-pushed
the
codex/global-instructions-snapshots
branch
from
June 8, 2026 19:06
5df5f8b to
4c16e36
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
History-sharing threads must retain the instructions that were active when their history was produced. That persistence and inheritance behavior should be established before changing where fresh global instructions are resolved, so resume, forks, truncated subagents, and compaction do not accidentally reload or lose instructions.
What changed
Config.user_instructionssource for compatibility.TurnContext.Stack
Test plan
instructionSourcescoverage