Adrian
8e784bba2f
Register agent identities behind use_agent_identity ( #17386 )
...
## Summary
Stack PR 2 of 4 for feature-gated agent identity support.
This PR adds agent identity registration behind
`features.use_agent_identity`. It keeps the app-server protocol
unchanged and starts registration after ChatGPT auth exists rather than
requiring a client restart.
## Stack
- PR1: https://github.com/openai/codex/pull/17385 - add
`features.use_agent_identity`
- PR2: https://github.com/openai/codex/pull/17386 - this PR
- PR3: https://github.com/openai/codex/pull/17387 - register agent tasks
when enabled
- PR4: https://github.com/openai/codex/pull/17388 - use `AgentAssertion`
downstream when enabled
## Validation
Covered as part of the local stack validation pass:
- `just fmt`
- `cargo test -p codex-core --lib agent_identity`
- `cargo test -p codex-core --lib agent_assertion`
- `cargo test -p codex-core --lib websocket_agent_task`
- `cargo test -p codex-api api_bridge`
- `cargo build -p codex-cli --bin codex`
## Notes
The full local app-server E2E path is still being debugged after PR
creation. The current branch stack is directionally ready for review
while that follow-up continues.
2026-04-15 10:08:27 -07:00
..
2026-04-14 15:40:40 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 00:32:41 +00:00
2026-04-06 16:22:59 -07:00
2026-04-14 14:26:10 -07:00
2026-04-08 15:47:29 -07:00
2026-04-10 07:48:44 -07:00
2026-04-14 19:47:50 -07:00
2026-04-07 08:03:35 -07:00
2026-04-15 15:00:27 +01:00
2026-04-15 11:47:26 +01:00
2026-04-13 09:59:08 +01:00
2026-03-24 18:34:44 -07:00
2026-04-15 10:08:27 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 21:02:59 +08:00
2026-04-14 14:26:10 -07:00
2026-03-24 18:10:53 -07:00
2026-04-15 10:08:27 -07:00
2026-04-07 21:20:22 +00:00
2026-04-14 12:49:02 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 09:52:17 -07:00
2026-04-08 15:25:42 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 18:04:35 -07:00
2026-04-13 23:11:49 -07:00
2026-04-15 10:08:27 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 10:08:27 -07:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-03-27 19:00:44 -07:00
2026-03-12 08:16:36 -07:00
2026-04-10 13:03:54 -07:00
2026-03-27 19:00:44 -07:00
2026-04-13 23:11:49 -07:00
2026-04-13 21:52:56 -07:00
2026-04-13 21:52:56 -07:00
2026-03-12 00:35:21 -07:00
2026-03-27 19:00:44 -07:00
2026-03-25 10:43:49 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 06:17:59 +00:00
2026-03-27 19:00:44 -07:00
2026-03-24 12:43:53 -07:00
2026-04-03 12:07:07 -07:00
2026-04-13 09:59:08 +01:00
2026-04-06 11:11:44 -07:00
2026-04-07 10:52:08 -07:00
2026-04-15 04:40:12 +00:00
2026-04-15 04:40:12 +00:00
2026-04-14 19:39:10 -07:00
2026-04-14 20:36:48 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 15:40:40 -07:00
2025-09-24 14:29:51 -07:00
2026-01-08 15:07:30 +00:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 10:08:27 -07:00
2026-04-09 14:10:44 -04:00
2026-04-13 21:52:56 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 00:49:15 -07:00
2026-04-15 21:02:59 +08:00
2026-04-13 21:52:56 -07:00
2026-03-12 08:16:36 -07:00
2026-04-03 00:33:34 -07:00
2026-03-25 11:05:35 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-02 23:00:02 -07:00
2026-04-09 10:53:06 -07:00
2026-03-27 19:00:44 -07:00
2026-04-14 14:26:10 -07:00
2026-04-01 13:21:50 -07:00
2026-04-13 10:26:51 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 00:32:41 +00:00
2026-04-14 08:15:56 -07:00
2026-04-13 10:26:51 -07:00
2026-04-13 10:26:51 -07:00
2026-04-12 11:59:09 -07:00
2026-04-13 14:31:18 -07:00
2026-04-14 19:58:58 -07:00
2026-04-14 19:58:58 -07:00
2026-04-11 13:52:17 -07:00
2026-04-01 23:06:24 -07:00
2026-04-14 14:26:10 -07:00
2026-04-09 18:44:26 +01:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-03-20 18:23:48 +00:00
2026-04-03 00:33:34 -07:00
2026-04-07 15:18:34 -07:00
2026-02-10 17:03:46 -08:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 13:47:10 -07:00
2026-04-14 15:40:40 -07:00
2026-04-13 10:26:51 -07:00
2026-04-14 14:26:10 -07:00
2026-04-07 08:03:35 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-04-03 00:33:34 -07:00
2026-04-13 10:26:51 -07:00
2026-04-14 15:40:40 -07:00
2026-03-31 14:10:43 +02:00
2026-04-13 23:11:49 -07:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00
2026-03-18 10:03:38 +00:00
2026-04-07 08:03:35 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-01-30 16:37:56 -08:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-08 08:42:18 -07:00
2026-04-08 08:42:18 -07:00