Skip to content

[Feature]: expose "waiting on user input" on the session, not just status=running #15900

Closed

Description

@f3kin

Area

apps/server (orchestration read model, thread detail / shell API)

Problem

A turn that is blocked on a question (Claude AskUserQuestion, or an approval) reports session.status = "running" with an activeTurnId. On the session it is indistinguishable from a turn that is doing work. The only signal is the shell's hasPendingUserInput / hasPendingApprovals (and the client's "Awaiting Input" label).

So an API consumer that reads the session alone treats a parked turn as live work. In our case these consumers were a weekly restart check that waits for "no turn in progress", a delivery worker that waits for the thread to go idle, and a stall detector. One day three turns sat parked on questions for 18 to 24 hours, and each consumer read them as busy the whole time.

Ask

Expose the waiting state on the session or the thread detail. Either:

  • a distinct session status (for example waiting); or
  • a field next to activeTurnId, e.g. waitingOn: "user-input" | "approval" | null.

With that, automation can tell "working" from "parked" without reading the shell and joining it by thread id.

Related

#15258 is the complementary case. There, an async question makes a thread that is still working show as Awaiting Input. A field that separates "blocked on the answer" from "question open, still working" would serve both.

Version

0.0.43-nightly.20260919.1948 (Linux x64, provider claudeAgent). I haven't yet checked whether Orchestrator v2 (#2829) changed this.

Activity

  1. locked and limited conversation to collaborators on Oct 11, 2026
  2. converted this issue into a discussion #18032 on Oct 11, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions