Skip to content

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

Rust

fix: doctor boot preflight detail shows Some(false) for trust_gate_allowed; use Display instead of Debug

YeonGyu-Kimf2a90228fb77
diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs
index 3c1bb931..8f37fe21 100644
--- a/rust/crates/rusty-claude-cli/src/main.rs
+++ b/rust/crates/rusty-claude-cli/src/main.rs
@@ -2591,7 +2591,12 @@ fn check_boot_preflight_health(context: &StatusContext) -> DiagnosticCheck {
format!("Worktree exists {}", preflight.worktree_exists),
format!("Git dir exists {}", preflight.git_dir_exists),
format!("Branch behind {}", preflight.branch_freshness.behind),
- format!("Trust allowlist {:?}", preflight.trust_gate_allowed),
+ format!(
+ "Trust allowlist {}",
+ preflight
+ .trust_gate_allowed
+ .map_or("unknown".to_string(), |v| v.to_string())
+ ),
format!("Trusted roots {}", preflight.trusted_roots_count),
format!(
"MCP eligible {} · servers {}",