Problem
Sync has no first-class authentication flow and no secure token storage.
Expected result
archcore login / archcore logout commands that store the auth token in the OS keychain and let sync reuse it, never writing it in plaintext settings.
Impact
Gives sync a secure, standard authentication UX across platforms.
Scope
Files: cmd/login.go, cmd/logout.go (new) + tests
Acceptance: users authenticate once and sync reuses the stored token.
Status: blocked — the sync feature is currently gated off at the command layer.
Problem
Sync has no first-class authentication flow and no secure token storage.
Expected result
archcore login/archcore logoutcommands that store the auth token in the OS keychain and let sync reuse it, never writing it in plaintext settings.Impact
Gives sync a secure, standard authentication UX across platforms.
Scope
login/logoutcommands.Files:
cmd/login.go,cmd/logout.go(new) + testsAcceptance: users authenticate once and sync reuses the stored token.