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-11 21:44:30 -05:00
2026-01-13 13:19:27 -08:00
2026-01-14 21:11:19 -08:00
2026-01-13 22:13:57 -08:00
2026-01-11 23:04:03 -08:00
2026-01-08 12:36:54 -05:00
2026-01-14 21:14:36 -08:00
2026-01-13 22:13:57 -08:00
2026-01-11 23:04:03 -08:00
2026-01-14 21:11:19 -08:00
2026-01-13 22:13:57 -08:00
2026-01-13 22:13:57 -08:00
2026-01-13 22:13:57 -08:00
2026-01-02 12:23:55 -08:00
2026-01-13 22:13:57 -08:00
2026-01-13 13:19:27 -08:00
2026-01-12 00:47:11 -08:00
2026-01-09 22:23:44 -08:00
2026-01-12 18:12:39 -08:00
2026-01-12 01:45:09 -08:00
2026-01-12 01:47:14 -08:00
2026-01-11 23:04:03 -08:00
2026-01-14 21:14:36 -08:00
2026-01-13 22:13:57 -08:00
2026-01-11 21:44:30 -05:00
2026-01-13 13:19:27 -08:00
2026-01-12 17:48:07 -08:00
2026-01-13 22:13:57 -08:00
2026-01-12 23:48:56 -08:00
2026-01-13 22:13:57 -08:00
2026-01-13 22:13:35 -08:00
2026-01-13 13:19:27 -08:00
2026-01-13 22:07:05 -08:00
2026-01-09 21:57:11 -08:00
2026-01-08 20:25:01 -08:00
2026-01-13 13:19:27 -08:00
2026-01-11 18:49:01 -08:00
2026-01-09 22:31:55 -08:00
2026-01-13 13:09:28 -08:00
2026-01-13 22:13:54 -08:00
2026-01-09 14:11:09 -08:00
2026-01-12 23:48:56 -08:00
2026-01-13 13:19:27 -08:00
2026-01-11 23:04:03 -08:00
2026-01-09 18:14:17 -08:00
2026-01-03 18:25:37 -08:00
2026-01-13 13:19:27 -08:00
2026-01-13 22:13:57 -08:00
2026-01-13 00:17:59 -08:00
2026-01-09 21:57:11 -08:00