In preparation for in-repo configuration support, this updates `WritableRoot::get_writable_roots_with_cwd()` to include the `.codex` subfolder in `WritableRoot.read_only_subpaths`, if it exists, as we already do for `.git`. As noted, currently, like `.git`, `.codex` will only be read-only under macOS Seatbelt, but we plan to bring support to other OSes, as well. Updated the integration test in `seatbelt.rs` so that it actually attempts to run the generated Seatbelt commands, verifying that: - trying to write to `.codex/config.toml` in a writable root fails - trying to write to `.git/hooks/pre-commit` in a writable root fails - trying to write to the writable root containing the `.codex` and `.git` subfolders succeeds |
||
|---|---|---|
| .. | ||
| account.rs | ||
| approvals.rs | ||
| config_types.rs | ||
| conversation_id.rs | ||
| custom_prompts.rs | ||
| items.rs | ||
| lib.rs | ||
| message_history.rs | ||
| models.rs | ||
| num_format.rs | ||
| openai_models.rs | ||
| parse_command.rs | ||
| plan_tool.rs | ||
| protocol.rs | ||
| user_input.rs | ||