Files
codex/codex-rs/core
cassirer-openai 9c63c0aa73 Instruct gpt-5 codex to comment on scripts.
The model sometimes uses one-off python scripts to e.g. navigate the codebase. It can be a bit hard to understand what the purpose of these terse scripts are but with this prompt change the model will add terse comments into the scripts explaining the motivation behind the script.
2025-09-15 10:36:22 -07:00
..
2025-09-14 19:33:19 -04:00
2025-09-12 23:25:10 +00:00

codex-core

This crate implements the business logic for Codex. It is designed to be used by the various Codex UIs written in Rust.

Dependencies

Note that codex-core makes some assumptions about certain helper utilities being available in the environment. Currently, this

macOS

Expects /usr/bin/sandbox-exec to be present.

Linux

Expects the binary containing codex-core to run the equivalent of codex debug landlock when arg0 is codex-linux-sandbox. See the codex-arg0 crate for details.

All Platforms

Expects the binary containing codex-core to simulate the virtual apply_patch CLI when arg1 is --codex-run-as-apply-patch. See the codex-arg0 crate for details.