You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
claude-login: move the headless Claude login helper into a fork kit; fix its 'unreadable' advice #937
A consumer project keeps its own headless Claude login helper (claude-login: start a login on a machine with no browser, finish it with the code, and a periodic check that opens an issue when the credentials file is missing or unreadable). It is general agent-machine tooling and belongs in a fork kit. Two open findings to fix on the way.
Problem
The "unreadable" advice can never work. When the credentials file stays broken, check opens an "unreadable" issue that says to run start then finish, but finish refuses a broken credentials file every time (reproduced). The advice must name the real recovery: move the broken file aside first (the tool could offer that as a step).
No test for a file that is half-written for a moment.check reads the credentials file up to three times so that a file being rewritten is not reported as broken; cutting the three reads to one still passes every test.
Wanted
Move the helper into a fork kit (installer, tests, README); issue repository and labels from config, never a hard-coded project.
Fix 1 with a test (a broken file: the advice leads to a working login).
Fix 2: a test that fails when only one read is made.
Never print or log the credentials file's content.
State question:start run twice, finish with a stale code, a login stopped half-way (temp files left), a credentials file from an older Claude Code version, and the check running while a login is in progress.
Size: S. Area:fork-kit (new kit). Not under .github/** or fork-ci/**; it handles credentials, so a security lens is advised.
Activity
fork-kit: claude-login kit, the headless Claude login helper (#937)
feat(fork-kit): claude-login kit for headless Claude logins, with wor…