GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Device instructions block supported agent-device capture fallback after hub screenshot failure · Issue #31359 · pingdotgg/t3code

Device instructions block supported agent-device capture fallback after hub screenshot failure #31359

New issue
Copy link
New issue
Copy link
Open
#31391
Open
Device instructions block supported agent-device capture fallback after hub screenshot failure#31359
#31391
Copy link

Description

@charlieweinberger
charlieweinberger
opened on Nov 5, 2026
Issue body actions

Problem

T3's device instructions require the bound agent-device command returned by device_open for screenshots, but also require device_screenshot and tell the agent to stop after a repeated device-tool failure. When the hub screenshot endpoint fails but the bound CLI remains usable, these rules block the supported recovery path.

The injected instruction says:

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.

Observed behavior

T3 Code Beta 0.1.7, local Apple Silicon host, expo-device-hub 0.19.1, agent-device 0.21.31, iOS 26.3 simulator. device_list and device_open succeeded. device_screenshot returned “The device hub could not complete the request” twice, including after the prescribed state check. A controlled app investigation stopped before any app trials.

An earlier session on this machine captured and inspected a readable PNG through the exact bound agent-device screenshot command while hub screenshots failed. That is evidence the paths can fail independently, not a guarantee the CLI works in every failure. Related capture regression: #28035. Related error reporting: #24033.

Requested change

Add a narrow screenshot recovery exception before the blanket stop rule:

If device_screenshot fails after its prescribed retry, but device_open succeeded and the owned device remains available, test capture once using the exact bound agent-device command returned by device_open. Follow its supported open/screenshot sequence and inspect the image. If capture succeeds, continue through that bound command and report the hub capture failure. If it fails, stop and report both errors. Do not use raw simctl/adb/SSH, reuse another session, bypass ownership failures, or treat failed device attachment as a screenshot-only failure.

Keep this limited to a hub capture failure; do not relax controls for device ownership, unavailable platforms, failed attachment, or general command failures.

Validation

Cover hub failure plus successful bound capture, both capture routes failing, and failed/foreign device attachment. Ensure the generated instructions for Codex and other providers contain the same narrow exception. A personal project workflow cannot override the injected higher-priority stop instruction, so the change must be in T3's instruction source.

Activity

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

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.