Repository navigation
fix(byo): already-installed agents can reissue their runtime token - #591
Merged
Merged
Conversation
Second live-smoke find: the BYO page's own copy promises "come back here and rotate" for a lost token, but the install call hard-fails with "Agent already installed in this pod" before ever reaching token issuance — lost-token recovery was impossible from the UI. Treat already-installed as identity continuity (ADR-001) and fall through to the force-reissue; any other install error still surfaces. Regression test pins the recovery path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9
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.
Live-smoke find #2: the BYO page promises lost-token recovery ("re-running install with the same name is idempotent on identity; the token is reissued fresh") but the install call hard-fails on
Agent already installed in this podbefore reaching token issuance — so a user who lost their one-time token had no recovery path from the UI.Fix: treat already-installed as identity continuity (ADR-001) and fall through to the
force: truetoken reissue; every other install error still surfaces. Regression test covers the recovery path. Frontend suite 198 green.🤖 Generated with Claude Code
https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9