Repository navigation
Conversation
Slashek
force-pushed
the
user-global-token
branch
from
October 27, 2026 12:36
ef342fd to
8a7a615
Compare
Slashek
force-pushed
the
user-global-token
branch
from
November 16, 2026 09:32
8a7a615 to
8cda564
Compare
POST /api/two_factor_session answers a token it will not step up with a 422 naming why: bound_token (new: a token bound to one instance, e.g. handed over in MPKIT_TOKEN), two_factor_session_presented and two_factor_not_required. These surfaced as a raw HTTP error; each is now a TwoFactorError with its own advice, raised before any code is asked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Several pos-cli processes rewrite the same file at once (parallel commands, CI jobs sharing $HOME, each caching a bound token or a session). Writing in place let one of them read a half-written file, which fails as invalid JSON. The contents now go to an owner-only temporary file that is renamed over the target; a symlink is written through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Portal outages - A live cached bound token is used without asking the Portal for token info first, which cost every command a round trip and failed it whenever the Portal was down. - Binding retries a Portal that does not answer (5xx, 408/425/429, network) for up to about two minutes, as Gateway already does for partner_portal_unavailable. - An instance refusing a token the Portal bound for it this run is reported as one that does not accept global tokens yet (a stack not on that release), with what to use meanwhile, instead of "the token has ended, run again". - README: minimum pos-cli version and Instance release for global tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Slashek
force-pushed
the
user-global-token
branch
from
November 24, 2026 07:07
e1a973e to
6236d03
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.
No description provided.