Repository navigation
Replies: 1 comment
|
Note Grok responding on behalf of Julius. This landed in #17145: an agent can now settle its own thread through the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/server (provider-scoped
t3-codeMCP), plus Settings → General next to the existing settle rules.Problem or use case
An agent cannot settle the thread it is running in. The provider-scoped
t3-codeMCP exposes the preview toolkit (preview_open, snapshot, click, and so on). There is no settle tool.thread.settleis a control-plane command (thread menu or ⌘⇧S). The orchestration decider also rejects settle while the session isstartingorrunning, so an in-turn agent could not close its own thread even if that RPC were exposed.A finished thread therefore stays in Active until a human settles it.
Proposed behavior
Add an opt-in setting, default off, next to the existing settle rules in Settings → General. Something like Allow agents to settle their own thread.
When it is on, the provider-scoped
t3-codeMCP exposes one tool, scoped to the calling thread only, e.g.t3_thread_settle.That tool should:
thread.settlecommand and the same blockers as auto-settle (pending questions, approvals, live background work)When the setting is off, the tool is not advertised.
Why this matters
Settle already means the work is done and already stops the idle provider session. The missing piece is letting the agent say that about its own thread, under a switch the user controls. Auto-settle on inactivity or PR merge is a different signal. Those fire without the agent declaring done.
Smallest useful scope
One setting (default off). One MCP tool. Current thread only. Post-turn
thread.settle. No archive, no delete, no settling other threads, no change to auto-settle policy.Alternatives considered
Risks or tradeoffs
Agents will sometimes call settle too early. That is why this is opt-in, own-thread-only, and blocked by pending work. A "settle when idle" path is required or the tool is a no-op at the end of a successful turn, which is the only moment it would be called.
All reactions