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 — [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 #41320

New issue
Copy link
New issue
Copy link
Open
#43150
Open
[Bug]: Antigravity (ACP) & Pi completed answers fold under "Continued for" when an active steer runs in the same turn#41320
#43150
Copy link
Labels
bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

Description

@andirtew
andirtew
opened on Nov 23, 2026
Issue body actions

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

  1. Start a thread using Antigravity (ACP, e.g. gemini-4-neon, which uses steersWithPrompt) — or Pi (packages/provider-pi, which uses streamingBehavior: "steer").
  2. Ask a question that requires a few tool calls before answering.
  3. 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.
  4. 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.
  5. 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":

  1. 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).
  2. Antigravity / ACP (packages/provider-acp/src/server/adapter.ts):
    • AntigravityAdapterV2 uses steersWithPrompt, so steering sends a second session/prompt (which resolves in ~3 ms) while the first session/prompt stays open across both assistant:0 and assistant:1.
    • Open PR fix(acp): keep completed replies visible when background wakes follow in the same run #40559 (for [Bug]: Antigravity ACP collapses earlier assistant replies into "Worked for ..." when background tasks wake the same run #40108 background-task wakes) does not cover this steer path: steerWithPrompt sets context.promptSettled = false, session/prompt oxc stack #1 never settles between assistant:0 and the steer's tool calls, and the new steer tool call immediately clears context.closingAssistant = null right after assistant:0 completes.
  3. 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

  • Claude's finished answer folds under "Continued for" when a steer is read after Claude ends its turn #40259 / fix(server): Claude's answer before a late-read steer stays visible #40265 (same bug fixed for Claude)
  • [Bug]: Antigravity ACP collapses earlier assistant replies into "Worked for ..." when background tasks wake the same run #40108 / fix(acp): keep completed replies visible when background wakes follow in the same run #40559 (Antigravity ACP background-task wake folding — does not cover active steering)
  • fix(chat): keep final replies visible after steering #34501 (Codex), fix(opencode): keep the answer when a background report lands right after it #37829 (OpenCode)

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.

Reacted by BetterDigit4l

Activity

  1. andirtew
    added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Nov 23, 2026
  2. andirtew commented on Nov 23, 2026

    @andirtew
    andirtew
    on Nov 23, 2026
    Author
    More actions

    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:

    1. 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".
    2. 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.

  3. juliusmarminge
    added 2 commits that reference this issue on Nov 23, 2026

    fix(server): drop the ACP steer final-answer marking (#41320)

    f2706d6

    test(provider-pi): a reply finished before a steer's work is the fina…

    be49c54
  4. Amunak commented on Nov 23, 2026

    @Amunak
    Amunak
    on Nov 23, 2026
    More actions

    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) Screenshot_20261123_151146 Screenshot_20261123_151123

    Quick agent-driven repro (no manual timing needed)

    From any parent T3 thread:

    1. 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).
    2. ~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.
    3. 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).
  5. sineptic commented on Nov 24, 2026

    @sineptic
    sineptic
    on Nov 24, 2026
    More actions

    I also have this issue. stop model and then send seem to work, but it feels like a hack

  6. B-EtterDigital commented on Nov 27, 2026

    @B-EtterDigital
    B-EtterDigital
    on Nov 27, 2026
    More actions

    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!

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

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — 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.