From 39b3b150bd65dce9a48004326f47c1a3d8340012 Mon Sep 17 00:00:00 2001 From: gastown/polecats/valkyrie Date: Tue, 30 Dec 2025 22:33:17 -0800 Subject: [PATCH] gt convoy create: Default --notify to mayor/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When Mayor creates a convoy, automatically default --notify to 'mayor/' since the Mayor dispatched the work and should be notified when it lands. This reduces flag boilerplate for the common case. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/cmd/convoy.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/cmd/convoy.go b/internal/cmd/convoy.go index 2cc2a918..d1f73b98 100644 --- a/internal/cmd/convoy.go +++ b/internal/cmd/convoy.go @@ -161,6 +161,13 @@ func runConvoyCreate(cmd *cobra.Command, args []string) error { return err } + // Default --notify to mayor/ when mayor creates a convoy + if convoyNotify == "" { + if roleInfo, err := GetRole(); err == nil && roleInfo.Role == RoleMayor { + convoyNotify = "mayor/" + } + } + // Create convoy issue in town beads description := fmt.Sprintf("Convoy tracking %d issues", len(trackedIssues)) if convoyNotify != "" {