Skip to content

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

Rust

fix: #122 doctor invocation now checks stale-base condition

YeonGyu-Kimf33c315c9370
diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs
index 9385db82..b62db8bc 100644
--- a/rust/crates/rusty-claude-cli/src/main.rs
+++ b/rust/crates/rusty-claude-cli/src/main.rs
@@ -1508,7 +1508,10 @@ fn render_doctor_report() -> Result<DoctorReport, Box<dyn std::error::Error>> {
check_sandbox_health(&context.sandbox_status),
check_system_health(&cwd, config.as_ref().ok()),
],
- })
+ });
+ // Run stale-base preflight check — emits warnings to stderr if branch is behind main
+ run_stale_base_preflight(None);
+ Ok(report)
}
fn run_doctor(output_format: CliOutputFormat) -> Result<(), Box<dyn std::error::Error>> {