mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why The environment context already lists writable paths. An empty catalog template previously fell back to the bundled writable-root sentence, so a model catalog had no way to omit that repeated list. ## What changed Treat an empty `writable_root` or `writable_roots` template as a request to omit the corresponding sentence. Missing, null, invalid nonempty, and oversized templates still use the bundled wording. Suppressed roots leave the full path budget available for denied-read paths and globs and never trigger an omitted-path warning on their own. ## Testing Cover empty singular and plural templates and verify that suppressed roots leave room for denied-read entries. A model-switch scenario checks that Codex appends the updated permissions message once and preserves the earlier conversation, filesystem permissions, and approval settings. GitOrigin-RevId: 105819fb07ff829be8f111b3676656373aeb7892
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.