fix!: move default vault paths to the generic code/ XDG namespace#18
Merged
Conversation
The vault manifest and per-vault broker state defaulted to an atyrode/ namespace inherited from the author's dotfiles — not self-contained for a public tool. Defaults are now: ~/.config/code/auth-vaults.json (manifest lookup) $XDG_STATE_HOME/code/auth-vaults/<id>/ (broker.token, new vaults) $XDG_CACHE_HOME/code/auth-vaults/<id>/ (snapshot.json, new vaults) Existing vaults are unaffected in-place: their token/cache paths are recorded in the manifest at creation time. Migrating means moving the manifest file itself (or pointing CODE_AUTH_VAULTS_FILE at it). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
atyrode
enabled auto-merge (squash)
July 17, 2026 00:13
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.
The default vault-manifest lookup (
~/.config/atyrode/code-auth-vaults.json) and new-vault broker state dirs carried anatyrode/namespace inherited from the author's dotfiles — not self-contained for a public tool. Now everything defaults undercode/, matching the generator's existing~/.config/code/+~/.local/share/code/.Migration for existing setups (one-time):
mkdir -p ~/.config/code && mv ~/.config/atyrode/code-auth-vaults.json ~/.config/code/auth-vaults.json— or exportCODE_AUTH_VAULTS_FILEto keep a custom location. Existing vaults' broker/token paths are recorded inside the manifest, so they keep working wherever they already live.Marked
fix!— a default-path change is behavior-breaking for anyone relying on the old default (it shipped for less than a day).🤖 Generated with Claude Code