Skip to content

[Bug]: An MCP client can't decline a pending approval on a thread it launched, so unattended runs hang #39166

Closed as not planned

Description

@Onik97

Area

apps/server

Steps to reproduce

  1. Connect an outside MCP client to an environment, with a bearer from t3 auth session issue or an OAuth sign-in at Full access.
  2. Call t3_thread_launch for a thread in Supervised or Auto-accept edits, with a prompt that writes a file outside the project folder.
  3. The run opens an approval and waits.
  4. 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 541be77, 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

Activity

  1. juliusmarminge commented on Nov 19, 2026

    @juliusmarminge
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions