Closed
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
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.
Summary
use_agent_identityflow for ChatGPT-authenticated sessions incodex-coretask_idper thread on first user prompt, and attach that task to backend/model + connector gateway requestsDetails
This wires the new agent identity flow into shared core services without changing the app-server RPC surface. When
features.use_agent_identityis enabled and ChatGPT auth is active, Codex will register or reuse a persistent agent identity, store the long-lived key material incodex-secrets, create a thread-scoped task on first user turn, and propagate the resultingtask_idonly to the Responses/Codex backend path and the apps connector gateway path.Testing
cargo +1.93.1 test -p codex-core suite::agent_identitycargo +1.93.1 test -p codex-core agent_task_headerjust write-config-schemajust bazel-lock-updatejust bazel-lock-checkjust fix -p codex-corejust fmtNotes
cargo +1.93.1 test -p codex-corestill has unrelated baseline/environment-sensitive failures outside this change set (for example inseatbelt,git_info,js_repl, andunified_execpaths), so this PR keeps validation focused on the new agent identity flow.