All checks were successful
CI / check (push) Successful in 5m25s
- Update gastown-fix-agent-bead-address-title.patch line numbers (326→315) for current upstream gastown source - Remove obsolete gastown patches (rig-prefix, copydir-symlinks) that are now handled upstream - Pin beads to 55e733c (v0.47.2) which uses Go 1.24.0 - newer versions require Go 1.25.6 which isn't in nixpkgs-unstable yet - Remove beads-search-query-optimization.patch as it targets newer code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
522 B
Diff
16 lines
522 B
Diff
diff --git a/internal/mail/router.go b/internal/mail/router.go
|
|
--- a/internal/mail/router.go
|
|
+++ b/internal/mail/router.go
|
|
@@ -315,7 +315,10 @@ func agentBeadToAddress(bead *agentBead) string {
|
|
}
|
|
|
|
// For other hq- agents, fall back to description parsing
|
|
- return parseAgentAddressFromDescription(bead.Description)
|
|
+ if bead.Title != "" && strings.Contains(bead.Title, "/") {
|
|
+ return bead.Title
|
|
+ }
|
|
+ return parseAgentAddressFromDescription(bead.Description)
|
|
}
|
|
|
|
// Handle gt- prefixed IDs (legacy format)
|