feat(env): NIFC fire perimeters + avalanche advisories

- WFIGS ArcGIS fire perimeter polling with proximity alerts
- Avalanche.org advisory polling (seasonal, SNFAC)
- !fire and !avy commands
- Distance-based severity for fires near mesh infrastructure
- Dashboard environment page integration
- Alert engine fires on fires within 50km of mesh area

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
zvx-echo6 2026-05-12 15:22:07 -06:00
commit 2255ca5803
15 changed files with 1013 additions and 93 deletions

View file

@ -337,7 +337,9 @@ class MeshAI:
env_cfg = self.config.environmental
if env_cfg.enabled:
from .env.store import EnvironmentalStore
self.env_store = EnvironmentalStore(config=env_cfg)
# Pass region anchors for fire proximity calculation
region_anchors = self.config.mesh_intelligence.regions if self.config.mesh_intelligence.enabled else []
self.env_store = EnvironmentalStore(config=env_cfg, region_anchors=region_anchors)
logger.info(f"Environmental feeds enabled ({len(self.env_store._adapters)} adapters)")
else:
self.env_store = None