From 422e9a4dc8c04e573c5e20d306e1e28e5a143714 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 13 Sep 2026 14:54:54 -0400 Subject: [PATCH] correlator: fix two comments left describing the removed tactical path (#134) Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Tbknwttzou4s46PAykmtix --- drb-c2-core/app/internal/incident_correlator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drb-c2-core/app/internal/incident_correlator.py b/drb-c2-core/app/internal/incident_correlator.py index 2c908b9..8846314 100644 --- a/drb-c2-core/app/internal/incident_correlator.py +++ b/drb-c2-core/app/internal/incident_correlator.py @@ -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.