The stable check names 1.0.98, and stream-json is not a flag value

John Burns

A script that copies flag names from the 1 December 2026 Grok Build changelog is not talking to the binary on this host. The page fetched that night calls 2.0.6 the latest release. grok version printed grok 1.0.67 (2fe064390d07) [stable]. grok update --check --json printed currentVersion 1.0.67, latestVersion 1.0.98, channel stable, updateAvailable true, installer internal, and error null. None of those fields is 2.0.6. The page and the check describe different builds. Only the check describes the process that will parse the next command.

The what’s-new page, marked updated the same day, says you are on the unified CLI when the version starts with 2, and that a legacy Grok CLI switches with grok update --channel unified. This version starts with 1. The installed help for grok update lists --check, --json, --force-reinstall, --version, --alpha, and --stable. It does not list --channel. It does not list unified. The flag is still accepted. grok update --channel with no value exits 2 and says a value is required. A flag that help omits can still be the one a current page tells you to run. Help is not the inventory. The error is.

The combination with --check is not a name lookup. grok update --channel unified --check exits 1. Standard output is empty. Standard error is one line: Error: --channel unified takes no --check. grok update --channel nosuch --check exits 1 with the same sentence and the unknown word in the same place. The refusal fires before this binary says whether unified is a channel it can install. grok update --channel stable --check exits 0 and prints A new version of Grok Build is available: 1.0.67 -> 1.0.98 [stable]. Stable is the channel the version line already prints, so that form stays a check. Any other name, including the name the what’s-new page uses, is refused when --check is present.

This run did not execute grok update --channel unified without --check. That is the form the page says performs the switch. Running it to discover whether 2.0.6 downloads would have been the switch itself. The preview a script can afford is the check form, and on this binary the preview is refused.

The guide written into a new grok home on first launch of this binary lists cli.channel as stable, alpha, enterprise, or other, and says unknown names follow stable version rules. A monitoring page in that same guide lists a metric label whose values are stable, alpha, or unified. The public what’s-new page names unified as the channel you switch to. The installed help names --stable and --alpha and omits both the flag and the name. Those texts do not agree. The process agrees with the help text on what it will print, and it agrees with neither page on what grok update --channel unified --check will do. It accepts the flag, refuses the preview, and does not validate the name.

A check is also not a pure read of the binary. In the grok home the process used, version.json gained version and stable_version, both 1.0.98, and a checked_at timestamp. The binary’s own version line stayed 1.0.67. If you read version.json and skip grok version, you will report the offered stable release as the release you are running.

Six lines from the 1 December note

The 2.0.6 note names several commands. Six of them were run here. Each used a new working directory, a GROK_HOME created for the run, and GROK_DISABLE_AUTOUPDATER so a launch would not start an update of its own. No login was run. No API key was set. The SHA-256 of the executable was ce33b1a29e37901f56fe59916cda7a1149e6fd377118f918e90d89f9abb52a51. After the rejected install form, grok version still printed 1.0.67.

The note says a headless run can write a newline-delimited JSON event stream with --output-format stream-json. That value is rejected before a session starts. Exit 2. The error says stream-json is an invalid value, and the possible values are plain, json, streaming-json, and streaming-messages-json. The tip names streaming-json as a similar value. The same prompt with --output-format streaming-json, --max-turns 1, --disable-web-search, and --no-subagents exits 1. Standard output is one JSON object whose type is error and whose message is Not signed in, followed by the device-code login instruction. Standard error repeats that instruction. The format name was accepted. Sign-in is a later gate. A script that copies stream-json from the 1 December note never reaches that login line. A script that copies the tip, or the help text, does.

The note says grok plugin marketplace add --git-ref pins a source to a branch, tag, or commit, lists the source’s plugins, and refuses a source that has none. grok plugin marketplace add --git-ref main with a local directory as the URL exits 2. The error is unexpected argument '--git-ref' found, and the tip says to pass that token as a value after a double dash. The add help text lists --force and the debug flags. It does not list --git-ref. This run did not follow the tip. A token after the double dash would have been part of the URL argument, not a pin, and the command would have been a different test. The config file in the disposable home kept a marketplace table whose only key was default_skills_installs_purged, which first launch writes. No source URL was stored.

The note says grok install followed by a version is an alias for grok update --version. grok help install exits 2 and says unrecognized subcommand install. The update help text does list --version, with examples on the 0.1 line. The alias the note names is not a subcommand on this binary. A second form, grok install --version 1.0.98, also exits 2, and the error is unexpected argument 1.0.98, with the top-level usage line rather than an install usage line. The word install was not a command. The version flag was consumed as the top-level version switch, and 1.0.98 was left over. Neither form installed a build. The version line afterward was still 1.0.67.

The note says grok -p --show-thinking fails with a clear error instead of ignoring the flag. On this binary the flag is not ignored, and the error is not a message about thinking output. grok -p ping --show-thinking exits 2. The error is unexpected argument '--show-thinking' found, and the usage line is the single-prompt form. Exit 2 means the word is not a flag on this executable. It does not mean the 2.0.6 note’s clear error was the text you received. A job that treats any non-zero exit from that spelling as evidence that it is running 2.0.6 will accept 1.0.67.

The note says --resume=-1 resumes the most recent session. The help text on this binary says --resume takes a session ID or title, and that omitting the value resumes the most recent. It does not define -1 as that omission. --continue is the other most-recent form. grok --resume=-1 -p ping --output-format json exits 1 with the same not-signed-in object the accepted format produced. The process stopped at sign-in. It did not print a missing-session error, and it did not print a resumed session id. This run does not say what -1 would resolve to after a login. It says the 1 December sentence was not observed, and that sign-in sits in front of the lookup. The bundled headless chapter says a UUID-shaped value takes the ID path, and that a miss suggests similar titles. Negative one is not a UUID. That still does not tell you the lookup result, because the lookup did not run.

stream-json is the wire name

The spelling split is already in the guide this binary writes. The headless chapter lists --output-format values as plain, json, streaming-json, and streaming-messages-json. A later section of that chapter, under the heading for streaming-messages-json, says the stream is newline-delimited JSON in the Messages API stream-json wire format. It says a consumer that reconstructs messages, reads spend, or detects errors can use that shape, and it tells you to use streaming-json when you want the native stream instead. stream-json in that paragraph is the name of the wire shape. It is not a row in the flag table above it.

The public headless page, marked last updated 23 November 2026, still lists plain, json, and streaming-json. It does not list stream-json as a flag value. The 1 December changelog uses the wire name as the flag value, and it says that stream includes workflow agent output. This binary’s parser agrees with the bundled table and with the 23 November page. It disagrees with the 1 December spelling, and it says so by naming streaming-json in the tip.

If the stream you need is the Messages API shape, the flag value on this binary is streaming-messages-json, which is the fourth possible value in the same error. This run did not pass that value through a signed-in turn, so it does not show an event line. It shows that the short name from the changelog is rejected, and that the name in the bundled table is the one that reaches sign-in. Do not treat the wire-format sentence as a second spelling of the flag. The chapter uses both strings on purpose, in different jobs.

A consumer written against the 1 December spelling will exit 2 on this host before it can mis-parse an event. That is the safer failure. The costly failure is the one that rewrites the spelling to streaming-json because the tip suggested it, and then expects the Messages API shape. The tip names the native stream. The Messages API shape is the longer flag, the one the bundled chapter ties to the wire word. Read the tip as a spelling correction, not as a format conversion.

enabled is not workspace

The same note says grok --sandbox enabled starts the workspace sandbox. The sandbox chapter this binary wrote lists built-in profiles off, workspace, read-only, strict, and devbox. The quick start uses grok --sandbox workspace. It does not use the word enabled. Sandbox mode is off by default in that chapter.

grok --sandbox enabled -p ping --output-format json exits 1. The first error says custom sandbox profile enabled was not found, and it prints a sample table named profiles.enabled that extends workspace. The second error says the sandbox could not enforce its deny list on Linux, that the required bwrap plan could not be prepared, and that the process is refusing to start with denied paths unprotected. grok --sandbox disabled with the same prompt exits 1, names a missing custom profile disabled, and then prints the same refusal. grok --sandbox workspace with the same prompt does not say the profile is missing. It exits 1 with bwrap exec failed: No such file or directory and the sentence that tells you to install bubblewrap. bwrap was not on the path. This run did not install it.

enabled is not a spelling of workspace on 1.0.67. It is a custom profile name that was not defined, and the process still refuses to start. The 1.0.94 note said --sandbox disabled starts a session without confinement when no custom profile of that name exists. That is not what this process did. disabled was resolved as a missing custom profile, and the start was refused. Exit 1 from enabled and exit 1 from workspace are different sentences. One says the name is not a profile. The other says the profile is known and the confinement tool is missing. A job that collapses both to a failed sandbox will miss the lookup.

A 7 November note on this same binary already recorded that grok --sandbox devbox inspect can exit 0 while Landlock is absent. That result is not this one. The question here was whether the 1 December token starts the workspace profile. The profile lookup says no. The process does not continue into a session, signed in or not. Do not import the earlier exit-0 observation as a description of --sandbox enabled. The commands are different, and the first error line is the one that answers the changelog sentence.

Verify the binary before you copy a line

Point GROK_HOME at a new directory and set GROK_DISABLE_AUTOUPDATER before you compare a changelog line to a local binary. Record grok version, including the channel tag in brackets, and the SHA-256 of the executable. Run grok update --check --json and read currentVersion, latestVersion, and channel. If the current version does not start with 2, do not copy flag names from a note whose heading is 2.0.6. If the latest version is a 1.0 line, the stable check is not offering the unified CLI. Do not add --channel unified to that check to preview the switch. On this binary the combination exits 1, and the error does not tell you whether the name is known. The same sentence appears for a name that is not a channel.

Read grok update --help and then try the flag the page names with no value. If help omits --channel and the no-value form says a value is required, the flag exists and the help text is behind the binary. That is the state on 1.0.67. It is not a reason to run the switch. Leave grok update --channel unified without --check for a window where changing the install is the task. Until grok version starts with 2, the check JSON is the record of what stable will install, and the 1 December flag names belong to a different line.

For a headless stream, read the possible values in grok --help before you trust a changelog spelling. On this binary the accepted names include streaming-json and streaming-messages-json. stream-json is the wire-format name in the bundled headless chapter. Passing it as --output-format is the invalid-value error above, and the tip names the native stream, not the Messages API stream. If you need the Messages API shape, use streaming-messages-json. Confirm the name by a run that reaches sign-in or a model, not by the presence of the wire word in a paragraph.

For a sandbox token, compare it to the built-in list before you treat it as a boolean. workspace is on that list. enabled and disabled are not. If the error names a custom profile and prints a sample table, the token was a missing name, not a switch. If the next line names bwrap and that binary is missing, the profile may still be real and the confinement was not applied. Do not install bubblewrap in the middle of the comparison unless the confinement result is the question you are answering. This comparison stopped at the missing binary, on purpose.

The system-prompt file sentence in the same 2.0.6 note was not re-run here. A 28 November note on this binary already recorded how --system-prompt treats a path. Mixing that result into this check would make one host’s older observation look like a 2.0.6 confirmation. It is not. Re-run it on the binary you have if that sentence is the one you are about to copy.

The success condition is small. grok version still starts with 1.0.67, or with whatever the check JSON called currentVersion. latestVersion is the stable offer, not the heading on the changelog page. stream-json exits 2 and the tip names streaming-json. --channel unified --check exits 1 with the takes-no-check line. --sandbox enabled names a missing custom profile before it refuses to start. If any of those four move, you are no longer on the binary this note describes, and the 1 December spellings have to be tried again rather than assumed.

Sources

  • This host, 1 December 2026, Linux x86_64. Grok Build 1.0.67, build 2fe064390d07, channel stable. The checks were grok version, grok update --check --json, grok update --help, grok update --channel with no value, grok update --channel unified --check, grok update --channel nosuch --check, grok update --channel stable --check, and the six headless or help forms above. GROK_HOME was a new directory for the flag runs. No login, no API key, and no grok update --channel unified without --check.
  • Grok Build changelog, 2.0.6, 1 December 2026: https://grok.com/product/build/changelog
  • The new Grok Build CLI, marked updated 1 December 2026: https://docs.grok.com/build/whats-new
  • Headless and scripting, marked last updated 23 November 2026: https://docs.grok.com/build/cli/headless-scripting
  • The user guide this binary wrote on first launch in the disposable home: the headless, sandbox, config-reference, and monitoring chapters.