Files
gastown/internal/cmd
gastown/crew/jack 8eafcc8a16 feat(mail): extend message bead for queues/channels
Add queue/channel routing fields to message beads:
- queue: string (queue name, mutually exclusive with to/channel)
- channel: string (channel name, mutually exclusive with to/queue)
- claimed_by: string (who claimed queue message)
- claimed_at: timestamp (when claimed)

Messages can now be direct (To), queued (Queue), or broadcast (Channel).
Added constructors NewQueueMessage/NewChannelMessage, type helpers
IsQueueMessage/IsChannelMessage/IsDirectMessage/IsClaimed, and
Validate() for mutual exclusivity checks.

Also fixes build error in mail_queue.go (QueueConfig struct nil comparison).

Closes gt-xfqh1e.4

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 21:14:36 -08:00
..
2026-01-08 12:36:54 -05:00
2026-01-09 02:22:20 +13:00
2026-01-08 22:10:40 +13:00
2026-01-11 23:09:11 -08:00
2026-01-13 22:13:35 -08:00
2026-01-08 12:36:54 -05:00
2026-01-12 03:18:47 -08:00