fix: always send handoff mail (#973)
* fix: always send handoff mail * fix: remove trailing slash from mayor in detectSenderFromCwd Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -182,6 +182,11 @@ func detectSenderFromCwd() string {
|
||||
}
|
||||
}
|
||||
|
||||
// If in the town's mayor directory
|
||||
if strings.Contains(cwd, "/mayor") {
|
||||
return "mayor"
|
||||
}
|
||||
|
||||
// Default to overseer (human)
|
||||
return "overseer"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user