Thin-call auto-attach has no fit check, merging unrelated events into one incident #22
Closed
opened 2026-08-20 03:17:18 -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#22
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.
is_thin_callattaches a call to the open incident without testing whether it belongs there — tags, location and severity are all ignored. 58 of 133 calls in the 2026-08-19 dump took this path, and 6 of those were real dispatches, not chatter.Worst case observed: incident
f5190670— 68 calls spanning 4h09m, 44 units, 12 tags, and at least 13 distinct events, all fused into a single "incident". That is not an incident, it is a shift.This is the direct cause of the junk-chain problem getting worse, not better: 4 of 6 sampled incidents are junk chains (67%), against 2 of 5 (40%) in the previous rules-only dump, and the bad ones are far bigger. It is the single most damaging defect against the product's premise that the unit of value is the incident.
Note the failure mode has fully inverted. There is no over-splitting in this dump at all — every incident has exactly one
newcall. Everything now over-merges. server-26#5 (scene over-splitting) is the opposite complaint and needs re-checking against fresh data before more work goes into it.Fix direction: a thin call should still have to pass a minimum fit test before attaching — at least a location or unit overlap, or an explicit "no signal, attach to most recent" that is bounded much more tightly in time than 4 hours. Consider a hard cap on incident duration and call count that forces a new incident regardless of path.
Full analysis:
CORRELATION_REVIEW_0820.md(project root, not in git).Fixed in
33a247d; deployed (Gitea Actions 732 build + 733 deploy, both success, health check passed).Three changes:
_is_thin_callnow rejects any call carrying tags, a location string, a severity above routine, or the reassignment flag - so a real dispatch can no longer take the one path with no fit check. That also closes a self-defeating guard:upload.pyblanksunitson a reassignment to stop unit-overlap chaining, and blanking units was what made the call thin.TG_THIN_IDLE_MINUTES=15, inside the 20-minute tactical-default already used in_call_fits_incident.INCIDENT_MAX_DURATION_MINUTES=120andINCIDENT_MAX_CALLS=40remove an over-grown incident from the candidate pool before any path can choose it, including the LLM tier. 120 clears the only genuine incident in the dump (63 min) with headroom, sits well under the four junk chains (3h41m-4h09m), and equalscorrelation_window_hours, which the location and slow paths already enforce and the fast path was exempt from.Also: recency gates now compare |idle|. The sweep anchors
nowto the call's ownstarted_at, so idle goes negative (9d376ffe: -4.1) and everyidle <= windowtest read True - the gates had stopped bounding anything for exactly the calls the sweep re-examines.31 new cases in
tests/test_correlator_merge_caps.py, including a replay of thef5190670night. Without the caps that traffic still builds a 125-call / 244-minute incident; with the old thinness test on top, 153 calls over 247 minutes in 3 incidents. With the fix: 13 incidents, largest 40 calls over 80 minutes. Suite 138 passed, was 107.Deliberately out of scope, filed separately: #26 (title re-derived from the newest call) and #27 (sweep retry budget expiring before the incident exists - an under-linking bug, so every fix pushes toward more merging). Unit-overlap positive feedback on dispatch backbones is bounded by the caps rather than fixed at its root; noted in DEFERRED.md, because narrowing unit overlap is the easiest way to re-introduce the over-splitting the 2026-08-20 data no longer shows.