correlator: remove is_dispatch and the tactical fit path entirely (#134) #135

Merged
logan merged 3 commits from fix/134-drop-tactical-fit-path into main 2026-09-13 14:55:04 -04:00
Showing only changes of commit 422e9a4dc8 - Show all commits
@@ -959,8 +959,8 @@ def _run_decision(ctx: dict) -> dict:
if talkgroup_id is not None and system_id:
tg_str = str(talkgroup_id)
# talkgroup_name may be None when the upload form omits it (node sets it
# directly on the Firestore call doc). Fall back to the call doc so that
# dispatch-channel strictness works regardless of how the call arrived.
# directly on the Firestore call doc). Fall back to the call doc so the
# log lines below still name the channel.
effective_talkgroup_name = talkgroup_name or call_doc.get("talkgroup_name")
if effective_talkgroup_name != talkgroup_name:
logger.info(
@@ -1730,7 +1730,7 @@ def _call_fits_incident(
# signed value: the re-correlation sweep anchors `now` to the call's own
# started_at, which can be earlier than the incident's last activity and
# send the signed value negative — silently defeating every `idle_min`
# gate below (content-divergence veto and the tactical default alike).
# gate below, the content-divergence veto included.
# See `_idle_gate_minutes` docstring. The signed value is reported to
# callers separately as `corr_incident_idle_min` (they compute it via
# `_incident_idle_minutes` themselves) — nothing here needs it.