Commit Graph

9911 Commits

Author SHA1 Message Date
Michael Bolin
dab86facb8 merge commit for archive created by Sapling 2026-03-19 22:57:00 -07:00
Michael Bolin
e800c8bafb core: add stdin-backed sandboxed fs writes 2026-03-19 22:56:50 -07:00
Michael Bolin
09fd6cd7c1 core: route view_image through a sandbox-backed fs helper 2026-03-19 22:56:50 -07:00
Michael Bolin
76ecd98408 core: add a sandbox-backed fs helper 2026-03-19 22:56:50 -07:00
Michael Bolin
bb43550a15 merge commit for archive created by Sapling 2026-03-19 22:50:00 -07:00
Michael Bolin
a50f24d6d1 core: add stdin-backed sandboxed fs writes 2026-03-19 22:49:49 -07:00
Michael Bolin
97c5db35cc core: route view_image through a sandbox-backed fs helper 2026-03-19 22:49:49 -07:00
Michael Bolin
4bf454e71b core: add a sandbox-backed fs helper 2026-03-19 22:49:48 -07:00
Michael Bolin
d38301db08 merge commit for archive created by Sapling 2026-03-19 22:33:31 -07:00
Michael Bolin
9c3dd13d2b core: add stdin-backed sandboxed fs writes 2026-03-19 22:32:40 -07:00
Michael Bolin
c56d2f1f48 core: route view_image through a sandbox-backed fs helper 2026-03-19 22:32:40 -07:00
Michael Bolin
013b9a46f6 core: add a sandbox-backed fs helper 2026-03-19 22:32:40 -07:00
Michael Bolin
d662c2815c merge commit for archive created by Sapling 2026-03-19 22:12:34 -07:00
Michael Bolin
c3f1765779 core: add a sandbox-backed fs helper 2026-03-19 22:12:19 -07:00
Michael Bolin
f3acc02dfd merge commit for archive created by Sapling 2026-03-19 20:34:15 -07:00
Michael Bolin
6fc6a7889a core: add stdin-backed sandboxed fs writes 2026-03-19 20:33:44 -07:00
Michael Bolin
269fe16050 core: route view_image through a sandbox-backed fs helper 2026-03-19 20:33:44 -07:00
Michael Bolin
98ea221446 core: add a sandbox-backed fs helper 2026-03-19 20:33:44 -07:00
Michael Bolin
943f9eb766 merge commit for archive created by Sapling 2026-03-19 20:27:07 -07:00
Michael Bolin
8d99dc0404 core: add stdin-backed sandboxed fs writes 2026-03-19 20:26:58 -07:00
Michael Bolin
d63213b7d0 core: route view_image through a sandbox-backed fs helper 2026-03-19 20:23:55 -07:00
Michael Bolin
45b4632cad core: add a sandbox-backed fs helper 2026-03-19 20:23:18 -07:00
Michael Bolin
fa2a2f0be9 Use released DotSlash package for argument-comment lint (#15199)
## Why
The argument-comment lint now has a packaged DotSlash artifact from
[#15198](https://github.com/openai/codex/pull/15198), so the normal repo
lint path should use that released payload instead of rebuilding the
lint from source every time.

That keeps `just clippy` and CI aligned with the shipped artifact while
preserving a separate source-build path for people actively hacking on
the lint crate.

The current alpha package also exposed two integration wrinkles that the
repo-side prebuilt wrapper needs to smooth over:
- the bundled Dylint library filename includes the host triple, for
example `@nightly-2025-09-18-aarch64-apple-darwin`, and Dylint derives
`RUSTUP_TOOLCHAIN` from that filename
- on Windows, Dylint's driver path also expects `RUSTUP_HOME` to be
present in the environment

Without those adjustments, the prebuilt CI jobs fail during `cargo
metadata` or driver setup. This change makes the checked-in prebuilt
wrapper normalize the packaged library name to the plain
`nightly-2025-09-18` channel before invoking `cargo-dylint`, and it
teaches both the wrapper and the packaged runner source to infer
`RUSTUP_HOME` from `rustup show home` when the environment does not
already provide it.

After the prebuilt Windows lint job started running successfully, it
also surfaced a handful of existing anonymous literal callsites in
`windows-sandbox-rs`. This PR now annotates those callsites so the new
cross-platform lint job is green on the current tree.

## What Changed
- checked in the current
`tools/argument-comment-lint/argument-comment-lint` DotSlash manifest
- kept `tools/argument-comment-lint/run.sh` as the source-build wrapper
for lint development
- added `tools/argument-comment-lint/run-prebuilt-linter.sh` as the
normal enforcement path, using the checked-in DotSlash package and
bundled `cargo-dylint`
- updated `just clippy` and `just argument-comment-lint` to use the
prebuilt wrapper
- split `.github/workflows/rust-ci.yml` so source-package checks live in
a dedicated `argument_comment_lint_package` job, while the released lint
runs in an `argument_comment_lint_prebuilt` matrix on Linux, macOS, and
Windows
- kept the pinned `nightly-2025-09-18` toolchain install in the prebuilt
CI matrix, since the prebuilt package still relies on rustup-provided
toolchain components
- updated `tools/argument-comment-lint/run-prebuilt-linter.sh` to
normalize host-qualified nightly library filenames, keep the `rustup`
shim directory ahead of direct toolchain `cargo` binaries, and export
`RUSTUP_HOME` when needed for Windows Dylint driver setup
- updated `tools/argument-comment-lint/src/bin/argument-comment-lint.rs`
so future published DotSlash artifacts apply the same nightly-filename
normalization and `RUSTUP_HOME` inference internally
- fixed the remaining Windows lint violations in
`codex-rs/windows-sandbox-rs` by adding the required `/*param*/`
comments at the reported callsites
- documented the checked-in DotSlash file, wrapper split, archive
layout, nightly prerequisite, and Windows `RUSTUP_HOME` requirement in
`tools/argument-comment-lint/README.md`
2026-03-20 03:19:22 +00:00
Michael Bolin
c5c2209a76 merge commit for archive created by Sapling 2026-03-19 20:17:43 -07:00
Michael Bolin
923f673599 core: add a sandbox-backed fs helper 2026-03-19 20:17:38 -07:00
Michael Bolin
916f394f15 merge commit for archive created by Sapling 2026-03-19 20:13:12 -07:00
starr-openai
96a86710c3 Split exec process into local and remote implementations (#15233)
## Summary
- match the exec-process structure to filesystem PR #15232
- expose `ExecProcess` on `Environment`
- make `LocalProcess` the real implementation and `RemoteProcess` a thin
network proxy over `ExecServerClient`
- make `ProcessHandler` a thin RPC adapter delegating to `LocalProcess`
- add a shared local/remote process test

## Validation
- `just fmt`
- `CARGO_TARGET_DIR=~/.cache/cargo-target/codex cargo test -p
codex-exec-server`
- `just fix -p codex-exec-server`

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-20 03:13:08 +00:00
Michael Bolin
1aef7074b8 core: add stdin-backed sandboxed fs writes 2026-03-19 20:12:13 -07:00
Ahmed Ibrahim
2e22885e79 Split features into codex-features crate (#15253)
- Split the feature system into a new `codex-features` crate.
- Cut `codex-core` and workspace consumers over to the new config and
warning APIs.

Co-authored-by: Ahmed Ibrahim <219906144+aibrahim-oai@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-03-19 20:12:07 -07:00
Michael Bolin
17bfa796d1 core: route view_image through a sandbox-backed fs helper 2026-03-19 20:11:16 -07:00
Michael Bolin
81ed2df7b0 core: add a sandbox-backed fs helper 2026-03-19 20:11:12 -07:00
xl-openai
35f8b87a5b fix: Distinguish missing and empty plugin products (#15263)
Treat [] as no product allowed, empty as all products allowed.
2026-03-19 20:02:40 -07:00
Michael Bolin
e552f08d3a merge commit for archive created by Sapling 2026-03-19 19:59:56 -07:00
Michael Bolin
fcc3de13ba core: add stdin-backed sandboxed fs writes 2026-03-19 19:53:01 -07:00
Michael Bolin
9316bec7f0 core: route view_image through a sandbox-backed fs helper 2026-03-19 19:51:53 -07:00
Michael Bolin
effb5419eb core: add a sandbox-backed fs helper 2026-03-19 19:51:35 -07:00
Michael Bolin
a3e59e9e85 core: add a full-buffer exec capture policy (#15254) rusty-v8-v146.4.0 2026-03-20 02:38:12 +00:00
Matthew Zeng
0a344e4fab [plugins] Install MCPs when calling plugin/install (#15195)
- [x] Auth MCPs when installing plugins.
2026-03-19 19:36:58 -07:00
Michael Bolin
b10bc65dcf Merge bfe26bd8f8 into sapling-pr-archive-bolinfest 2026-03-19 19:27:16 -07:00
Michael Bolin
bfe26bd8f8 Use released DotSlash package for argument-comment lint 2026-03-19 19:27:12 -07:00
Michael Bolin
252498f80d Merge 90cb67e93e into sapling-pr-archive-bolinfest 2026-03-19 19:12:19 -07:00
Michael Bolin
90cb67e93e core: add an exec capture policy for full output 2026-03-19 19:12:15 -07:00
Michael Bolin
10e61e631f merge commit for archive created by Sapling 2026-03-19 19:11:19 -07:00
Michael Bolin
cbd0ecfa3e Use released DotSlash package for argument-comment lint 2026-03-19 19:11:10 -07:00
Ahmed Ibrahim
2aa4873802 Move auth code into login crate (#15150)
- Move the auth implementation and token data into codex-login.
- Keep codex-core re-exporting that surface from codex-login for
existing callers.

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-19 18:58:17 -07:00
Michael Bolin
0dbbe17562 Merge 5626b76101 into sapling-pr-archive-bolinfest 2026-03-19 18:57:49 -07:00
Michael Bolin
5626b76101 core: add an exec capture policy for full output 2026-03-19 18:57:46 -07:00
Michael Bolin
56cd2fa461 Merge d886f18afe into sapling-pr-archive-bolinfest 2026-03-19 18:50:12 -07:00
Michael Bolin
d886f18afe core: add an exec capture policy for full output 2026-03-19 18:50:06 -07:00
Michael Bolin
8fb2bdd428 Merge 193b96932b into sapling-pr-archive-bolinfest 2026-03-19 18:48:42 -07:00