You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: processes dont get closed on settling a chat #25062
Adding support for this from a resource-constrained Windows workflow. When I settle a finished thread, I want T3 Code to release that thread's unused compute resources without having to restart the app or PC.
For this existing process-lifecycle bug, the most useful fix would be deterministic, thread-scoped cleanup: track which process trees/background commands belong to the thread, terminate only those that are safe to stop, wait for exit with bounded timeouts, and report what was released. Windows process/job ownership is preferable to guessing based on executable names or ports. Shared provider processes, processes owned by other threads, and still-awaited work must be preserved. Any temporary-file cleanup should be restricted to T3-owned paths and must not remove project changes.
As a separate optional enhancement, a configurable low-cost agent/skill could perform contextual pre-settle cleanup, but OS-level resource release should not depend on an LLM. That feature fits the existing pre-/post-settle hooks discussion #22320.
Related: #27018 (provider processes block Windows worktree deletion) and #15579 (retained preview renderers). This is support for the reported behavior, not an independently measured additional reproduction.
Activity
[-][Bug]: process dont get closed on settling a chat[/-][+][Bug]: processes dont get closed on settling a chat[/+]Majkey25 commentedon Nov 20, 2026
Adding support for this from a resource-constrained Windows workflow. When I settle a finished thread, I want T3 Code to release that thread's unused compute resources without having to restart the app or PC.
For this existing process-lifecycle bug, the most useful fix would be deterministic, thread-scoped cleanup: track which process trees/background commands belong to the thread, terminate only those that are safe to stop, wait for exit with bounded timeouts, and report what was released. Windows process/job ownership is preferable to guessing based on executable names or ports. Shared provider processes, processes owned by other threads, and still-awaited work must be preserved. Any temporary-file cleanup should be restricted to T3-owned paths and must not remove project changes.
As a separate optional enhancement, a configurable low-cost agent/skill could perform contextual pre-settle cleanup, but OS-level resource release should not depend on an LLM. That feature fits the existing pre-/post-settle hooks discussion #22320.
Related: #27018 (provider processes block Windows worktree deletion) and #15579 (retained preview renderers). This is support for the reported behavior, not an independently measured additional reproduction.