verify auth status against the server - #65
Conversation
auth status used to print whatever email login cached at the time, which is wrong the moment the key is revoked or the account goes away, and was blank for keys supplied by hand or by WAVEDASH_TOKEN. GET /api/me returns the owner of the key, so status calls that and prints the username and email it gets back. A 401 is reported as a rejected key with exit 1, pointing at login or the env var depending on where the key came from. Any other failure is reported as unable to verify, still showing the masked key. Nothing reads the cached email any more, so the credentials file stops carrying it. Old files with an email field still load.
|
Claude finished @The64thRealm's task in 4m 40s —— View job Code review
Reviewed commit 4 findings, posted inline:
|
|
Claude finished @The64thRealm's task in 3m 28s —— View job Code review
Reviewed at 3 findings, posted inline:
Checked and deliberately not flagged: dropping Note: · branch |
|
Claude finished @The64thRealm's task in 4m 7s —— View job Code review
Reviewed at 4 findings, posted inline:
Checked and deliberately not flagged: the partial move of Note: |
|
Claude finished @The64thRealm's task in 6m 11s —— View job Code review
Reviewed at Verified the tricky parts hold: removing 4 findings, posted inline:
Still open from earlier passes (unchanged at this head, not re-posted inline to avoid duplicate threads):
Note: |
|
Claude finished @The64thRealm's task in 5m 23s —— View job Code review
Reviewed at Verified the tricky parts hold: dropping 4 findings, posted inline:
Still open from earlier passes (unchanged at this head, not re-posted inline to avoid duplicate threads):
Note: · branch |
auth status used to print whatever email login cached at the time, which is wrong the moment the key is revoked or the account goes away, and was blank for keys supplied by hand or by WAVEDASH_TOKEN