Repository navigation
Treat goal objectives as untrusted context - #60342
Merged
copyberry[bot] merged 1 commit intoNov 9, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed - Pass goal objectives as untrusted `goal_objective` context instead of embedding them in continuation instructions. Direct the model to use `get_goal` if the objective is missing or truncated. - Inject newly created objectives into their originating active turn without dropping unrelated client context. Render them as tool outputs when `UntrustedAsToolOutput` is enabled. - Queue additional context together with automatic turn input so both reach the first model request. ## Testing Extend app-server coverage to verify that model-written objectives appear as tool outputs at creation and continuation, without duplicating them in user messages. Update steering and Python SDK tests to check objective preservation and delivery alongside continuation instructions. GitOrigin-RevId: 6f44f6d6c895bb4dc378c9cf84d6470ccc885c67
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/6f44f6d6c895bb4dc378c9cf84d6470ccc885c67
branch
from
November 9, 2026 03:58
1475faa to
8703d32
Compare
Contributor
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/6f44f6d6c895bb4dc378c9cf84d6470ccc885c67
branch
November 9, 2026 03:58
thuant2dmedia-rgb
temporarily deployed
to
issue-triage
November 9, 2026 04:02 — with
GitHub Actions
Inactive
thuant2dmedia-rgb
temporarily deployed
to
issue-triage
November 9, 2026 04:02 — with
GitHub Actions
Inactive
thuant2dmedia-rgb
temporarily deployed
to
issue-triage
November 9, 2026 04:02 — with
GitHub Actions
Inactive
thuant2dmedia-rgb
temporarily deployed
to
issue-triage
November 9, 2026 04:21 — with
GitHub Actions
Inactive
thuant2dmedia-rgb
temporarily deployed
to
issue-triage
November 9, 2026 04:21 — with
GitHub Actions
Inactive
thuant2dmedia-rgb
temporarily deployed
to
issue-triage
November 9, 2026 04:21 — with
GitHub Actions
Inactive
MakoTheGreat
temporarily deployed
to
issue-triage
November 9, 2026 04:35 — with
GitHub Actions
Inactive
MakoTheGreat
temporarily deployed
to
issue-triage
November 9, 2026 04:35 — with
GitHub Actions
Inactive
MakoTheGreat
temporarily deployed
to
issue-triage
November 9, 2026 04:35 — with
GitHub Actions
Inactive
MakoTheGreat
temporarily deployed
to
issue-triage
November 9, 2026 04:35 — with
GitHub Actions
Inactive
rolandoroach
temporarily deployed
to
issue-triage
November 9, 2026 04:48 — with
GitHub Actions
Inactive
rolandoroach
temporarily deployed
to
issue-triage
November 9, 2026 04:48 — with
GitHub Actions
Inactive
rolandoroach
temporarily deployed
to
issue-triage
November 9, 2026 04:48 — with
GitHub Actions
Inactive
rolandoroach
temporarily deployed
to
issue-triage
November 9, 2026 04:49 — with
GitHub Actions
Inactive
richardwkj
temporarily deployed
to
issue-triage
November 9, 2026 04:56 — with
GitHub Actions
Inactive
richardwkj
temporarily deployed
to
issue-triage
November 9, 2026 04:56 — with
GitHub Actions
Inactive
richardwkj
temporarily deployed
to
issue-triage
November 9, 2026 04:56 — with
GitHub Actions
Inactive
h359795873-svg
temporarily deployed
to
issue-triage
November 9, 2026 05:10 — with
GitHub Actions
Inactive
h359795873-svg
temporarily deployed
to
issue-triage
November 9, 2026 05:10 — with
GitHub Actions
Inactive
h359795873-svg
temporarily deployed
to
issue-triage
November 9, 2026 05:10 — with
GitHub Actions
Inactive
quentinjacque
temporarily deployed
to
issue-triage
November 9, 2026 07:02 — with
GitHub Actions
Inactive
quentinjacque
temporarily deployed
to
issue-triage
November 9, 2026 07:02 — with
GitHub Actions
Inactive
quentinjacque
temporarily deployed
to
issue-triage
November 9, 2026 07:02 — with
GitHub Actions
Inactive
teawonders
temporarily deployed
to
issue-triage
November 9, 2026 07:06 — with
GitHub Actions
Inactive
teawonders
temporarily deployed
to
issue-triage
November 9, 2026 07:06 — with
GitHub Actions
Inactive
teawonders
temporarily deployed
to
issue-triage
November 9, 2026 07:06 — with
GitHub Actions
Inactive
AtomicRobotMan0101
temporarily deployed
to
issue-triage
November 9, 2026 07:07 — with
GitHub Actions
Inactive
AtomicRobotMan0101
temporarily deployed
to
issue-triage
November 9, 2026 07:07 — with
GitHub Actions
Inactive
AtomicRobotMan0101
temporarily deployed
to
issue-triage
November 9, 2026 07:07 — with
GitHub Actions
Inactive
teawonders
temporarily deployed
to
issue-triage
November 9, 2026 07:07 — with
GitHub Actions
Inactive
chengxilin
temporarily deployed
to
issue-triage
November 9, 2026 08:25 — with
GitHub Actions
Inactive
chengxilin
temporarily deployed
to
issue-triage
November 9, 2026 08:25 — with
GitHub Actions
Inactive
chengxilin
temporarily deployed
to
issue-triage
November 9, 2026 08:25 — with
GitHub Actions
Inactive
chengxilin
temporarily deployed
to
issue-triage
November 9, 2026 08:26 — with
GitHub Actions
Inactive
siyu-emqx
temporarily deployed
to
issue-triage
November 9, 2026 08:26 — with
GitHub Actions
Inactive
siyu-emqx
temporarily deployed
to
issue-triage
November 9, 2026 08:26 — with
GitHub Actions
Inactive
siyu-emqx
temporarily deployed
to
issue-triage
November 9, 2026 08:26 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Treat goal objectives as untrusted context
What changed
goal_objectivecontext instead of embedding them in continuation instructions. Direct the model to useget_goalif the objective is missing or truncated.UntrustedAsToolOutputis enabled.Testing
Extend app-server coverage to verify that model-written objectives appear as tool outputs at creation and continuation, without duplicating them in user messages. Update steering and Python SDK tests to check objective preservation and delivery alongside continuation instructions.