Live ops wall + pluggable camera providers with licence gating (server-26#198) #208
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#208
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.
Live ops wall (Region -> Incident -> Camera drill-down, KPIs, transcript ticker, scrubber incident bands, auto-tour,
#inc=&cam=&tourdeep links) on top of a pluggable public-camera provider registry with licence gating. Refs server-26#198 (does not close it: the DAA grant is still an owner action).Licence gating (c2-core
app/internal/cameras/)config/camera_providersdoc means off (fail closed).audit_log; the audit write is a precondition (no record, no enable). An acknowledgement is bound to the licence status it was given for.agreement_required(no DAA grant per #198) -> off by default./traffic/511events follow the same switch and returndisabledwhile off. NYC DOT (#201) and Westchester DPW (#202) are non-enableable stubs. Camera detection / frame retention not built (#199, #200);CameraSignalSinkis only a seam.NY511_API_BASE, tolerant XML inventory parser (DTD/entity refused), https-only imagery, credit + NYSDOT as-is disclaimer travel with the data, descriptions shown unaltered (DAA).Frontend
/admin#cameras.CameraFeed: page-wide live-stream cap (2, +1 for drill), off-screen/hidden-tab tiles stop fetching, stale/frozen badges, stall watchdog, attribution on the frame.SourceCreditrenders credit + update time + disclaimer wherever provider data shows.Verification
tsc: NOT run - no Node.js on the authoring box and no lockfile (filed #207).next buildin the main-branch Docker build is the first typecheck this gets; a reviewer with Node should runnpm install && npx tsc --noEmitindrb-frontendbefore merge.🤖 Generated with Claude Code
Backend (c2-core): - app/internal/cameras/: provider interface, licence model, per-provider catalog cache; one adapter per source in design-canvas/camera-sources.md. Implemented: 511NY (legacy shape + tolerant XML inventory parser, 511x endpoints UNVERIFIED), Caltrans, DelDOT, Ontario 511, DriveBC, Calgary, TfL, NSW, Fintraffic. Stubs: NYC DOT, Westchester DPW, TRANSCOM, CTroads, 511NJ, Austin, TxDOT, MD CHART, WSDOT, Tallinn, Tarktee, Warendorf, TrafficLand, Windy, EarthCam. - Every provider defaults OFF (config/camera_providers). Gated licences (agreement required / unverified / non-commercial / paid) need an explicit acknowledgement stored with who/when and written to audit_log; the audit write is a precondition. Stubs and prohibited sources cannot be enabled. Ack is bound to the licence status it was given for. - GET /cameras (signed-in), GET/PUT /admin/camera-providers (admin only). - /traffic/511 follows the ny511 provider switch and returns the DAA credit + NYSDOT as-is disclaimer; 511NY event descriptions no longer truncated ("may not alter the substance of a report"). Frontend: - LiveView becomes the ops wall: Region > Incident > Camera drill-down, worst-first rail (MapView), KPIs, transcript ticker, scrubber incident bands, auto-tour, deep links (#inc=&cam=&tour), Esc steps up. - Incident panel: nearest cameras (path-weighted), fused situational context (ADS-B, AIS, 511NY events, NEXRAD tile sample), units, call spine. - MapView keeps every layer; adds Camera Viewsheds (approx.) overlay and a nearest-camera layer for the selected incident. - CameraFeed hygiene: hidden-tab/off-screen gating, 2 concurrent HLS cap, last good frame + stale badge, frozen-frame signature, HLS stall watchdog, provider attribution rendered on the imagery. - Camera/event popups show source credit, update time and the disclaimer. - Admin > Camera providers tab with licence status, health, gated confirm. - Camera detection is not built (blocked on #199/#200); seam only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- Feed/catalog error text (shown to every signed-in user via GET /cameras and /traffic/511 status fields) carried httpx's full request URL, including ?key= for Ontario 511 and the 511NY DAA key. Query strings are now dropped. - TfL and Calgary licences are per GEV only (TfL's terms page 403'd), the same footing as Ontario 511, so they are UNVERIFIED (acknowledgement required) instead of ungated attribution_required. Attribution still renders. - The map camera layer clamps its bbox to +/-180/+/-90; zoomed-out bounds produced a 422 ("could not reach server"). Refs server-26#198 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Review pass, fixes pushed as
2f21728:errorstrings (returned to every signed-in user byGET /camerasand/traffic/511) embedded httpx's full request URL including?key=(Ontario 511 key; the 511NY DAA key once configured). Query strings are now redacted (cameras/base.safe_error), with a test.attribution_required; they are nowunverified(acknowledgement required, same as Ontario 511). Attribution still renders.GET /camerasanswered 422; the bbox is now clamped.Verified: c2-core pytest 552 passed, 0 failed. Frontend
tsc --noEmitexit 0 at HEAD (portable Node 20 in a scratch copy,npm installwithout lockfile).