Skip to content

Disable Grok auto-update in CLI sessions - #470

Merged
SDSLeon merged 1 commit into
masterfrom
agent/grok-cli-no-auto-update
Aug 3, 2026
Merged

Disable Grok auto-update in CLI sessions#470
SDSLeon merged 1 commit into
masterfrom
agent/grok-cli-no-auto-update

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 3, 2026

Copy link
Copy Markdown
Owner

What changed

  • prepend --no-auto-update to Poracode-managed Grok terminal/PTY launches
  • preserve the flag for new -s sessions and resumed -r sessions
  • update terminal argv and adapter lifecycle coverage

Why

Poracode already disables Grok auto-update for managed Chat/ACP, detection, authentication, and headless utility processes. Terminal sessions should use the same app-controlled update policy instead of allowing the child CLI to update itself.

Validation

  • Grok-focused suite: 100 passed
  • pnpm run typecheck
  • pnpm run lint
  • pnpm run fmt:check
  • direct Grok 0.2.118 --no-auto-update -s <UUID> and --no-auto-update -r <UUID> marker cycle passed
  • real isolated Poracode CLI process command line confirmed grok.exe --no-auto-update -s <UUID> -m grok-4.5 ...

@SDSLeon
SDSLeon merged commit b749ba5 into master Aug 3, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the agent/grok-cli-no-auto-update branch August 3, 2026 02:55
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