Commit Graph
13042 Commits
Author SHA1 Message Date
Michael Bolin dd1263c940 merge commit for archive created by Sapling 2026-04-24 20:42:33 -07:00
Michael Bolin 7831a790e4 permissions: finish profile-backed app surfaces 2026-04-24 20:37:16 -07:00
Michael Bolin b9e5dc4c52 permissions: remove core legacy policy round trips 2026-04-24 20:37:16 -07:00
Michael Bolin a655a3e66a permissions: migrate approval and sandbox consumers to profiles 2026-04-24 20:37:16 -07:00
Michael Bolin 0e24a604cc permissions: derive compatibility policies from profiles 2026-04-24 20:36:04 -07:00
Michael Bolin 9f36fb8148 merge commit for archive created by Sapling 2026-04-24 20:13:31 -07:00
Michael Bolin 6b74ac5cbf permissions: make runtime config profile-backed 2026-04-24 20:08:49 -07:00
Michael Bolin f07bc3fd05 permissions: finish profile-backed app surfaces 2026-04-24 20:08:49 -07:00
Michael Bolin c135240941 permissions: remove core legacy policy round trips 2026-04-24 20:08:49 -07:00
Michael Bolin 7ef8fba8d1 permissions: migrate approval and sandbox consumers to profiles 2026-04-24 20:08:49 -07:00
Michael Bolin 18ee4416de permissions: derive compatibility policies from profiles 2026-04-24 20:08:49 -07:00
Michael Bolin 67488ce187 merge commit for archive created by Sapling 2026-04-24 19:57:14 -07:00
Michael Bolin 970da95c24 permissions: finish profile-backed app surfaces 2026-04-24 19:56:31 -07:00
Michael Bolin 8cfb152096 permissions: remove core legacy policy round trips 2026-04-24 19:56:31 -07:00
Michael Bolin 7cc09713be permissions: migrate approval and sandbox consumers to profiles 2026-04-24 19:56:31 -07:00
Michael Bolin 6c70600d90 permissions: derive compatibility policies from profiles 2026-04-24 19:56:31 -07:00
Michael Bolin 0e5f60df55 Merge 982c0b18b5 into sapling-pr-archive-bolinfest 2026-04-24 19:48:29 -07:00
Michael Bolin 5228859331 permissions: make runtime config profile-backed 2026-04-24 19:44:32 -07:00
Michael Bolin 982c0b18b5 permissions: finish profile-backed app surfaces 2026-04-24 19:44:32 -07:00
Michael Bolin 716b5c9644 permissions: remove core legacy policy round trips 2026-04-24 19:44:32 -07:00
Michael Bolin 452bb09186 permissions: migrate approval and sandbox consumers to profiles 2026-04-24 19:44:32 -07:00
Michael Bolin 747398e6b0 permissions: derive compatibility policies from profiles 2026-04-24 19:44:32 -07:00
Michael Bolin e991b97985 merge commit for archive created by Sapling 2026-04-24 19:16:30 -07:00
Michael Bolin 568028f974 permissions: finish profile-backed app surfaces 2026-04-24 19:12:02 -07:00
Michael Bolin e04210f8e4 permissions: remove core legacy policy round trips 2026-04-24 19:12:02 -07:00
Michael Bolin e9d571f0f4 permissions: migrate approval and sandbox consumers to profiles 2026-04-24 19:12:02 -07:00
Michael Bolin 9c16a437e1 permissions: derive compatibility policies from profiles 2026-04-24 19:12:02 -07:00
Michael Bolin 2ca7354926 permissions: make runtime config profile-backed 2026-04-24 19:10:03 -07:00
Michael Bolin 994f963ab5 merge commit for archive created by Sapling 2026-04-24 19:01:18 -07:00
Michael Bolin 709a8ac831 permissions: finish profile-backed app surfaces 2026-04-24 18:51:41 -07:00
Michael Bolin 4ead365d8a permissions: remove core legacy policy round trips 2026-04-24 18:51:41 -07:00
Michael Bolin 2aacd057d0 permissions: migrate approval and sandbox consumers to profiles 2026-04-24 18:51:41 -07:00
Michael Bolin fd70f134e3 permissions: derive compatibility policies from profiles 2026-04-24 18:51:41 -07:00
Michael Bolin 198f7e259b permissions: make runtime config profile-backed 2026-04-24 18:50:47 -07:00
Michael Bolin 23085d2f16 merge commit for archive created by Sapling 2026-04-24 17:55:02 -07:00
Michael Bolin 478e4a99f9 permissions: finish profile-backed app surfaces 2026-04-24 17:52:35 -07:00
Michael Bolin 0eb0387570 permissions: remove core legacy policy round trips 2026-04-24 17:52:35 -07:00
Michael Bolin 0dbfb60137 permissions: migrate approval and sandbox consumers to profiles 2026-04-24 17:52:35 -07:00
Michael Bolin 5137fd0df2 permissions: derive compatibility policies from profiles 2026-04-24 17:52:35 -07:00
Michael Bolin 8fc80acd19 permissions: make runtime config profile-backed 2026-04-24 17:52:04 -07:00
Curtis 'Fjord' Hawthorne 8a559e7938 Remove js_repl feature (#19410) 2026-04-24 17:49:29 -07:00
Curtis 'Fjord' Hawthorne cf02e9c052 Fix Bazel cargo_bin runfiles paths (#19468)
## Summary

Fix a Bazel-only path resolution bug in
`codex_utils_cargo_bin::cargo_bin`.

Under Bazel runfiles, `rlocation` can return a relative `bazel-out/...`
path even though `cargo_bin()` documents that it returns an absolute
path. That can break callers that store the returned binary path and
later spawn it after changing cwd, because the relative path is resolved
from the wrong directory.

This patch absolutizes the runfiles-resolved path before returning it.
2026-04-24 17:47:31 -07:00
viyatb-oaiandCodex 1c3287125f ci: pin codex-action v1.7 (#19472)
## Summary
- update Codex issue automation to pin `openai/codex-action` to
`5c3f4ccdb2b8790f73d6b21751ac00e602aa0c02`, the commit for `v1.7`
- keep the release intent visible with `# v1.7` comments beside the hash
pins

## Test plan
- `git diff --check`
- `yq e '.' .github/workflows/issue-labeler.yml`
- `yq e '.' .github/workflows/issue-deduplicator.yml`

---------

Co-authored-by: Codex <noreply@openai.com>
2026-04-25 00:44:04 +00:00
Michael Bolin 789f387982 permissions: remove legacy read-only access modes (#19449)
## Why

`ReadOnlyAccess` was a transitional legacy shape on `SandboxPolicy`:
`FullAccess` meant the historical read-only/workspace-write modes could
read the full filesystem, while `Restricted` tried to carry partial
readable roots. The partial-read model now belongs in
`FileSystemSandboxPolicy` and `PermissionProfile`, so keeping it on
`SandboxPolicy` makes every legacy projection reintroduce lossy
read-root bookkeeping and creates unnecessary noise in the rest of the
permissions migration.

This PR makes the legacy policy model narrower and explicit:
`SandboxPolicy::ReadOnly` and `SandboxPolicy::WorkspaceWrite` represent
the old full-read sandbox modes only. Split readable roots, deny-read
globs, and platform-default/minimal read behavior stay in the runtime
permissions model.

## What changed

- Removes `ReadOnlyAccess` from
`codex_protocol::protocol::SandboxPolicy`, including the generated
`access` and `readOnlyAccess` API fields.
- Updates legacy policy/profile conversions so restricted filesystem
reads are represented only by `FileSystemSandboxPolicy` /
`PermissionProfile` entries.
- Keeps app-server v2 compatible with legacy `fullAccess` read-access
payloads by accepting and ignoring that no-op shape, while rejecting
legacy `restricted` read-access payloads instead of silently widening
them to full-read legacy policies.
- Carries Windows sandbox platform-default read behavior with an
explicit override flag instead of depending on
`ReadOnlyAccess::Restricted`.
- Refreshes generated app-server schema/types and updates tests/docs for
the simplified legacy policy shape.

## Verification

- `cargo check -p codex-app-server-protocol --tests`
- `cargo check -p codex-windows-sandbox --tests`
- `cargo test -p codex-app-server-protocol sandbox_policy_`


---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/19449).
* #19395
* #19394
* #19393
* #19392
* #19391
* __->__ #19449
2026-04-24 17:16:58 -07:00
Celia Chen d19de6d150 fix: Bedrock GPT-5.4 reasoning levels (#19461)
## Why

When using the Amazon Bedrock provider with `openai.gpt-5.4-cmb`, the
model picker allowed `xhigh` because the CMB catalog entry was derived
from the bundled `gpt-5.4` reasoning metadata. Bedrock rejects that
effort level, causing the request to fail before the turn can run:

```text
{"error":{"code":"validation_error","message":"Failed to deserialize the JSON body into the target type: Invalid 'reasoning': Invalid 'effort': unknown variant `xhigh`, expected one of `high`, `low`, `medium`, `minimal` at line 1 column 77239","param":null,"type":"invalid_request_error"}}
```

## What Changed

- Replace the runtime lookup of bundled `gpt-5.4` metadata for
`openai.gpt-5.4-cmb` with an explicit Bedrock CMB `ModelInfo` entry.
- Advertise only the Bedrock-supported CMB reasoning levels: `minimal`,
`low`, `medium`, and `high`.
- Keep the existing GPT OSS Bedrock model metadata and reasoning levels
unchanged.
- Add catalog coverage for the hardcoded CMB metadata and
Bedrock-compatible reasoning level list.
2026-04-25 00:05:22 +00:00
Michael Bolin 28530ca3d0 Merge 3aa6bb2e28 into sapling-pr-archive-bolinfest 2026-04-24 16:33:12 -07:00
Michael Bolin 3aa6bb2e28 permissions: finish profile-backed app surfaces 2026-04-24 16:32:59 -07:00
Michael Bolin 42cfc6b8b3 permissions: remove core legacy policy round trips 2026-04-24 16:32:59 -07:00
Michael Bolin 84177776c2 permissions: migrate approval and sandbox consumers to profiles 2026-04-24 16:32:59 -07:00
Michael Bolin 7bb66b0ed9 permissions: derive compatibility policies from profiles 2026-04-24 16:32:59 -07:00