Before submitting#
Area#
apps/server
Steps to reproduce#
- Pin a long-lived "orchestrator" thread, then set its Auto-settle behavior (thread context menu) to Never.
- In that thread, have the agent call
watch_pull_request on a PR with until: "merged". The PR is opened by a different worker thread.
- Merge the PR (here the worker thread merged it).
Expected behavior#
The thread stays active. The per-thread Never setting should override every automatic settle path, including watch-on-merge and link-on-merge.
Actual behavior#
The watch reports "#N: merged, stopped watching" and the thread is settled. Its context menu still shows Auto-settle behavior: Never and it is still pinned. The agent made no t3_thread_organize settle call; the thread's activity log shows only watch_pull_request, then the merge notification.
It happens every time. I have had to unsettle the same pinned thread by hand several times today.
Impact#
Orchestrator threads that are meant to stay open permanently keep disappearing from the active list whenever any PR they watch merges. Users then lose track of their main thread. The only workaround is to stop the orchestrator from ever watching PRs.
Version or commit#
T3 Code (Nightly) 0.1.14-nightly.20261128.5372
Environment#
macOS 15 (Darwin 24.6), desktop app. Thread provider: Cursor (grok-4.6). Same behaviour seen earlier with a Claude thread that watched and merged a PR.
Workaround#
A PreToolUse hook blocks watch_pull_request / link_pull_request in orchestrator threads, plus a scheduled task that unsettles them.
Related, not the same: #26097 (re-settle after later runs, no MCP opt-out) and #43263 (merge settles only the creating thread).
@fwends When the orchestrator was settled, did the worker thread that merged the PR (or any other thread or scheduled task) call t3_thread_organize with action "settle" and the orchestrator's threadId? That call shows in the calling thread's activity log, not the orchestrator's, and it is the only way main settles a pinned or Never thread.