Skip to content

Slash commands promoted during a turn wait for it to end - #116

Open
ShriD5 wants to merge 2 commits into
mainfrom
t3-watch/2026-11-23-commands-wait
Open

ShriD5 wants to merge 2 commits into
mainfrom
t3-watch/2026-11-23-commands-wait

Conversation

@ShriD5

@ShriD5 ShriD5 commented Nov 23, 2026

Copy link
Copy Markdown
Owner

What T3 added

pingdotgg/t3code@c385377544: a slash command sent during a turn waits instead of steering, because a provider runs a steered command in place of the turn's task. The queue row's steer action becomes "move this command to the front of the queue".

How Godspeed does it

  • SessionsEngine::holds_command_until_turn_end: a turn is in flight and the prompt is a native command for the live harness.
  • DocHost::steer_queued_now (queue row Steer, Cmd+Enter): a command row with no attachments goes to the front of the queue (the existing send-next path) and the drain delivers it the moment the turn ends.
  • DocHost::deliver_prompt (explicit steer): a command is held until the turn ends, like a turn-boundary agent's steer.
  • The queue row shows Send next instead of Steer for a command row (Pickers::steers_prompt_mid_turn). The Send next tooltip now reads "Send when the current turn ends", which also fits agents that can't steer.
  • native_command moved from engine/src/sessions.rs to zeron_proto::invocation so the engine and UI use the same rule.

Screenshots not available (unattended run).

Tests

  • New message_queue::steer_now_sends_a_command_next_instead_of_into_the_turn (fails without the engine change, passes with it).
  • cargo build -p godspeed, cargo check --workspace --tests: OK.
  • cargo test -p zeron-engine --no-fail-fast: 1178 passed. The only 2 failures (git_actions_gh pull_requests_and_publishing_go_through_gh, local_first local_runtime_checks_public_releases_without_starting_edge_links) also fail on main.
  • UI lib queue + pickers filters: 124 passed.
  • zeron-proto lib: 160 passed. The 1 failure (workspace::tests::engine_info_uses_camel_case_fields, expects no fresh-session-v1 capability) is in a test this PR doesn't touch.

Check by eye

While a Claude or Codex turn runs, queue /compact: the row should show Send next, not Steer. Pressing it should move the row to the front of the queue and run it when the turn ends. A plain-text row still shows Steer.

Steering a native command (/compact, /review, ...) into a running turn makes
the provider run it in place of the turn's task. Steer on a queued command
row, and an explicit steer of a command, now hold it at the front of the
queue until the turn ends, the same way turn-boundary agents already do.
The queue row offers "Send next" for such a row instead of "Steer".

`native_command` moves to zeron-proto so the engine and the queue row agree
on what counts as a command.

Inspired by: pingdotgg/t3code@c385377544
Ledger rows for 332 T3 commits; new T3-GAPS rows; slash-command hold is PR #116.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant