From 84647185884fb9db5f8bec7b5afabf512147c2b1 Mon Sep 17 00:00:00 2001 From: Treebird Date: Wed, 6 May 2026 00:06:11 +0300 Subject: [PATCH] fix: use python3 in developer extension instructions for macOS/Linux compatibility (#8784) Signed-off-by: Treebird Co-authored-by: Claude Sonnet 4.6 --- crates/goose/src/agents/platform_extensions/developer/mod.rs | 2 ++ ..._agents__prompt_manager__tests__all_platform_extensions.snap | 2 ++ 2 files changed, 4 insertions(+) diff --git a/crates/goose/src/agents/platform_extensions/developer/mod.rs b/crates/goose/src/agents/platform_extensions/developer/mod.rs index 8fcb90f2..21553cee 100644 --- a/crates/goose/src/agents/platform_extensions/developer/mod.rs +++ b/crates/goose/src/agents/platform_extensions/developer/mod.rs @@ -57,6 +57,8 @@ fn developer_instructions() -> &'static str { and file sizes. When you need to search, prefer rg which correctly respects gitignored content. Then use cat or sed to gather the context you need, always reading before editing. Use write and edit to efficiently make changes. Test and verify as appropriate. + + When running Python scripts or commands, always use `python3` instead of `python`. "} } } diff --git a/crates/goose/src/agents/snapshots/goose__agents__prompt_manager__tests__all_platform_extensions.snap b/crates/goose/src/agents/snapshots/goose__agents__prompt_manager__tests__all_platform_extensions.snap index 4599aecf..9b28abaf 100644 --- a/crates/goose/src/agents/snapshots/goose__agents__prompt_manager__tests__all_platform_extensions.snap +++ b/crates/goose/src/agents/snapshots/goose__agents__prompt_manager__tests__all_platform_extensions.snap @@ -90,6 +90,8 @@ and file sizes. When you need to search, prefer rg which correctly respects giti content. Then use cat or sed to gather the context you need, always reading before editing. Use write and edit to efficiently make changes. Test and verify as appropriate. +When running Python scripts or commands, always use `python3` instead of `python`. + ## orchestrator ### Instructions