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
Grok CLI a5589e9 (commit a5589e958437d79e13db026eedcb1720bffd4063, Source-Revision 4d6d11372ab8f73026a78c45a7b7e7b1310eb39f) fixes queue and resume integrity in the TUI. Any queued item can move up and down, send-now never silently destroys an earlier queued message, and plain queued prompts stay visible. Restored child sessions are registered so --resume does not 404, and /resume search includes sessions already loadable via --resume. Parent work continues after a background spawn. Long bash permission bodies collapse behind Ctrl-F; Auto-mode security findings are contextualized. Non-200 API errors show as clean TUI banners, disk-full is surfaced during live sessions, and Cloudflare 52x plus other 5xx sampling errors retry. Dashboard attach re-points on /new, /delete from attach returns to the dashboard, and dashboard exit/quit quits the CLI. Adopt this SHA before depending on multi-prompt queues or nested --resume.
Proposed actions
- Pin the running Grok CLI to version a5589e9 (commit a5589e958437d79e13db026eedcb1720bffd4063, Source-Revision 4d6d11372ab8f73026a78c45a7b7e7b1310eb39f) before any workflow that reorders queues, uses send-now, or --resume on a restored child.
- While a turn is in flight, enqueue at least two prompts, move any queued item up then down, keep the plain queued text visible, then send-now and confirm the earlier queued message is still present and was not silently destroyed.
- After a background spawn restores a child session, continue in-flight parent work, run --resume with that child id and confirm it does not 404, then open /resume and confirm search lists the same session --resume can load.
- When a long bash permission card appears, press Ctrl-F to collapse the body; Tab once on every blocking card (one Tab contract). Read contextualized Auto-mode security findings before approving; use the full-script permission showcase as the review surface.
- From the dashboard: expect a toast when a session-only modal opens; /delete from dashboard attach must return to the dashboard; /new must re-point dashboard attach; dashboard exit/quit must quit the CLI. Treat non-200 API errors and disk-full during live sessions as clean TUI banners; Cloudflare 52x and other 5xx sampling errors retry.
Agent prompt
Paste into your agent or query via MCP (get_agent_prompt) — free, no extra AI costAGENTS.md / CLAUDE.md / GEMINI.md rule update
DevAgentRadar → Repo Harness Rule Patch
Goal: update our repository's permanent harness instructions based on this release.
Update the file that tool actually reads. Do not dump everything into one file.
- Claude Code → CLAUDE.md plus
.claude/(skills, hooks, settings, agents, commands). It does not read AGENTS.md natively; start CLAUDE.md with@AGENTS.md. - Codex, Copilot, Cursor, Factory Droid, Grok Build, Roo Code, Goose, OpenCode, Amp, Zed, Aider → AGENTS.md.
- Gemini CLI / Antigravity → GEMINI.md. AGENTS.md only if
context.fileNameis set. - Cursor glob-scoped rules →
.cursor/rules/*.mdc(plain.mdis ignored), not a second constitution. - Codex MCP →
.codex/config.toml, not.mcp.json. - Copilot extra instructions →
.github/copilot-instructions.md; custom agents →.github/agents/. - Windsurf →
.windsurf/rules(do not assume AGENTS.md). - Cline →
.clinerules. - Procedures → a skill (
SKILL.md). Enforcement the model must not skip → a hook. Isolated roles → subagents. - Do not fork the same rule into three tool files.
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
Grok CLI a5589e9 (commit a5589e958437d79e13db026eedcb1720bffd4063, Source-Revision 4d6d11372ab8f73026a78c45a7b7e7b1310eb39f) fixes queue and resume integrity in the TUI. Any queued item can move up and down, send-now never silently destroys an earlier queued message, and plain queued prompts stay visible. Restored child sessions are registered so --resume does not 404, and /resume search includes sessions already loadable via --resume. Parent work continues after a background spawn. Long bash permission bodies collapse behind Ctrl-F; Auto-mode security findings are contextualized. Non-200 API errors show as clean TUI banners, disk-full is surfaced during live sessions, and Cloudflare 52x plus other 5xx sampling errors retry. Dashboard attach re-points on /new, /delete from attach returns to the dashboard, and dashboard exit/quit quits the CLI. Adopt this SHA before depending on multi-prompt queues or nested --resume.
Suggested actions
- Pin the running Grok CLI to version a5589e9 (commit a5589e958437d79e13db026eedcb1720bffd4063, Source-Revision 4d6d11372ab8f73026a78c45a7b7e7b1310eb39f) before any workflow that reorders queues, uses send-now, or --resume on a restored child.
- While a turn is in flight, enqueue at least two prompts, move any queued item up then down, keep the plain queued text visible, then send-now and confirm the earlier queued message is still present and was not silently destroyed.
- After a background spawn restores a child session, continue in-flight parent work, run --resume with that child id and confirm it does not 404, then open /resume and confirm search lists the same session --resume can load.
- When a long bash permission card appears, press Ctrl-F to collapse the body; Tab once on every blocking card (one Tab contract). Read contextualized Auto-mode security findings before approving; use the full-script permission showcase as the review surface.
- From the dashboard: expect a toast when a session-only modal opens; /delete from dashboard attach must return to the dashboard; /new must re-point dashboard attach; dashboard exit/quit must quit the CLI. Treat non-200 API errors and disk-full during live sessions as clean TUI banners; Cloudflare 52x and other 5xx sampling errors retry.
Config surfaces this release may change
- background and headless runs — check your repo before applying
After you finish
Do not report this as applied to DevAgentRadar. You cannot write the visitor's loop.
Tell the human: open https://devagentradar.com/proposals/xai-grok-cli-a5589e9-reorder-queued-prompts-and-resume-child-sessions-wi and mark Applied, Skipped, or Failed. Proposal id: 0ae67748-f113-41ca-93ba-10e2bf91e86d
Instructions:
- Read the existing context files and settings for the tools in this repo.
- Draft an explicit Git diff. Update ONLY agent harness rules or tool configuration.
- Call out deprecated flags, obsolete habits, or changed permission boundaries.
- Do not touch application logic.
Start with the proposed diff and say which layer and which tool's file it belongs in.
Your loop
This browser · no sign-in · not shared as “you”After you run the prompt
Only you can mark this. Agents cannot write your loop.
Your decision stays on this device. A public tally appears after a few votes.