Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Use the Cursor provider (T3 spawns
agent acp). - Send a prompt that should make the agent ask a multiple-choice question, e.g. a skill that says "use the harness question tool (
AskQuestionin Cursor)". - Or ask directly: "Do not call any tools. List the exact names of every tool available to you."
Expected behavior
The model gets Cursor's AskQuestion tool. Calling it sends cursor/ask_question, which T3 already handles (handleExtRequest("cursor/ask_question", ...) → user-input.requested), so the question shows in T3's question UI. Same as the Claude (AskUserQuestion) and Codex (request_user_input) providers.
Actual behavior
AskQuestion is never in the model's tool list under ACP, so the model prints questions as plain assistant text and T3's question UI is never used.
Tool lists reported by the model with Cursor CLI 2026.09.18-9a7762b, same prompt:
| Launch | AskQuestion |
|---|---|
agent acp, mode agent |
missing |
agent acp, mode plan |
missing (CreatePlan present) |
agent -p --trust |
present |
T3 can't turn it on from the client side. The only clientCapabilities._meta flags the CLI reads are subagents and parameterizedModelPicker. ACP requests carry x-cursor-client-type: acp, so the tool looks filtered for ACP clients on Cursor's side, even though Cursor documents cursor/ask_question as an ACP extension.
Minimal repro client (plain agent acp over stdio, same initialize capabilities T3 sends): initialize → authenticate → session/new → optional session/set_mode → session/prompt with the tool-list prompt above.
Impact
Major degradation or frequent failure
Version or commit
T3 Code (Alpha) 0.0.42. Cursor CLI 2026.09.18-9a7762b.
Environment
macOS 26.6, Cursor provider, model claude-opus-5-5.
Workaround
None in T3. Agents fall back to plain-text questions. A possible T3-side mitigation is exposing a question tool on the t3-code MCP server that already gets injected into Cursor sessions, routed to the existing user-input flow.
Activity
juliusmarminge commentedon Sep 25, 2026
Triage #13632
Verdict: upstream. Cursor CLI
2026.09.23-86fc751(newer than the reported2026.09.18-9a7762b) still does not give ACP sessions theAskQuestiontool. T3 already handlescursor/ask_question. No matching issue in this repo. The handler is unchanged on currentmain(package0.0.42).What the report gets right
T3 starts Cursor with the
acpsubcommand (buildCursorAcpSpawnInputinapps/server/src/provider/acp/CursorAcpSupport.ts).initializesends only:{ "clientCapabilities": { "_meta": { "parameterizedModelPicker": true } } }(
CURSOR_PARAMETERIZED_MODEL_PICKER_CAPABILITIESinapps/server/src/provider/Layers/CursorProvider.ts).On session start,
CursorAdapterregisterscursor/ask_questionand turns it intouser-input.requested(handleExtRequestinapps/server/src/provider/Layers/CursorAdapter.ts). That handler runs only after the model calls the tool.CLI
2026.09.23-86fc751reads two flags frominitialize:subagents(top-level or_meta.subagents) enables subagent session updates, and_meta.parameterizedModelPickerswitches the model picker. ACP backend calls setx-cursor-client-type: acp. The default CLI path (agent -p) setsx-cursor-client-type: cli. The local CLI still implementscursor/ask_questionand calls it when the model invokes the tool. There is no capability flag that addsAskQuestionto the ACP tool list.CreatePlanremaining available in plan mode matches that split: T3 handles both extension methods, and onlyAskQuestionis missing from the ACP catalog.Response shape, once the tool exists
The current reply is
{ answers }(ProviderUserInputAnswers, a record of labels).extractAskQuestionsdrops option ids. CLI2026.09.23expects:A reply without
outcomethrows inside the CLI handler. Single-select questions then fall through tosession/request_permission; otherwise the model is told the client does not support the extension. That path stays idle while the tool is absent from the ACP catalog.Recommendation
Label bug and upstream. Leave the handler until Cursor offers
AskQuestiononx-cursor-client-type: acp.An MCP question tool on
t3-codewould be a separate product surface. Cursor's native tool would stay off.juliusmarminge commentedon Oct 2, 2026
Thanks for checking both Cursor ACP and the native CLI. Orchestrator V2 has merged in #2829.
Cursor execution now uses the official SDK rather than ACP. We are closing this as obsolete because it tracks the missing AskQuestion tool in the transport we removed; this does not claim that every question workflow has been verified in the replacement.
If the problem persists on a build containing V2, please open a fresh issue with the T3 version, provider version, reproduction steps, and relevant logs, and link this report.