Skip to content

fix(byo): already-installed agents can reissue their runtime token - #591

Merged
lilyshen0722 merged 1 commit into
mainfrom
fix/byo-reissue-token
Jul 3, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
fix/byo-reissue-token

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

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 pod before 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: true token 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

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
@lilyshen0722
lilyshen0722 merged commit 9dcf193 into main Jul 3, 2026
8 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/byo-reissue-token branch July 3, 2026 10:28
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