fix(server): cap automatic thread continuations and turn them on by default #18461
Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits into
main fromrefs/pull/18461/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
juliusmarminge added labelsmacroscope-review
- @@ -10,13 +10,12 @@1010 Server updates restart the connection and can interrupt active agents and1111 terminal commands. Saved threads, settings, and project files remain.121213-**Settings → General → Continue threads after restarts** is off by default.14-Enable it to resume supported active threads after an update, crash, or machine13+**Settings → General → Continue threads after restarts** is on by default.14+It resumes supported active threads after an update, crash, or machine1515 restart. Changes are saved to connected environments that support this setting;1616 update older servers first. If a supported environment was offline or has a1717 different value, use **Apply to all** in Settings after it connects.1818 T3 Code must start again on that machine;1919 the setting does not enable automatic startup. Terminal commands may still be2020 interrupted, and threads without saved provider resume state need a new message.21-If you previously enabled continuation for updates, enable this setting once22-to allow recovery without a connected client.21+A thread is not resumed while it waits for your approval, answer, or secret, or
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Approvability#
Verdict: Not approved
Macroscope's review found this PR not approvable — This PR enables automatic thread continuation by default and changes startup/shutdown recovery behavior across existing server paths, while adding a continuation cap and user-waiting safeguards. The product-default change and its user-facing runtime impact warrant deliberate human review.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).