From 69ce34a828e0eb92b15dfdffdba9f9f2da848739 Mon Sep 17 00:00:00 2001 From: Angie Jones Date: Wed, 20 Aug 2025 21:34:17 -0500 Subject: [PATCH] Read AGENTS.md by default (#4232) --- crates/goose-mcp/src/developer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose-mcp/src/developer/mod.rs b/crates/goose-mcp/src/developer/mod.rs index c6d967c27b..9b3b6982eb 100644 --- a/crates/goose-mcp/src/developer/mod.rs +++ b/crates/goose-mcp/src/developer/mod.rs @@ -585,7 +585,7 @@ impl DeveloperRouter { let hints_filenames: Vec = std::env::var("CONTEXT_FILE_NAMES") .ok() .and_then(|s| serde_json::from_str(&s).ok()) - .unwrap_or_else(|| vec![".goosehints".to_string()]); + .unwrap_or_else(|| vec!["AGENTS.md".to_string(), ".goosehints".to_string()]); let mut global_hints_contents = Vec::with_capacity(hints_filenames.len()); let mut local_hints_contents = Vec::with_capacity(hints_filenames.len());