Area#
apps/server
Steps to reproduce#
- Connect an outside MCP client to an environment, with a bearer from
t3 auth session issue or an OAuth sign-in at Full access.
- Call
t3_thread_launch for a thread in Supervised or Auto-accept edits, with a prompt that writes a file outside the project folder.
- The run opens an approval and waits.
- Call
t3_pending_request with action: "list". It returns {"requestIds":[]}, and respond has nothing to target.
Expected behavior#
The client that launched the thread can decline the pending approval, capped by what its own grant allows. That's the same boundary t3_thread_send already uses ("the target cannot run with broader modes than yours"). Decline-only would already be enough for unattended use; approving can stay out if that's the safer line.
Actual behavior#
The approval only shows up as an approval_request item in the t3_thread_read activity view, plus pendingRequestCount. Nothing over MCP can answer it, so the run sits until someone opens T3 and clicks.
Impact#
Anything that drives T3 threads unattended over MCP has two choices: run everything in Full access, or let runs hang. Full access doesn't fully cover it either. Claude can still ask for approval in Full access when its own settings require one, and then the only way out over MCP is t3_thread_interrupt.
Version or commit#
main at 541be77b1b, and v0.1.10.
Workaround#
Watch for an approval_request item, then interrupt the run with t3_thread_interrupt and start it again. The turn is lost.
Context#
- #15464 added MCP approval responses. #22152 reverted it pending review, since it widened the permission boundary.
- On #22147 the leftover approval part was asked to go in its own issue. This is that issue.
- The narrowest version that would work for me: decline-only, only on threads the caller launched or can already operate with
t3_thread_send, and never above the caller's grant.
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.