Validate CODEX_HOME before resolving (#10249)

Summary
- require `CODEX_HOME` to point to an existing directory before
canonicalizing and surface clear errors otherwise
- share the same helper logic in both `core` and `rmcp-client` and add
unit tests that cover missing, non-directory, valid, and default paths

This addresses #9222
This commit is contained in:
Eric Traut authored and GitHub committed 2026-01-30 15:46:33 -08:00
1 parent 13e85b1549
commit 8d142fd63d
11 files changed
+168 -58

No files matched your search

-1
View File
@@ -1,5 +1,4 @@
mod auth_status;
mod find_codex_home;
mod logging_client_handler;
mod oauth;
mod perform_oauth_login;