From b62af47da8f1de5cfdbae423caaff5b64c060c9a Mon Sep 17 00:00:00 2001 From: alt-glitch Date: Mon, 25 May 2026 13:08:55 +0000 Subject: [PATCH] chore: drop stale line-number reference in PRIORITY path comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cherry-pick comment referenced 'line ~6771' for the /stop handler, but on current main the handler is at a different offset. Remove the hard-coded line number — the 'above' reference is sufficient. --- gateway/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gateway/run.py b/gateway/run.py index 469db48e5b1..b1d44e4e98d 100644 --- a/gateway/run.py +++ b/gateway/run.py @@ -7317,8 +7317,8 @@ class GatewayRunner: # delegate_task work. Demote to queue semantics when the # parent is currently driving subagents so a conversational # follow-up doesn't destroy minutes of subagent progress. - # /stop reaches its dedicated handler above (line ~6771), so - # the operator still has a clean escape hatch. + # /stop reaches its dedicated handler above, so the operator + # still has a clean escape hatch. if self._agent_has_active_subagents(running_agent): logger.info( "PRIORITY interrupt demoted to queue for session %s "