Repository navigation
feat: Watch Duty report messages (Group C) - #169
Merged
Merged
Conversation
zvx-echo6
force-pushed
the
feat/watchduty-evac
branch
from
September 16, 2026 20:43
c79cfed to
357683d
Compare
New wildfire_report message: relays human-written Watch Duty incident updates for matched fires. - Polls the reports endpoint for each matched, active, non-muted fire after each successful list poll (1 s between requests). A failed fetch for one fire is logged and skipped. - The first poll for a fire marks its existing reports as seen (a sentinel row) and sends nothing; if that fetch fails, the next poll retries the seed. - Drops automated reports (WildCAD reporter, default reporter flag, "reported by WildCAD") and NIFC restatements (watchduty.report_filter_patterns, hot-editable JSON list). - At most one report per fire per poll: the newest qualifying one. The others are marked skipped. A report is recorded as sent only after delivery (deferred commit). - Routine severity (not paced). Same fire toggle and region routing as fire alerts. - Message: "<name> update:" + first two sentences + Watch Duty link (never truncated). - Settings: report_alerts_enabled, reports_per_fire_limit, report_filter_patterns. Removes the Group A _seed_existing_reports stub. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfJYSn4wcmPKhVb6MfSQnr
zvx-echo6
force-pushed
the
feat/watchduty-reports
branch
from
September 16, 2026 20:45
73e0e4d to
0a1c3ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Group C of 3, follows #167 and #170. Relays human-written Watch Duty incident updates as
wildfire_reportmessages.report_filter_patterns, editable in Adapter Config).region_routes.cells.fire["SC Idaho"]cell hasmin_severity: routine, so reports go to the same channels as fire alerts (MT 2, MeshCore#mvalerts).Example (127 of 140 chars):
Deploy notes (all three PRs)
environmental.watchduty.enabled: true.Tests
2241 passed, 0 failed (was 2197). New:
test_watchduty_reports.py(44).🤖 Generated with Claude Code
https://claude.ai/code/session_01CfJYSn4wcmPKhVb6MfSQnr