Commit Graph
14264 Commits
Author SHA1 Message Date
Michael Bolin c229e39db8 Merge 361f003f29 into sapling-pr-archive-bolinfest 2026-04-29 11:13:49 -07:00
Michael Bolin 78ed8562f5 Merge c0845d39e0 into sapling-pr-archive-bolinfest 2026-04-29 10:09:27 -07:00
Michael Bolin c0845d39e0 PoC: codex-kernel 2026-04-29 10:09:20 -07:00
Michael Bolin 2ec581eba5 Merge 99ef3ed879 into sapling-pr-archive-bolinfest 2026-04-29 10:03:45 -07:00
Michael Bolin 99ef3ed879 PoC: codex-kernel 2026-04-29 10:03:12 -07:00
Michael Bolin 361f003f29 doc: discourage the use of #[async_trait] 2026-04-29 10:02:43 -07:00
Michael Bolin e953514cb6 merge commit for archive created by Sapling 2026-04-29 03:06:49 -07:00
Michael Bolin 80d8db22bb permissions: expose active profile metadata 2026-04-29 03:06:31 -07:00
Michael Bolin e88895f190 merge commit for archive created by Sapling 2026-04-29 02:39:43 -07:00
Michael Bolin 138eef5524 permissions: expose active profile metadata 2026-04-29 02:39:32 -07:00
Michael Bolin d2bc5aa713 merge commit for archive created by Sapling 2026-04-29 02:33:27 -07:00
Michael Bolin 40d564e6ae permissions: expose active profile metadata 2026-04-29 02:33:14 -07:00
Michael Bolin e673e6e737 merge commit for archive created by Sapling 2026-04-29 01:36:18 -07:00
Michael Bolin b56d4132b0 permissions: expose active profile metadata 2026-04-29 01:36:06 -07:00
Michael Bolin b8c5a644bf merge commit for archive created by Sapling 2026-04-29 01:18:46 -07:00
Michael Bolin 3e15fd0558 permissions: expose active profile metadata 2026-04-29 01:18:35 -07:00
Michael Bolin 2d7314262a merge commit for archive created by Sapling 2026-04-29 01:05:01 -07:00
Michael Bolin c62ea103b5 permissions: expose active profile metadata 2026-04-29 01:04:30 -07:00
Michael Bolin ffe4019335 Merge 4cdda12134 into sapling-pr-archive-bolinfest 2026-04-29 00:58:00 -07:00
Michael Bolin 4cdda12134 permissions: expose active profile metadata 2026-04-29 00:57:28 -07:00
Michael Bolin 96c4e42455 merge commit for archive created by Sapling 2026-04-29 00:53:39 -07:00
Michael Bolin 3d917ce846 permissions: expose active profile metadata 2026-04-29 00:53:06 -07:00
Michael Bolin d1c6711f26 merge commit for archive created by Sapling 2026-04-29 00:42:09 -07:00
Michael Bolin 2456dc92cd permissions: expose active profile metadata 2026-04-29 00:40:44 -07:00
Michael Bolin 8d5c94fcc9 merge commit for archive created by Sapling 2026-04-29 00:22:56 -07:00
Michael Bolin d02956bd3d permissions: expose active profile metadata 2026-04-29 00:22:46 -07:00
Michael Bolin e0ce75b201 merge commit for archive created by Sapling 2026-04-28 23:50:59 -07:00
Michael Bolin acdc76a0f8 permissions: expose active profile metadata 2026-04-28 23:50:17 -07:00
Andrey Mishchenko 857146b328 Delete multi_agent_v2 followup_task interrupt parameter (#20139)
Messages sent with `followup_task` already arrive at their target
recipient promptly (at message boundaries while sampling, or after the
pending tool call completes) -- having `interrupt` is not worth the
added complexity.
2026-04-28 23:19:48 -07:00
viyatb-oai 6ed0440611 feat(cli): add explicit sandbox permission profiles (#20117)
## Why

`codex sandbox` is useful for exercising sandbox behavior directly, but
before this stack the CLI
only picked up permission profiles indirectly from the active config.
The existing debug-sandbox path
already compiled `[permissions]` profiles through normal config loading,
as covered by the existing
profile tests in
[`debug_sandbox.rs`](https://github.com/openai/codex/blob/de2ccf94735a3d8a2a7077e6a5292026413867cf/codex-rs/cli/src/debug_sandbox.rs#L715-L760).

This adds the smallest stable entry point first: an explicit profile
selector that reuses the same
config machinery as normal Codex config, so standalone testing becomes
possible without changing
current no-selector behavior.

## What changed

- Add additive `--permissions-profile NAME` support to `codex sandbox
macos|linux|windows`.
- Resolve built-in and user-defined profile names by feeding
`default_permissions` through the
existing config compilation path instead of inventing a sandbox-only
parser.
- Make an explicit selector win over an ambient active profile's legacy
`sandbox_mode`.
- Keep the existing no-selector behavior unchanged.

## Stack

1. #20117 `sandbox-ui-profile` --> this PR
2. #20118 `sandbox-ui-config`

Both PRs are additive. Replay JSON is intentionally deferred to a
follow-up design pass.

## Tests ran

- `cargo test -p codex-cli debug_sandbox`
- `cargo test -p codex-cli sandbox_macos_parses_permissions_profile`
- `cargo test -p codex-core
cli_override_takes_precedence_over_profile_sandbox_mode`
- macOS branch-binary smoke on the rebased top of stack: built-in
`:workspace` and user-defined
  profiles both executed successfully through `--permissions-profile`.
- Linux devbox branch-binary smoke on the rebased top of stack: built-in
`:workspace` and
user-defined profiles both executed successfully through
`--permissions-profile`.
2026-04-29 06:18:16 +00:00
Michael Bolin 4846377216 merge commit for archive created by Sapling 2026-04-28 22:47:33 -07:00
Michael Bolin a70a0d91ca permissions: expose active profile metadata 2026-04-28 22:47:26 -07:00
Dylan Hurd 3d10ba9f36 chore(cli) deprecate --full-auto (#20133)
## Summary
Starts the process of getting rid of `--full-auto`, with some
concessions:
1. Fully removes the command from the tui, since it just resolves to the
default permissions there, and encourages users to use the one-time
trust flow if they're not in a trusted repo.
2. Marks the command as deprecated in `codex exec`, in case users are
actively relying on this. We'll remove in an upcoming n+X release.
3. Cleans up some of the `codex sandbox` cli logic, to keep supporting
legacy sandbox policies for now.

This isn't the cleanest setup, but I think it is worthwhile to warn
users for one release before hard-removing it.

## Testing 
- [x] Updated unit tests
2026-04-29 04:41:30 +00:00
Michael Bolin 8e5addb952 merge commit for archive created by Sapling 2026-04-28 21:41:23 -07:00
Michael Bolin 8cae849aba permissions: expose active profile metadata 2026-04-28 21:41:14 -07:00
Michael Bolin d9d77866e2 merge commit for archive created by Sapling 2026-04-28 21:30:53 -07:00
Michael Bolin 44b2e362fe permissions: expose active profile metadata 2026-04-28 21:30:46 -07:00
Michael Bolin a83071f45d merge commit for archive created by Sapling 2026-04-28 21:29:37 -07:00
Michael Bolin 1fff1e046f permissions: expose active profile metadata 2026-04-28 21:29:22 -07:00
Michael Bolin b4d83212e9 Merge 9d8708a70c into sapling-pr-archive-bolinfest 2026-04-28 20:51:26 -07:00
Michael Bolin 9d8708a70c permissions: expose active profile metadata 2026-04-28 20:51:18 -07:00
Michael Bolin 8f3e20aba6 merge commit for archive created by Sapling 2026-04-28 20:47:53 -07:00
Michael Bolin 0bc22bd61d permissions: expose active profile metadata 2026-04-28 20:47:44 -07:00
starr-openaiandCodex e1ec9e63a0 Add environment provider snapshot (#20058)
## Summary
- Change `EnvironmentProvider` to return concrete `Environment`
instances instead of `EnvironmentConfigurations`.
- Make `DefaultEnvironmentProvider` provide the provider-visible `local`
environment plus optional `remote` environment from
`CODEX_EXEC_SERVER_URL`.
- Keep `EnvironmentManager` as the concrete cache while exposing its own
explicit local environment for `local_environment()` fallback paths.

## Validation
- `just fmt`
- `git diff --check`

---------

Co-authored-by: Codex <noreply@openai.com>
2026-04-28 20:05:18 -07:00
Michael Bolin f2ac84ae58 merge commit for archive created by Sapling 2026-04-28 19:59:35 -07:00
Michael Bolin e2ae150346 permissions: expose active profile metadata 2026-04-28 19:59:28 -07:00
xl-openai 6f328d5e02 Soften skill description budget warnings (#20112)
Updates skill description budget messaging to be less alarming
2026-04-28 19:56:25 -07:00
Michael Bolin 9a4b662ff6 merge commit for archive created by Sapling 2026-04-28 19:56:01 -07:00
Michael Bolin bd7080bdb9 permissions: expose active profile metadata 2026-04-28 19:55:45 -07:00
Michael Bolin d881d9105b Merge 9e4bfa31a4 into sapling-pr-archive-bolinfest 2026-04-28 19:48:21 -07:00