Repository navigation
fix(server): goals stop the running turn, clear while working, no echoes - #25426
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Goals felt unpolished:
/goalsent while a turn runs was rejected ("Goal commands must run as a separate turn")./goal clearcould not run while anything was working, and the banner hid Clear during work.Change
/goal resume, sent into a running turn (composer, banner, queue Steer, mobile, MCP) stops that turn and runs first in the queue./goal clearand/goal pausestop the turn only when the goal drives it. A run that is only finishing or running background work is never stopped. An explicit queue still queues. This applies to Codex and Claude only; other providers keep today's behavior./goal pauseor/goal resume(it reads them as new goals named "pause"/"resume"), so T3 rejects them for Claude./goalprompt reaches the provider verbatim; pending context waits one turn, as with/compact.Scope and approval
Requested directly by a maintainer (Theo). This replaces the approach in #22802, which hides Steer for queued
/goalmessages.Verification
vp run check:changedpasses.Before:
/goalmid-turn failed with "Goal commands must run as a separate turn", and the banner had no Clear button while working.Goal running, Clear visible while working:
A new goal sent mid-turn stops the run and starts the goal. The first reply is a plan, not an echo:
Clear clicked while working: the run stops, the banner goes away, no echo message:
A finished goal reads "Goal complete" with the real result above it:
Council review
Rounds: 5 (round 1 was design and is not scored)
🤖 Generated with Claude Code (Claude Opus 5.5) in T3 Code