Skip to content
Proposals/Reorder queued prompts and resume child sessions
proposaleveryoneP5Worth a lookxAI Grok CLI (Grok Build)

Reorder queued prompts and resume child sessions without 404 in Grok CLI

Grok CLI a5589e9 lets any queued item move up/down, never lets send-now destroy earlier queues, registers restored child sessions for --resume, collapses long bash permission bodies behind Ctrl-F, and shows non-200/disk errors as clean TUI banners.

Why this loop

Silent queue loss and --resume 404s on restored child sessions break multi-step and background workflows. This release also improves Auto-mode security context, full-script permission review (Ctrl-F collapse, one Tab contract), sandbox provision/metadata types, and dashboard per-turn summaries. Developers should adopt queue reordering instead of cancel/retype, verify /resume finds sessions loadable via --resume, and use the new permission and error surfaces so sandbox/MCP work stays recoverable under API 5xx and disk-full conditions.

Proposed actions

  1. Update to Grok CLI commit a5589e9 (Synced from monorepo) so queue move up/down, child-session --resume registration, Cloudflare 5xx retries, and non-200 TUI error banners are present.
  2. With two or more prompts queued, move any item up or down to change run order; send-now a later prompt and confirm the earlier queued message remains visible and is not dropped.
  3. After background spawn or restore, run `/resume` and search for the child session (or `grok --resume <session-id>`) and confirm it loads without 404 because restored children are registered.
  4. When a long bash permission card appears, press Ctrl-F to collapse the body, review the full-script permission showcase and contextualized Auto-mode security findings, then use the single Tab contract on the blocking card.
  5. From the dashboard, confirm per-turn summaries on agent rows, that session-only modals toast when opened, `/delete` from attach returns to the dashboard, and Dashboard exit/quit fully quits the CLI; note disk-full banners if the disk fills mid-session.

Agent prompt

Paste into your agent or query via MCP (`get_agent_prompt`) — free, no extra AI cost

Paste into Claude Code / CLAUDE.md task

# DevAgentRadar → Claude Code

You are helping me adopt a real coding-assistant change. Work only from the facts below. Do not invent features.

## Context
Assistant: xAI Grok CLI (Grok Build)
Proposal: Reorder queued prompts and resume child sessions without 404 in Grok CLI
Summary: Grok CLI a5589e9 lets any queued item move up/down, never lets send-now destroy earlier queues, registers restored child sessions for --resume, collapses long bash permission bodies behind Ctrl-F, and shows non-200/disk errors as clean TUI banners.
Primary source: https://github.com/xai-org/grok-build/commit/a5589e958437d79e13db026eedcb1720bffd4063

## Why it matters
Silent queue loss and --resume 404s on restored child sessions break multi-step and background workflows. This release also improves Auto-mode security context, full-script permission review (Ctrl-F collapse, one Tab contract), sandbox provision/metadata types, and dashboard per-turn summaries. Developers should adopt queue reordering instead of cancel/retype, verify /resume finds sessions loadable via --resume, and use the new permission and error surfaces so sandbox/MCP work stays recoverable under API 5xx and disk-full conditions.

## Suggested actions
1. Update to Grok CLI commit a5589e9 (Synced from monorepo) so queue move up/down, child-session --resume registration, Cloudflare 5xx retries, and non-200 TUI error banners are present.
2. With two or more prompts queued, move any item up or down to change run order; send-now a later prompt and confirm the earlier queued message remains visible and is not dropped.
3. After background spawn or restore, run `/resume` and search for the child session (or `grok --resume <session-id>`) and confirm it loads without 404 because restored children are registered.
4. When a long bash permission card appears, press Ctrl-F to collapse the body, review the full-script permission showcase and contextualized Auto-mode security findings, then use the single Tab contract on the blocking card.
5. From the dashboard, confirm per-turn summaries on agent rows, that session-only modals toast when opened, `/delete` from attach returns to the dashboard, and Dashboard exit/quit fully quits the CLI; note disk-full banners if the disk fills mid-session.

## Config surfaces this release may change
- background and headless runs — check your repo before applying


## Your job
1. Restate the change in one sentence.
2. Propose a minimal plan for my repo (or a throwaway pilot).
3. Implement only what I approve; prefer small diffs and tests.
4. Call out risks (permissions, breaking APIs, cost).

Start by confirming you understood the proposal.
agentmcpsecuritycliRelease source ↗

Your loop

This browser · no sign-in · not shared as “you”

Community signal · 0 approved · 0 deferred · 0 ignored

Anonymous public tally (one vote per visitor; changing choice updates your vote). Not moderated product truth.

Originating release signal

xAI Grok CLI (Grok Build)a5589e9Aug 5, 2026

Synced from monorepo

Synced from monorepo · Synced from monorepo · Changes: · Retry Cloudflare 52x and other 5xx sampling errors · Show non-200 API errors as clean TUI banners · Sandbox: provision plan, durable metadata, and repos manifest types · Refresh shell leader docs to match current code · Let any queued item move up and down · Toast when session-only modals open from the dashboard · Pin markdown palette to ANSI16 hues · Fix `/resume` search missing sessions loadable via `--resume` · Only paint auto recap when the CLI is idle · Collapse long bash permission bodies behind Ctrl-F · +25 more changes

Verified excerpt — the source's own words
Synced from monorepo

Synced from monorepo

Changes:
- Retry Cloudflare 52x and other 5xx sampling errors
- Show non-200 API errors as clean TUI banners
- Sandbox: provision plan, durable metadata, and repos manifest types
- Refresh shell leader docs to match current code
- Let any queued item move up and down
- Toast when session-only modals open from the dashboard
- Pin markdown palette to ANSI16 hues
- Fix `/resume` search missing sessions loadable via `--resume`
- Only paint auto recap when the CLI is idle
- Collapse long bash permission bodies behind Ctrl-F
- Full-script permission showcase
- Contextualize Auto-mode security findings
- Always emit mouse/paste resets at teardown
- Keep plain queued prompts visible
- Mouse copy never drops a wide (CJK) grapheme at a selection boundary
- Show disabled MCP stubs only when re-enableable
- Keep syntax styles on wrapped diff lines
- Improve per-turn dashboard summary prompt (reply substance)
- Report the mode the session is actually in
- Dashboard exit/quit quits the CLI
- A send-now never silently destroys an earlier queued message
- Reflow narrow markdown tables in-cell
- Honor highlighted slash command on Enter

Excerpt ends here — this release continues at the source ↗.

Primary source ↗