diff --git a/docs/CLAUDE-AUTH-CONCURRENCY.md b/docs/CLAUDE-AUTH-CONCURRENCY.md index 38027d4..744b630 100644 --- a/docs/CLAUDE-AUTH-CONCURRENCY.md +++ b/docs/CLAUDE-AUTH-CONCURRENCY.md @@ -40,7 +40,7 @@ serialization — no external wrapper needed. Host filesystem: /var/lib/disinto/claude-shared/ ← CLAUDE_SHARED_DIR └── config/ ← CLAUDE_CONFIG_DIR - ├── credentials.json + ├── .credentials.json ├── settings.json └── ... diff --git a/tests/smoke-init.sh b/tests/smoke-init.sh index 8600228..e8cd245 100644 --- a/tests/smoke-init.sh +++ b/tests/smoke-init.sh @@ -333,12 +333,12 @@ fi # Sub-test 2: migration (pre-existing ~/.claude with content) rm -rf "$HOME/.claude" "$CLAUDE_SHARED_DIR" mkdir -p "$HOME/.claude" -echo "test-token" > "$HOME/.claude/credentials.json" +echo "test-token" > "$HOME/.claude/.credentials.json" setup_claude_config_dir "true" -if [ -f "$CLAUDE_CONFIG_DIR/credentials.json" ]; then - pass "Migration: credentials.json moved to CLAUDE_CONFIG_DIR" +if [ -f "$CLAUDE_CONFIG_DIR/.credentials.json" ]; then + pass "Migration: .credentials.json moved to CLAUDE_CONFIG_DIR" else - fail "Migration: credentials.json not found in CLAUDE_CONFIG_DIR" + fail "Migration: .credentials.json not found in CLAUDE_CONFIG_DIR" fi if [ -L "$HOME/.claude" ]; then link_target=$(readlink -f "$HOME/.claude") @@ -354,7 +354,7 @@ fi # Sub-test 3: idempotency (re-run after migration) 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" else fail "Idempotency: re-run broke the layout"