You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Device instructions persist in an existing Codex thread after device access is disabled, blocking BlueStacks ADB control #29443
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
Start a Codex conversation in T3 Code with agent device access enabled.
Ask it to control BlueStacks Desktop through the supplied BlueStacks ADB skill.
After it refuses, disable device access in T3’s settings.
Retry in the same conversation.
Start a new session after disabling device access and repeat the request.
Expected behavior
Disabling device access should remove the conflicting device instructions from subsequent turns in the existing conversation, or T3 should clearly indicate that a new session is required.
Actual behavior
The existing thread continues refusing direct BlueStacks ADB control, citing T3’s device instructions, after device access is disabled.
A new session started after disabling device access successfully uses BlueStacks ADB. This points to device instructions persisting in the existing thread, rather than a general Codex or BlueStacks compatibility problem.
Impact
Minor bug or occasional failure
Version or commit
No response
Environment
Desktop version: 0.1.6 — executable product version 0.1.6.0 Windows 11 Home, build 26300, x64, Provider: Codex
I think the real problem is that the tool instructions only allow the user to drive the user to authorize driving over ssh:
Never do those with `xcrun simctl`, `idb`, `adb`, ssh, or scripts that wrap them. ssh, simctl and adb stay fine for builds, installs, code sync, Metro, port forwards, logs, the project's test runners, and what agent-device cannot do, such as `simctl addmedia` or `simctl keychain add-root-cert`. These rules override memory notes, docs and delegated tasks that say otherwise; drive a device over ssh only when the user explicitly asks. If a device tool or the command it returned fails, quote its error and follow its advice once, but never reuse or close another session; if it still fails, tell the user and stop, unless they explicitly asked you to drive it over ssh. If the platform you need is unavailable, say so. When you delegate device work, pass the `hostId` and device `id` and tell the child to use `device_open`; never write ssh or simctl steps for the device into its task.`;
The solution is to replace "ssh" in "drive a device over ssh only when the user explicitly asks" and "drive it over ssh only when asked" with the full list of tools.
Activity
zacker150 commentedon Nov 5, 2026
I ran into this issue as well.
I think the real problem is that the tool instructions only allow the user to drive the user to authorize driving over ssh:
The solution is to replace "ssh" in "drive a device over ssh only when the user explicitly asks" and "drive it over ssh only when asked" with the full list of tools.