Commit Graph
12249 Commits
Author SHA1 Message Date
Michael Bolin 3bdedd091b tui: carry permission profiles on user turns 2026-04-20 23:16:54 -07:00
Michael Bolin fe05ed6838 tui: sync session permission profiles 2026-04-20 23:16:54 -07:00
Michael Bolin a673f976a1 app-server: accept command permission profiles 2026-04-20 23:16:54 -07:00
Michael Bolin f4b6873f50 protocol: report session permission profiles 2026-04-20 23:16:54 -07:00
Michael Bolin 072750e046 rollout: persist turn permission profiles 2026-04-20 23:16:54 -07:00
Michael Bolin ab0e270801 clients: send permission profiles to app-server 2026-04-20 23:16:54 -07:00
Michael Bolin 9d354ba7d9 app-server: accept permission profile overrides 2026-04-20 23:16:54 -07:00
Michael Bolin 40397502d5 app-server: expose thread permission profiles 2026-04-20 23:16:54 -07:00
Michael Bolin 8618f6482f core: derive active permission profiles 2026-04-20 23:16:54 -07:00
Michael Bolin 7ed53a50c3 exec-server: carry filesystem sandbox profiles 2026-04-20 23:16:54 -07:00
Michael Bolin cf9f1ea320 sandboxing: intersect permission profiles semantically 2026-04-20 23:16:53 -07:00
pash-openaiandSayan Sisodiya dc1a8f2190 [tool search] support namespaced deferred dynamic tools (#18413)
Deferred dynamic tools need to round-trip a namespace so a tool returned
by `tool_search` can be called through the same registry key that core
uses for dispatch.

This change adds namespace support for dynamic tool specs/calls,
persists it through app-server thread state, and routes dynamic tool
calls by full `ToolName` while still sending the app the leaf tool name.
Deferred dynamic tools must provide a namespace; non-deferred dynamic
tools may remain top-level.

It also introduces `LoadableToolSpec` as the shared
function-or-namespace Responses shape used by both `tool_search` output
and dynamic tool registration, so dynamic tools use the same wrapping
logic in both paths.

Validation:
- `cargo test -p codex-tools`
- `cargo test -p codex-core tool_search`

---------

Co-authored-by: Sayan Sisodiya <sayan@openai.com>
2026-04-21 14:13:08 +08:00
Michael Bolin 8a7d1a1db8 Merge 9a309e592e into sapling-pr-archive-bolinfest 2026-04-20 23:10:47 -07:00
Michael Bolin 9a309e592e tests: isolate approval fixtures from host rules 2026-04-20 23:09:48 -07:00
Michael Bolin 055fda9df9 shell-escalation: carry resolved permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin d776838702 mcp: include permission profiles in sandbox state 2026-04-20 23:09:48 -07:00
Michael Bolin 3b69ad41e6 tui: carry permission profiles on user turns 2026-04-20 23:09:48 -07:00
Michael Bolin e6e68b3b0d tui: sync session permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin f64a036721 app-server: accept command permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin e17a9a2f91 protocol: report session permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin b235e21b1a rollout: persist turn permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin ea8eb64bf7 clients: send permission profiles to app-server 2026-04-20 23:09:48 -07:00
Michael Bolin 1a9b5dc389 app-server: accept permission profile overrides 2026-04-20 23:09:48 -07:00
Michael Bolin 89da5a0825 app-server: expose thread permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin 5ae72d87dc core: derive active permission profiles 2026-04-20 23:09:48 -07:00
Michael Bolin 668e164a0d exec-server: carry filesystem sandbox profiles 2026-04-20 23:09:48 -07:00
Michael Bolin 5bc0ac8294 sandboxing: intersect permission profiles semantically 2026-04-20 23:09:48 -07:00
Michael Bolin 1dcea729d3 chore: enable await-holding clippy lints (#18698)
Follow-up to https://github.com/openai/codex/pull/18178, where we said
the await-holding clippy rule would be enabled separately.

Enable `await_holding_lock` and `await_holding_invalid_type` after the
preceding commits fixed or explicitly documented the current offenders.
2026-04-21 06:06:05 +00:00
Michael Bolin 04de961d22 merge commit for archive created by Sapling 2026-04-20 22:55:03 -07:00
Michael Bolin 0614e9f1ab tests: isolate approval fixtures from host rules 2026-04-20 22:54:43 -07:00
Michael Bolin 5454243057 shell-escalation: carry resolved permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin df803281cf mcp: include permission profiles in sandbox state 2026-04-20 22:54:43 -07:00
Michael Bolin e0554ee748 tui: carry permission profiles on user turns 2026-04-20 22:54:43 -07:00
Michael Bolin ff5026da6c tui: sync session permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin 906e02007c app-server: accept command permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin 0f16cb0995 protocol: report session permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin 43a0192183 rollout: persist turn permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin 44c5e27996 clients: send permission profiles to app-server 2026-04-20 22:54:43 -07:00
Michael Bolin 99292055e2 app-server: accept permission profile overrides 2026-04-20 22:54:43 -07:00
Michael Bolin ecfabb04da app-server: expose thread permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin 70709987b6 core: derive active permission profiles 2026-04-20 22:54:43 -07:00
Michael Bolin 45aa43ad88 exec-server: carry filesystem sandbox profiles 2026-04-20 22:54:43 -07:00
Michael Bolin d4fca7cba9 sandboxing: intersect permission profiles semantically 2026-04-20 22:54:43 -07:00
Michael Bolin 9d5825ab6e merge commit for archive created by Sapling 2026-04-20 22:49:19 -07:00
Michael Bolin dbd8816c89 tests: isolate approval fixtures from host rules 2026-04-20 22:48:44 -07:00
Michael Bolin 6d03ccf820 shell-escalation: carry resolved permission profiles 2026-04-20 22:48:44 -07:00
Michael Bolin d03adc0db3 mcp: include permission profiles in sandbox state 2026-04-20 22:48:44 -07:00
Michael Bolin e924206a98 tui: carry permission profiles on user turns 2026-04-20 22:48:44 -07:00
Michael Bolin ad659e48f4 tui: sync session permission profiles 2026-04-20 22:48:44 -07:00
Michael Bolin 07935bdec0 app-server: accept command permission profiles 2026-04-20 22:48:44 -07:00