Merge 8b5b79b9b8 into sapling-pr-archive-bolinfest

This commit is contained in:
Michael Bolin
2026-05-18 15:18:37 -07:00
committed by GitHub

View File

@@ -400,7 +400,10 @@ async fn turn_start_emits_thread_scoped_warning_notification_for_trimmed_skills(
write_test_skill(codex_home.path(), "alpha-skill")?;
write_test_skill(codex_home.path(), "beta-skill")?;
let mut mcp = McpProcess::new(codex_home.path()).await?;
// Skill loading also checks `$HOME/.agents/skills`, so isolate HOME from host-installed skills.
let home_dir = codex_home.path().display().to_string();
let mut mcp =
McpProcess::new_with_env(codex_home.path(), &[("HOME", Some(home_dir.as_str()))]).await?;
timeout(DEFAULT_READ_TIMEOUT, mcp.initialize()).await??;
let thread_req = mcp