From dc8510447fd1d0dbef8e90b5485dfb9b709faac0 Mon Sep 17 00:00:00 2001
From: gsxdsm
Date: Mon, 15 Jun 2026 12:43:08 -0700
Subject: [PATCH] fix(review): address PR #1681 round-2 comments
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- CodeRabbit: spinner class `spin` -> `animate-spin` (matches the card's other
Loader2 usages).
- CodeRabbit (major): tighten auth-failure detection so it only fires when the
WHOLE turn is the short "Not logged in" message (<=80 chars), not when a long
legitimate answer merely mentions the phrase — avoids false positives.
- CodeRabbit (major): expand the auth-signal test to assert the full invariant —
set on a not-logged-in turn, clear (unlink) on a real response, and NOT flag a
long answer that mentions the phrase.
pi-claude-cli acp-driver 5/5; typecheck clean.
Co-Authored-By: Claude Opus 4.8
---
.../app/components/ClaudeCliProviderCard.tsx | 2 +-
.../src/__tests__/acp-driver.test.ts | 36 +++++++++++++------
packages/pi-claude-cli/src/acp-driver.ts | 14 +++++---
3 files changed, 37 insertions(+), 15 deletions(-)
diff --git a/packages/dashboard/app/components/ClaudeCliProviderCard.tsx b/packages/dashboard/app/components/ClaudeCliProviderCard.tsx
index c8f0521e6a..3e0500a59f 100644
--- a/packages/dashboard/app/components/ClaudeCliProviderCard.tsx
+++ b/packages/dashboard/app/components/ClaudeCliProviderCard.tsx
@@ -260,7 +260,7 @@ export function ClaudeCliProviderCard({