Skip to content

feat(poller): plan-aware short-wait alerts#9

Merged
illinigirl merged 1 commit into
mainfrom
feat/plan-aware-low-wait
Jul 3, 2026
Merged

feat(poller): plan-aware short-wait alerts#9
illinigirl merged 1 commit into
mainfrom
feat/plan-aware-low-wait

Conversation

@illinigirl

Copy link
Copy Markdown
Owner

Plan watchers now get low-wait opportunity alerts for un-ridden rides in their active plan (plan-framed message, resolver picks it over the generic favoriter alert for dual-source users). Mirrors the DOWN path's alert_routing dispatch.

🤖 Generated with Claude Code

Active-plan watchers got DOWN/BACK UP + storm alerts but not the low-wait
opportunity alerts — those fanned out to favoriters only. Mirror the DOWN
path's resolver dispatch: the LOW WAIT block now builds candidates from
plan targets (PRIORITY_PLAN, new plan-framed notifier alert_plan_low_wait:
"it's at 15 min and it's in your plan today — jump to it") and favoriters
(PRIORITY_FAVORITE, existing generic message); alert_routing picks the
plan version for dual-source users. Semantics come free from the active-
plan ride index: only ACTIVE plans, only un-ridden ride_sequence entries,
only inside the plan window. Cooldown now marks when ANY recipient class
fans out (was favoriters-only). Same per-ride cooldown row — one
low-wait-class push per ride per window regardless of framing.

Tests: resolver scenario pinning plan-beats-favorite for low-wait
candidates; notifier message/priority contract.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@illinigirl illinigirl merged commit 33dcfe1 into main Jul 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant