gastown/crew/jack
2ffc8e8712
feat(mail): implement beads-native gt mail claim command
...
Implement claiming for queue messages using beads-native approach:
- Add claim_pattern field to QueueFields for eligibility checking
- Add MatchClaimPattern function for pattern matching (wildcards supported)
- Add FindEligibleQueues to find all queues an agent can claim from
- Rewrite runMailClaim to use beads-native queue lookup
- Support optional queue argument (claim from any eligible if not specified)
- Use claimed-by/claimed-at labels instead of changing assignee
- Update runMailRelease to work with new claiming approach
- Add comprehensive tests for pattern matching and validation
Queue messages are now claimed via labels:
- claimed-by: <agent-identity>
- claimed-at: <RFC3339 timestamp>
Messages with queue:<name> label but no claimed-by are unclaimed.
Closes gt-xfqh1e.11
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-14 21:25:11 -08:00
..
2026-01-07 21:41:51 -08:00
2026-01-07 21:41:51 -08:00
2026-01-05 00:42:24 -08:00
2026-01-11 23:03:47 -08:00
2026-01-12 01:45:26 -08:00
2026-01-06 22:52:32 -08:00
2026-01-13 13:40:57 -08:00
2026-01-13 13:14:47 -08:00
2026-01-13 13:14:47 -08:00
2026-01-13 19:34:29 -08:00
2026-01-13 19:34:29 -08:00
2026-01-13 19:34:29 -08:00
2026-01-13 00:03:02 -08:00
2026-01-07 19:17:28 -08:00
2026-01-13 12:07:50 -08:00
2026-01-11 23:03:50 -08:00
2026-01-08 20:25:01 -08:00
2026-01-13 22:13:57 -08:00
2026-01-08 12:36:54 -05:00
2026-01-09 21:24:23 -08:00
2026-01-09 02:22:36 +13:00
2026-01-09 02:22:20 +13:00
2026-01-12 23:07:49 -08:00
2026-01-12 00:35:40 -08:00
2026-01-13 22:34:03 -08:00
2026-01-08 20:25:01 -08:00
2026-01-05 00:42:24 -08:00
2026-01-12 01:52:38 -08:00
2026-01-12 17:40:04 -08:00
2026-01-06 12:59:37 -08:00
2026-01-13 17:53:28 -08:00
2026-01-10 22:56:33 -08:00
2026-01-13 22:07:05 -08:00
2026-01-08 20:25:01 -08:00
2026-01-13 13:19:27 -08:00
2026-01-12 02:45:03 -08:00
2026-01-12 02:31:06 -08:00
2026-01-09 23:24:28 -08:00
2026-01-09 14:11:53 -08:00
2026-01-13 13:39:55 -08:00
2026-01-09 22:46:06 -08:00
2026-01-13 13:40:57 -08:00
2026-01-08 22:10:40 +13:00
2026-01-09 18:14:17 -08:00
2026-01-09 13:30:11 -08:00
2026-01-11 18:45:24 -08:00
2026-01-13 13:19:15 -08:00
2026-01-09 23:01:55 -08:00
2026-01-14 21:22:00 -08:00
2026-01-09 23:01:55 -08:00
2026-01-14 21:18:20 -08:00
2026-01-14 21:18:20 -08:00
2026-01-09 23:01:55 -08:00
2026-01-13 13:45:25 -08:00
2026-01-14 21:25:11 -08:00
2026-01-09 23:01:55 -08:00
2026-01-14 21:19:54 -08:00
2026-01-14 21:25:11 -08:00
2026-01-09 23:01:55 -08:00
2026-01-14 21:25:11 -08:00
2026-01-13 22:13:57 -08:00
2026-01-13 13:40:57 -08:00
2026-01-05 19:39:57 -08:00
2026-01-09 22:10:09 -08:00
2026-01-09 00:41:35 -08:00
2026-01-12 23:48:56 -08:00
2026-01-09 22:08:12 -08:00
2026-01-09 00:41:35 -08:00
2026-01-09 00:41:35 -08:00
2026-01-05 00:42:24 -08:00
2026-01-13 13:32:13 -08:00
2026-01-12 16:42:33 -08:00
2026-01-08 22:10:40 +13:00
2026-01-10 00:25:59 -08:00
2026-01-13 13:37:00 -08:00
2026-01-13 13:37:00 -08:00
2026-01-13 13:37:00 -08:00
2026-01-11 18:37:01 -08:00
2026-01-12 23:07:49 -08:00
2026-01-10 18:28:14 -08:00
2026-01-10 18:28:14 -08:00
2026-01-12 23:07:49 -08:00
2026-01-12 23:07:49 -08:00
2026-01-13 20:59:15 -08:00
2026-01-13 20:59:15 -08:00
2026-01-13 03:24:42 -08:00
2026-01-13 13:14:47 -08:00
2026-01-13 13:14:47 -08:00
2026-01-06 20:40:40 -08:00
2026-01-08 20:25:01 -08:00
2026-01-06 20:43:27 -08:00
2026-01-12 01:45:26 -08:00
2026-01-12 17:44:37 -08:00
2026-01-08 20:25:01 -08:00
2026-01-13 13:37:00 -08:00
2026-01-09 21:52:09 -08:00
2026-01-13 22:13:57 -08:00
2026-01-11 18:06:09 -08:00
2026-01-12 01:45:26 -08:00
2026-01-08 22:10:40 +13:00
2026-01-08 20:25:01 -08:00
2026-01-13 14:01:49 +01:00
2026-01-13 13:19:15 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 03:11:59 -08:00
2026-01-13 14:01:49 +01:00
2026-01-12 03:11:59 -08:00
2026-01-13 22:13:35 -08:00
2026-01-13 22:07:05 -08:00
2026-01-12 03:10:58 -08:00
2026-01-13 13:37:00 -08:00
2026-01-06 19:10:43 -08:00
2026-01-06 22:54:25 -08:00
2026-01-05 00:42:24 -08:00
2026-01-12 02:38:39 -08:00
2026-01-13 13:37:00 -08:00
2026-01-08 12:36:54 -05:00
2026-01-09 22:46:06 -08:00
2026-01-07 00:06:55 -08:00
2026-01-13 19:34:29 -08:00
2026-01-08 20:25:01 -08:00
2026-01-11 22:23:21 -08:00
2026-01-13 13:46:50 -08:00
2026-01-13 13:46:50 -08:00
2026-01-12 03:18:47 -08:00
2026-01-09 21:56:53 -08:00
2026-01-10 23:18:39 -08:00
2026-01-06 12:59:49 -08:00