feat(grok): add fail-closed tool activity compatibility#3903
Merged
Conversation
CompleteDotTech
force-pushed
the
agent/issue-3845-grok-tool-activity
branch
from
July 26, 2026 16:05
f76922f to
78e9236
Compare
CompleteDotTech
marked this pull request as ready for review
July 26, 2026 17:13
CompleteDotTech
force-pushed
the
agent/issue-3845-grok-tool-activity
branch
5 times, most recently
from
July 26, 2026 19:50
eff47b6 to
b167dd2
Compare
CompleteDotTech
force-pushed
the
agent/issue-3845-grok-tool-activity
branch
from
July 26, 2026 20:21
b167dd2 to
605596c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3845. Beads: cave-trt.5.
Compatibility behavior
streaming-jsonframes:text,thought,end, anderror; it claims no tool lifecycle aliases.--output-format streaming-jsoncapability. Probing uses the exact preflight-approved launcher and familiar-scoped environment. No tool envelope names were inferred or captured.COVEN_GROK_SCHEMA_REGISTRY_*overrides are development-only. The five-second refresh deadline covers response headers and a stalled body.[or{is retained.fixture_tool_*aliases. Those aliases are not Grok protocol claims; it verifies selected-schema routing, persistence, terminal errors, duplicate frames, and reordered progress/results.Evidence
Verified 2026-07-26 against the xAI Grok Build overview and upstream headless-mode documentation at revision
47348d13ec4508dcfe440e34c6d511bb02998fb2. These document headless--output-format streaming-jsonand only text/thought/end/error frames, not tool lifecycle events. No local Grok installation, credentials, paid run, fabricated capture, or undocumented Grok event name was used.Latest remediation and validation
origin/mainat76d74e66and force-pushed605596c8cf4e063366cd9a76fce88d0d7b70419a; no Grok protocol behavior changed during rebase.pnpm check:tests-wired,pnpm typecheck,pnpm lint, andgit diff --checkafter the rebase.Release prerequisite
A maintainer-owned release environment must provide
GROK_SCHEMA_REGISTRY_URL,GROK_SCHEMA_REGISTRY_PUBLIC_KEYorGROK_SCHEMA_REGISTRY_PUBLIC_KEYS, andGROK_SCHEMA_REGISTRY_CHECKPOINT. They are public verification material; never add a private signing key.