auth: review follow-ups — docs, single revoke func, comment renames

main

Commit

Soph3mo ago
  • CLAUDE.md: correct the auth command surface (login/logout/status/ contexts/use; drop the removed list/revoke) and document logout's --everywhere / --all-contexts flags.
  • logout: have runLogout take a single caller-selected revoke func instead of both revokeCurrent+revokeAll plus an all bool; the command already knows --everywhere. Drop the now-obsolete TestRunLogout_AllRevokesAllSessions (selection is covered end-to-end by TestLogoutCommand_FlagMatrix) and update the simple callers.
  • Fix stale method names in //nolint:wrapcheck comments left over from the Session -> AuthSession rename.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 7bbdd7fd89c1

Checkpoints

Auth Review Followups and Tests

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1