Synthetic turns overwriting channel/prompt pins bug
Cluster 126109 · gateway. Data as of
1 open item. Fix merged in #139865 on 16 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 7 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #139865. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #139865. That is separate from the fix event. - Still open
- 0 issues and 1 PR.
Multiple fixes and a bug report address a gateway issue where synthetic goal-continuation, heartbeat, and resume turns incorrectly overwrite channel or prompt pins with None. The fixes aim to preserve existing pin state across these synthetic events.
Open issues0
Open PRs1
- PR#126167fix(gateway): preserve prompt pins and pending turn ownership
Fixes on record
-
#139865 fix(gateway): synthetic goal/heartbeat turns and post-eviction wakes keep the system prompt byte-stable (#126109, #131031, salvage #131032 #126155)
files:
gateway/platforms/event.py,gateway/run_agent_cache.py,gateway/run_busy.py,gateway/run_goals.py,gateway/run_turn.py,gateway/run_turn_prepare.py,gateway/session_envelope.py,gateway/slash_commands_goals.py,tests/gateway/test_internal_event_pin_wiring.py,tests/gateway/test_queue_consumption.py
4 PRs closed without merging
From the close comments: superseded by another PR 2 · partial fix 1 · other 1
- #126151 fix(gateway): preserve channel pins for synthetic turns · other
-
#126155 fix(gateway): stop synthetic goal/heartbeat turns from stomping channel_pin · partial fix →
abe539a,#126155,#126109,#126167,#126092 -
#127208 fix(gateway): preserve prompt pins across synthetic goal/heartbeat/resume turns · superseded by another PR →
69c1276,#126167 -
#132681 fix(gateway): never downgrade channel pin to None on synthetic turns (fixes #126109) · superseded by another PR →
#126167
Closed issues · 1
- Closed#126109[Bug]: Goal-continuation / heartbeat / resume synthetic events overwrite the channel pin with None → system prompt flip, agent rebuild
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #139865
- Closed issues
- 1
- Attempts
- 4 PRs closed without merging
- Fix link checked
- 16 Oct 2026