Commit Graph
2489 Commits
Author SHA1 Message Date
Roy Han 9a9e044121 rebase 2026-03-26 00:01:29 -07:00
Roy Han 5a449cd2d0 turn start and complete 2026-03-25 23:13:22 -07:00
Roy Han ce5991d844 expand schema 2026-03-25 18:54:44 -07:00
Roy Han d6f4b1a888 rebase 2026-03-25 18:45:08 -07:00
Roy Han f2e417d8a1 rebase 2026-03-25 18:38:59 -07:00
Roy Han f9ce9ba6f1 rebase 2026-03-25 18:33:59 -07:00
Roy Han 6348ffd706 expand schema and rename event 2026-03-25 18:29:32 -07:00
Roy Han 71d88a63c2 strengthen naming 2026-03-25 18:10:36 -07:00
Roy Han 22ed47c5cf session data before context 2026-03-25 18:09:10 -07:00
Roy Han 2c012d44cf rebase 2026-03-25 17:32:01 -07:00
Roy Han ff52cac307 test: wait for turn event 2026-03-25 16:56:37 -07:00
Roy Han a779c8f4d3 fmt 2026-03-25 15:44:17 -07:00
Roy Han fdd3eaa93d diff cleanup 2026-03-25 15:43:36 -07:00
Roy Han 372c069d9d move up source data fetching 2026-03-25 15:43:15 -07:00
Roy Han e53084273d rebase 2026-03-25 15:40:25 -07:00
Roy Han 2737227745 add product client id 2026-03-25 15:32:12 -07:00
Roy Han f0bc8dec3e consolidate thread context 2026-03-25 15:28:52 -07:00
rhan-oai 3ca5e1798f Merge branch 'rhan/oob-thread-metadata' into rhan/oob-turn-metadata 2026-03-25 15:00:32 -07:00
Roy Han f4790429c1 fix test 2026-03-25 14:54:33 -07:00
Roy Han 4a163ee2a9 remove turn context 2026-03-25 14:36:12 -07:00
Roy Han c4bdf02473 clippy 2026-03-25 14:35:09 -07:00
Roy Han 6c6d49a49a lint 2026-03-25 14:24:15 -07:00
Roy Han edbb200358 rebase 2026-03-25 14:17:41 -07:00
Roy Han 66e28bb728 rebase on thread branch 2026-03-25 14:06:55 -07:00
Roy Han 7daa98793d remove flaky test 2026-03-25 14:02:09 -07:00
Roy Han 2dc789b211 rebase cleanup after migration 2026-03-25 13:49:47 -07:00
Roy Han e25d698cb3 test cleanup 2026-03-25 13:43:17 -07:00
rhan-oai c6cc9de6e9 Merge branch 'main' into rhan/oob-thread-metadata 2026-03-25 13:39:37 -07:00
Ahmed IbrahimandCodex 9dbe098349 Extract codex-core-skills crate (#15749)
## Summary
- move skill loading and management into codex-core-skills
- leave codex-core with the thin integration layer and shared wiring

## Testing
- CI

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-25 12:57:42 -07:00
Matthew Zeng 91337399fe [apps][tool_suggest] Remove tool_suggest's dependency on tool search. (#14856)
- [x] Remove tool_suggest's dependency on tool search.
2026-03-25 12:26:02 -07:00
Roy Han c36438ca59 is first turn 2026-03-25 12:06:07 -07:00
Roy Han 94da6b2289 rebase 2026-03-25 11:43:43 -07:00
evawong-oai 6566ab7e02 Clarify codex_home base for MDM path resolution (#15707)
## Summary

Add the follow up code comment Michael asked for at the MDM
`managed_config_from_mdm` - a follow up from
https://github.com/openai/codex/pull/15351.

## Validation

1. `cargo fmt --all --check`
2. `cargo test -p codex-core
managed_preferences_expand_home_directory_in_workspace_write_roots --
--nocapture`
3. `cargo test -p codex-core
write_value_succeeds_when_managed_preferences_expand_home_directory_paths
-- --nocapture`
4. `./tools/argument-comment-lint/run-prebuilt-linter.sh -p codex-core`
2026-03-25 18:40:43 +00:00
Roy Han 3ddd859344 Merge origin/main into rhan/oob-thread-metadata 2026-03-25 11:19:18 -07:00
Ahmed IbrahimandCodex d273efc0f3 Extract codex-analytics crate (#15748)
## Summary
- move the analytics events client into codex-analytics
- update codex-core and app-server callsites to use the new crate

## Testing
- CI

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-25 11:08:05 -07:00
Ahmed IbrahimandCodex 2bb1027e37 Extract codex-plugin crate (#15747)
## Summary
- extract plugin identifiers and load-outcome types into codex-plugin
- update codex-core to consume the new plugin crate

## Testing
- CI

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-25 11:07:31 -07:00
Ahmed IbrahimandCodex ad74543a6f Extract codex-utils-plugins crate (#15746)
## Summary
- extract shared plugin path and manifest helpers into
codex-utils-plugins
- update codex-core to consume the utility crate

## Testing
- CI

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-25 11:05:35 -07:00
Roy Han 0f770257e5 test fix 2026-03-25 10:52:34 -07:00
Ahmed IbrahimandCodex fba3c79885 Extract codex-instructions crate (#15744)
## Summary
- extract instruction fragment and user-instruction types into
codex-instructions
- update codex-core to consume the new crate

## Testing
- CI

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-25 10:43:49 -07:00
Roy Han 5362886490 event rename and resume support 2026-03-25 10:27:05 -07:00
Roy Han 74b8b800c7 session source update 2026-03-25 09:59:56 -07:00
jif-oaiandCodex 14c35a16a8 chore: remove read_file handler (#15773)
Co-authored-by: Codex <noreply@openai.com>
2026-03-25 16:27:32 +00:00
pakrym-oai 504aeb0e09 Use AbsolutePathBuf for cwd state (#15710)
Migrate `cwd` and related session/config state to `AbsolutePathBuf` so
downstream consumers consistently see absolute working directories.

Add test-only `.abs()` helpers for `Path`, `PathBuf`, and `TempDir`, and
update branch-local tests to use them instead of
`AbsolutePathBuf::try_from(...)`.

For the remaining TUI/app-server snapshot coverage that renders absolute
cwd values, keep the snapshots unchanged and skip the Windows-only cases
where the platform-specific absolute path layout differs.
2026-03-25 16:02:22 +00:00
jif-oaiandCodex 178c3b15b4 chore: remove grep_files handler (#15775)
# External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.

Include a link to a bug report or enhancement request.

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-25 16:01:45 +00:00
Fouad Matinandcolby-oai 32c4993c8a fix(core): default approval behavior for mcp missing annotations (#15519)
- Changed `requires_mcp_tool_approval` to apply MCP spec defaults when
annotations are missing.
- Unannotated tools now default to:
  - `readOnlyHint = false`
  - `destructiveHint = true`
  - `openWorldHint = true`
- This means unannotated MCP tools now go through approval/ARC
monitoring instead of silently bypassing it.
- Explicitly read-only tools still skip approval unless they are also
explicitly marked destructive.

**Previous behavior**
Failed open for missing annotations, which was unsafe for custom MCP
tools that omitted or forgot annotations.

---------

Co-authored-by: colby-oai <228809017+colby-oai@users.noreply.github.com>
2026-03-25 07:55:41 -07:00
jif-oai 047ea642d2 chore: tty metric (#15766) 2026-03-25 13:34:43 +00:00
Matthew Zeng e590fad50b [plugins] Add a flag for tool search. (#15722)
- [x] Add a flag for tool search.
2026-03-25 07:00:25 +00:00
viyatb-oai 95ba762620 fix: support split carveouts in windows restricted-token sandbox (#14172)
## Summary
- keep legacy Windows restricted-token sandboxing as the supported
baseline
- support the split-policy subset that restricted-token can enforce
directly today
- support full-disk read, the same writable root set as legacy
`WorkspaceWrite`, and extra read-only carveouts under those writable
roots via additional deny-write ACLs
- continue to fail closed for unsupported split-only shapes, including
explicit unreadable (`none`) carveouts, reopened writable descendants
under read-only carveouts, and writable root sets that do not match the
legacy workspace roots

## Example
Given a filesystem policy like:

```toml
":root" = "read"
":cwd" = "write"
"./docs" = "read"
```

the restricted-token backend can keep the workspace writable while
denying writes under `docs` by layering an extra deny-write carveout on
top of the legacy workspace-write roots.

A policy like:

```toml
"/workspace" = "write"
"/workspace/docs" = "read"
"/workspace/docs/tmp" = "write"
```

still fails closed, because the unelevated backend cannot reopen the
nested writable descendant safely.

## Stack
-> fix: support split carveouts in windows restricted-token sandbox
#14172
fix: support split carveouts in windows elevated sandbox #14568
2026-03-24 22:54:18 -07:00
Matthew Zeng 8c62829a2b [plugins] Flip on additional flags. (#15719)
- [x] Flip on additional flags.
2026-03-24 21:52:11 -07:00
Matthew Zeng 0bff38c54a [plugins] Flip the flags. (#15713)
- [x] Flip the `plugins` and `apps` flags.
2026-03-25 03:31:21 +00:00