Correlation has no non-AI fallback: a full AI outage produces a 100% orphan rate for its whole duration #15
Closed
opened 2026-08-19 22:34:33 -04:00 by logan
·
1 comment
No Branch/Tag Specified
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
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#15
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.
Measured via
debug_correlation()against production data (100 incidents, 2322 orphaned calls, orphan window 2026-08-19T23:05Z - 2026-08-20T02:22Z).AI processing was manually switched off overnight and back on at ~2026-08-20 02:14Z. For the full outage window:
started_atin range: 0 of 100 pulled incidents)calls_detailentries withstarted_atin range: 0)incident_type=None; 246/250 have an empty transcript (STT was also off, not just the correlator/Gemini tier);corr_sweep_count=3(max) on 247/250, i.e. the sweep already gave up retrying every one of them.unit-continuity), 94 seconds after the 02:14Z restart, and "new" incidents resume forming within ~4 minutes.Root cause is structural, not a glitch: the
96625facreation gate requires severity, a vehicle, a geocode, or a tag before a call can open a new incident, and all four of those come from the (Gemini) intelligence pipeline. With AI off, literally nothing can open an incident, sofast/thin's tier-1/tier-2 attach (which requires an already-open incident on the same TGID) has nothing to attach to either. The two biggest hit talkgroups in the orphan breakdown are TG 9048 (672 orphans) and TG 9600 (349 orphans) - exactly the canary DEFERRED.md already named ("Canary: orphan count climbing on TG 9048/9600") for this exact gate, but the actual failure mode is a full blackout, not a gradual climb.This is distinct from #14 (no alerting when a provider dies) - even with alerting, the current design has no rules-only path to keep opening/attaching incidents while AI is down; every call during an outage is unrecoverably lost to correlation (the sweep gives up after 3 tries and there's no backfill/reprocess for orphaned calls once AI comes back).
Suggested shape: either (a) let
units/location-only calls satisfy the creation gate again specifically when AI is confirmed down (feature-flag-aware), or (b) add a reprocessing sweep that revisits recently-orphaned calls once AI comes back online, similar in spirit to the existing/calls/{id}/reprocessroute but bulk and orphan-targeted.Closing — this is expected behaviour, not a defect.
routers/upload.py:260-285gates transcription onstt_enabledand correlation oncorrelation_enabled. Both flags were deliberately set to False by the owner overnight to control cost. Zero incidents created during that window is exactly what turning AI off means; the creation gate from96625fais not implicated.The one real observation buried in here is that the flags are not independent:
correlation_enabledwithoutstt_enableddoes nothing at all, because there is no transcript to correlate on. That is worth documenting on the admin toggle so nobody enables correlation alone and expects results, but it is a UI/label matter, not a correlation bug.The genuine consequence of the off-window is that those calls have audio and no transcript, so they can never correlate unless reprocessed. That is already tracked in #7 (bulk reprocess), whose scope this enlarges — noting it there.