mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-08-26 17:31:34 +00:00
feat(nws): register weather_watch/advisory with NWS formatter + cutover (#96)
weather_watch and weather_advisory were falling through to the legacy Mode-B renderer (composer.py), which appended the raw expiry epoch (`exp 1783615500.0` from _context_segment) and overflowed 140 chars, splitting into two packets with the epoch stranded in packet 2. Fix: register both categories with the NWS formatter and gating decider (same path as weather_warning/weather_statement), and add them to MESHAI_CUTOVER_CATEGORIES in docker-compose.yml so the pipeline routes them to the new formatter on deploy. Co-authored-by: Matt Johnson <mj@k7zvx.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
aef9877ba6
commit
ad33e6e02b
3 changed files with 17 additions and 6 deletions
|
|
@ -55,6 +55,9 @@ services:
|
|||
environment:
|
||||
# API key can be set here or in config.yaml
|
||||
- LLM_API_KEY=${LLM_API_KEY:-}
|
||||
# Staged cutover: categories fully migrated to the new formatter+decider
|
||||
# pipeline. Append new categories here as they clear shadow bake.
|
||||
- MESHAI_CUTOVER_CATEGORIES=earthquake_event,geomagnetic_storm,rf_propagation_alert,avalanche_warning,avalanche_watch,weather_warning,weather_statement,weather_watch,weather_advisory,work_zone,road_incident,road_closure,traffic_congestion,stream_flow,wildfire_declared,wildfire_incident,wildfire_closed
|
||||
|
||||
# Limit resources
|
||||
deploy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue