Overview
Implements POSIX glob pattern matching for SubscriptionQuery per ADR-017 and ARCHITECTURE.md v1.6. Enables filtering subscriptions using wildcard patterns like account-* or order-[0-9]*.
Core Components
StreamPattern type that permits glob metacharacters (*, ?, [, ])
SubscriptionQuery::filter_stream_pattern(StreamPattern) method
- POSIX glob matching via
glob crate (or similar)
Design Decisions (from ARCHITECTURE.md)
- Distinct type: StreamPattern vs StreamPrefix (literals) - type system makes intent explicit
- Reserved characters in StreamId/StreamPrefix enable unambiguous pattern matching
- POSIX glob over regex: simpler, sufficient, safer (no catastrophic backtracking)
Acceptance Criteria
Migrated from beads issue: eventcore-ihm
Overview
Implements POSIX glob pattern matching for SubscriptionQuery per ADR-017 and ARCHITECTURE.md v1.6. Enables filtering subscriptions using wildcard patterns like
account-*ororder-[0-9]*.Core Components
StreamPatterntype that permits glob metacharacters (*, ?, [, ])SubscriptionQuery::filter_stream_pattern(StreamPattern)methodglobcrate (or similar)Design Decisions (from ARCHITECTURE.md)
Acceptance Criteria
Migrated from beads issue: eventcore-ihm