t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Switching runtime mode from Auto to Full Access during a running OpenCode run is not applied

Open svenrabe opened this issue 1 week ago • 0 comments

Description

I started a thread with the OpenCode provider in Auto runtime mode. While the run was active, I switched the thread to Full Access in the UI. Shell commands still created approval requests, and some of them waited for my manual approval.

Steps to reproduce

  1. Create a thread with provider opencode (model openrouter/openai/gpt-6.2-sol, variant max) and runtime mode Auto.
  2. Send a prompt that makes the agent run many shell commands (e.g. a read-only codebase audit).
  3. While the run is active, switch the thread to Full Access.
  4. Watch the next shell commands.

Expected After the switch, shell commands run without approval requests.

Actual

  • The stored thread configuration still shows runtimeMode: "auto" after the switch (checked twice via t3_thread_configure and t3_thread_read, several minutes apart).
  • Every shell command still creates an approval_request. Most are resolved automatically within ~50 ms (Auto mode behaviour). Some, e.g. a diff -u between two files, stay in waiting until I approve them manually.

Open question I have not yet tested whether the switch is also lost when no run is active (switch before the first prompt). So it is unclear whether:

  • the mode change is not persisted at all, or
  • it is persisted but discarded or not passed to an already running OpenCode session.

Environment

  • T3 Code on macOS (Darwin 27.2.0)
  • Provider: OpenCode via OpenRouter
  • Date: Wed 2026-11-18

svenrabe avatar Nov 18 '26 16:11 svenrabe