GeezerVison is showing github.com — [Bug]: Antigravity (ACP) & Pi completed answers fold under "Continued for" when an active steer runs in the same turn · Issue #41320 · pingdotgg/t3code
[Bug]: Antigravity (ACP) & Pi completed answers fold under "Continued for" when an active steer runs in the same turn #41320Labels bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization. DescriptionBefore 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
- Start a thread using Antigravity (ACP, e.g.
gemini-4-neon, which uses steersWithPrompt) — or Pi (packages/provider-pi, which uses streamingBehavior: "steer").
- Ask a question that requires a few tool calls before answering.
- While the agent is working (specifically right as it finishes tool calls and begins final reasoning/writing the answer to Question 1), send an unrelated Steer message.
- The agent completes its full answer to Question 1 (
assistant:0), immediately runs tool calls for the steer inside the same run/attempt, and finishes with a second reply (assistant:1) answering only the steer.
- Wait for the run to settle and inspect the thread timeline.
Expected behavior
The completed pre-steer answer (assistant:0) should remain visible in the timeline (and in Zen mode), matching Codex (#34501) and Claude (#40259 / #40265). Ideally it should also sit above the steer if it replies to the earlier prompt, or at minimum not be silently hidden inside the collapsed Continued for ... work group.
Actual behavior
When the run settles, the entire completed answer to the original prompt (assistant:0) is hidden inside the collapsed Continued for ... row below the steer bubble, leaving only the follow-up reply to the steer (assistant:1) visible (and in Zen mode assistant:0 is hidden completely).
Root cause
This is the same display bug recently fixed for Claude in #40259 / #40265 (and earlier for Codex in #34501 and OpenCode in #37829), still affecting active-steering providers that never emit phase: "final_answer":
- Timeline folding (
apps/web/src/components/chat/MessagesTimeline.logic.ts): deriveTerminalAssistantMessageIds keeps only the last assistant message per runId. retainedAssistantReplyEntryIds only exempts earlier messages that carry phase: "final_answer" or belong to a superseded attempt. Active steering keeps both replies in one run with a single completed attempt (never superseded).
- Antigravity / ACP (
packages/provider-acp/src/server/adapter.ts):
- Pi (
packages/provider-pi/src/server/adapter.ts):
PiAdapter sets supportsActiveSteering: true and supportsSteeringByInterruptRestart: false (lines 130–131), steering via streamingBehavior: "steer" in the same run/attempt.
packages/provider-pi/src/server/adapter.ts never sets phase: "final_answer" on assistant_message items anywhere, even though Pi's message_end event already provides message.stopReason (lines 2385–2396, currently only checked for "error").
Related
Impact
Major degradation or frequent failure
Version or commit
T3 Code 0.1.11 (verified still present on main)
Environment
macOS, T3 Code Desktop 0.1.11, Antigravity (ACP, gemini-4-neon); also verified by code inspection for Pi (packages/provider-pi/src/server/adapter.ts)
Logs or stack traces
Observed run timeline (Antigravity ACP, single run:26 / single completed attempt:1):
07:12:58.443Z session/prompt #1 started (original prompt, ordinal 26000001)
07:13:06-13:36 reasoning + 3 command_execution tool calls for original prompt
07:13:43.766Z reasoning:2 started (preparing final answer to original prompt)
07:13:44.019Z user steer sent (inputIntent: "steer", ordinal 26000008)
07:13:44.032Z session/prompt #2 started (steerWithPrompt)
07:13:44.035Z session/prompt #2 succeeded (accepted into active turn)
07:13:53.828Z assistant:0 started (ordinal 26000009, phase: undefined) - full answer to original prompt only
07:14:12.528Z assistant:0 completed (status: "completed", phase: undefined)
07:14:12.528Z dynamic_tool Read started for steer (ordinal 26000010)
07:15:17.513Z assistant:1 started (ordinal 26000015, phase: undefined) - answer to steer only
07:15:21.956Z assistant:1 completed & session/prompt #1 succeeded
Result: assistant:0 sits below the steer bubble and is folded under "Continued for 1m 38s".
Screenshots, recordings, or supporting files
No response
Workaround
Use Queue instead of Steer for follow-up questions so each prompt runs in its own runId, or manually expand Continued for ... below the steer bubble to read the hidden reply. Activityandirtew commented on Nov 23, 2026 Additional context: Cross-provider / model-agnostic fallback
Beyond Antigravity (ACP) and Pi, this looks like a broader contract gap affecting any active-steering provider or model that does not emit native phase metadata:
- Other
supportsActiveSteering: true adapters (OpenCode, Cursor, Muse, Grok, Kiro) face the same folding risk whenever a completed pre-steer answer is followed by steered work in the same run without phase: "final_answer".
- Codex models that omit
phase (payload.item.phase == null): in apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts, line 6032 already treats payload.item.phase == null || payload.item.phase === "final_answer" as finalAnswer internally, yet line 3993 only attaches phase to the emitted turnItem when context.messagePhases.has(item.id) (which skips null). That means older/custom models routed through Codex without native phase support can also regress to folding completed pre-steer replies.
Rather than patching providers one by one after each report (Codex -> OpenCode -> Claude -> ACP -> Pi), it would be much more resilient to have a consistent fallback across all active-steering adapters/models (while keeping short pre-tool progress commentary foldable per #8879): when a provider/model omits phase, any completed assistant_message that finishes a reply before an active steer is processed should still be promoted/retained as final_answer. Amunak commented on Nov 23, 2026 Confirming this also reproduces on Linux + Web client (gemini-4-neon, Antigravity ACP) with zero tool calls before or after the steer — so a fix shouldn't rely only on intervening tool calls clearing closingAssistant.
In the attached repro, the entire 5-section briefing (assistant:0) folds under Continued for … below the steer bubble, leaving only the 2-sentence post-steer reply (assistant:1) visible. Notably, because this ran as a delegated subagent, the completion summary delivered back to the parent thread also contained only assistant:1 and omitted assistant:0.
Screenshots (collapsed vs. expanded)
Quick agent-driven repro (no manual timing needed)
From any parent T3 thread:
- Launch an async Antigravity child with
delegate_task (providerInstanceId: "antigravity", model: "gemini-4-neon", options: { thought_level: "xhigh" }) asking for a ~600-word multi-section reply with no tools (gives a ~15–30s reasoning window).
- ~10s later (while the child is still in
reasoning:0), steer it with t3_thread_send(threadId, mode: "steer", message: "Quick unrelated side question, 2 sentences max, no tools.") — returns delivery: "steered" on ordinal:1.
- Wait for
ordinal:1 to settle. Resulting single-run timeline (zero tool calls):
user_message (initial prompt) → reasoning:0 → user_message (steer) → assistant:0 (full reply, folded under Continued for …) → reasoning:1 → assistant:1 (short steer reply, only visible message).
sineptic commented on Nov 24, 2026 I also have this issue. stop model and then send seem to work, but it feels like a hack B-EtterDigital commented on Nov 27, 2026 Confirming live repro on Linux (0.1.12-nightly.20261120.5009, Antigravity ACP / gemini-4-neon): a quick follow-up steer sent right as the model was delivering a long brainstorm folded the entire initial answer (assistant:0) away, leaving only the short reply to the steer visible. +1 on #43150 — appreciate the focused fix!
MetadataMetadatabugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization. DevelopmentNo branches or pull requestsIssue actions
|