fix: docs/CLAUDE-AUTH-CONCURRENCY.md and smoke-init.sh reference credentials.json without leading dot (#680)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c8113633af
commit
de4a37b1fa
2 changed files with 6 additions and 6 deletions
|
|
@ -40,7 +40,7 @@ serialization — no external wrapper needed.
|
||||||
Host filesystem:
|
Host filesystem:
|
||||||
/var/lib/disinto/claude-shared/ ← CLAUDE_SHARED_DIR
|
/var/lib/disinto/claude-shared/ ← CLAUDE_SHARED_DIR
|
||||||
└── config/ ← CLAUDE_CONFIG_DIR
|
└── config/ ← CLAUDE_CONFIG_DIR
|
||||||
├── credentials.json
|
├── .credentials.json
|
||||||
├── settings.json
|
├── settings.json
|
||||||
└── ...
|
└── ...
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -333,12 +333,12 @@ fi
|
||||||
# Sub-test 2: migration (pre-existing ~/.claude with content)
|
# Sub-test 2: migration (pre-existing ~/.claude with content)
|
||||||
rm -rf "$HOME/.claude" "$CLAUDE_SHARED_DIR"
|
rm -rf "$HOME/.claude" "$CLAUDE_SHARED_DIR"
|
||||||
mkdir -p "$HOME/.claude"
|
mkdir -p "$HOME/.claude"
|
||||||
echo "test-token" > "$HOME/.claude/credentials.json"
|
echo "test-token" > "$HOME/.claude/.credentials.json"
|
||||||
setup_claude_config_dir "true"
|
setup_claude_config_dir "true"
|
||||||
if [ -f "$CLAUDE_CONFIG_DIR/credentials.json" ]; then
|
if [ -f "$CLAUDE_CONFIG_DIR/.credentials.json" ]; then
|
||||||
pass "Migration: credentials.json moved to CLAUDE_CONFIG_DIR"
|
pass "Migration: .credentials.json moved to CLAUDE_CONFIG_DIR"
|
||||||
else
|
else
|
||||||
fail "Migration: credentials.json not found in CLAUDE_CONFIG_DIR"
|
fail "Migration: .credentials.json not found in CLAUDE_CONFIG_DIR"
|
||||||
fi
|
fi
|
||||||
if [ -L "$HOME/.claude" ]; then
|
if [ -L "$HOME/.claude" ]; then
|
||||||
link_target=$(readlink -f "$HOME/.claude")
|
link_target=$(readlink -f "$HOME/.claude")
|
||||||
|
|
@ -354,7 +354,7 @@ fi
|
||||||
|
|
||||||
# Sub-test 3: idempotency (re-run after migration)
|
# Sub-test 3: idempotency (re-run after migration)
|
||||||
setup_claude_config_dir "true"
|
setup_claude_config_dir "true"
|
||||||
if [ -L "$HOME/.claude" ] && [ -f "$CLAUDE_CONFIG_DIR/credentials.json" ]; then
|
if [ -L "$HOME/.claude" ] && [ -f "$CLAUDE_CONFIG_DIR/.credentials.json" ]; then
|
||||||
pass "Idempotency: re-run is a no-op"
|
pass "Idempotency: re-run is a no-op"
|
||||||
else
|
else
|
||||||
fail "Idempotency: re-run broke the layout"
|
fail "Idempotency: re-run broke the layout"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue