Skip to content

fix(auth): support version 4 gateway descriptors - #177

Closed
fairusage wants to merge 2 commits into
ScriptedAlchemy:mainfrom
fairusage:codex/gateway-descriptor-v4
Closed

fairusage wants to merge 2 commits into
ScriptedAlchemy:mainfrom
fairusage:codex/gateway-descriptor-v4

Conversation

@fairusage

@fairusage fairusage commented Nov 28, 2026 •

Copy link
Copy Markdown

Grok Bot now writes gateway descriptor version 4, so every gateway-backed CLI command currently fails with Unsupported Grok Bot gateway descriptor version 4 before connecting.

Accept version 4 through the existing encrypted-entry parser. Empty, ambiguous, and missing-payload entries still fail closed; unknown future versions remain rejected. Adds regression coverage, a patch changeset, and rebuilt artifacts.

Validation: 40 authentication tests passed; build, artifact validation, and typecheck passed. Live roster reads succeeded against a version-4 desktop descriptor. A local installation retaining earlier operator patches also passed 91 focused authentication/gateway/send/URL tests and the route suite. Its full unit run passed 532/534, with failures in the existing history literal-prompt assertion and relay startup concurrency test; these are outside this parser change.

Both full-suite failures passed in focused reruns with inherited CODEX_THREAD_ID removed from the test environment (the history assertion expects an unprefixed prompt). The route suite passed 97/97.

@changeset-bot

changeset-bot Bot commented Nov 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 649d0ed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
grok-bot-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@fairusage fairusage closed this Nov 28, 2026
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