Skip to content

fix(workspaces): repair Grok Web startup and preserve diagnostics - #1392

Merged
luokerenx4 merged 1 commit into
devfrom
codex/grok-web-startup
Sep 6, 2026
Merged

fix(workspaces): repair Grok Web startup and preserve diagnostics#1392
luokerenx4 merged 1 commit into
devfrom
codex/grok-web-startup

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Opening Grok in Web exited before the ACP handshake because --no-leader was passed to the pager TUI instead of the agent subcommand. Compose grok agent --no-leader … stdio, with runtime model/effort flags scoped to the agent and top-level rules kept before it.

Preserve the actual child exit diagnostic when transport disposal rejects startup, and leave failed-open registry rollback to the route to avoid racing its temporary-file replacement. Ignore live ACP user-message echoes while continuing to replay user history on resume; real Grok echoed the prompt and previously rendered it twice.

Verification:

  • Reproduced the exact rejected argv against installed Grok 1.0.13; corrected argv completed a real ACP initialize handshake with loadSession support.
  • In the independent UI Setup project, opened the user's existing Grok Session, received a real “连接正常” reply, reopened the same Session and verified its history, then received “收到” with no duplicated prompt. Both prompts explicitly prohibited tool use and file changes.
  • pnpm test:changed: 21 files, 473 passed.
  • pnpm test:owner:runtime-cli: 169 files, 1716 passed, 1 skipped.
  • Root npx tsc --noEmit passed. No UI source or Electron-specific launch contract changed.
  • Previous PR fix(workspaces): preserve resumed sessions and support text answers #1391 checks and its post-merge installer smoke passed.

This validates Grok text turns and Web history restoration. It does not claim tool-approval or all-runtime credentialed acceptance from the broader Web surface plan.

@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openalice-demo Building Building Preview Sep 6, 2026 1:37pm UTC

Request Review

@luokerenx4
luokerenx4 merged commit da548d0 into dev Sep 6, 2026
2 of 3 checks passed
@luokerenx4
luokerenx4 deleted the codex/grok-web-startup branch September 6, 2026 13:37
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