invalidateQueries only refetches mounted queries, so a rescan pressed anywhere but the Tasks/Skills/… page just marked those lists stale — the new item wasn't picked up until you opened that page. Pass refetchType: 'all' so every item cache refreshes immediately, wherever the button is pressed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>