Skip to content

[Bug]: Settling a thread leaves its link cards waiting, so it reads as Awaiting Input #38375

Closed

Description

@notkainoa

Before submitting

Area

apps/server

Steps to reproduce

  1. In a thread an agent created, have the agent call t3_environment_link. Don't answer the card.
  2. Let the agent keep working (only agent messages, none typed by you).
  3. Settle the thread.

Expected behavior

Settling closes the thread's waiting link cards, the way stopping and archiving already do.

Actual behavior

  • The card stays waiting, so the thread's shell keeps a blocking user_input pendingRuntimeRequest.
  • The thread is settled but reads as Awaiting Input everywhere that uses the shell: the status pill, the phone notification logic, and outside clients.
  • t3_pending_request list returns [] and pendingRequestCount is 0, so there is nothing to answer.
  • Settle cancels leftover input requests (and refuses on approvals), but a link card is a turn item, not a runtime request, so it survives.
  • It clears only when you type in the thread (linkCardStillAsks), which also unsettles it.

Impact

Minor bug or occasional failure

Version or commit

Server 0.1.10-nightly.20261112.4564. Still on main @ 856c84e.

Logs or stack traces

link_request   status=waiting   created 2026-11-03T20:32Z
thread         settledOverride=settled   settledAt 2026-11-13T01:52Z
shell          pendingRuntimeRequest={kind: user_input, blocking: true}

Workaround

Archive the thread, or answer or decline the card.

Possible fix

In Orchestrator.ts, call closePendingLinkRequests on thread.settle. Today only the stop and archive paths call it.

Activity

  1. added
    vouch:trusted
    on Nov 17, 2026
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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions