Repository navigation
fix(cli): the near-expiry login refusal says to sign in from your own terminal, outside the agent - #3416
Conversation
… terminal, outside the agent A public or workspace Claude seat on Linux gets an access-only copy of the login, so a turn that would outlive it is refused (F96, #3395). The message said "sign in again on this machine", which reads as if the agent could do it. It now says where: your own terminal on this machine, outside the agent, `claude` then /login. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MDs9DPFVAooJnqCSwrdxVw
lilyshen0722
left a comment
There was a problem hiding this comment.
HEAD: 6aa0188 — GATE: PASS
One quick subagent review (Tier 1, a copy-only CLI change). Both apiKeyHint branches build well-formed sentences. No other test or doc pins the old wording, and cli/package.json is untouched. The pinned test fails against main's text.
GATE: PASS
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
What
A Claude seat on Linux under public or workspace trust gets an access-only copy of the person's login, because a refresh inside the jail could sign them out (#3395). So a turn that would outlive the login is refused. The refusal said "Sign in again on this machine (
claude, then /login)", which reads as if the agent could do it. It now says where:The API-key advice, where it applies, follows as its own sentence.
Proof
adapters.claude.environment"a workspace seat whose login would expire mid-turn…" now pins the new wording. It passes, and it fails against main's text (reverse check).🤖 Generated with Claude Code
https://claude.ai/code/session_01MDs9DPFVAooJnqCSwrdxVw