mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Report managed filesystem policy in codex doctor (#42821)
## What changed - Load doctor configuration through the cloud-aware CLI configuration path while preserving invocation overrides such as `--cd`. - Report configuration load time and clarify that diagnostics cover invocation configuration, including cloud-managed policy, but not active thread overrides. - Add redacted filesystem sandbox diagnostics for denied-read rule counts, glob rule counts, glob scan depth, and the managed policy source. ## Testing Add an integration test that verifies valid cloud-managed filesystem requirements are reported without exposing denied paths, and invalid requirements fail the configuration check. GitOrigin-RevId: 65c3c9ad3fd42c1579ca0c9d8e209066f98e5407
This commit is contained in:
1 parent
3fde89f628
commit
387bc6ba59
5 files changed
+215
-30
No files matched your search
@@ -3,6 +3,7 @@ use anyhow::Result;
|
||||
use anyhow::bail;
|
||||
use clap::Parser;
|
||||
use codex_core::config::Config;
|
||||
use codex_core::config::ConfigOverrides;
|
||||
use codex_core::config::LoaderOverrides;
|
||||
use codex_core::plugins_manager_for_config;
|
||||
use codex_core_plugins::PluginMarketplaceUpgradeOutcome;
|
||||
@@ -128,8 +129,12 @@ impl MarketplaceCli {
|
||||
subcommand,
|
||||
} = self;
|
||||
|
||||
let builder =
|
||||
cloud_config::config_builder(&config_overrides, LoaderOverrides::default()).await?;
|
||||
let builder = cloud_config::config_builder(
|
||||
&config_overrides,
|
||||
LoaderOverrides::default(),
|
||||
ConfigOverrides::default(),
|
||||
)
|
||||
.await?;
|
||||
let config = builder.clone().build().await?;
|
||||
|
||||
match subcommand {
|
||||
|
||||
Reference in new issue
Block a user