Outage providers: licence-gated registry, ODIN adapter, /outages API, admin tab (Refs #184) #255
No Reviewers
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
minutes:draft
minutes:final
role:ceo
role:cfo
role:cio
role:ciso
role:cmo
role:coo
role:cto
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
One exec pre-read, closed by CEO
CEO ruling; open until enacted
Filed by the CEO
Filed by the CFO
Filed by the CIO
Filed by the CISO
Filed by the CMO
Filed by the COO
Filed by the CTO
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/server-26#255
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Refs #184 — part 1 of 2 (map layer + incident cross-match are batch 3).
What
app/internal/outages/— registry mirrorscameras/registry.pyrule for rule: settings docconfig/outage_providers, every provider OFF by default, unreadable settings fail closed, stubs never enable, gated licence needsacknowledge_licencestored with who/when and anaudit_logwrite as a precondition (audit failure → 503, no enable), ack bound to the licence status (stale ack stops serving). Reusescameras.baseLicence/LicenceInfo/get_json/safe_error/require_parsed;cameras/*untouched.Licence.UNVERIFIED, gated). Public county-level API verified first-hand against https://odin.ornl.gov/v3/api-docs and live responses 2026-10-05:/odi?format=JSON(counts, start, ETR, EIA id),/odi/map?scale=COUNTY(county name, bbox → label point),/odi/status(utility last-received). Schema canary on all three (rows upstream, 0 parsed → error).metersServedis utility-wide (National Grid NY = 1,686,884 on every county), socustomers_servedstays null. No terms of use or licence found anywhere on ODIN — hence unverified.poweroutage_us(paid),coned_oru_stormcenter/nyseg_rge_stormcenter/central_hudson_stormcenter(agreement required),eagle_i_live(agreement required).GET /outages?south&west&north&east(signed-in) →{areas, providers[{id,name,attribution,disclaimer,coverage_note,fetched_at,error,total_in_bbox,…}], serving_count, status, message};status∈ ok / none_enabled / no_source ("No licensed outage source covers this area.") / error. Off providers are never fetched./admin/outage-providersGET + PUT/{id}—require_admin_token+describe_actor, 409requires_acknowledgementlike cameras.c2api.getOutages / listOutageProviders / setOutageProvider, types, Admin → Outage providers tab (/admin#outages).Coverage finding (live, 2026-10-05): ODIN carries National Grid, Central Hudson and Avangrid (NYSEG/RG&E) in NY. Con Edison / O&R are on ODIN's participant list but are not reporting — so NYC/Westchester show nothing from ODIN today. Avangrid has NY rows with start/ETR dates in April 2026 (stale upstream);
sinceexposes it.Tests:
tests/test_outage_providers.py(22) mirrorstest_camera_providers.py+ ODIN parser test from a recorded fixture (tests/fixtures/odin_public_2026-10-05.json). Full c2-core: 779 passed. Frontendtsc --noEmit: exit 0.🤖 Generated with Claude Code
Review (
0efcd67): two parser bugs found against live ODIN data and fixed on this branch.Tests: pytest 780 passed (23 outage tests, fixture parsed at a pinned now so tests don't go stale); tsc exit 0 in a fresh scratch copy. Merges clean onto current origin/main.