[HIGH:85] Issue Found by Staging CI Review
Severity: HIGH
Confidence: 85/100
PR comment: #1359 (comment)
Description
Large Vec allocation on every trigger check — Lines 145-151 and 235-241 allocate new Vec<Uuid> to collect routine IDs before batch query, even when cache is empty. Called on every message in agent loop.
Auto-created by staging-ci Claude Code review