From 6d18e0a88bccc37295be2a079261530feead34dd Mon Sep 17 00:00:00 2001 From: Artem Bambalov Date: Mon, 26 Jan 2026 04:05:41 +0200 Subject: [PATCH] fix: use gt handoff flags for mail (#957) --- internal/templates/commands/handoff.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/internal/templates/commands/handoff.md b/internal/templates/commands/handoff.md index 3933ec77..4731b574 100644 --- a/internal/templates/commands/handoff.md +++ b/internal/templates/commands/handoff.md @@ -1,6 +1,6 @@ --- description: Hand off to fresh session, work continues from hook -allowed-tools: Bash(gt mail send:*),Bash(gt handoff:*) +allowed-tools: Bash(gt handoff:*) argument-hint: [message] --- @@ -10,11 +10,10 @@ User's handoff message (if any): $ARGUMENTS Execute these steps in order: -1. If user provided a message, send handoff mail to yourself first. - Construct your mail address from your identity (e.g., gastown/crew/max for crew, mayor/ for mayor). - Example: `gt mail send gastown/crew/max -s "HANDOFF: Session cycling" -m "USER_MESSAGE_HERE"` +1. If user provided a message, run the handoff command with a subject and message. + Example: `gt handoff -s "HANDOFF: Session cycling" -m "USER_MESSAGE_HERE"` -2. Run the handoff command (this will respawn your session with a fresh Claude): +2. If no message was provided, run the handoff command: `gt handoff` Note: The new session will auto-prime via the SessionStart hook and find your handoff mail.